summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-02-24 20:06:07 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-02-24 20:06:07 +0000
commit86ba44a4c723211642cb5292392fe7f773df944e (patch)
treeb1c77276d438db9b03a84f37f08b567de15e1fda /llvm/lib
parent6b79232138d5a2ac920668b1e59b885fca820d26 (diff)
downloadbcm5719-llvm-86ba44a4c723211642cb5292392fe7f773df944e.tar.gz
bcm5719-llvm-86ba44a4c723211642cb5292392fe7f773df944e.zip
Added Vector Swap (VSWPd and VSWPq) instructions for disassembly only.
A8.6.405 llvm-svn: 97052
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrNEON.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrNEON.td b/llvm/lib/Target/ARM/ARMInstrNEON.td
index b3350e67672..3aa0810683a 100644
--- a/llvm/lib/Target/ARM/ARMInstrNEON.td
+++ b/llvm/lib/Target/ARM/ARMInstrNEON.td
@@ -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)
OpenPOWER on IntegriCloud