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/muldf3.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/muldf3.c')
-rw-r--r-- | compiler-rt/lib/muldf3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/muldf3.c b/compiler-rt/lib/muldf3.c index 5cfe62bca0c..f402cfb39d3 100644 --- a/compiler-rt/lib/muldf3.c +++ b/compiler-rt/lib/muldf3.c @@ -11,15 +11,15 @@ // with the IEEE-754 default rounding (to nearest, ties to even). // //===----------------------------------------------------------------------===// +#include "abi.h" #define DOUBLE_PRECISION #include "fp_lib.h" -#include "int_lib.h" - ARM_EABI_FNALIAS(dmul, muldf3); -fp_t __muldf3(fp_t a, fp_t b) { +COMPILER_RT_ABI fp_t +__muldf3(fp_t a, fp_t b) { const unsigned int aExponent = toRep(a) >> significandBits & maxExponent; const unsigned int bExponent = toRep(b) >> significandBits & maxExponent; |