aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Mao <zhehao.mao@gmail.com>2015-12-14 09:54:13 -0800
committerHoward Mao <zhehao.mao@gmail.com>2015-12-14 09:54:13 -0800
commit64f63c17cbe7abdabb7a4ae73d8bd924d811d712 (patch)
tree3609a5d8505e84004346c972ad2022011d2e1033
parent35cbc0eb62e016907152cd64657a16513a7fa658 (diff)
downloadriscv-tests-64f63c17cbe7abdabb7a4ae73d8bd924d811d712.zip
riscv-tests-64f63c17cbe7abdabb7a4ae73d8bd924d811d712.tar.gz
riscv-tests-64f63c17cbe7abdabb7a4ae73d8bd924d811d712.tar.bz2
change la to li as appropriate in test macros
-rw-r--r--isa/macros/scalar/test_macros.h4
1 files changed, 2 insertions, 2 deletions
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); \