projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reference TESTNUM instead of x28 directly
[riscv-tests.git]
/
isa
/
rv64uv
/
amomax_w.S
diff --git
a/isa/rv64uv/amomax_w.S
b/isa/rv64uv/amomax_w.S
index 0308991ebfe557a63be97d082fcdbe3521b62c00..ec1c098ad9654507cc3195c7fa6d234ae46c95c7 100644
(file)
--- a/
isa/rv64uv/amomax_w.S
+++ b/
isa/rv64uv/amomax_w.S
@@
-27,7
+27,7
@@
RVTEST_CODE_BEGIN
li a2,0
loop:
lw a0,0(a6)
- addi
x28
,a1,2
+ addi
TESTNUM
,a1,2
bne a0,a2,fail
addi a6,a6,4
addi a1,a1,1