aboutsummaryrefslogtreecommitdiff
path: root/isa/rv32si/scall.S
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-03-17 01:18:36 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-03-17 01:18:36 -0700
commit211d78276b07b17f831cefaf79961d3e6dad3c90 (patch)
treef640b72bdf446e7f78eb9cae97ee99c80e54dbf1 /isa/rv32si/scall.S
parentdd0d4036430dc812c9168fad8870d58ce151f498 (diff)
downloadriscv-tests-211d78276b07b17f831cefaf79961d3e6dad3c90.zip
riscv-tests-211d78276b07b17f831cefaf79961d3e6dad3c90.tar.gz
riscv-tests-211d78276b07b17f831cefaf79961d3e6dad3c90.tar.bz2
Merge [shm]call into ecall, [shm]ret into eret
Diffstat (limited to 'isa/rv32si/scall.S')
-rw-r--r--isa/rv32si/scall.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv32si/scall.S b/isa/rv32si/scall.S
index c5cc3ac..a036aaf 100644
--- a/isa/rv32si/scall.S
+++ b/isa/rv32si/scall.S
@@ -25,7 +25,7 @@ RVTEST_CODE_BEGIN
TEST_PASSFAIL
stvec:
- li t1, CAUSE_SCALL
+ li t1, CAUSE_ECALL
csrr t0, scause
bne t0, t1, fail
csrr t0, sepc