target-arm: Return right result for Neon comparison with NaNs
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 11 Mar 2011 08:12:22 +0000 (08:12 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Apr 2011 15:05:43 +0000 (17:05 +0200)
commitc7498daea76948128c1298d78fe9e7e618b5ff7c
tree5017076df77d382bcdd2d90d56e112e8173de251
parent51d852672cb8536c541ed5b1dc4ee8f989a96cd7
target-arm: Return right result for Neon comparison with NaNs

Fix the helper functions implementing the Neon floating point comparison
ops (VCGE, VCGT, VCEQ, VACGT, VACGE) to return the right answer when
one of the values being compared is a NaN.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/neon_helper.c