summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_tlong.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 03:19:57 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:14 +0200
commit90efba36ed50933c6df92805bd7e5742e9cc0f46 (patch)
treeedcf824726a76c68e7606954ea16fbcbc91a4f27 /arch/mips/math-emu/sp_tlong.c
parent593d33fe334761853890f2f84ed41e7c24051de2 (diff)
downloadblackbird-op-linux-90efba36ed50933c6df92805bd7e5742e9cc0f46.tar.gz
blackbird-op-linux-90efba36ed50933c6df92805bd7e5742e9cc0f46.zip
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>
Diffstat (limited to 'arch/mips/math-emu/sp_tlong.c')
-rw-r--r--arch/mips/math-emu/sp_tlong.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/math-emu/sp_tlong.c b/arch/mips/math-emu/sp_tlong.c
index 346cbad4a1ae..df117923adaa 100644
--- a/arch/mips/math-emu/sp_tlong.c
+++ b/arch/mips/math-emu/sp_tlong.c
@@ -41,7 +41,7 @@ s64 ieee754sp_tlong(union ieee754sp x)
case IEEE754_CLASS_QNAN:
case IEEE754_CLASS_INF:
ieee754_setcx(IEEE754_INVALID_OPERATION);
- return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x);
+ return ieee754di_indef();
case IEEE754_CLASS_ZERO:
return 0;
case IEEE754_CLASS_DNORM:
@@ -55,7 +55,7 @@ s64 ieee754sp_tlong(union ieee754sp x)
/* Set invalid. We will only use overflow for floating
point overflow */
ieee754_setcx(IEEE754_INVALID_OPERATION);
- return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x);
+ return ieee754di_indef();
}
/* oh gawd */
if (xe > SP_FBITS) {
@@ -97,7 +97,7 @@ s64 ieee754sp_tlong(union ieee754sp x)
if ((xm >> 63) != 0) {
/* This can happen after rounding */
ieee754_setcx(IEEE754_INVALID_OPERATION);
- return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x);
+ return ieee754di_indef();
}
if (round || sticky)
ieee754_setcx(IEEE754_INEXACT);
OpenPOWER on IntegriCloud