Move result of itof double conv back to VFP reg
commit5cbe03b9c47e676e045b4978c384087433bd6042
authorThomas Preud'homme <robotux@celest.fr>
Sat, 1 Feb 2014 04:29:51 +0000 (1 12:29 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Sat, 1 Feb 2014 06:25:13 +0000 (1 14:25 +0800)
tree9296f37cd03f67bd1d2e5b4a36aae66b897d8c15
parentfad8e13ccd567512e36a4441688e62c0aa63407e
Move result of itof double conv back to VFP reg

EABI functions to convert an int to a double register take the integer
value in core registers and also give the result in core registers.
It is thus necessary to move the result back to VFP register after the
function call. This only affected integer to double conversion because
integer to float conversion used a VFP instruction to do the conversion
and this obviously left the result in VFP register. Note that the
behavior is left untouched for !EABI as the correct behavior in this
case is unknown to the author of this patch.
Changelog
arm-gen.c