From 7a93de2caaa6e1adca77b1d33d1e97f5d30e52ae Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 2 May 2014 14:40:15 +0000 Subject: Adapt to the two different calling conventions for floats. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2476 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- runtime/arm/i64_stod.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/arm/i64_stod.S') diff --git a/runtime/arm/i64_stod.S b/runtime/arm/i64_stod.S index 828d8b3c..7e5a06f3 100644 --- a/runtime/arm/i64_stod.S +++ b/runtime/arm/i64_stod.S @@ -46,7 +46,9 @@ __i64_stod: fsitod d1, s2 @ convert high half to double (signed) fldd d2, .LC1 @ d2 = 2^32 fmacd d0, d1, d2 @ d0 = d0 + d1 * d2 = double value of int64 +#ifdef VARIANT_eabi fmrrd r0, r1, d0 @ return result in r0, r1 +#endif bx lr .type __i64_stod, %function .size __i64_stod, . - __i64_stod -- cgit