summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/ieee754dp.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 01:19:57 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 13:11:14 (GMT)
commit90efba36ed50933c6df92805bd7e5742e9cc0f46 (patch)
treeedcf824726a76c68e7606954ea16fbcbc91a4f27 /arch/mips/math-emu/ieee754dp.h
parent593d33fe334761853890f2f84ed41e7c24051de2 (diff)
downloadlinux-90efba36ed50933c6df92805bd7e5742e9cc0f46.tar.xz
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/ieee754dp.h')
-rw-r--r--arch/mips/math-emu/ieee754dp.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/mips/math-emu/ieee754dp.h b/arch/mips/math-emu/ieee754dp.h
index 179d249..91d785e 100644
--- a/arch/mips/math-emu/ieee754dp.h
+++ b/arch/mips/math-emu/ieee754dp.h
@@ -81,20 +81,5 @@ static inline union ieee754dp builddp(int s, int bx, u64 m)
}
extern int ieee754dp_isnan(union ieee754dp);
-extern int __cold ieee754si_xcpt(int, const char *, ...);
-extern s64 __cold ieee754di_xcpt(s64, const char *, ...);
-extern union ieee754dp __cold ieee754dp_xcpt(union ieee754dp, const char *, ...);
-extern union ieee754dp __cold ieee754dp_nanxcpt(union ieee754dp, const char *, ...);
+extern union ieee754dp __cold ieee754dp_nanxcpt(union ieee754dp);
extern union ieee754dp ieee754dp_format(int, int, u64);
-
-
-#define DPNORMRET2(s, e, m, name, a0, a1) \
-{ \
- union ieee754dp V = ieee754dp_format(s, e, m); \
- if (ieee754_tstx()) \
- return ieee754dp_xcpt(V, name, a0, a1); \
- else \
- return V; \
-}
-
-#define DPNORMRET1(s, e, m, name, a0) DPNORMRET2(s, e, m, name, a0, a0)