Browse Source

MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_cmp.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 11 years ago
parent
commit
f5410d19b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/math-emu/dp_cmp.c

+ 1 - 1
arch/mips/math-emu/dp_cmp.c

@@ -44,7 +44,7 @@ int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cmp, int sig)
 			return 1;
 			return 1;
 		if (cmp & (IEEE754_CLT | IEEE754_CGT)) {
 		if (cmp & (IEEE754_CLT | IEEE754_CGT)) {
 			if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION))
 			if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION))
-				return ieee754si_xcpt(0, "fcmpf", x);
+				return ieee754di_xcpt(0, "fcmpf", x);
 		}
 		}
 		return 0;
 		return 0;
 	} else {
 	} else {