Browse Source

MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 11 years ago
parent
commit
3e160aad0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/mips/math-emu/sp_sub.c

+ 1 - 1
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):