1 #*****************************************************************************
3 #-----------------------------------------------------------------------------
5 # Test jalr.j instruction.
8 #include "riscv_test.h"
9 #include "test_macros.h"
14 #-------------------------------------------------------------
16 #-------------------------------------------------------------
35 #-------------------------------------------------------------
36 # Test 3: Check r0 target and that r31 is not modified
37 #-------------------------------------------------------------
53 #-------------------------------------------------------------
55 #-------------------------------------------------------------
57 TEST_JALR_SRC1_BYPASS( 4, 0, jalr.j );
58 TEST_JALR_SRC1_BYPASS( 5, 1, jalr.j );
59 TEST_JALR_SRC1_BYPASS( 6, 2, jalr.j );
61 #-------------------------------------------------------------
62 # Test delay slot instructions not executed nor bypassed
63 #-------------------------------------------------------------
65 TEST_CASE( 7, x1, 3, \