qemu/target/microblaze/translate.c
/*
 * Returns true if the insn an illegal operation.
 * If exceptions are enabled, an exception is raised.
 */
Returns true if the insn an illegal operation.
If exceptions are enabled, an exception is raised.
Returns true if the insn an illegal operation . If exceptions are enabled an exception is raised .
static bool trap_illegal(DisasContext *dc, bool cond)
{
    if (cond && (dc->tb_flags & MSR_EE_FLAG)
        && (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)) {
        tcg_gen_movi_i64(cpu_SR[SR_ESR], ESR_EC_ILLEGAL_OP);
        t_gen_raise_exception(dc, EXCP_HW_EXCP);
    }
    return cond;
}
static bool trap_illegal ( DisasContext * dc , bool cond ) { if ( cond && ( dc -> tb_flags & MSR_EE_FLAG ) && ( dc -> cpu -> env . pvr . regs [ 2 ] & PVR2_ILL_OPCODE_EXC_MASK ) ) { tcg_gen_movi_i64 ( cpu_SR [ SR_ESR ] , ESR_EC_ILLEGAL_OP ) ; t_gen_raise_exception ( dc , EXCP_HW_EXCP ) ; } return cond ; }
Returns true if the insn an illegal operation.
Returns true if the insn an illegal operation .