From eaf2056709c8a5c6a1b9d27f1963a68aefaba8fa Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 15 Nov 2011 21:18:35 +0000 Subject: [PATCH] ARM size suffix on VFP single-precision 'vmov' is optional. rdar://10435114 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144698 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrVFP.td | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/ARM/ARMInstrVFP.td b/lib/Target/ARM/ARMInstrVFP.td index 27e185f3ca3..7c0048af99b 100644 --- a/lib/Target/ARM/ARMInstrVFP.td +++ b/lib/Target/ARM/ARMInstrVFP.td @@ -1189,3 +1189,8 @@ def : VFP2InstAlias<"vmov${p}.f64 $Rt, $Rt2, $Dn", (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)>;