aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/flw.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/flw.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/flw.S')
-rw-r--r--isa/rv64uv/flw.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64uv/flw.S b/isa/rv64uv/flw.S
index 7e940f6..0284489 100644
--- a/isa/rv64uv/flw.S
+++ b/isa/rv64uv/flw.S
@@ -26,7 +26,7 @@ RVTEST_CODE_BEGIN
li a2,0
loop:
lw a0,0(a6)
- addi x28,a2,2
+ addi TESTNUM,a2,2
lw a1,0(a5)
bne a0,a1,fail
addi a6,a6,4