Fix exceptions mismatch in FXTRACT instruction

This commit is contained in:
Stanislav Shwartsman 2004-07-24 19:26:50 +00:00
parent 89f4d0b7d0
commit 8d1989fb25

View File

@ -106,11 +106,10 @@ floatx80 floatx80_extract(floatx80 &a, float_status_t &status)
if (aExp == 0x7FFF) { if (aExp == 0x7FFF) {
if ((Bit64u) (aSig<<1)) if ((Bit64u) (aSig<<1))
{ {
float_raise(status, float_flag_invalid);
a = propagateFloatx80NaN(a, status); a = propagateFloatx80NaN(a, status);
return a; return a;
} }
return packFloatx80(0, 0x7FFF, BX_CONST64(0x8000000000000000));; return packFloatx80(0, 0x7FFF, BX_CONST64(0x8000000000000000));
} }
if (aExp == 0) if (aExp == 0)
{ {