From: Maciej W. Rozycki Date: Fri, 3 Apr 2015 22:25:30 +0000 (+0100) Subject: MIPS: math-emu: Don't pass qNaNs through quieting handlers X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539bfb579babbe5a14b405370ecc99b4ed53bc4e;p=pandora-kernel.git MIPS: math-emu: Don't pass qNaNs through quieting handlers Don't call the `ieee754sp_nanxcpt' and `ieee754dp_nanxcpt' sNaN quieting handlers for a qNaN supplied to floating-point format conversions or SQRT.S/SQRT.D instructions, or for a qNaN produced out of a negative operand supplied to SQRT.S/SQRT.D instructions. Return the qNaN right away in these cases. Signed-off-by: Maciej W. Rozycki Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9687/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed