linux/arch/mips/math-emu
Markos Chandras f8c3c6717a MIPS: math-emu: Add support for the CMP.condn.fmt R6 instruction
Add support for emulating the new CMP.condn.fmt R6 instructions and
return SIGILL for the old C.cond.fmt if R2 emulation is not enabled
since it's not supported by R6.

The functionality of the new CMP.condn.fmt is the following one:

If the comparison specified by the condn field of the instruction
is true for the operand values, the result is true; otherwise, the
result is false. If no exception is taken, the result is written into
FPR fd; true is all 1s and false is all 0s repeated the operand width
of fmt. All other bits beyond the operand width fmt are UNPREDICTABLE.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10953/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-09-03 12:08:12 +02:00
..
cp1emu.c MIPS: math-emu: Add support for the CMP.condn.fmt R6 instruction 2015-09-03 12:08:12 +02:00
dp_add.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
dp_cmp.c MIPS: math-emu: Remove redundant code from NaN comparison 2015-04-08 01:09:38 +02:00
dp_div.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +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: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
dp_mul.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
dp_simple.c MIPS: math-emu: Make ABS.fmt and NEG.fmt arithmetic again 2015-04-08 01:10:34 +02:00
dp_sqrt.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
dp_sub.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +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: Correct delay-slot exception propagation 2015-04-08 01:10:09 +02:00
ieee754.c MIPS: math-emu: Reduce code duplication. 2014-06-26 10:47:55 +01:00
ieee754.h MIPS: math-emu: Define IEEE 754-2008 feature control bits 2015-04-08 01:10:31 +02:00
ieee754d.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754dp.c MIPS: math-emu: Make NaN classifiers static 2015-04-08 01:09:47 +02:00
ieee754dp.h MIPS: math-emu: Make NaN classifiers static 2015-04-08 01:09:47 +02:00
ieee754int.h MIPS: math-emu: Fix indentation 2015-09-03 12:07:42 +02:00
ieee754sp.c MIPS: math-emu: Make NaN classifiers static 2015-04-08 01:09:47 +02:00
ieee754sp.h MIPS: math-emu: Make NaN classifiers static 2015-04-08 01:09:47 +02:00
Makefile MIPS: math-emu: Move long fixed-point support into an `ar' library 2015-04-08 01:10:12 +02:00
me-debugfs.c MIPS: math-emu: Move from deprecated __initcall to arch_initcall. 2015-09-03 12:07:50 +02:00
sp_add.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
sp_cmp.c MIPS: math-emu: Remove redundant code from NaN comparison 2015-04-08 01:09:38 +02:00
sp_div.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
sp_fdp.c MIPS: math-emu: Optimise qNaN handling in `ieee754sp_fdp' 2015-04-08 01:09:44 +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: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
sp_simple.c MIPS: math-emu: Make ABS.fmt and NEG.fmt arithmetic again 2015-04-08 01:10:34 +02:00
sp_sqrt.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +02:00
sp_sub.c MIPS: math-emu: Reinstate sNaN quieting handlers 2015-04-08 01:09:31 +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