]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac01df6f1b5998ce8b5ae50d242153ba75bed81c
tree9e477926a9c67f143a7d44ad89a2cdf2a37dc041
parentca099ed29c3f8957834e077c84556489275877bb
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