1 // See LICENSE for license details.
3 reg_t
FN(processor_t
* p
, insn_t s_insn
, reg_t pc
)
6 reg_t npc
= sext_xlen(pc
+ insn_length(INSNCODE
));
7 // messy way to do it: insn_t is used elsewhere in a union,
8 // so a workaround is to grab the bits from the insn_t
9 // and create an sv-variant. also an opportunity to pass
10 // in the loop index (voffs) which will be added on to
11 // any registers that are marked as "vectorised"
12 insn_bits_t bits
= s_insn
.bits();
16 sv_insn_t
insn(bits
, voffs
);
17 bool vectorop
= false;
18 for (; voffs
< vlen
; voffs
++)
26 trace_opcode(p
, INSNCODE
, insn
);