summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-01-24 14:40:53 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-01-24 14:40:53 +0000
commit2a10033ae7a1b4a06f8eb3897f35407556039354 (patch)
treee9fbb9401f92dcaa2b5747082bbd6ddd13c1958c /compiler-rt
parent171e9cfb0e0c41f6b73118efa445e1693a761040 (diff)
downloadbcm5719-llvm-2a10033ae7a1b4a06f8eb3897f35407556039354.tar.gz
bcm5719-llvm-2a10033ae7a1b4a06f8eb3897f35407556039354.zip
Add end-of-function markers.
llvm-svn: 200006
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/i386/ashldi3.S4
-rw-r--r--compiler-rt/lib/i386/ashrdi3.S4
-rw-r--r--compiler-rt/lib/i386/divdi3.S1
-rw-r--r--compiler-rt/lib/i386/floatdidf.S3
-rw-r--r--compiler-rt/lib/i386/floatdisf.S1
-rw-r--r--compiler-rt/lib/i386/floatdixf.S1
-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.S4
-rw-r--r--compiler-rt/lib/i386/moddi3.S2
-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, 29 insertions, 12 deletions
diff --git a/compiler-rt/lib/i386/ashldi3.S b/compiler-rt/lib/i386/ashldi3.S
index 5488ad6e52b..a5da1ace1c3 100644
--- a/compiler-rt/lib/i386/ashldi3.S
+++ b/compiler-rt/lib/i386/ashldi3.S
@@ -31,6 +31,7 @@ DEFINE_COMPILERRT_FUNCTION(__ashldi3)
psrlq $32, %xmm0
movd %xmm0, %edx
ret
+END_COMPILERRT_FUNCTION(__ashldi3)
#else // Use GPRs instead of SSE2 instructions, if they aren't available.
@@ -51,6 +52,7 @@ DEFINE_COMPILERRT_FUNCTION(__ashldi3)
xorl %eax, %eax // clear low
shll %cl, %edx // shift high by count - 32
ret
-
+END_COMPILERRT_FUNCTION(__ashldi3)
+
#endif // __SSE2__
#endif // __i386__
diff --git a/compiler-rt/lib/i386/ashrdi3.S b/compiler-rt/lib/i386/ashrdi3.S
index b1445ddb99c..ab0fcfcc9ff 100644
--- a/compiler-rt/lib/i386/ashrdi3.S
+++ b/compiler-rt/lib/i386/ashrdi3.S
@@ -41,6 +41,7 @@ DEFINE_COMPILERRT_FUNCTION(__ashrdi3)
psrlq $32, %xmm0
movd %xmm0, %edx
ret
+END_COMPILERRT_FUNCTION(__ashrdi3)
#else // Use GPRs instead of SSE2 instructions, if they aren't available.
@@ -62,6 +63,7 @@ DEFINE_COMPILERRT_FUNCTION(__ashrdi3)
sarl $31, %edx // clear high
sarl %cl, %eax // shift low by count - 32
ret
-
+END_COMPILERRT_FUNCTION(__ashrdi3)
+
#endif // __SSE2__
#endif // __i386__
diff --git a/compiler-rt/lib/i386/divdi3.S b/compiler-rt/lib/i386/divdi3.S
index 69593e32e9e..5afec5f9cc9 100644
--- a/compiler-rt/lib/i386/divdi3.S
+++ b/compiler-rt/lib/i386/divdi3.S
@@ -157,5 +157,6 @@ DEFINE_COMPILERRT_FUNCTION(__divdi3)
popl %ebx // Restore callee-save registers
popl %esi
retl // Return
+END_COMPILERRT_FUNCTION(__divdi3)
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatdidf.S b/compiler-rt/lib/i386/floatdidf.S
index a953d26cec0..493608886ca 100644
--- a/compiler-rt/lib/i386/floatdidf.S
+++ b/compiler-rt/lib/i386/floatdidf.S
@@ -31,5 +31,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdidf)
movsd %xmm0, 4(%esp)
fldl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatdidf)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatdisf.S b/compiler-rt/lib/i386/floatdisf.S
index a98a46ee33a..8340331b85a 100644
--- a/compiler-rt/lib/i386/floatdisf.S
+++ b/compiler-rt/lib/i386/floatdisf.S
@@ -27,5 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdisf)
fstps 4(%esp)
flds 4(%esp)
ret
+END_COMPILERRT_FUNCTION(__floatdisf)
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatdixf.S b/compiler-rt/lib/i386/floatdixf.S
index 412976fb41b..eaa34d744fa 100644
--- a/compiler-rt/lib/i386/floatdixf.S
+++ b/compiler-rt/lib/i386/floatdixf.S
@@ -25,5 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdixf)
#endif
fildll 4(%esp)
ret
+END_COMPILERRT_FUNCTION(__floatdixf)
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatundidf.S b/compiler-rt/lib/i386/floatundidf.S
index 6bba7e1cf72..5b8787ba627 100644
--- a/compiler-rt/lib/i386/floatundidf.S
+++ b/compiler-rt/lib/i386/floatundidf.S
@@ -42,5 +42,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundidf)
movsd %xmm0, 4(%esp)
fldl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundidf)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatundisf.S b/compiler-rt/lib/i386/floatundisf.S
index 1afd1d4d05b..2253021bcdb 100644
--- a/compiler-rt/lib/i386/floatundisf.S
+++ b/compiler-rt/lib/i386/floatundisf.S
@@ -42,7 +42,8 @@ DEFINE_COMPILERRT_FUNCTION(__floatundisf)
fstps 4(%esp)
flds 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundisf)
+
#endif // __i386__
*/
@@ -95,5 +96,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundisf)
movd %xmm0, 4(%esp)
flds 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundisf)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/floatundixf.S b/compiler-rt/lib/i386/floatundixf.S
index 6e6710bd4ac..b728d06972e 100644
--- a/compiler-rt/lib/i386/floatundixf.S
+++ b/compiler-rt/lib/i386/floatundixf.S
@@ -33,5 +33,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundixf)
movsd %xmm0, 4(%esp)
faddl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundixf)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/lshrdi3.S b/compiler-rt/lib/i386/lshrdi3.S
index cf411f22e0b..dcfc331693f 100644
--- a/compiler-rt/lib/i386/lshrdi3.S
+++ b/compiler-rt/lib/i386/lshrdi3.S
@@ -31,6 +31,7 @@ DEFINE_COMPILERRT_FUNCTION(__lshrdi3)
psrlq $32, %xmm0
movd %xmm0, %edx
ret
+END_COMPILERRT_FUNCTION(__lshrdi3)
#else // Use GPRs instead of SSE2 instructions, if they aren't available.
@@ -52,6 +53,7 @@ DEFINE_COMPILERRT_FUNCTION(__lshrdi3)
xorl %edx, %edx // clear high
shrl %cl, %eax // shift low by count - 32
ret
-
+END_COMPILERRT_FUNCTION(__lshrdi3)
+
#endif // __SSE2__
#endif // __i386__
diff --git a/compiler-rt/lib/i386/moddi3.S b/compiler-rt/lib/i386/moddi3.S
index 8839cfc51d9..79e4fc2132b 100644
--- a/compiler-rt/lib/i386/moddi3.S
+++ b/compiler-rt/lib/i386/moddi3.S
@@ -161,6 +161,6 @@ DEFINE_COMPILERRT_FUNCTION(__moddi3)
xorl %esi, %edx
popl %esi
retl // Return
+END_COMPILERRT_FUNCTION(__moddi3)
-
#endif // __i386__
diff --git a/compiler-rt/lib/i386/muldi3.S b/compiler-rt/lib/i386/muldi3.S
index e56a3553bd3..5af1136c14a 100644
--- a/compiler-rt/lib/i386/muldi3.S
+++ b/compiler-rt/lib/i386/muldi3.S
@@ -25,5 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__muldi3)
popl %ebx
retl
-
+END_COMPILERRT_FUNCTION(__muldi3)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/udivdi3.S b/compiler-rt/lib/i386/udivdi3.S
index 5abeaeaaf47..5072b221c1c 100644
--- a/compiler-rt/lib/i386/udivdi3.S
+++ b/compiler-rt/lib/i386/udivdi3.S
@@ -110,5 +110,6 @@ DEFINE_COMPILERRT_FUNCTION(__udivdi3)
movl %ebx, %edx // rhi:alo = qlo*b + rlo with 0 ≤ rlo < b
popl %ebx //
retl // and return qhi:qlo
-
+END_COMPILERRT_FUNCTION(__udivdi3)
+
#endif // __i386__
diff --git a/compiler-rt/lib/i386/umoddi3.S b/compiler-rt/lib/i386/umoddi3.S
index 7fd84853b5b..63cefc20728 100644
--- a/compiler-rt/lib/i386/umoddi3.S
+++ b/compiler-rt/lib/i386/umoddi3.S
@@ -121,5 +121,6 @@ DEFINE_COMPILERRT_FUNCTION(__umoddi3)
popl %ebx //
xorl %edx, %edx // and return 0:rlo
retl //
-
+END_COMPILERRT_FUNCTION(__umoddi3)
+
#endif // __i386__
OpenPOWER on IntegriCloud