Searched refs:INSN_LEN (Results 1 – 2 of 2) sorted by relevance
66 #define INSN_LEN(insn) (INSN_IS_16BIT(insn) ? 2 : 4) macro148 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn()202 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_load()216 insn_len = INSN_LEN(insn); in emulate_load()315 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_store()329 insn_len = INSN_LEN(insn); in emulate_store()
85 #define INSN_LEN(insn) ((((insn) & 0x3) < 0x3) ? 2 : 4) macro318 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_load()367 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_store()