target-arm/helper.c: For float-int conversion helpers pass ints as ints
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Mar 2011 07:23:11 +0000 (07:23 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 3 Apr 2011 15:19:38 +0000 (17:19 +0200)
commit622465e1fa4c07d96fcb6e8cbe746b1e3f3ff65e
tree8986b6e55f97b52ce4cdc577f82528957d3b45d5
parent4a9f9cb24de52e93aae7539a004dd20314ca1c0c
target-arm/helper.c: For float-int conversion helpers pass ints as ints

Correct the argument and return types for the float<->int conversion helper
functions so that integer arguments and return values are declared as
uint32_t/uint64_t, not float32/float64. This allows us to remove the
hand-rolled functions which were doing bitwise copies between the types
via unions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/helper.c
target-arm/helpers.h