From: Maciej W. Rozycki Date: Fri, 3 Apr 2015 22:25:38 +0000 (+0100) Subject: MIPS: math-emu: Optimise NaN handling in comparisons X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a1084516e35ff4f1d5b83e77530ed019ca364b;p=pandora-kernel.git MIPS: math-emu: Optimise NaN handling in comparisons We have the input operands already classified in `ieee754sp_cmp' and `ieee754dp_cmp' comparison operations, so use the class obtained to tell NaNs and numbers apart rather than classifying inputs again for this purpose, reducing the size of code by 24 and 40 instructions or 96 and 160 bytes respectively. Signed-off-by: Maciej W. Rozycki Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9689/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed