summaryrefslogtreecommitdiff
path: root/lib/arm/fixunssfsivfp.S
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-08-23 16:40:18 +0000
committerBob Wilson <bob.wilson@apple.com>2011-08-23 16:40:18 +0000
commitc20f862690410045fc8c77879f7e78918d2372e4 (patch)
tree035a639203d72af18f6a0ba8375c8ebaf991138a /lib/arm/fixunssfsivfp.S
parent41ae71d99134b3b180753f5b0cd4ebfd0c6a8c18 (diff)
Change ARM vfp assembly functions to use unified syntax.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@138332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/arm/fixunssfsivfp.S')
-rw-r--r--lib/arm/fixunssfsivfp.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/arm/fixunssfsivfp.S b/lib/arm/fixunssfsivfp.S
index afbb64f39..12adb529a 100644
--- a/lib/arm/fixunssfsivfp.S
+++ b/lib/arm/fixunssfsivfp.S
@@ -17,9 +17,10 @@
// Uses Darwin calling convention where a single precision parameter is
// passed in a GPR..
//
+ .syntax unified
.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
- fmrs r0, s15 // move s15 to result register
+ vmov s15, r0 // load float register from R0
+ vcvt.u32.f32 s15, s15 // convert single to 32-bit unsigned into s15
+ vmov r0, s15 // move s15 to result register
bx lr