Added Vector Swap (VSWPd and VSWPq) instructions for disassembly only.
authorJohnny Chen <johnny.chen@apple.com>
Wed, 24 Feb 2010 20:06:07 +0000 (20:06 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 24 Feb 2010 20:06:07 +0000 (20:06 +0000)
A8.6.405

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97052 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrNEON.td

index b3350e6767253f416ceee92c57c0562a7e75a48c..3aa0810683ace8cf13488bd759a66841284c0a7a 100644 (file)
@@ -2536,6 +2536,14 @@ def  VCNTq    : N2VQInt<0b11, 0b11, 0b00, 0b00, 0b01010, 0,
                         IIC_VCNTiQ, "vcnt", "8",
                         v16i8, v16i8, int_arm_neon_vcnt>;
 
+// Vector Swap -- for disassembly only.
+def  VSWPd    : N2VX<0b11, 0b11, 0b00, 0b10, 0b00000, 0, 0,
+                     (outs DPR:$dst), (ins DPR:$src), NoItinerary,
+                     "vswp", "$dst, $src", "", []>;
+def  VSWPq    : N2VX<0b11, 0b11, 0b00, 0b10, 0b00000, 1, 0,
+                     (outs QPR:$dst), (ins QPR:$src), NoItinerary,
+                     "vswp", "$dst, $src", "", []>;
+
 // Vector Move Operations.
 
 //   VMOV     : Vector Move (Register)