From fa76e35a545b35ff1ae34c2ce0fc235da7b07985 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Nov 2018 04:40:13 +0000 Subject: [PATCH] predication remapping added --- riscv/sv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2