commit | 0e3261098ff41c40ce3381b8ad7cff330458da3d | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Mar 11 08:12:23 2011 +0000 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Apr 03 17:19:38 2011 +0200 |
tree | 6f255ed260c0fb1cfba9c6fce0fc5d3058a24842 | |
parent | c7498daea76948128c1298d78fe9e7e618b5ff7c [diff] |
target-arm: Fix VCLE.F32 #0, VCLT.F32 #0 NaN handling Implementing the floating-point versions of VCLE #0 and VCLT #0 by doing a GT comparison and inverting the result gives the wrong result if the input is a NaN. Implement as a GT comparison with the operands swapped instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>