projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid x3 (gp), which is now TESTNUM
[riscv-tests.git]
/
isa
/
rv64ui
/
sw.S
diff --git
a/isa/rv64ui/sw.S
b/isa/rv64ui/sw.S
index 86b62fcc0fbdeb3830794d06212fea3c40f3bd15..ab094b3dbb46903c9eff349e00ad258760be50b7 100644
(file)
--- a/
isa/rv64ui/sw.S
+++ b/
isa/rv64ui/sw.S
@@
-31,23
+31,23
@@
RVTEST_CODE_BEGIN
# Test with a negative base
# Test with a negative base
- TEST_CASE( 10, x
3
, 0x12345678, \
+ TEST_CASE( 10, x
5
, 0x12345678, \
la x1, tdat9; \
li x2, 0x12345678; \
addi x4, x1, -32; \
sw x2, 32(x4); \
la x1, tdat9; \
li x2, 0x12345678; \
addi x4, x1, -32; \
sw x2, 32(x4); \
- lw x
3
, 0(x1); \
+ lw x
5
, 0(x1); \
)
# Test with unaligned base
)
# Test with unaligned base
- TEST_CASE( 11, x
3
, 0x58213098, \
+ TEST_CASE( 11, x
5
, 0x58213098, \
la x1, tdat9; \
li x2, 0x58213098; \
addi x1, x1, -3; \
sw x2, 7(x1); \
la x4, tdat10; \
la x1, tdat9; \
li x2, 0x58213098; \
addi x1, x1, -3; \
sw x2, 7(x1); \
la x4, tdat10; \
- lw x
3
, 0(x4); \
+ lw x
5
, 0(x4); \
)
#-------------------------------------------------------------
)
#-------------------------------------------------------------