aboutsummaryrefslogtreecommitdiff
path: root/isa/rv32ui/jalr.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/rv32ui/jalr.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/rv32ui/jalr.S')
-rw-r--r--isa/rv32ui/jalr.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/rv32ui/jalr.S b/isa/rv32ui/jalr.S
index 2d6d3a7..e65fd79 100644
--- a/isa/rv32ui/jalr.S
+++ b/isa/rv32ui/jalr.S
@@ -16,7 +16,7 @@ RVTEST_CODE_BEGIN
#-------------------------------------------------------------
test_2:
- li x28, 2
+ li TESTNUM, 2
li x31, 0
la x2, target_2
@@ -37,7 +37,7 @@ target_2:
#-------------------------------------------------------------
test_3:
- li x28, 3
+ li TESTNUM, 3
li x31, 0
la x3, target_3