projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Separate page faults from physical memory access exceptions
[riscv-tests.git]
/
isa
/
rv64si
/
ma_fetch.S
diff --git
a/isa/rv64si/ma_fetch.S
b/isa/rv64si/ma_fetch.S
index a97eecb6cbf394d2604250a87fbc737dca40e666..7766c696ce6c195c2384c1ffef0c60aaca8b6f13 100644
(file)
--- a/
isa/rv64si/ma_fetch.S
+++ b/
isa/rv64si/ma_fetch.S
@@
-32,9
+32,10
@@
RVTEST_CODE_BEGIN
jalr t1, t0, 2
1:
.option rvc
- c.j
fail
+ c.j
1f
c.j 2f
.option norvc
+1:
j fail
2:
@@
-53,9
+54,10
@@
RVTEST_CODE_BEGIN
jalr t1, t0, 3
1:
.option rvc
- c.j
fail
+ c.j
1f
c.j 2f
.option norvc
+1:
j fail
2:
@@
-63,6
+65,7
@@
RVTEST_CODE_BEGIN
TEST_PASSFAIL
+ .align 2
stvec_handler:
# tests 2 and 4 should trap
li a0, 2