MIPS: Fix abs.[sd] and neg.[sd] emulation for NaN operands
authorNigel Stephens <nigel@mips.com>
Mon, 12 Oct 2009 21:57:18 +0000 (14:57 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:05 +0000 (12:00 +0100)
commitcea2be444380fc1bf665cd023ed84be7e0872d28
tree9e477926a9c67f143a7d44ad89a2cdf2a37dc041
parenta074f0e89faa8989bdbd6110785d2aafe7df5285
MIPS: Fix abs.[sd] and neg.[sd] emulation for NaN operands

This patch ensures that the sign bit is always updated for NaN operands.

Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dp_simple.c
arch/mips/math-emu/sp_simple.c