[compiler-rt] r205344 - Move __addsf3 and __adddf3 into the corresponding blocks that define

Joerg Sonnenberger joerg at bec.de
Tue Apr 1 11:39:58 PDT 2014


Author: joerg
Date: Tue Apr  1 13:39:58 2014
New Revision: 205344

URL: http://llvm.org/viewvc/llvm-project?rev=205344&view=rev
Log:
Move __addsf3 and __adddf3 into the corresponding blocks that define
fp_t.

Modified:
    compiler-rt/trunk/lib/builtins/fp_lib.h

Modified: compiler-rt/trunk/lib/builtins/fp_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/fp_lib.h?rev=205344&r1=205343&r2=205344&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/fp_lib.h (original)
+++ compiler-rt/trunk/lib/builtins/fp_lib.h Tue Apr  1 13:39:58 2014
@@ -44,6 +44,7 @@ static inline void wideMultiply(rep_t a,
     *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,
 #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 wideRightShiftWithSti
     }
 }
 #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





More information about the llvm-commits mailing list