summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-11-11 23:34:43 +0000
committerJim Grosbach <grosbach@apple.com>2011-11-11 23:34:43 +0000
commit609d11387457cd09f8369c60e453e5c466e444d7 (patch)
tree54249ed6b94acaf0d49114ea5c552756d393b32d /llvm/lib
parenta7ebc5617da65ef88740e5886d4e90831e8b224b (diff)
downloadbcm5719-llvm-609d11387457cd09f8369c60e453e5c466e444d7.tar.gz
bcm5719-llvm-609d11387457cd09f8369c60e453e5c466e444d7.zip
ARM optional size suffix for VLDR/VSTR syntax.
llvm-svn: 144427
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrVFP.td9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrVFP.td b/llvm/lib/Target/ARM/ARMInstrVFP.td
index e746cf20d03..22a464e50cd 100644
--- a/llvm/lib/Target/ARM/ARMInstrVFP.td
+++ b/llvm/lib/Target/ARM/ARMInstrVFP.td
@@ -1163,3 +1163,12 @@ def FCONSTS : VFPAI<(outs SPR:$Sd), (ins vfp_f32imm:$imm),
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
+// The size suffix is optional for VLDR/VSTR
+def : VFP2InstAlias<"vldr$p $Dd, $addr",
+ (VLDRD DPR:$Dd, addrmode5:$addr, pred:$p)>;
+def : VFP2InstAlias<"vldr$p $Sd, $addr",
+ (VLDRS SPR:$Sd, addrmode5:$addr, pred:$p)>;
+def : VFP2InstAlias<"vstr$p $Dd, $addr",
+ (VSTRD DPR:$Dd, addrmode5:$addr, pred:$p)>;
+def : VFP2InstAlias<"vstr$p $Sd, $addr",
+ (VSTRS SPR:$Sd, addrmode5:$addr, pred:$p)>;
OpenPOWER on IntegriCloud