Skip to content

Commit

Permalink
MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed May 23, 2014
1 parent ad8fb55 commit 3e160aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/math-emu/sp_sub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3e160aa

Please sign in to comment.