summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/i386
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/i386')
-rw-r--r--compiler-rt/lib/i386/ashldi3.S6
-rw-r--r--compiler-rt/lib/i386/ashrdi3.S6
-rw-r--r--compiler-rt/lib/i386/divdi3.S3
-rw-r--r--compiler-rt/lib/i386/floatdidf.S3
-rw-r--r--compiler-rt/lib/i386/floatdisf.S3
-rw-r--r--compiler-rt/lib/i386/floatdixf.S3
-rw-r--r--compiler-rt/lib/i386/floatundidf.S3
-rw-r--r--compiler-rt/lib/i386/floatundisf.S6
-rw-r--r--compiler-rt/lib/i386/floatundixf.S3
-rw-r--r--compiler-rt/lib/i386/lshrdi3.S6
-rw-r--r--compiler-rt/lib/i386/moddi3.S3
-rw-r--r--compiler-rt/lib/i386/muldi3.S3
-rw-r--r--compiler-rt/lib/i386/udivdi3.S3
-rw-r--r--compiler-rt/lib/i386/umoddi3.S3
14 files changed, 18 insertions, 36 deletions
diff --git a/compiler-rt/lib/i386/ashldi3.S b/compiler-rt/lib/i386/ashldi3.S
index 7a7906ba995..af6f98bc7cf 100644
--- a/compiler-rt/lib/i386/ashldi3.S
+++ b/compiler-rt/lib/i386/ashldi3.S
@@ -17,8 +17,7 @@
.text
.align 4
-.globl ___ashldi3
-___ashldi3:
+DEFINE_COMPILERRT_FUNCTION(__ashldi3)
movd 12(%esp), %xmm2 // Load count
#ifndef TRUST_CALLERS_USE_64_BIT_STORES
movd 4(%esp), %xmm0
@@ -37,8 +36,7 @@ ___ashldi3:
.text
.align 4
-.globl ___ashldi3
-___ashldi3:
+DEFINE_COMPILERRT_FUNCTION(__ashldi3)
movl 12(%esp), %ecx // Load count
movl 8(%esp), %edx // Load high
movl 4(%esp), %eax // Load low
diff --git a/compiler-rt/lib/i386/ashrdi3.S b/compiler-rt/lib/i386/ashrdi3.S
index d0a4c4289ef..346f9b1adc1 100644
--- a/compiler-rt/lib/i386/ashrdi3.S
+++ b/compiler-rt/lib/i386/ashrdi3.S
@@ -10,8 +10,7 @@
.text
.align 4
-.globl ___ashrdi3
-___ashrdi3:
+DEFINE_COMPILERRT_FUNCTION(__ashrdi3)
movd 12(%esp), %xmm2 // Load count
movl 8(%esp), %eax
#ifndef TRUST_CALLERS_USE_64_BIT_STORES
@@ -47,8 +46,7 @@ ___ashrdi3:
.text
.align 4
-.globl ___ashrdi3
-___ashrdi3:
+DEFINE_COMPILERRT_FUNCTION(__ashrdi3)
movl 12(%esp), %ecx // Load count
movl 8(%esp), %edx // Load high
movl 4(%esp), %eax // Load low
diff --git a/compiler-rt/lib/i386/divdi3.S b/compiler-rt/lib/i386/divdi3.S
index 1ce22da678f..5ad530c34a4 100644
--- a/compiler-rt/lib/i386/divdi3.S
+++ b/compiler-rt/lib/i386/divdi3.S
@@ -20,8 +20,7 @@
.text
.align 4
-.globl ___divdi3
-___divdi3:
+DEFINE_COMPILERRT_FUNCTION(__divdi3)
/* This is currently implemented by wrapping the unsigned divide up in an absolute
value, then restoring the correct sign at the end of the computation. This could
diff --git a/compiler-rt/lib/i386/floatdidf.S b/compiler-rt/lib/i386/floatdidf.S
index 012697b1baf..8bf9f0dfc50 100644
--- a/compiler-rt/lib/i386/floatdidf.S
+++ b/compiler-rt/lib/i386/floatdidf.S
@@ -16,8 +16,7 @@ twop32: .quad 0x41f0000000000000
.text
.align 4
-.globl ___floatdidf
-___floatdidf:
+DEFINE_COMPILERRT_FUNCTION(__floatdidf)
cvtsi2sd 8(%esp), %xmm1
movss 4(%esp), %xmm0 // low 32 bits of a
calll 0f
diff --git a/compiler-rt/lib/i386/floatdisf.S b/compiler-rt/lib/i386/floatdisf.S
index 152a93d69cc..741e4a6607f 100644
--- a/compiler-rt/lib/i386/floatdisf.S
+++ b/compiler-rt/lib/i386/floatdisf.S
@@ -16,8 +16,7 @@
.text
.align 4
-.globl ___floatdisf
-___floatdisf:
+DEFINE_COMPILERRT_FUNCTION(__floatdisf)
#ifndef TRUST_CALLERS_USE_64_BIT_STORES
movd 4(%esp), %xmm0
movd 8(%esp), %xmm1
diff --git a/compiler-rt/lib/i386/floatdixf.S b/compiler-rt/lib/i386/floatdixf.S
index cd85c097cde..10f900e289d 100644
--- a/compiler-rt/lib/i386/floatdixf.S
+++ b/compiler-rt/lib/i386/floatdixf.S
@@ -16,8 +16,7 @@
.text
.align 4
-.globl ___floatdixf
-___floatdixf:
+DEFINE_COMPILERRT_FUNCTION(__floatdixf)
#ifndef TRUST_CALLERS_USE_64_BIT_STORES
movd 4(%esp), %xmm0
movd 8(%esp), %xmm1
diff --git a/compiler-rt/lib/i386/floatundidf.S b/compiler-rt/lib/i386/floatundidf.S
index e38e4556e2b..6f2acdb3cd2 100644
--- a/compiler-rt/lib/i386/floatundidf.S
+++ b/compiler-rt/lib/i386/floatundidf.S
@@ -28,8 +28,7 @@ twop84: .quad 0x4530000000000000
.text
.align 4
-.globl ___floatundidf
-___floatundidf:
+DEFINE_COMPILERRT_FUNCTION(__floatundidf)
movss 8(%esp), %xmm1 // high 32 bits of a
movss 4(%esp), %xmm0 // low 32 bits of a
calll 0f
diff --git a/compiler-rt/lib/i386/floatundisf.S b/compiler-rt/lib/i386/floatundisf.S
index 39f9dcf115c..497fa290dfc 100644
--- a/compiler-rt/lib/i386/floatundisf.S
+++ b/compiler-rt/lib/i386/floatundisf.S
@@ -28,8 +28,7 @@ twop64: .quad 0x0000000000000000
.text
.align 4
-.globl ___floatundisf
-___floatundisf:
+DEFINE_COMPILERRT_FUNCTION(__floatundisf)
movl 8(%esp), %eax
movd 8(%esp), %xmm1
movd 4(%esp), %xmm0
@@ -65,8 +64,7 @@ twelve: .long 0x00000000
.text
.align 4
-.globl ___floatundisf
-___floatundisf:
+DEFINE_COMPILERRT_FUNCTION(__floatundisf)
movl 8(%esp), %eax
movd 8(%esp), %xmm1
movd 4(%esp), %xmm0
diff --git a/compiler-rt/lib/i386/floatundixf.S b/compiler-rt/lib/i386/floatundixf.S
index b8586625334..7264f3f72ca 100644
--- a/compiler-rt/lib/i386/floatundixf.S
+++ b/compiler-rt/lib/i386/floatundixf.S
@@ -18,8 +18,7 @@ twop84: .quad 0x4530000000000000
.text
.align 4
-.globl ___floatundixf
-___floatundixf:
+DEFINE_COMPILERRT_FUNCTION(__floatundixf)
calll 0f
0: popl %eax
movss 8(%esp), %xmm0 // hi 32 bits of input
diff --git a/compiler-rt/lib/i386/lshrdi3.S b/compiler-rt/lib/i386/lshrdi3.S
index fd1fae0eea2..74937d2d8c1 100644
--- a/compiler-rt/lib/i386/lshrdi3.S
+++ b/compiler-rt/lib/i386/lshrdi3.S
@@ -17,8 +17,7 @@
.text
.align 4
-.globl ___lshrdi3
-___lshrdi3:
+DEFINE_COMPILERRT_FUNCTION(__lshrdi3)
movd 12(%esp), %xmm2 // Load count
#ifndef TRUST_CALLERS_USE_64_BIT_STORES
movd 4(%esp), %xmm0
@@ -37,8 +36,7 @@ ___lshrdi3:
.text
.align 4
-.globl ___lshrdi3
-___lshrdi3:
+DEFINE_COMPILERRT_FUNCTION(__lshrdi3)
movl 12(%esp), %ecx // Load count
movl 8(%esp), %edx // Load high
movl 4(%esp), %eax // Load low
diff --git a/compiler-rt/lib/i386/moddi3.S b/compiler-rt/lib/i386/moddi3.S
index bfc965147e2..85f5b3811d5 100644
--- a/compiler-rt/lib/i386/moddi3.S
+++ b/compiler-rt/lib/i386/moddi3.S
@@ -21,8 +21,7 @@
.text
.align 4
-.globl ___moddi3
-___moddi3:
+DEFINE_COMPILERRT_FUNCTION(__moddi3)
/* This is currently implemented by wrapping the unsigned modulus up in an absolute
value. This could certainly be improved upon. */
diff --git a/compiler-rt/lib/i386/muldi3.S b/compiler-rt/lib/i386/muldi3.S
index 262556a32c8..5f99f6a9ea8 100644
--- a/compiler-rt/lib/i386/muldi3.S
+++ b/compiler-rt/lib/i386/muldi3.S
@@ -9,8 +9,7 @@
.text
.align 4
-.globl ___muldi3
-___muldi3:
+DEFINE_COMPILERRT_FUNCTION(__muldi3)
pushl %ebx
movl 16(%esp), %eax // b.lo
movl 12(%esp), %ecx // a.hi
diff --git a/compiler-rt/lib/i386/udivdi3.S b/compiler-rt/lib/i386/udivdi3.S
index c1626aba767..77936f858ac 100644
--- a/compiler-rt/lib/i386/udivdi3.S
+++ b/compiler-rt/lib/i386/udivdi3.S
@@ -20,8 +20,7 @@
.text
.align 4
-.globl ___udivdi3
-___udivdi3:
+DEFINE_COMPILERRT_FUNCTION(__udivdi3)
pushl %ebx
movl 20(%esp), %ebx // Find the index i of the leading bit in b.
diff --git a/compiler-rt/lib/i386/umoddi3.S b/compiler-rt/lib/i386/umoddi3.S
index 7e4f84a9378..3cf8aeb62b2 100644
--- a/compiler-rt/lib/i386/umoddi3.S
+++ b/compiler-rt/lib/i386/umoddi3.S
@@ -21,8 +21,7 @@
.text
.align 4
-.globl ___umoddi3
-___umoddi3:
+DEFINE_COMPILERRT_FUNCTION(__umoddi3)
pushl %ebx
movl 20(%esp), %ebx // Find the index i of the leading bit in b.
OpenPOWER on IntegriCloud