projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2bccd
)
predication remapping added
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 17 Nov 2018 04:40:13 +0000
(
04:40
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 17 Nov 2018 04:40:13 +0000
(
04:40
+0000)
riscv/sv.cc
patch
|
blob
|
history
diff --git
a/riscv/sv.cc
b/riscv/sv.cc
index 69a4637aa48a32829e833497842bab339d8f3597..016fbd8689f5eabad9a175d65ae1ff004e9725f5 100644
(file)
--- a/
riscv/sv.cc
+++ b/
riscv/sv.cc
@@
-237,7
+237,7
@@
reg_spec_t sv_insn_t::predicated(reg_spec_t const& spec, uint64_t pred)
{
return res;
}
- if (pred & (1<<
(
*spec.offset)))
+ if (pred & (1<<
p->s.pred_remap(res.reg,
*spec.offset)))
{
return res;
}