projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35cbc0e
)
change la to li as appropriate in test macros
author
Howard Mao
<zhehao.mao@gmail.com>
Mon, 14 Dec 2015 17:54:13 +0000
(09:54 -0800)
committer
Howard Mao
<zhehao.mao@gmail.com>
Mon, 14 Dec 2015 17:54:13 +0000
(09:54 -0800)
isa/macros/scalar/test_macros.h
patch
|
blob
|
history
diff --git
a/isa/macros/scalar/test_macros.h
b/isa/macros/scalar/test_macros.h
index 48ce02811dc7a3e807838acee12642352004a0b0..05ed7c8f8030481efb1886ef00476c6773802dda 100644
(file)
--- 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: l
a
x1, result; \
+1: l
i
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 \
- l
a
x1, result; \
+ l
i
x1, result; \
TEST_INSERT_NOPS_ ## src2_nops \
store_inst x1, offset(x2); \
load_inst x3, offset(x2); \