diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:51:24 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:51:24 +0000 |
commit | 75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (patch) | |
tree | f96749c56c947499207a8f4b5c23256403d4d31b /compiler-rt/lib/truncdfsf2.c | |
parent | bdadd87c4de95b38d5ff7d7370c7a1f88a6669c3 (diff) | |
download | bcm5719-llvm-75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb.tar.gz bcm5719-llvm-75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb.zip |
Add ARM EABI function aliases to routines
llvm-svn: 129768
Diffstat (limited to 'compiler-rt/lib/truncdfsf2.c')
-rw-r--r-- | compiler-rt/lib/truncdfsf2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/truncdfsf2.c b/compiler-rt/lib/truncdfsf2.c index 92609fb784c..f3de21959c0 100644 --- a/compiler-rt/lib/truncdfsf2.c +++ b/compiler-rt/lib/truncdfsf2.c @@ -41,6 +41,8 @@ #include <limits.h> #include <stdbool.h> +#include "int_lib.h" + typedef double src_t; typedef uint64_t src_rep_t; #define SRC_REP_C UINT64_C @@ -66,6 +68,8 @@ static inline dst_t dstFromRep(dst_rep_t x) { // End helper routines. Conversion implementation follows. +ARM_EABI_FNALIAS(d2f, truncdfsf2); + dst_t __truncdfsf2(src_t a) { // Various constants whose values follow from the type parameters. |