patch-2.4.22 linux-2.4.22/arch/mips/math-emu/sp_sub.c

Next file: linux-2.4.22/arch/mips/mips-boards/atlas/atlas_int.c
Previous file: linux-2.4.22/arch/mips/math-emu/sp_sqrt.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/math-emu/sp_sub.c linux-2.4.22/arch/mips/math-emu/sp_sub.c
@@ -167,12 +167,12 @@
 			xe = xe;
 			xs = ys;
 		}
-		if (xm == 0)
+		if (xm == 0) {
 			if (ieee754_csr.rm == IEEE754_RD)
 				return ieee754sp_zero(1);	/* round negative inf. => sign = -1 */
 			else
 				return ieee754sp_zero(0);	/* other round modes   => sign = 1 */
-
+		}
 		/* normalize to rounding precision
 		 */
 		while ((xm >> (SP_MBITS + 3)) == 0) {

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