From 6514a7a0bd17fcd1c4e4b8f4456abbd0a2a2688d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 4 Nov 2018 02:27:48 +0000 Subject: [PATCH] set isvec when predication enabled --- riscv/sv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/sv.cc b/riscv/sv.cc index 75dac8a..60fd665 100644 --- a/riscv/sv.cc +++ b/riscv/sv.cc @@ -244,7 +244,7 @@ reg_spec_t sv_insn_t::predicated(reg_spec_t const& spec, uint64_t pred) fprintf(stderr, "predication %ld %d %lx\n", spec.reg, (*spec.offset), pred); res.reg = 0; res.offset = 0; - res.isvec = false; + res.isvec = spec.isvec; return res; } -- 2.30.2