summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/arm/floatunssidfvfp.S
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-27 17:50:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-27 17:50:21 +0000
commit9ff9371bb7331f329681b9df831922dd2e20fdee (patch)
tree1f06354fd8520b15ff0f06fa57297349e87d008a /compiler-rt/lib/arm/floatunssidfvfp.S
parent7d50478889d03ad6125710de69ff55e594a15139 (diff)
downloadbcm5719-llvm-9ff9371bb7331f329681b9df831922dd2e20fdee.tar.gz
bcm5719-llvm-9ff9371bb7331f329681b9df831922dd2e20fdee.zip
Switch to using DEFINE_COMPILERRT_[PRIVATE_]FUNCTION to define function symbols inside .S files.
llvm-svn: 85264
Diffstat (limited to 'compiler-rt/lib/arm/floatunssidfvfp.S')
-rw-r--r--compiler-rt/lib/arm/floatunssidfvfp.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/arm/floatunssidfvfp.S b/compiler-rt/lib/arm/floatunssidfvfp.S
index 077385ec0fd..9866a66b3da 100644
--- a/compiler-rt/lib/arm/floatunssidfvfp.S
+++ b/compiler-rt/lib/arm/floatunssidfvfp.S
@@ -16,8 +16,7 @@
// Uses Darwin calling convention where a double precision result is
// return in GPR register pair.
//
- .globl ___floatunssidfvfp
-___floatunssidfvfp:
+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
fmrrd r0, r1, d7 // move d7 to result register pair r0/r1
OpenPOWER on IntegriCloud