MIPS: math-emu: Get rid of the useless parts of exception handling.
[cascardo/linux.git] / arch / mips / math-emu / ieee754dp.h
index 179d249..91d785e 100644 (file)
@@ -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)