3 WRITE_VF_PC(XS1
+ insn
.s_imm());
4 for (uint32_t i
=0; i
<VL
; i
++)
5 h
->get_ut_state(i
)->run
= true;
9 h
->take_exception(HWACHA_CAUSE_VF_MISALIGNED_FETCH
, VF_PC
);
11 mmu_t::insn_fetch_t ut_fetch
= p
->get_mmu()->load_insn(VF_PC
);
12 insn_t ut_insn
= ut_fetch
.insn
.insn
;
16 #define DECLARE_INSN(name, match, mask) \
17 extern reg_t hwacha_##name(processor_t*, insn_t, reg_t); \
18 if ((ut_insn.bits() & mask) == match) { \
19 WRITE_VF_PC(hwacha_##name(p, ut_insn, VF_PC)); \
22 #include "opcodes_hwacha_ut.h"
26 h
->take_exception(HWACHA_CAUSE_VF_ILLEGAL_INSTRUCTION
, VF_PC
);
28 // if vf is still running, rewind pc so that it will execute again