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)
commit02a4bbdef2f604548725ee672098d1b4b25a8833
tree8986b6e55f97b52ce4cdc577f82528957d3b45d5
parentdbb97368b82d9ceafe82b583f61e0fdeb3f05500
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