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