target-arm: Fix VRECPS edge cases handling
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Mar 2011 15:37:12 +0000 (15:37 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 22 Mar 2011 06:59:06 +0000 (07:59 +0100)
commit4ffa6cccc4e06d840abad8ec1a7b7f97f301a1bc
tree588d8a5e8082a45e7526b62446d72c29a618dd15
parent4f5ad9459b2ccc41b24c6dc9a154af4c0a9b8c9a
target-arm: Fix VRECPS edge cases handling

Correct the handling of edge cases for the VRECPS instruction:
 * this is a Neon instruction so uses the "standard FPSCR value"
 * (zero, inf) is a special case which returns 2.0

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