linux/arch/mips/math-emu
Paul Burton ef1c47afc0 MIPS: Clear upper bits of FP registers on emulator writes
The upper bits of an FP register are architecturally defined as
unpredictable following an instructions which only writes the lower
bits. The prior behaviour of the kernel is to leave them unmodified.
This patch modifies that to clear the upper bits to zero. This is what
the MSA architecture reference manual specifies should happen for its
wider registers and is still permissible for scalar FP instructions
given the bits unpredictability there.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: sergei.shtylyov@cogentembedded.com
Patchwork: https://patchwork.linux-mips.org/patch/6435/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-03-26 23:09:10 +01:00
..
Makefile MIPS: Nuke empty lines at end of files. 2013-02-01 10:00:22 +01:00
cp1emu.c MIPS: Clear upper bits of FP registers on emulator writes 2014-03-26 23:09:10 +01:00
dp_add.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_fsp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_mul.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_sqrt.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dp_sub.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
dsemul.c MIPS: microMIPS: Floating point support. 2013-05-09 17:55:18 +02:00
ieee754.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ieee754.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754d.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754dp.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ieee754dp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754int.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ieee754m.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754sp.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ieee754sp.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ieee754xcpt.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
kernel_linkage.c MIPS: Move & rename fpu_emulator_{save,restore}_context 2014-03-26 23:09:09 +01:00
sp_add.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sp_cmp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_div.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fdp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_fint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_flong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_frexp.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_logb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_modf.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_mul.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sp_scalb.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_simple.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sqrt.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_sub.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sp_tint.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sp_tlong.c Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00