summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/sp_sqrt.c')
-rw-r--r--arch/mips/math-emu/sp_sqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_sqrt.c b/arch/mips/math-emu/sp_sqrt.c
index 33b3e00..94f5bef 100644
--- a/arch/mips/math-emu/sp_sqrt.c
+++ b/arch/mips/math-emu/sp_sqrt.c
@@ -100,7 +100,7 @@ union ieee754sp ieee754sp_sqrt(union ieee754sp x)
if (ix != 0) {
ieee754_setcx(IEEE754_INEXACT);
switch (ieee754_csr.rm) {
- case IEEE754_RP:
+ case IEEE754_RU:
q += 2;
break;
case IEEE754_RN: