aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_tlong.c
diff options
context:
space:
mode:
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)
41 case IEEE754_CLASS_QNAN: 41 case IEEE754_CLASS_QNAN:
42 case IEEE754_CLASS_INF: 42 case IEEE754_CLASS_INF:
43 ieee754_setcx(IEEE754_INVALID_OPERATION); 43 ieee754_setcx(IEEE754_INVALID_OPERATION);
44 return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x); 44 return ieee754di_indef();
45 case IEEE754_CLASS_ZERO: 45 case IEEE754_CLASS_ZERO:
46 return 0; 46 return 0;
47 case IEEE754_CLASS_DNORM: 47 case IEEE754_CLASS_DNORM:
@@ -55,7 +55,7 @@ s64 ieee754sp_tlong(union ieee754sp x)
55 /* Set invalid. We will only use overflow for floating 55 /* Set invalid. We will only use overflow for floating
56 point overflow */ 56 point overflow */
57 ieee754_setcx(IEEE754_INVALID_OPERATION); 57 ieee754_setcx(IEEE754_INVALID_OPERATION);
58 return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x); 58 return ieee754di_indef();
59 } 59 }
60 /* oh gawd */ 60 /* oh gawd */
61 if (xe > SP_FBITS) { 61 if (xe > SP_FBITS) {
@@ -97,7 +97,7 @@ s64 ieee754sp_tlong(union ieee754sp x)
97 if ((xm >> 63) != 0) { 97 if ((xm >> 63) != 0) {
98 /* This can happen after rounding */ 98 /* This can happen after rounding */
99 ieee754_setcx(IEEE754_INVALID_OPERATION); 99 ieee754_setcx(IEEE754_INVALID_OPERATION);
100 return ieee754di_xcpt(ieee754di_indef(), "sp_tlong", x); 100 return ieee754di_indef();
101 } 101 }
102 if (round || sticky) 102 if (round || sticky)
103 ieee754_setcx(IEEE754_INEXACT); 103 ieee754_setcx(IEEE754_INEXACT);