Revision 1e0c7e55 target-ppc/excp_helper.c
b/target-ppc/excp_helper.c | ||
---|---|---|
611 | 611 |
tlb_flush(env, 1); |
612 | 612 |
} |
613 | 613 |
|
614 |
#ifdef TARGET_PPC64 |
|
615 |
if (excp_model == POWERPC_EXCP_POWER7) { |
|
616 |
if (env->spr[SPR_LPCR] & LPCR_ILE) { |
|
617 |
new_msr |= (target_ulong)1 << MSR_LE; |
|
618 |
} |
|
619 |
} else if (msr_ile) { |
|
620 |
new_msr |= (target_ulong)1 << MSR_LE; |
|
621 |
} |
|
622 |
#else |
|
614 | 623 |
if (msr_ile) { |
615 | 624 |
new_msr |= (target_ulong)1 << MSR_LE; |
616 | 625 |
} |
626 |
#endif |
|
617 | 627 |
|
618 | 628 |
/* Jump to handler */ |
619 | 629 |
vector = env->excp_vectors[excp]; |
Also available in: Unified diff