[llvm-commits] [llvm] r144698 - /llvm/trunk/lib/Target/ARM/ARMInstrVFP.td

Jim Grosbach grosbach at apple.com
Tue Nov 15 13:18:36 PST 2011


Author: grosbach
Date: Tue Nov 15 15:18:35 2011
New Revision: 144698

URL: http://llvm.org/viewvc/llvm-project?rev=144698&view=rev
Log:
ARM size suffix on VFP single-precision 'vmov' is optional.

rdar://10435114

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrVFP.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrVFP.td?rev=144698&r1=144697&r2=144698&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrVFP.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrVFP.td Tue Nov 15 15:18:35 2011
@@ -1189,3 +1189,8 @@
                     (VMOVRRD GPR:$Rt, GPR:$Rt2, DPR:$Dn, pred:$p)>;
 def : VFP2InstAlias<"vmov${p}.f64 $Dn, $Rt, $Rt2",
                     (VMOVDRR DPR:$Dn, GPR:$Rt, GPR:$Rt2, pred:$p)>;
+
+// VMOVS doesn't need the .f32 to disambiguate from the NEON encoding the way
+// VMOVD does.
+def : VFP2InstAlias<"vmov${p} $Sd, $Sm",
+                    (VMOVS SPR:$Sd, SPR:$Sm, pred:$p)>;





More information about the llvm-commits mailing list