diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-05-02 14:40:15 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-05-02 14:40:15 +0000 |
commit | 7a93de2caaa6e1adca77b1d33d1e97f5d30e52ae (patch) | |
tree | 434726f9efecbee81010fca5d74dcc080220f91a /runtime/arm/i64_utof.S | |
parent | 63722daa40aabf505c634d5cd88b03574f96dc70 (diff) |
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
Diffstat (limited to 'runtime/arm/i64_utof.S')
-rw-r--r-- | runtime/arm/i64_utof.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/arm/i64_utof.S b/runtime/arm/i64_utof.S index 6fb11df..a959076 100644 --- a/runtime/arm/i64_utof.S +++ b/runtime/arm/i64_utof.S @@ -63,8 +63,10 @@ __i64_utof: fmacd d0, d1, d2 @ d0 = d0 + d1 * d2 = double value of int64 @ Round to single fcvtsd s0, d0 +#ifdef VARIANT_eabi @ Return result in r0 fmrs r0, s0 +#endif bx lr .type __i64_utof, %function .size __i64_utof, . - __i64_utof |