MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().
authorRalf Baechle <ralf@linux-mips.org>
Tue, 22 Apr 2014 14:02:03 +0000 (16:02 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:11:13 +0000 (15:11 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/sp_sub.c

index 1131065d01782368737229b0808d999febcaa43f..828de931690ca8a6145f51ae1c2bd1b2fad4fc09 100644 (file)
@@ -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):