[llvm-commits] [compiler-rt] r102030 - /compiler-rt/trunk/lib/arm/

Nick Kledzik kledzik at apple.com
Wed Apr 21 15:36:23 PDT 2010


Author: kledzik
Date: Wed Apr 21 17:36:23 2010
New Revision: 102030

URL: http://llvm.org/viewvc/llvm-project?rev=102030&view=rev
Log:
add explicit alignment directives to assure arm code is 4-byte aligned

Modified:
    compiler-rt/trunk/lib/arm/adddf3vfp.S
    compiler-rt/trunk/lib/arm/addsf3vfp.S
    compiler-rt/trunk/lib/arm/bswapdi2.S
    compiler-rt/trunk/lib/arm/bswapsi2.S
    compiler-rt/trunk/lib/arm/divdf3vfp.S
    compiler-rt/trunk/lib/arm/divsf3vfp.S
    compiler-rt/trunk/lib/arm/eqdf2vfp.S
    compiler-rt/trunk/lib/arm/eqsf2vfp.S
    compiler-rt/trunk/lib/arm/extendsfdf2vfp.S
    compiler-rt/trunk/lib/arm/fixdfsivfp.S
    compiler-rt/trunk/lib/arm/fixsfsivfp.S
    compiler-rt/trunk/lib/arm/fixunsdfsivfp.S
    compiler-rt/trunk/lib/arm/fixunssfsivfp.S
    compiler-rt/trunk/lib/arm/floatsidfvfp.S
    compiler-rt/trunk/lib/arm/floatsisfvfp.S
    compiler-rt/trunk/lib/arm/floatunssidfvfp.S
    compiler-rt/trunk/lib/arm/floatunssisfvfp.S
    compiler-rt/trunk/lib/arm/gedf2vfp.S
    compiler-rt/trunk/lib/arm/gesf2vfp.S
    compiler-rt/trunk/lib/arm/gtdf2vfp.S
    compiler-rt/trunk/lib/arm/gtsf2vfp.S
    compiler-rt/trunk/lib/arm/ledf2vfp.S
    compiler-rt/trunk/lib/arm/lesf2vfp.S
    compiler-rt/trunk/lib/arm/ltdf2vfp.S
    compiler-rt/trunk/lib/arm/ltsf2vfp.S
    compiler-rt/trunk/lib/arm/muldf3vfp.S
    compiler-rt/trunk/lib/arm/mulsf3vfp.S
    compiler-rt/trunk/lib/arm/nedf2vfp.S
    compiler-rt/trunk/lib/arm/negdf2vfp.S
    compiler-rt/trunk/lib/arm/negsf2vfp.S
    compiler-rt/trunk/lib/arm/nesf2vfp.S
    compiler-rt/trunk/lib/arm/restore_vfp_d8_d15_regs.S
    compiler-rt/trunk/lib/arm/save_vfp_d8_d15_regs.S
    compiler-rt/trunk/lib/arm/subdf3vfp.S
    compiler-rt/trunk/lib/arm/subsf3vfp.S
    compiler-rt/trunk/lib/arm/switch16.S
    compiler-rt/trunk/lib/arm/switch32.S
    compiler-rt/trunk/lib/arm/switch8.S
    compiler-rt/trunk/lib/arm/switchu8.S
    compiler-rt/trunk/lib/arm/sync_synchronize.S
    compiler-rt/trunk/lib/arm/truncdfsf2vfp.S
    compiler-rt/trunk/lib/arm/unorddf2vfp.S
    compiler-rt/trunk/lib/arm/unordsf2vfp.S

Modified: compiler-rt/trunk/lib/arm/adddf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/adddf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/adddf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/adddf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Adds two double precision floating point numbers using the Darwin
 // calling convention where double arguments are passsed in GPR pairs
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__adddf3vfp)
 	fmdrr	d6, r0, r1		// move first param from r0/r1 pair into d6
 	fmdrr	d7, r2, r3		// move second param from r2/r3 pair into d7

Modified: compiler-rt/trunk/lib/arm/addsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/addsf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/addsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/addsf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Adds two single precision floating point numbers using the Darwin
 // calling convention where single arguments are passsed in GPRs
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__addsf3vfp)
 	fmsr	s14, r0		// move first param from r0 into float register
 	fmsr	s15, r1		// move second param from r1 into float register

Modified: compiler-rt/trunk/lib/arm/bswapdi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/bswapdi2.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/bswapdi2.S (original)
+++ compiler-rt/trunk/lib/arm/bswapdi2.S Wed Apr 21 17:36:23 2010
@@ -14,6 +14,7 @@
 //
 // Reverse all the bytes in a 64-bit integer.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__bswapdi2)
 	rev	r2, r1		// reverse bytes in high 32-bits into temp2
 	rev	r3, r0		// reverse bytes in low 32-bit into temp3

Modified: compiler-rt/trunk/lib/arm/bswapsi2.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/bswapsi2.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/bswapsi2.S (original)
+++ compiler-rt/trunk/lib/arm/bswapsi2.S Wed Apr 21 17:36:23 2010
@@ -14,6 +14,7 @@
 //
 // Reverse all the bytes in a 32-bit integer.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__bswapsi2)
 	rev	r0, r0		// reverse bytes in parameter and put into result register
 	bx	lr

Modified: compiler-rt/trunk/lib/arm/divdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divdf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divdf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divdf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Divides two double precision floating point numbers using the Darwin
 // calling convention where double arguments are passsed in GPR pairs
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__divdf3vfp)
 	fmdrr	d6, r0, r1		// move first param from r0/r1 pair into d6
 	fmdrr	d7, r2, r3		// move second param from r2/r3 pair into d7

Modified: compiler-rt/trunk/lib/arm/divsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divsf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/divsf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Divides two single precision floating point numbers using the Darwin
 // calling convention where single arguments are passsed like 32-bit ints.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__divsf3vfp)
 	fmsr	s14, r0		// move first param from r0 into float register
 	fmsr	s15, r1		// move second param from r1 into float register

Modified: compiler-rt/trunk/lib/arm/eqdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/eqdf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/eqdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/eqdf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__eqdf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/eqsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/eqsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/eqsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/eqsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__eqsf2vfp)
 	fmsr	s14, r0     // move from GPR 0 to float register
 	fmsr	s15, r1	    // move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/extendsfdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/extendsfdf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/extendsfdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/extendsfdf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a single precision parameter is 
 // passed in a GPR and a double precision result is returned in R0/R1 pair.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__extendsfdf2vfp)
 	fmsr	s15, r0      // load float register from R0
 	fcvtds	d7, s15      // convert single to double

Modified: compiler-rt/trunk/lib/arm/fixdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixdfsivfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixdfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixdfsivfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a double precision parameter is 
 // passed in GPR register pair.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__fixdfsivfp)
 	fmdrr	d7, r0, r1    // load double register from R0/R1
 	ftosizd	s15, d7       // convert double to 32-bit int into s15

Modified: compiler-rt/trunk/lib/arm/fixsfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixsfsivfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixsfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixsfsivfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a single precision parameter is 
 // passed in a GPR..
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__fixsfsivfp)
 	fmsr	s15, r0      // load float register from R0
 	ftosizs	s15, s15     // convert single to 32-bit int into s15

Modified: compiler-rt/trunk/lib/arm/fixunsdfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixunsdfsivfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixunsdfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixunsdfsivfp.S Wed Apr 21 17:36:23 2010
@@ -17,6 +17,7 @@
 // Uses Darwin calling convention where a double precision parameter is 
 // passed in GPR register pair.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__fixunsdfsivfp)
 	fmdrr	d7, r0, r1    // load double register from R0/R1
 	ftouizd	s15, d7       // convert double to 32-bit int into s15

Modified: compiler-rt/trunk/lib/arm/fixunssfsivfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/fixunssfsivfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/fixunssfsivfp.S (original)
+++ compiler-rt/trunk/lib/arm/fixunssfsivfp.S Wed Apr 21 17:36:23 2010
@@ -17,6 +17,7 @@
 // Uses Darwin calling convention where a single precision parameter is 
 // passed in a GPR..
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__fixunssfsivfp)
 	fmsr	s15, r0      // load float register from R0
 	ftouizs	s15, s15     // convert single to 32-bit unsigned into s15

Modified: compiler-rt/trunk/lib/arm/floatsidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatsidfvfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatsidfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatsidfvfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a double precision result is 
 // return in GPR register pair.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__floatsidfvfp)
 	fmsr	s15, r0		   // move int to float register s15
 	fsitod	d7, s15        // convert 32-bit int in s15 to double in d7

Modified: compiler-rt/trunk/lib/arm/floatsisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatsisfvfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatsisfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatsisfvfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a single precision result is 
 // return in a GPR..
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__floatsisfvfp)
 	fmsr	s15, r0	     // move int to float register s15
 	fsitos	s15, s15     // convert 32-bit int in s15 to float in s15

Modified: compiler-rt/trunk/lib/arm/floatunssidfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatunssidfvfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatunssidfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatunssidfvfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a double precision result is 
 // return in GPR register pair.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__floatunssidfvfp)
 	fmsr	s15, r0		   // move int to float register s15
 	fuitod	d7, s15        // convert 32-bit int in s15 to double in d7

Modified: compiler-rt/trunk/lib/arm/floatunssisfvfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/floatunssisfvfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/floatunssisfvfp.S (original)
+++ compiler-rt/trunk/lib/arm/floatunssisfvfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a single precision result is 
 // return in a GPR..
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__floatunssisfvfp)
 	fmsr	s15, r0	     // move int to float register s15
 	fuitos 	s15, s15     // convert 32-bit int in s15 to float in s15

Modified: compiler-rt/trunk/lib/arm/gedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gedf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gedf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gedf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__gedf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/gesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gesf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gesf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__gesf2vfp)
 	fmsr	s14, r0	    // move from GPR 0 to float register
 	fmsr	s15, r1	    // move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/gtdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gtdf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gtdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gtdf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__gtdf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/gtsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/gtsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/gtsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/gtsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__gtsf2vfp)
 	fmsr	s14, r0		// move from GPR 0 to float register
 	fmsr	s15, r1		// move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/ledf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ledf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ledf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ledf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__ledf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/lesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/lesf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/lesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/lesf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__lesf2vfp)
 	fmsr	s14, r0     // move from GPR 0 to float register
 	fmsr	s15, r1     // move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/ltdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ltdf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ltdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ltdf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__ltdf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/ltsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/ltsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/ltsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/ltsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__ltsf2vfp)
 	fmsr	s14, r0     // move from GPR 0 to float register
 	fmsr	s15, r1     // move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/muldf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/muldf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/muldf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/muldf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Multiplies two double precision floating point numbers using the Darwin
 // calling convention where double arguments are passsed in GPR pairs
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__muldf3vfp)
 	fmdrr	d6, r0, r1		// move first param from r0/r1 pair into d6
 	fmdrr	d7, r2, r3		// move second param from r2/r3 pair into d7

Modified: compiler-rt/trunk/lib/arm/mulsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/mulsf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/mulsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/mulsf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Multiplies two single precision floating point numbers using the Darwin
 // calling convention where single arguments are passsed like 32-bit ints.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__mulsf3vfp)
 	fmsr	s14, r0		// move first param from r0 into float register
 	fmsr	s15, r1		// move second param from r1 into float register

Modified: compiler-rt/trunk/lib/arm/nedf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/nedf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/nedf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/nedf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__nedf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/negdf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/negdf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/negdf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/negdf2vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Returns the negation a double precision floating point numbers using the 
 // Darwin calling convention where double arguments are passsed in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__negdf2vfp)
 	eor	r1, r1, #-2147483648	// flip sign bit on double in r0/r1 pair
 	bx	lr

Modified: compiler-rt/trunk/lib/arm/negsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/negsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/negsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/negsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Returns the negation of a single precision floating point numbers using the 
 // Darwin calling convention where single arguments are passsed like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__negsf2vfp)
 	eor	r0, r0, #-2147483648	// flip sign bit on float in r0
 	bx	lr

Modified: compiler-rt/trunk/lib/arm/nesf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/nesf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/nesf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/nesf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__nesf2vfp)
 	fmsr	s14, r0	    // move from GPR 0 to float register
 	fmsr	s15, r1	    // move from GPR 1 to float register

Modified: compiler-rt/trunk/lib/arm/restore_vfp_d8_d15_regs.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/restore_vfp_d8_d15_regs.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/restore_vfp_d8_d15_regs.S (original)
+++ compiler-rt/trunk/lib/arm/restore_vfp_d8_d15_regs.S Wed Apr 21 17:36:23 2010
@@ -25,6 +25,7 @@
 //
 // Restore registers d8-d15 from stack
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__restore_vfp_d8_d15_regs)
 	vldmia	sp!, {d8-d15}           // pop registers d8-d15 off stack
 	bx      lr                      // return to prolog

Modified: compiler-rt/trunk/lib/arm/save_vfp_d8_d15_regs.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/save_vfp_d8_d15_regs.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/save_vfp_d8_d15_regs.S (original)
+++ compiler-rt/trunk/lib/arm/save_vfp_d8_d15_regs.S Wed Apr 21 17:36:23 2010
@@ -25,6 +25,7 @@
 //
 // Save registers d8-d15 onto stack
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__save_vfp_d8_d15_regs)
 	vstmdb	sp!, {d8-d15}           // push registers d8-d15 onto stack
 	bx      lr                      // return to prolog

Modified: compiler-rt/trunk/lib/arm/subdf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/subdf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/subdf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/subdf3vfp.S Wed Apr 21 17:36:23 2010
@@ -15,6 +15,7 @@
 // Returns difference between two double precision floating point numbers using 
 // the Darwin calling convention where double arguments are passsed in GPR pairs
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__subdf3vfp)
 	fmdrr	d6, r0, r1		// move first param from r0/r1 pair into d6
 	fmdrr	d7, r2, r3		// move second param from r2/r3 pair into d7

Modified: compiler-rt/trunk/lib/arm/subsf3vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/subsf3vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/subsf3vfp.S (original)
+++ compiler-rt/trunk/lib/arm/subsf3vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // using the Darwin calling convention where single arguments are passsed
 // like 32-bit ints.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__subsf3vfp)
 	fmsr	s14, r0		// move first param from r0 into float register
 	fmsr	s15, r1		// move second param from r1 into float register

Modified: compiler-rt/trunk/lib/arm/switch16.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/switch16.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/switch16.S (original)
+++ compiler-rt/trunk/lib/arm/switch16.S Wed Apr 21 17:36:23 2010
@@ -29,6 +29,7 @@
 // The table contains signed 2-byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
 	ldrh    ip, [lr, #-1]           // get first 16-bit word in table
 	cmp     r0, ip                  // compare with index

Modified: compiler-rt/trunk/lib/arm/switch32.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/switch32.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/switch32.S (original)
+++ compiler-rt/trunk/lib/arm/switch32.S Wed Apr 21 17:36:23 2010
@@ -29,6 +29,7 @@
 // The table contains signed 4-byte sized elements which are the distance
 // from lr to the target label.
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch32)
 	ldr     ip, [lr, #-1]            // get first 32-bit word in table
 	cmp     r0, ip                   // compare with index

Modified: compiler-rt/trunk/lib/arm/switch8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/switch8.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/switch8.S (original)
+++ compiler-rt/trunk/lib/arm/switch8.S Wed Apr 21 17:36:23 2010
@@ -29,6 +29,7 @@
 // The table contains signed byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch8)
 	ldrb    ip, [lr, #-1]           // get first byte in table
 	cmp     r0, ip                  // signed compare with index

Modified: compiler-rt/trunk/lib/arm/switchu8.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/switchu8.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/switchu8.S (original)
+++ compiler-rt/trunk/lib/arm/switchu8.S Wed Apr 21 17:36:23 2010
@@ -29,6 +29,7 @@
 // The table contains unsigned byte sized elements which are 1/2 the distance
 // from lr to the target label.
 //
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switchu8)
 	ldrb    ip, [lr, #-1]           // get first byte in table
 	cmp     r0, ip                  // compare with index

Modified: compiler-rt/trunk/lib/arm/sync_synchronize.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/sync_synchronize.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/sync_synchronize.S (original)
+++ compiler-rt/trunk/lib/arm/sync_synchronize.S Wed Apr 21 17:36:23 2010
@@ -21,6 +21,7 @@
 
 #if __APPLE__
 
+	.align 2
 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__sync_synchronize)
 	stmfd	sp!, {r7, lr}
 	add		r7, sp, #0

Modified: compiler-rt/trunk/lib/arm/truncdfsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/truncdfsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/truncdfsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/truncdfsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where a double precision parameter is 
 // passed in a R0/R1 pair and a signle precision result is returned in R0.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__truncdfsf2vfp)
 	fmdrr	d7, r0, r1   // load double from r0/r1 pair
 	fcvtsd	s15, d7      // convert double to single (trucate precision)

Modified: compiler-rt/trunk/lib/arm/unorddf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/unorddf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/unorddf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/unorddf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where double precision arguments are passsed 
 // like in GPR pairs.
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__unorddf2vfp)
 	fmdrr	d6, r0, r1	// load r0/r1 pair in double register
 	fmdrr	d7, r2, r3	// load r2/r3 pair in double register

Modified: compiler-rt/trunk/lib/arm/unordsf2vfp.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/unordsf2vfp.S?rev=102030&r1=102029&r2=102030&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/unordsf2vfp.S (original)
+++ compiler-rt/trunk/lib/arm/unordsf2vfp.S Wed Apr 21 17:36:23 2010
@@ -16,6 +16,7 @@
 // Uses Darwin calling convention where single precision arguments are passsed 
 // like 32-bit ints
 //
+	.align 2
 DEFINE_COMPILERRT_FUNCTION(__unordsf2vfp)
 	fmsr	s14, r0     // move from GPR 0 to float register
 	fmsr	s15, r1	    // move from GPR 1 to float register





More information about the llvm-commits mailing list