Skip to content

Commit

Permalink
MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_…
Browse files Browse the repository at this point in the history
…cmp.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed May 23, 2014
1 parent 1eaf198 commit f5410d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/math-emu/dp_cmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f5410d1

Please sign in to comment.