summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-22 13:31:24 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:12 +0200
commitf5410d19b07d1d06a2ffa43db6d9b565a3a51c41 (patch)
tree4a915978600f8d8a83b12c83c9e6d229626d9315 /arch/mips/math-emu
parent1eaf198d3aee7b71a5deb9dca45481a706381f80 (diff)
MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_cmp.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r--arch/mips/math-emu/dp_cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dp_cmp.c b/arch/mips/math-emu/dp_cmp.c
index a8da7257a2e8..2d9390ecf60d 100644
--- a/arch/mips/math-emu/dp_cmp.c
+++ b/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;
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 {