summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2015-04-03 23:25:18 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-08 01:09:23 +0200
commitec98f9a01ffb23ea72471ccbc8c390c8c2e4c0b3 (patch)
tree585632947155b10025a4beaa749c9fd7cc9c8f7e /scripts
parent1f6d2c29b08bbd29a3d3b8476e9a26546e03104e (diff)
downloadblackbird-op-linux-ec98f9a01ffb23ea72471ccbc8c390c8c2e4c0b3.tar.gz
blackbird-op-linux-ec98f9a01ffb23ea72471ccbc8c390c8c2e4c0b3.zip
MIPS: math-emu: Update sNaN quieting handlers
Commit fdffbafb [Lots of FPU bug fixes from Kjeld Borch Egevang.] replaced the two single `ieee754sp_nanxcpt' and `ieee754dp_nanxcpt' places, where sNaN quieting used to happen for single and double floating-point operations respectively, with individual qNaN instantiations across all the call sites instead. It also made most of these two functions dead code as where called on a qNaN they return right away. To revert the damage and make sNaN quieting uniform again first rewrite `ieee754sp_nanxcpt' and `ieee754dp_nanxcpt' to do the same quieting all the call sites do, that is return the default qNaN encoding for all input sNaN values; never propagate any sNaN payload bits from its trailing significand field. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9685/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud