summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/arm/extendsfdf2vfp.S
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2010-04-21 22:36:23 +0000
committerNick Kledzik <kledzik@apple.com>2010-04-21 22:36:23 +0000
commit8e7ebea0b9918a8e8ee2b9a47963877e997a52fb (patch)
treef23f1b7cb1f250f54fe30b1c505dfd68f0b257e2 /compiler-rt/lib/arm/extendsfdf2vfp.S
parent02e816b317dac4599b76cfd501dd5ee0eb4caaa1 (diff)
downloadbcm5719-llvm-8e7ebea0b9918a8e8ee2b9a47963877e997a52fb.tar.gz
bcm5719-llvm-8e7ebea0b9918a8e8ee2b9a47963877e997a52fb.zip
add explicit alignment directives to assure arm code is 4-byte aligned
llvm-svn: 102030
Diffstat (limited to 'compiler-rt/lib/arm/extendsfdf2vfp.S')
-rw-r--r--compiler-rt/lib/arm/extendsfdf2vfp.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/arm/extendsfdf2vfp.S b/compiler-rt/lib/arm/extendsfdf2vfp.S
index 8df97b51f5f..4343a7ef1ed 100644
--- a/compiler-rt/lib/arm/extendsfdf2vfp.S
+++ b/compiler-rt/lib/arm/extendsfdf2vfp.S
@@ -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
OpenPOWER on IntegriCloud