MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_cmp.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 22 Apr 2014 11:31:24 +0000 (13:31 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:11:12 +0000 (15:11 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dp_cmp.c

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