aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/amominu_d.S
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-31 01:01:34 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-31 01:01:34 -0800
commit1e014a8528f0362eb02437ec7b1273ba21ee3ba9 (patch)
tree76a0522d7f74282276c2a395e786454f56d5c1f2 /isa/rv64uv/amominu_d.S
parentdf4967acd1a511517977feb63eabd647e6a00701 (diff)
downloadriscv-tests-1e014a8528f0362eb02437ec7b1273ba21ee3ba9.zip
riscv-tests-1e014a8528f0362eb02437ec7b1273ba21ee3ba9.tar.gz
riscv-tests-1e014a8528f0362eb02437ec7b1273ba21ee3ba9.tar.bz2
Reference TESTNUM instead of x28 directly
Diffstat (limited to 'isa/rv64uv/amominu_d.S')
-rw-r--r--isa/rv64uv/amominu_d.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64uv/amominu_d.S b/isa/rv64uv/amominu_d.S
index 3f5f7ab..4c0b31f 100644
--- a/isa/rv64uv/amominu_d.S
+++ b/isa/rv64uv/amominu_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