diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
commit | e63da933eba10f5ea5bf39af47a0ded719c2cf5d (patch) | |
tree | 3e39bc5ad29874dfa68646379425fc218b3f78aa /compiler-rt/lib/floatdidf.c | |
parent | 75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (diff) | |
download | bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.tar.gz bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.zip |
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
llvm-svn: 129769
Diffstat (limited to 'compiler-rt/lib/floatdidf.c')
-rw-r--r-- | compiler-rt/lib/floatdidf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler-rt/lib/floatdidf.c b/compiler-rt/lib/floatdidf.c index 1633f738408..5ba95263503 100644 --- a/compiler-rt/lib/floatdidf.c +++ b/compiler-rt/lib/floatdidf.c @@ -11,6 +11,7 @@ * *===----------------------------------------------------------------------=== */ +#include "abi.h" #include "int_lib.h" #include <float.h> @@ -23,8 +24,6 @@ /* seee eeee eeee mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm */ -#include "int_lib.h" - ARM_EABI_FNALIAS(l2d, floatdidf); #ifndef __SOFT_FP__ @@ -33,7 +32,7 @@ ARM_EABI_FNALIAS(l2d, floatdidf); */ #include <stdint.h> -double +COMPILER_RT_ABI double __floatdidf(di_int a) { static const double twop52 = 0x1.0p52; @@ -53,7 +52,7 @@ __floatdidf(di_int a) * set, and we don't want to code-gen to an unknown soft-float implementation. */ -double +COMPILER_RT_ABI double __floatdidf(di_int a) { if (a == 0) |