projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edbd1cf
)
make rv32si fault load/store test stronger
author
Yunsup Lee
<yunsup@cs.berkeley.edu>
Thu, 13 Nov 2014 11:11:05 +0000
(
03:11
-0800)
committer
Yunsup Lee
<yunsup@cs.berkeley.edu>
Thu, 13 Nov 2014 11:11:05 +0000
(
03:11
-0800)
isa/rv32si/fa_addr_zscale_8192.S
patch
|
blob
|
history
diff --git
a/isa/rv32si/fa_addr_zscale_8192.S
b/isa/rv32si/fa_addr_zscale_8192.S
index 8bb110af24e746b4293566adcc5dcca9aa826eb0..37b6edf02b75a3c9b1fbbb26c991ea16b3cf7d4e 100644
(file)
--- a/
isa/rv32si/fa_addr_zscale_8192.S
+++ b/
isa/rv32si/fa_addr_zscale_8192.S
@@
-58,7
+58,11
@@
loop:
li s0, 0xbad1dea0
beq s1, x0, loop
- j pass
+ li TESTNUM, 10
+ li s0, 0x1ffc
+ lw x0, 0(s0) // if an exception is taken, then would fail because evec is set to evec_store
+
+ j pass // this time it should pass
TEST_PASSFAIL