summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMJITInfo.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-03-12 06:15:36 +0000
committerBob Wilson <bob.wilson@apple.com>2012-03-12 06:15:36 +0000
commit274d6f17771a2f75d6640de927ba997cc6caf38c (patch)
treeb884ebb688c19e1fba1ff84b4084aa9eb55b0846 /llvm/lib/Target/ARM/ARMJITInfo.cpp
parent74655a5d67fb210df82459ef5f67a475ec2b699d (diff)
downloadbcm5719-llvm-274d6f17771a2f75d6640de927ba997cc6caf38c.tar.gz
bcm5719-llvm-274d6f17771a2f75d6640de927ba997cc6caf38c.zip
Switch to unified syntax for VFP instructions in inline assembly.
<rdar://problem/11024696> llvm-svn: 152548
Diffstat (limited to 'llvm/lib/Target/ARM/ARMJITInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMJITInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMJITInfo.cpp b/llvm/lib/Target/ARM/ARMJITInfo.cpp
index 45b7e48d0cf..0d7a838f6b2 100644
--- a/llvm/lib/Target/ARM/ARMJITInfo.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud