aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64sv/privileged_inst.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64sv/privileged_inst.S')
-rw-r--r--isa/rv64sv/privileged_inst.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/isa/rv64sv/privileged_inst.S b/isa/rv64sv/privileged_inst.S
index 1a88ca3..ef50188 100644
--- a/isa/rv64sv/privileged_inst.S
+++ b/isa/rv64sv/privileged_inst.S
@@ -37,7 +37,7 @@ vtcode2:
handler:
vxcptkill
- li x28,2
+ li TESTNUM,2
# check cause
vxcptcause a3
@@ -67,16 +67,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