From 1556fb967d6a861be5fd03959ba67f511fc17abc Mon Sep 17 00:00:00 2001 From: Kip Macsai-Goren Date: Wed, 5 Jan 2022 23:14:03 +0000 Subject: [PATCH] fixed 32 vs 64 bit copying error --- .../rv32i_m/privilege/src/WALLY-TEST-LIB-32.S | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/wally-riscv-arch-test/riscv-test-suite/rv32i_m/privilege/src/WALLY-TEST-LIB-32.S b/tests/wally-riscv-arch-test/riscv-test-suite/rv32i_m/privilege/src/WALLY-TEST-LIB-32.S index c9ef1233..89920153 100644 --- a/tests/wally-riscv-arch-test/riscv-test-suite/rv32i_m/privilege/src/WALLY-TEST-LIB-32.S +++ b/tests/wally-riscv-arch-test/riscv-test-suite/rv32i_m/privilege/src/WALLY-TEST-LIB-32.S @@ -349,8 +349,8 @@ read32_test: li x7, 0xBAD # bad value that will be overwritten on good reads. lw x7, 0(x28) sw x7, 0(x6) - addi x6, x6, 8 - addi x16, x16, 8 + addi x6, x6, 4 + addi x16, x16, 4 j test_loop # go to next test case read16_test: @@ -358,8 +358,8 @@ read16_test: li x7, 0xBAD # bad value that will be overwritten on good reads. lh x7, 0(x28) sw x7, 0(x6) - addi x6, x6, 8 - addi x16, x16, 8 + addi x6, x6, 4 + addi x16, x16, 4 j test_loop # go to next test case read08_test: @@ -367,8 +367,8 @@ read08_test: li x7, 0xBAD # bad value that will be overwritten on good reads. lb x7, 0(x28) sw x7, 0(x6) - addi x6, x6, 8 - addi x16, x16, 8 + addi x6, x6, 4 + addi x16, x16, 4 j test_loop # go to next test case