patch-2.1.89 linux/arch/alpha/math-emu/ieee-math.c
Next file: linux/arch/i386/kernel/irq.c
Previous file: linux/arch/alpha/kernel/smc37c93x.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Sat Feb 28 22:11:02 1998
- Orig file:
v2.1.88/linux/arch/alpha/math-emu/ieee-math.c
- Orig date:
Tue Feb 17 13:12:44 1998
diff -u --recursive --new-file v2.1.88/linux/arch/alpha/math-emu/ieee-math.c linux/arch/alpha/math-emu/ieee-math.c
@@ -776,25 +776,25 @@
midway = (temp.f[0] & 0x003fffffffffffff) == 0;
if ((midway && (temp.f[0] & 0x0080000000000000)) ||
!midway)
- ++b;
+ ++*b;
}
break;
case ROUND_PINF:
- if ((temp.f[0] & 0x003fffffffffffff) != 0)
- ++b;
+ if ((temp.f[0] & 0x007fffffffffffff) != 0)
+ ++*b;
break;
case ROUND_NINF:
- if ((temp.f[0] & 0x003fffffffffffff) != 0)
- --b;
+ if ((temp.f[0] & 0x007fffffffffffff) != 0)
+ --*b;
break;
case ROUND_CHOP:
/* no action needed */
break;
}
- if ((temp.f[0] & 0x003fffffffffffff) != 0)
+ if ((temp.f[0] & 0x007fffffffffffff) != 0)
res |= FPCR_INE;
if (temp.s) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov