Mark VMOVDneon and VMOVQ as having the N2RegFrm form to help the disassembler.
authorJohnny Chen <johnny.chen@apple.com>
Wed, 24 Mar 2010 01:29:25 +0000 (01:29 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 24 Mar 2010 01:29:25 +0000 (01:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99376 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrNEON.td

index bf4c428e9f2bf7b9c3fb327952574e8cacee4121..dd0e3daac73f2e550c26eb8328960efa29482f35 100644 (file)
@@ -2778,10 +2778,13 @@ def  VSWPq    : N2VX<0b11, 0b11, 0b00, 0b10, 0b00000, 1, 0,
 
 //   VMOV     : Vector Move (Register)
 
+// Mark these as 2-register instructions to help the disassembler.
+let F = N2RegFrm, Form = N2RegFrm.Value in {
 def  VMOVDneon: N3VX<0, 0, 0b10, 0b0001, 0, 1, (outs DPR:$dst), (ins DPR:$src),
-                    IIC_VMOVD, "vmov", "$dst, $src", "", []>;
+                     IIC_VMOVD, "vmov", "$dst, $src", "", []>;
 def  VMOVQ    : N3VX<0, 0, 0b10, 0b0001, 1, 1, (outs QPR:$dst), (ins QPR:$src),
-                    IIC_VMOVD, "vmov", "$dst, $src", "", []>;
+                     IIC_VMOVD, "vmov", "$dst, $src", "", []>;
+}
 
 //   VMOV     : Vector Move (Immediate)