target-ppc: fix wrong NaN tests
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 17 Jan 2011 18:29:33 +0000 (19:29 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 20 Jan 2011 14:11:14 +0000 (15:11 +0100)
commitd788b57051ee91aa39de67cff8d8e15953bc100c
tree11776160257cc0cc1f2f79bff6d89f534eeee2d2
parent96912e39709e8455c013931513eebe8e6356eab4
target-ppc: fix wrong NaN tests

Some tests in FPU emulation code were wrongly using float64_is_nan()
before commit 185698715dfb18c82ad2a5dbc169908602d43e81, and wrongly
using float64_is_quiet_nan() after. Fix them by using float64_is_any_nan()
instead.

Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/op_helper.c