summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/arm/floatsidfvfp.S
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/arm/floatsidfvfp.S')
-rw-r--r--compiler-rt/lib/arm/floatsidfvfp.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/arm/floatsidfvfp.S b/compiler-rt/lib/arm/floatsidfvfp.S
index b268d04d71d..45bfa34e2df 100644
--- a/compiler-rt/lib/arm/floatsidfvfp.S
+++ b/compiler-rt/lib/arm/floatsidfvfp.S
@@ -16,8 +16,7 @@
// Uses Darwin calling convention where a double precision result is
// return in GPR register pair.
//
- .globl ___floatsidfvfp
-___floatsidfvfp:
+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
fmrrd r0, r1, d7 // move d7 to result register pair r0/r1
OpenPOWER on IntegriCloud