[ARM] Mark VMOVRRD with the ExtractSubreg property and implement the related
[oota-llvm.git] / lib / Target / ARM / ARMInstrVFP.td
index e849449fa8b118da14ee2afe04588ea362222fbf..81fa636b38bb3e1877b678102befc51441c6a390 100644 (file)
@@ -842,6 +842,11 @@ def VMOVRRD  : AVConv3I<0b11000101, 0b1011,
   // Some single precision VFP instructions may be executed on both NEON and VFP
   // pipelines.
   let D = VFPNeonDomain;
+
+  // This instruction is equivalent to
+  // $Rt = EXTRACT_SUBREG $Dm, ssub_0
+  // $Rt2 = EXTRACT_SUBREG $Dm, ssub_1
+  let isExtractSubreg = 1;
 }
 
 def VMOVRRS  : AVConv3I<0b11000101, 0b1010,