diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-22 07:31:24 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 09:11:12 -0400 |
commit | f5410d19b07d1d06a2ffa43db6d9b565a3a51c41 (patch) | |
tree | 4a915978600f8d8a83b12c83c9e6d229626d9315 /arch/mips/math-emu | |
parent | 1eaf198d3aee7b71a5deb9dca45481a706381f80 (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.c | 2 |
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) | |||
44 | return 1; | 44 | return 1; |
45 | if (cmp & (IEEE754_CLT | IEEE754_CGT)) { | 45 | if (cmp & (IEEE754_CLT | IEEE754_CGT)) { |
46 | if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION)) | 46 | if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION)) |
47 | return ieee754si_xcpt(0, "fcmpf", x); | 47 | return ieee754di_xcpt(0, "fcmpf", x); |
48 | } | 48 | } |
49 | return 0; | 49 | return 0; |
50 | } else { | 50 | } else { |