From: Luke Kenneth Casson Leighton Date: Sat, 17 Nov 2018 04:40:13 +0000 (+0000) Subject: predication remapping added X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa76e35a545b35ff1ae34c2ce0fc235da7b07985;p=riscv-isa-sim.git predication remapping added --- diff --git a/riscv/sv.cc b/riscv/sv.cc index 69a4637..016fbd8 100644 --- 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<s.pred_remap(res.reg, *spec.offset))) { return res; }