diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-03-12 06:15:36 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-03-12 06:15:36 +0000 |
commit | 2bbb22b8ef571cc11e0c0bb0a0f13670b5ef5cff (patch) | |
tree | 8cb5df41e30f520044647d47c18d7fcff9afaa78 | |
parent | 38d2ff4ac0133c138f7d372f0ea6d2c4e1f24c4f (diff) |
Switch to unified syntax for VFP instructions in inline assembly.
<rdar://problem/11024696>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152548 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMJITInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMJITInfo.cpp b/lib/Target/ARM/ARMJITInfo.cpp index 45b7e48d0c..0d7a838f6b 100644 --- a/lib/Target/ARM/ARMJITInfo.cpp +++ b/lib/Target/ARM/ARMJITInfo.cpp @@ -61,7 +61,7 @@ extern "C" { // concerned, so we can't just preserve the callee saved regs. "stmdb sp!, {r0, r1, r2, r3, lr}\n" #if (defined(__VFP_FP__) && !defined(__SOFTFP__)) - "fstmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" + "vstmdb sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" #endif // The LR contains the address of the stub function on entry. // pass it as the argument to the C part of the callback @@ -85,7 +85,7 @@ extern "C" { // #if (defined(__VFP_FP__) && !defined(__SOFTFP__)) // Restore VFP caller-saved registers. - "fldmfdd sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" + "vldmia sp!, {d0, d1, d2, d3, d4, d5, d6, d7}\n" #endif // // We need to exchange the values in slots 0 and 1 so we can |