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:
8a86a3e
)
Adjust hwacha misaligned instruction test to ignore lower 2 bits in comparisons to...
author
Stephen Twigg
<sdtwigg@eecs.berkeley.edu>
Wed, 9 Apr 2014 04:53:19 +0000
(21:53 -0700)
committer
Stephen Twigg
<sdtwigg@eecs.berkeley.edu>
Wed, 9 Apr 2014 04:53:19 +0000
(21:53 -0700)
isa/rv64sv/ma_vt_inst.S
patch
|
blob
|
history
diff --git
a/isa/rv64sv/ma_vt_inst.S
b/isa/rv64sv/ma_vt_inst.S
index cd7762dc325ca3bcf1dbb2cdaa179c236a8fe384..d772041263dbb1462c9b3053b133574f417e6a15 100644
(file)
--- a/
isa/rv64sv/ma_vt_inst.S
+++ b/
isa/rv64sv/ma_vt_inst.S
@@
-48,6
+48,8
@@
handler:
# check badvaddr
vxcptaux a3
la a4,vtcode1+2
+ andi a3, a3, -4 # mask off lower bits so that may
+ andi a4, a4, -4 # ignore impl. specific behavior
bne a3,a4,fail
# make sure vector unit has cleared out