diff options
Diffstat (limited to 'arch/mips/math-emu/ieee754sp.h')
-rw-r--r-- | arch/mips/math-emu/ieee754sp.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/mips/math-emu/ieee754sp.h b/arch/mips/math-emu/ieee754sp.h index 0b44569582b9..e5295d7e8ce9 100644 --- a/arch/mips/math-emu/ieee754sp.h +++ b/arch/mips/math-emu/ieee754sp.h | |||
@@ -87,21 +87,5 @@ static inline union ieee754sp buildsp(int s, int bx, unsigned m) | |||
87 | } | 87 | } |
88 | 88 | ||
89 | extern int ieee754sp_isnan(union ieee754sp); | 89 | extern int ieee754sp_isnan(union ieee754sp); |
90 | extern int __cold ieee754si_xcpt(int, const char *, ...); | 90 | extern union ieee754sp __cold ieee754sp_nanxcpt(union ieee754sp); |
91 | extern s64 __cold ieee754di_xcpt(s64, const char *, ...); | ||
92 | extern union ieee754sp __cold ieee754sp_xcpt(union ieee754sp, const char *, ...); | ||
93 | extern union ieee754sp __cold ieee754sp_nanxcpt(union ieee754sp, const char *, ...); | ||
94 | extern union ieee754sp ieee754sp_format(int, int, unsigned); | 91 | extern union ieee754sp ieee754sp_format(int, int, unsigned); |
95 | |||
96 | |||
97 | #define SPNORMRET2(s, e, m, name, a0, a1) \ | ||
98 | { \ | ||
99 | union ieee754sp V = ieee754sp_format(s, e, m); \ | ||
100 | \ | ||
101 | if (ieee754_tstx()) \ | ||
102 | return ieee754sp_xcpt(V, name, a0, a1); \ | ||
103 | else \ | ||
104 | return V; \ | ||
105 | } | ||
106 | |||
107 | #define SPNORMRET1(s, e, m, name, a0) SPNORMRET2(s, e, m, name, a0, a0) | ||