diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-31 01:01:34 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-01-31 01:01:34 -0800 |
commit | 1e014a8528f0362eb02437ec7b1273ba21ee3ba9 (patch) | |
tree | 76a0522d7f74282276c2a395e786454f56d5c1f2 /isa/rv32ui/jalr.S | |
parent | df4967acd1a511517977feb63eabd647e6a00701 (diff) | |
download | riscv-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.S | 4 |
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 |