diff options
Diffstat (limited to 'arch/mips/math-emu/cp1emu.c')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 03e233223af7..08e6a74fbc95 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -709,6 +709,13 @@ static int cop1Emulate(struct pt_regs *xcp, struct mips_fpu_struct *ctx, | |||
709 | u64 dval; | 709 | u64 dval; |
710 | int sig; | 710 | int sig; |
711 | 711 | ||
712 | /* | ||
713 | * These are giving gcc a gentle hint about what to expect in | ||
714 | * dec_inst in order to do better optimization. | ||
715 | */ | ||
716 | if (!cpu_has_mmips && dec_insn.micro_mips_mode) | ||
717 | unreachable(); | ||
718 | |||
712 | /* XXX NEC Vr54xx bug workaround */ | 719 | /* XXX NEC Vr54xx bug workaround */ |
713 | if (delay_slot(xcp)) { | 720 | if (delay_slot(xcp)) { |
714 | if (dec_insn.micro_mips_mode) { | 721 | if (dec_insn.micro_mips_mode) { |