patch-2.4.6 linux/arch/mips/math-emu/dp_sub.c

Next file: linux/arch/mips/mm/Makefile
Previous file: linux/arch/mips/math-emu/cp1emu.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/arch/mips/math-emu/dp_sub.c linux/arch/mips/math-emu/dp_sub.c
@@ -176,11 +176,12 @@
 			xe = xe;
 			xs = ys;
 		}
-		if (xm == 0)
+		if (xm == 0) {
 			if (ieee754_csr.rm == IEEE754_RD)
 				return ieee754dp_zero(1);	/* round negative inf. => sign = -1 */
 			else
 				return ieee754dp_zero(0);	/* other round modes   => sign = 1 */
+		}
 
 		/* normalize to rounding precision 
 		 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)