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 | a350ba48837d9d36314817890a6217369c257fcd (patch) | |
tree | 4058f29555e243121a475768480e908b14a47a33 /compiler-rt/lib/builtins/fp_lib.h | |
parent | af47f60f83f7ace790eb8bc50eec37b1516c5ef8 (diff) | |
download | bcm5719-llvm-a350ba48837d9d36314817890a6217369c257fcd.tar.gz bcm5719-llvm-a350ba48837d9d36314817890a6217369c257fcd.zip |
Move __addsf3 and __adddf3 into the corresponding blocks that define
fp_t.
llvm-svn: 205344
Diffstat (limited to 'compiler-rt/lib/builtins/fp_lib.h')
-rw-r--r-- | compiler-rt/lib/builtins/fp_lib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/fp_lib.h b/compiler-rt/lib/builtins/fp_lib.h index c999b6a2c1c..7b905181c93 100644 --- a/compiler-rt/lib/builtins/fp_lib.h +++ b/compiler-rt/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 |