git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: math-emu: Switch to using the MIPS rounding modes.
[pandora-kernel.git]
/
arch
/
mips
/
math-emu
/
sp_sqrt.c
diff --git
a/arch/mips/math-emu/sp_sqrt.c
b/arch/mips/math-emu/sp_sqrt.c
index
94f5bef
..
b7c098a
100644
(file)
--- a/
arch/mips/math-emu/sp_sqrt.c
+++ b/
arch/mips/math-emu/sp_sqrt.c
@@
-100,10
+100,10
@@
union ieee754sp ieee754sp_sqrt(union ieee754sp x)
if (ix != 0) {
ieee754_setcx(IEEE754_INEXACT);
switch (ieee754_csr.rm) {
- case
IEEE754
_RU:
+ case
FPU_CSR
_RU:
q += 2;
break;
- case
IEEE754
_RN:
+ case
FPU_CSR
_RN:
q += (q & 1);
break;
}