aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/13_integer_literals.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-02-01 12:29:51 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-02-01 14:25:13 +0800
commit5cbe03b9c47e676e045b4978c384087433bd6042 (patch)
tree9296f37cd03f67bd1d2e5b4a36aae66b897d8c15 /tests/tests2/13_integer_literals.c
parentfad8e13ccd567512e36a4441688e62c0aa63407e (diff)
downloadtinycc-5cbe03b9c47e676e045b4978c384087433bd6042.tar.gz
tinycc-5cbe03b9c47e676e045b4978c384087433bd6042.tar.bz2
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.
Diffstat (limited to 'tests/tests2/13_integer_literals.c')
0 files changed, 0 insertions, 0 deletions