From ecc51ee253e5c5c75db206fd17c2bb60d39e17ff Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 25 Oct 2018 07:34:17 +0100 Subject: [PATCH] remove offset argument from predicated fn, offset now stored in reg_spec_t --- riscv/sv.cc | 6 +++--- riscv/sv_decode.h | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) 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<