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/rv64sv/ma_vld.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/rv64sv/ma_vld.S')
-rw-r--r-- | isa/rv64sv/ma_vld.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isa/rv64sv/ma_vld.S b/isa/rv64sv/ma_vld.S index d66c42f..57b6bf9 100644 --- a/isa/rv64sv/ma_vld.S +++ b/isa/rv64sv/ma_vld.S @@ -45,7 +45,7 @@ vtcode2: handler: vxcptkill - li x28,2 + li TESTNUM,2 # check cause vxcptcause a3 @@ -74,16 +74,16 @@ handler: ld a1,0(a5) li a2,5 - li x28,2 + li TESTNUM,2 bne a1,a2,fail ld a1,8(a5) - li x28,3 + li TESTNUM,3 bne a1,a2,fail ld a1,16(a5) - li x28,4 + li TESTNUM,4 bne a1,a2,fail ld a1,24(a5) - li x28,5 + li TESTNUM,5 bne a1,a2,fail TEST_PASSFAIL |