forked from OSchip/llvm-project
Move __addsf3 and __adddf3 into the corresponding blocks that define
fp_t. llvm-svn: 205344
This commit is contained in:
parent
af47f60f83
commit
a350ba4883
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue