linux/arch/mips/math-emu
Markos Chandras a5466d7bba MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructions
Commit 08a07904e1 ("MIPS: math-emu: Remove most ifdefery") removed
the #ifdef ISA conditions and switched to runtime detection. However,
according to the instruction set manual, the cop1x_op instructions are
available in >=MIPS32r2 as well. This fixes a problem on MIPS32r2
with the ntpd package which failed to execute with a SIGILL exit code due
to the fact that a madd.d instruction was not being emulated.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Fixes: 08a07904e1 ("MIPS: math-emu: Remove most ifdefery")
Cc: <stable@vger.kernel.org> # v3.16+
Cc: linux-mips@linux-mips.org
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/8173/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-10-21 16:34:41 +02:00
..
Makefile MIPS: math-emu: Inline fpu_emulator_init_fpu() 2014-05-23 15:12:37 +02:00
cp1emu.c MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructions 2014-10-21 16:34:41 +02:00
dp_add.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
dp_cmp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_div.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_fint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_fsp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_mul.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_simple.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_sqrt.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
dp_sub.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
dp_tint.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
dp_tlong.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
dsemul.c MIPS: math-emu: Convert debug printks to pr_debug getting. 2014-05-23 15:11:04 +02:00
ieee754.c MIPS: math-emu: Reduce code duplication. 2014-06-26 10:47:55 +01:00
ieee754.h MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
ieee754d.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754dp.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
ieee754dp.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754int.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754sp.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
ieee754sp.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
me-debugfs.c MIPS: math-emu: Add IEEE754 exception statistics to debugfs 2014-05-30 11:55:23 +02:00
sp_add.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
sp_cmp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_div.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_fdp.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
sp_fint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_mul.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_simple.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_sqrt.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
sp_sub.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
sp_tint.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00
sp_tlong.c MIPS: math-emu: Switch to using the MIPS rounding modes. 2014-05-23 15:12:38 +02:00