summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-22 14:02:03 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 13:11:13 (GMT)
commit3e160aad0f23cc80743dd44810269c9667e0eb0e (patch)
treeb7eb815eacfd4213f1385e984fbf834e5fe9696f
parentad8fb5537a7747187e92434dc096d3914472b51b (diff)
downloadlinux-3e160aad0f23cc80743dd44810269c9667e0eb0e.tar.xz
MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/math-emu/sp_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_sub.c b/arch/mips/math-emu/sp_sub.c
index 1131065..828de93 100644
--- a/arch/mips/math-emu/sp_sub.c
+++ b/arch/mips/math-emu/sp_sub.c
@@ -104,7 +104,7 @@ union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y)
case CLPAIR(IEEE754_CLASS_ZERO, IEEE754_CLASS_NORM):
case CLPAIR(IEEE754_CLASS_ZERO, IEEE754_CLASS_DNORM):
/* quick fix up */
- DPSIGN(y) ^= 1;
+ SPSIGN(y) ^= 1;
return y;
case CLPAIR(IEEE754_CLASS_DNORM, IEEE754_CLASS_DNORM):