MIPS: math-emu: Optimise qNaN handling in `ieee754sp_fdp'
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:25:52 +0000 (23:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:09:44 +0000 (01:09 +0200)
commitb0c2f8fbdb52b95b969c96994bcab7c084530199
treea16085a94a2d5693893a3133147111910a7ae7ae
parent42fa24242182771394ae93361914b7da4099a60d
MIPS: math-emu: Optimise qNaN handling in `ieee754sp_fdp'

Rewrite qNaN handling in `ieee754sp_fdp' using the `ieee754_class_nan'
helper recently added, removing the external call to `ieee754sp_isnan'
and reducing the size of code by 16 instructions or 64 bytes.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9692/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/sp_fdp.c