diff options
Diffstat (limited to 'isa/rv64ui/sw.S')
-rw-r--r-- | isa/rv64ui/sw.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isa/rv64ui/sw.S b/isa/rv64ui/sw.S index 86b62fc..ab094b3 100644 --- a/isa/rv64ui/sw.S +++ b/isa/rv64ui/sw.S @@ -31,23 +31,23 @@ RVTEST_CODE_BEGIN # Test with a negative base - TEST_CASE( 10, x3, 0x12345678, \ + TEST_CASE( 10, x5, 0x12345678, \ la x1, tdat9; \ li x2, 0x12345678; \ addi x4, x1, -32; \ sw x2, 32(x4); \ - lw x3, 0(x1); \ + lw x5, 0(x1); \ ) # Test with unaligned base - TEST_CASE( 11, x3, 0x58213098, \ + TEST_CASE( 11, x5, 0x58213098, \ la x1, tdat9; \ li x2, 0x58213098; \ addi x1, x1, -3; \ sw x2, 7(x1); \ la x4, tdat10; \ - lw x3, 0(x4); \ + lw x5, 0(x4); \ ) #------------------------------------------------------------- |