mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-07 01:51:42 +00:00
MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_cmp.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
1eaf198d3a
commit
f5410d19b0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user