From: Howard Mao Date: Mon, 14 Dec 2015 17:54:13 +0000 (-0800) Subject: change la to li as appropriate in test macros X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64f63c17cbe7abdabb7a4ae73d8bd924d811d712;p=riscv-tests.git change la to li as appropriate in test macros --- diff --git a/isa/macros/scalar/test_macros.h b/isa/macros/scalar/test_macros.h index 48ce028..05ed7c8 100644 --- a/isa/macros/scalar/test_macros.h +++ b/isa/macros/scalar/test_macros.h @@ -286,7 +286,7 @@ test_ ## testnum: \ test_ ## testnum: \ li TESTNUM, testnum; \ li x4, 0; \ -1: la x1, result; \ +1: li x1, result; \ TEST_INSERT_NOPS_ ## src1_nops \ la x2, base; \ TEST_INSERT_NOPS_ ## src2_nops \ @@ -304,7 +304,7 @@ test_ ## testnum: \ li x4, 0; \ 1: la x2, base; \ TEST_INSERT_NOPS_ ## src1_nops \ - la x1, result; \ + li x1, result; \ TEST_INSERT_NOPS_ ## src2_nops \ store_inst x1, offset(x2); \ load_inst x3, offset(x2); \