summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fp_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/builtins/fp_lib.h')
-rw-r--r--compiler-rt/lib/builtins/fp_lib.h5
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
OpenPOWER on IntegriCloud