[compiler-rt] r200006 - Add end-of-function markers.
Joerg Sonnenberger
joerg at bec.de
Fri Jan 24 06:40:54 PST 2014
Author: joerg
Date: Fri Jan 24 08:40:53 2014
New Revision: 200006
URL: http://llvm.org/viewvc/llvm-project?rev=200006&view=rev
Log:
Add end-of-function markers.
Modified:
compiler-rt/trunk/lib/i386/ashldi3.S
compiler-rt/trunk/lib/i386/ashrdi3.S
compiler-rt/trunk/lib/i386/divdi3.S
compiler-rt/trunk/lib/i386/floatdidf.S
compiler-rt/trunk/lib/i386/floatdisf.S
compiler-rt/trunk/lib/i386/floatdixf.S
compiler-rt/trunk/lib/i386/floatundidf.S
compiler-rt/trunk/lib/i386/floatundisf.S
compiler-rt/trunk/lib/i386/floatundixf.S
compiler-rt/trunk/lib/i386/lshrdi3.S
compiler-rt/trunk/lib/i386/moddi3.S
compiler-rt/trunk/lib/i386/muldi3.S
compiler-rt/trunk/lib/i386/udivdi3.S
compiler-rt/trunk/lib/i386/umoddi3.S
Modified: compiler-rt/trunk/lib/i386/ashldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/ashldi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/ashldi3.S (original)
+++ compiler-rt/trunk/lib/i386/ashldi3.S Fri Jan 24 08:40:53 2014
@@ -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__
Modified: compiler-rt/trunk/lib/i386/ashrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/ashrdi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/ashrdi3.S (original)
+++ compiler-rt/trunk/lib/i386/ashrdi3.S Fri Jan 24 08:40:53 2014
@@ -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__
Modified: compiler-rt/trunk/lib/i386/divdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/divdi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/divdi3.S (original)
+++ compiler-rt/trunk/lib/i386/divdi3.S Fri Jan 24 08:40:53 2014
@@ -157,5 +157,6 @@ DEFINE_COMPILERRT_FUNCTION(__divdi3)
popl %ebx // Restore callee-save registers
popl %esi
retl // Return
+END_COMPILERRT_FUNCTION(__divdi3)
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/floatdidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdidf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdidf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdidf.S Fri Jan 24 08:40:53 2014
@@ -31,5 +31,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdidf)
movsd %xmm0, 4(%esp)
fldl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatdidf)
+
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/floatdisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdisf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdisf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdisf.S Fri Jan 24 08:40:53 2014
@@ -27,5 +27,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdisf)
fstps 4(%esp)
flds 4(%esp)
ret
+END_COMPILERRT_FUNCTION(__floatdisf)
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/floatdixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatdixf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatdixf.S (original)
+++ compiler-rt/trunk/lib/i386/floatdixf.S Fri Jan 24 08:40:53 2014
@@ -25,5 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatdixf)
#endif
fildll 4(%esp)
ret
+END_COMPILERRT_FUNCTION(__floatdixf)
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/floatundidf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundidf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundidf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundidf.S Fri Jan 24 08:40:53 2014
@@ -42,5 +42,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundidf
movsd %xmm0, 4(%esp)
fldl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundidf)
+
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/floatundisf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundisf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundisf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundisf.S Fri Jan 24 08:40:53 2014
@@ -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__
Modified: compiler-rt/trunk/lib/i386/floatundixf.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/floatundixf.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/floatundixf.S (original)
+++ compiler-rt/trunk/lib/i386/floatundixf.S Fri Jan 24 08:40:53 2014
@@ -33,5 +33,6 @@ DEFINE_COMPILERRT_FUNCTION(__floatundixf
movsd %xmm0, 4(%esp)
faddl 4(%esp)
ret
-
+END_COMPILERRT_FUNCTION(__floatundixf)
+
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/lshrdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/lshrdi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/lshrdi3.S (original)
+++ compiler-rt/trunk/lib/i386/lshrdi3.S Fri Jan 24 08:40:53 2014
@@ -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__
Modified: compiler-rt/trunk/lib/i386/moddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/moddi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/moddi3.S (original)
+++ compiler-rt/trunk/lib/i386/moddi3.S Fri Jan 24 08:40:53 2014
@@ -161,6 +161,6 @@ DEFINE_COMPILERRT_FUNCTION(__moddi3)
xorl %esi, %edx
popl %esi
retl // Return
+END_COMPILERRT_FUNCTION(__moddi3)
-
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/muldi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/muldi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/muldi3.S (original)
+++ compiler-rt/trunk/lib/i386/muldi3.S Fri Jan 24 08:40:53 2014
@@ -25,5 +25,6 @@ DEFINE_COMPILERRT_FUNCTION(__muldi3)
popl %ebx
retl
-
+END_COMPILERRT_FUNCTION(__muldi3)
+
#endif // __i386__
Modified: compiler-rt/trunk/lib/i386/udivdi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/udivdi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/udivdi3.S (original)
+++ compiler-rt/trunk/lib/i386/udivdi3.S Fri Jan 24 08:40:53 2014
@@ -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__
Modified: compiler-rt/trunk/lib/i386/umoddi3.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/i386/umoddi3.S?rev=200006&r1=200005&r2=200006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/i386/umoddi3.S (original)
+++ compiler-rt/trunk/lib/i386/umoddi3.S Fri Jan 24 08:40:53 2014
@@ -121,5 +121,6 @@ DEFINE_COMPILERRT_FUNCTION(__umoddi3)
popl %ebx //
xorl %edx, %edx // and return 0:rlo
retl //
-
+END_COMPILERRT_FUNCTION(__umoddi3)
+
#endif // __i386__
More information about the llvm-commits
mailing list