summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/absvti2.c4
-rw-r--r--compiler-rt/lib/addvti3.c4
-rw-r--r--compiler-rt/lib/ashlti3.c4
-rw-r--r--compiler-rt/lib/ashrti3.c4
-rw-r--r--compiler-rt/lib/clzti2.c4
-rw-r--r--compiler-rt/lib/cmpti2.c4
-rw-r--r--compiler-rt/lib/ctzti2.c4
-rw-r--r--compiler-rt/lib/divti3.c4
-rw-r--r--compiler-rt/lib/ffsti2.c4
-rw-r--r--compiler-rt/lib/fixdfti.c4
-rw-r--r--compiler-rt/lib/fixsfti.c4
-rw-r--r--compiler-rt/lib/fixunsdfti.c4
-rw-r--r--compiler-rt/lib/fixunssfti.c4
-rw-r--r--compiler-rt/lib/fixunsxfti.c4
-rw-r--r--compiler-rt/lib/fixxfti.c4
-rw-r--r--compiler-rt/lib/floattidf.c4
-rw-r--r--compiler-rt/lib/floattisf.c4
-rw-r--r--compiler-rt/lib/floattixf.c4
-rw-r--r--compiler-rt/lib/floatuntidf.c4
-rw-r--r--compiler-rt/lib/floatuntisf.c4
-rw-r--r--compiler-rt/lib/floatuntixf.c4
-rw-r--r--compiler-rt/lib/lshrti3.c4
-rw-r--r--compiler-rt/lib/modti3.c4
-rw-r--r--compiler-rt/lib/muloti4.c4
-rw-r--r--compiler-rt/lib/multi3.c4
-rw-r--r--compiler-rt/lib/mulvti3.c4
-rw-r--r--compiler-rt/lib/negti2.c4
-rw-r--r--compiler-rt/lib/negvti2.c4
-rw-r--r--compiler-rt/lib/parityti2.c4
-rw-r--r--compiler-rt/lib/popcountti2.c4
-rw-r--r--compiler-rt/lib/powitf2.c4
-rw-r--r--compiler-rt/lib/subvti3.c4
-rw-r--r--compiler-rt/lib/ucmpti2.c4
-rw-r--r--compiler-rt/lib/udivmodti4.c4
-rw-r--r--compiler-rt/lib/udivti3.c4
-rw-r--r--compiler-rt/lib/umodti3.c4
36 files changed, 72 insertions, 72 deletions
diff --git a/compiler-rt/lib/absvti2.c b/compiler-rt/lib/absvti2.c
index 8f2bddcb3b2..c1c7277986a 100644
--- a/compiler-rt/lib/absvti2.c
+++ b/compiler-rt/lib/absvti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: absolute value */
/* Effects: aborts if abs(x) < 0 */
diff --git a/compiler-rt/lib/addvti3.c b/compiler-rt/lib/addvti3.c
index 9105c178994..2efcf3b408e 100644
--- a/compiler-rt/lib/addvti3.c
+++ b/compiler-rt/lib/addvti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a + b */
/* Effects: aborts if a + b overflows */
diff --git a/compiler-rt/lib/ashlti3.c b/compiler-rt/lib/ashlti3.c
index 7042b53b956..4bd8219b527 100644
--- a/compiler-rt/lib/ashlti3.c
+++ b/compiler-rt/lib/ashlti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a << b */
/* Precondition: 0 <= b < bits_in_tword */
diff --git a/compiler-rt/lib/ashrti3.c b/compiler-rt/lib/ashrti3.c
index 4d16230273d..ed43641c7ef 100644
--- a/compiler-rt/lib/ashrti3.c
+++ b/compiler-rt/lib/ashrti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: arithmetic a >> b */
/* Precondition: 0 <= b < bits_in_tword */
diff --git a/compiler-rt/lib/clzti2.c b/compiler-rt/lib/clzti2.c
index 7a650eb4254..355c20e4239 100644
--- a/compiler-rt/lib/clzti2.c
+++ b/compiler-rt/lib/clzti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: the number of leading 0-bits */
/* Precondition: a != 0 */
diff --git a/compiler-rt/lib/cmpti2.c b/compiler-rt/lib/cmpti2.c
index b156fce90bf..d0aec452a46 100644
--- a/compiler-rt/lib/cmpti2.c
+++ b/compiler-rt/lib/cmpti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: if (a < b) returns 0
* if (a == b) returns 1
* if (a > b) returns 2
diff --git a/compiler-rt/lib/ctzti2.c b/compiler-rt/lib/ctzti2.c
index 1c9508fd552..66dc01b7ad3 100644
--- a/compiler-rt/lib/ctzti2.c
+++ b/compiler-rt/lib/ctzti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: the number of trailing 0-bits */
/* Precondition: a != 0 */
diff --git a/compiler-rt/lib/divti3.c b/compiler-rt/lib/divti3.c
index 4ec3fa35ec5..0242c13683f 100644
--- a/compiler-rt/lib/divti3.c
+++ b/compiler-rt/lib/divti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
/* Returns: a / b */
diff --git a/compiler-rt/lib/ffsti2.c b/compiler-rt/lib/ffsti2.c
index 948c696b6a1..27e15d5810e 100644
--- a/compiler-rt/lib/ffsti2.c
+++ b/compiler-rt/lib/ffsti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: the index of the least significant 1-bit in a, or
* the value zero if a is zero. The least significant bit is index one.
*/
diff --git a/compiler-rt/lib/fixdfti.c b/compiler-rt/lib/fixdfti.c
index 4140d144618..b110a94b842 100644
--- a/compiler-rt/lib/fixdfti.c
+++ b/compiler-rt/lib/fixdfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a signed long long, rounding toward zero. */
/* Assumption: double is a IEEE 64 bit floating point type
diff --git a/compiler-rt/lib/fixsfti.c b/compiler-rt/lib/fixsfti.c
index c64e5aea584..c730ae0467c 100644
--- a/compiler-rt/lib/fixsfti.c
+++ b/compiler-rt/lib/fixsfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a signed long long, rounding toward zero. */
/* Assumption: float is a IEEE 32 bit floating point type
diff --git a/compiler-rt/lib/fixunsdfti.c b/compiler-rt/lib/fixunsdfti.c
index 524a2078fa4..fb0336f6908 100644
--- a/compiler-rt/lib/fixunsdfti.c
+++ b/compiler-rt/lib/fixunsdfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a unsigned long long, rounding toward zero.
* Negative values all become zero.
*/
diff --git a/compiler-rt/lib/fixunssfti.c b/compiler-rt/lib/fixunssfti.c
index b807910177a..8f4c62627ca 100644
--- a/compiler-rt/lib/fixunssfti.c
+++ b/compiler-rt/lib/fixunssfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a unsigned long long, rounding toward zero.
* Negative values all become zero.
*/
diff --git a/compiler-rt/lib/fixunsxfti.c b/compiler-rt/lib/fixunsxfti.c
index f0e16dbfe4d..260bfc01f64 100644
--- a/compiler-rt/lib/fixunsxfti.c
+++ b/compiler-rt/lib/fixunsxfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a unsigned long long, rounding toward zero.
* Negative values all become zero.
*/
diff --git a/compiler-rt/lib/fixxfti.c b/compiler-rt/lib/fixxfti.c
index 1022770f114..973dc31bf93 100644
--- a/compiler-rt/lib/fixxfti.c
+++ b/compiler-rt/lib/fixxfti.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a signed long long, rounding toward zero. */
/* Assumption: long double is an intel 80 bit floating point type padded with 6 bytes
diff --git a/compiler-rt/lib/floattidf.c b/compiler-rt/lib/floattidf.c
index 3cafea8a2e7..77749f8d340 100644
--- a/compiler-rt/lib/floattidf.c
+++ b/compiler-rt/lib/floattidf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a double, rounding toward even.*/
/* Assumption: double is a IEEE 64 bit floating point type
diff --git a/compiler-rt/lib/floattisf.c b/compiler-rt/lib/floattisf.c
index ab33e4aada5..4776125ded7 100644
--- a/compiler-rt/lib/floattisf.c
+++ b/compiler-rt/lib/floattisf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a float, rounding toward even. */
/* Assumption: float is a IEEE 32 bit floating point type
diff --git a/compiler-rt/lib/floattixf.c b/compiler-rt/lib/floattixf.c
index 852acc70746..3813dc6b775 100644
--- a/compiler-rt/lib/floattixf.c
+++ b/compiler-rt/lib/floattixf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a long double, rounding toward even. */
/* Assumption: long double is a IEEE 80 bit floating point type padded to 128 bits
diff --git a/compiler-rt/lib/floatuntidf.c b/compiler-rt/lib/floatuntidf.c
index d0889a0744f..4c1d3289f51 100644
--- a/compiler-rt/lib/floatuntidf.c
+++ b/compiler-rt/lib/floatuntidf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a double, rounding toward even. */
/* Assumption: double is a IEEE 64 bit floating point type
diff --git a/compiler-rt/lib/floatuntisf.c b/compiler-rt/lib/floatuntisf.c
index f5527583ce5..c8da2601ba8 100644
--- a/compiler-rt/lib/floatuntisf.c
+++ b/compiler-rt/lib/floatuntisf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a float, rounding toward even. */
/* Assumption: float is a IEEE 32 bit floating point type
diff --git a/compiler-rt/lib/floatuntixf.c b/compiler-rt/lib/floatuntixf.c
index 00c07d8ed4e..dbce80f16ee 100644
--- a/compiler-rt/lib/floatuntixf.c
+++ b/compiler-rt/lib/floatuntixf.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: convert a to a long double, rounding toward even. */
/* Assumption: long double is a IEEE 80 bit floating point type padded to 128 bits
diff --git a/compiler-rt/lib/lshrti3.c b/compiler-rt/lib/lshrti3.c
index 5fdd99eb770..be768143b58 100644
--- a/compiler-rt/lib/lshrti3.c
+++ b/compiler-rt/lib/lshrti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: logical a >> b */
/* Precondition: 0 <= b < bits_in_tword */
diff --git a/compiler-rt/lib/modti3.c b/compiler-rt/lib/modti3.c
index dbe5e949b9d..752202d45e0 100644
--- a/compiler-rt/lib/modti3.c
+++ b/compiler-rt/lib/modti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
/*Returns: a % b */
diff --git a/compiler-rt/lib/muloti4.c b/compiler-rt/lib/muloti4.c
index 1fcd0baf799..f58dd074eea 100644
--- a/compiler-rt/lib/muloti4.c
+++ b/compiler-rt/lib/muloti4.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a * b */
/* Effects: sets *overflow to 1 if a * b overflows */
diff --git a/compiler-rt/lib/multi3.c b/compiler-rt/lib/multi3.c
index ad8ab3fcbcb..0b8730f08ce 100644
--- a/compiler-rt/lib/multi3.c
+++ b/compiler-rt/lib/multi3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a * b */
static
diff --git a/compiler-rt/lib/mulvti3.c b/compiler-rt/lib/mulvti3.c
index ae65cf8fee1..31f7d2fd374 100644
--- a/compiler-rt/lib/mulvti3.c
+++ b/compiler-rt/lib/mulvti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a * b */
/* Effects: aborts if a * b overflows */
diff --git a/compiler-rt/lib/negti2.c b/compiler-rt/lib/negti2.c
index 774e8082945..f7e4ad3b94a 100644
--- a/compiler-rt/lib/negti2.c
+++ b/compiler-rt/lib/negti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: -a */
ti_int
diff --git a/compiler-rt/lib/negvti2.c b/compiler-rt/lib/negvti2.c
index ef766bb486b..05df6152fcd 100644
--- a/compiler-rt/lib/negvti2.c
+++ b/compiler-rt/lib/negvti2.c
@@ -12,10 +12,10 @@
*===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: -a */
/* Effects: aborts if -a overflows */
diff --git a/compiler-rt/lib/parityti2.c b/compiler-rt/lib/parityti2.c
index 8f857455a7b..a1f47b1d931 100644
--- a/compiler-rt/lib/parityti2.c
+++ b/compiler-rt/lib/parityti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: 1 if number of bits is odd else returns 0 */
si_int __paritydi2(di_int a);
diff --git a/compiler-rt/lib/popcountti2.c b/compiler-rt/lib/popcountti2.c
index 68d94270792..95666738f72 100644
--- a/compiler-rt/lib/popcountti2.c
+++ b/compiler-rt/lib/popcountti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: count of 1 bits */
si_int
diff --git a/compiler-rt/lib/powitf2.c b/compiler-rt/lib/powitf2.c
index 189632cf630..d3b934924f3 100644
--- a/compiler-rt/lib/powitf2.c
+++ b/compiler-rt/lib/powitf2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if _ARCH_PPC
-
#include "int_lib.h"
+#if _ARCH_PPC
+
/* Returns: a ^ b */
long double
diff --git a/compiler-rt/lib/subvti3.c b/compiler-rt/lib/subvti3.c
index 44127b73a9a..b32df5e6c7e 100644
--- a/compiler-rt/lib/subvti3.c
+++ b/compiler-rt/lib/subvti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: a - b */
/* Effects: aborts if a - b overflows */
diff --git a/compiler-rt/lib/ucmpti2.c b/compiler-rt/lib/ucmpti2.c
index 11137c5a5ee..5466d217428 100644
--- a/compiler-rt/lib/ucmpti2.c
+++ b/compiler-rt/lib/ucmpti2.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Returns: if (a < b) returns 0
* if (a == b) returns 1
* if (a > b) returns 2
diff --git a/compiler-rt/lib/udivmodti4.c b/compiler-rt/lib/udivmodti4.c
index 427861b1e3d..f619c74955e 100644
--- a/compiler-rt/lib/udivmodti4.c
+++ b/compiler-rt/lib/udivmodti4.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
/* Effects: if rem != 0, *rem = a % b
* Returns: a / b
*/
diff --git a/compiler-rt/lib/udivti3.c b/compiler-rt/lib/udivti3.c
index 7405a0f9865..d9e1bb46f5c 100644
--- a/compiler-rt/lib/udivti3.c
+++ b/compiler-rt/lib/udivti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
/* Returns: a / b */
diff --git a/compiler-rt/lib/umodti3.c b/compiler-rt/lib/umodti3.c
index 8f20c5fe35b..8ebe7f0dcf0 100644
--- a/compiler-rt/lib/umodti3.c
+++ b/compiler-rt/lib/umodti3.c
@@ -12,10 +12,10 @@
* ===----------------------------------------------------------------------===
*/
-#if __x86_64
-
#include "int_lib.h"
+#if __x86_64
+
tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
/* Returns: a % b */
OpenPOWER on IntegriCloud