MIPS: math-emu: Get rid of the useless parts of exception handling.

All it really did was throw a printk for no obvious reason.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2014-04-25 03:19:57 +02:00
parent 593d33fe33
commit 90efba36ed
32 changed files with 92 additions and 263 deletions

View File

@@ -45,7 +45,7 @@ union ieee754dp ieee754dp_neg(union ieee754dp x)
union ieee754dp y = ieee754dp_indef();
ieee754_setcx(IEEE754_INVALID_OPERATION);
DPSIGN(y) = DPSIGN(x);
return ieee754dp_nanxcpt(y, "neg");
return ieee754dp_nanxcpt(y);
}
return x;
@@ -65,7 +65,7 @@ union ieee754dp ieee754dp_abs(union ieee754dp x)
if (xc == IEEE754_CLASS_SNAN) {
ieee754_setcx(IEEE754_INVALID_OPERATION);
return ieee754dp_nanxcpt(ieee754dp_indef(), "abs");
return ieee754dp_nanxcpt(ieee754dp_indef());
}
return x;