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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user