diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-08-23 16:40:18 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-08-23 16:40:18 +0000 |
commit | 7184d9fc3397db1e586cec8b85c42f02dc2bdea0 (patch) | |
tree | 25cc9baabfa8f2c0c47be0b4b1d0a819268091ba /compiler-rt/lib/arm/subdf3vfp.S | |
parent | db3485cd06e76b771b1103f871cbd028a1957348 (diff) | |
download | bcm5719-llvm-7184d9fc3397db1e586cec8b85c42f02dc2bdea0.tar.gz bcm5719-llvm-7184d9fc3397db1e586cec8b85c42f02dc2bdea0.zip |
Change ARM vfp assembly functions to use unified syntax.
llvm-svn: 138332
Diffstat (limited to 'compiler-rt/lib/arm/subdf3vfp.S')
-rw-r--r-- | compiler-rt/lib/arm/subdf3vfp.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler-rt/lib/arm/subdf3vfp.S b/compiler-rt/lib/arm/subdf3vfp.S index ff53b3000d1..3f88baacd5b 100644 --- a/compiler-rt/lib/arm/subdf3vfp.S +++ b/compiler-rt/lib/arm/subdf3vfp.S @@ -15,10 +15,11 @@ // Returns difference between two double precision floating point numbers using // the Darwin calling convention where double arguments are passsed in GPR pairs // + .syntax unified .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 - fsubd d6, d6, d7 - fmrrd r0, r1, d6 // move result back to r0/r1 pair + vmov d6, r0, r1 // move first param from r0/r1 pair into d6 + vmov d7, r2, r3 // move second param from r2/r3 pair into d7 + vsub.f64 d6, d6, d7 + vmov r0, r1, d6 // move result back to r0/r1 pair bx lr |