From: Luke Kenneth Casson Leighton Date: Thu, 25 Oct 2018 06:34:17 +0000 (+0100) Subject: remove offset argument from predicated fn, offset now stored in reg_spec_t X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecc51ee253e5c5c75db206fd17c2bb60d39e17ff;p=riscv-isa-sim.git remove offset argument from predicated fn, offset now stored in reg_spec_t --- diff --git a/riscv/sv.cc b/riscv/sv.cc index 8bf1554..1f8648b 100644 --- a/riscv/sv.cc +++ b/riscv/sv.cc @@ -217,14 +217,14 @@ reg_t sv_insn_t::predicate(uint64_t reg, bool intreg, bool &zeroing) return predicate; } -reg_spec_t sv_insn_t::predicated(reg_spec_t const& spec, int offs, uint64_t pred) +reg_spec_t sv_insn_t::predicated(reg_spec_t const& spec, uint64_t pred) { reg_spec_t res = spec; - if (pred & (1<