aboutsummaryrefslogtreecommitdiff
path: root/isa/rv32mi/shamt.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv32mi/shamt.S')
-rw-r--r--isa/rv32mi/shamt.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/isa/rv32mi/shamt.S b/isa/rv32mi/shamt.S
index c4d154c..89a07ee 100644
--- a/isa/rv32mi/shamt.S
+++ b/isa/rv32mi/shamt.S
@@ -25,8 +25,7 @@ RVTEST_CODE_BEGIN
.global mtvec_handler
mtvec_handler:
# Trapping on test 3 is good.
- # Note that since the test didn't complete, TESTNUM is smaller by 1.
- li t0, 2
+ li t0, 3
bne TESTNUM, t0, fail
# Make sure CAUSE indicates an illegal instructino.