aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/amoadd_d.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64uv/amoadd_d.S')
-rw-r--r--isa/rv64uv/amoadd_d.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64uv/amoadd_d.S b/isa/rv64uv/amoadd_d.S
index 68b0ba1..64386b2 100644
--- a/isa/rv64uv/amoadd_d.S
+++ b/isa/rv64uv/amoadd_d.S
@@ -28,7 +28,7 @@ RVTEST_CODE_BEGIN
li a1,0
loop:
ld a0,0(a6)
- addi x28,a1,2
+ addi TESTNUM,a1,2
bne a0,a1,fail
addi a6,a6,8
addi a1,a1,1