diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-04-01 18:39:58 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-04-01 18:39:58 +0000 |
commit | 36f321baa3d3dd07cb2d605de35da2ce809c09cb (patch) | |
tree | e55f8b0e14c8e904e8520dcd8a1620ac6802447d | |
parent | 0f8deb55e66cd82796ff240999c023297ecae8d5 (diff) |
Move __addsf3 and __adddf3 into the corresponding blocks that define
fp_t.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205344 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/builtins/fp_lib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/builtins/fp_lib.h b/lib/builtins/fp_lib.h index c999b6a2c..7b905181c 100644 --- a/lib/builtins/fp_lib.h +++ b/lib/builtins/fp_lib.h @@ -44,6 +44,7 @@ static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { *hi = product >> 32; *lo = product; } +COMPILER_RT_ABI fp_t __addsf3(fp_t a, fp_t b); #elif defined DOUBLE_PRECISION @@ -86,6 +87,8 @@ static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) { #undef loWord #undef hiWord +COMPILER_RT_ABI fp_t __adddf3(fp_t a, fp_t b); + #elif defined QUAD_PRECISION #if __LDBL_MANT_DIG__ == 113 #define CRT_LDBL_128BIT @@ -251,7 +254,5 @@ static inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, unsigned int c } } #endif -COMPILER_RT_ABI fp_t __adddf3(fp_t a, fp_t b); -COMPILER_RT_ABI fp_t __addsf3(fp_t a, fp_t b); #endif // FP_LIB_HEADER |