diff options
Diffstat (limited to 'arch/mips/math-emu/cp1emu.c')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index 7a4727795a70..51a0fde4bec1 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -1023,7 +1023,7 @@ emul: | |||
1023 | goto emul; | 1023 | goto emul; |
1024 | 1024 | ||
1025 | case cop1x_op: | 1025 | case cop1x_op: |
1026 | if (cpu_has_mips_4_5 || cpu_has_mips64) | 1026 | if (cpu_has_mips_4_5 || cpu_has_mips64 || cpu_has_mips32r2) |
1027 | /* its one of ours */ | 1027 | /* its one of ours */ |
1028 | goto emul; | 1028 | goto emul; |
1029 | 1029 | ||
@@ -1068,7 +1068,7 @@ emul: | |||
1068 | break; | 1068 | break; |
1069 | 1069 | ||
1070 | case cop1x_op: | 1070 | case cop1x_op: |
1071 | if (!cpu_has_mips_4_5 && !cpu_has_mips64) | 1071 | if (!cpu_has_mips_4_5 && !cpu_has_mips64 && !cpu_has_mips32r2) |
1072 | return SIGILL; | 1072 | return SIGILL; |
1073 | 1073 | ||
1074 | sig = fpux_emu(xcp, ctx, ir, fault_addr); | 1074 | sig = fpux_emu(xcp, ctx, ir, fault_addr); |