diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2011-06-02 20:02:42 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2011-06-02 20:02:42 +0000 |
| commit | b0a04aaa595ba76468e521f12727a872d144d6d0 (patch) | |
| tree | 51db692a6c937b68c7180d996af6bb7952b4b55d /lib/truncdfsf2.c | |
| parent | f170b6928b38a264ce005e5fa80d428364b6f659 (diff) | |
Diffstat (limited to 'lib/truncdfsf2.c')
| -rw-r--r-- | lib/truncdfsf2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/truncdfsf2.c b/lib/truncdfsf2.c index 92609fb784c91..1dbf02f5ef639 100644 --- a/lib/truncdfsf2.c +++ b/lib/truncdfsf2.c @@ -41,6 +41,8 @@ #include <limits.h> #include <stdbool.h> +#include "abi.h" + typedef double src_t; typedef uint64_t src_rep_t; #define SRC_REP_C UINT64_C @@ -66,7 +68,10 @@ static inline dst_t dstFromRep(dst_rep_t x) { // End helper routines. Conversion implementation follows. -dst_t __truncdfsf2(src_t a) { +ARM_EABI_FNALIAS(d2f, truncdfsf2); + +COMPILER_RT_ABI dst_t +__truncdfsf2(src_t a) { // Various constants whose values follow from the type parameters. // Any reasonable optimizer will fold and propagate all of these. |
