diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-05-06 18:44:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-05-06 18:44:02 +0000 |
commit | 156f5bb56e2730013fcddf90e8cad0e5e3ee1928 (patch) | |
tree | 9a6cc5ede95f17066f144210a47f773eb2db4b02 /lib/Target/X86/InstPrinter | |
parent | 8e27c9615938298bd03a7884964a0f5e0e80542d (diff) | |
download | external_llvm-156f5bb56e2730013fcddf90e8cad0e5e3ee1928.zip external_llvm-156f5bb56e2730013fcddf90e8cad0e5e3ee1928.tar.gz external_llvm-156f5bb56e2730013fcddf90e8cad0e5e3ee1928.tar.bz2 |
Add shuffle decode support for VPERMQ/VPERMPD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstPrinter')
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/X86/InstPrinter/X86InstComments.cpp b/lib/Target/X86/InstPrinter/X86InstComments.cpp index dbee886..64ac5e6 100644 --- a/lib/Target/X86/InstPrinter/X86InstComments.cpp +++ b/lib/Target/X86/InstPrinter/X86InstComments.cpp @@ -507,6 +507,16 @@ void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, Src1Name = getRegName(MI->getOperand(1).getReg()); DestName = getRegName(MI->getOperand(0).getReg()); break; + case X86::VPERMQYri: + case X86::VPERMPDYri: + Src1Name = getRegName(MI->getOperand(1).getReg()); + // FALL THROUGH. + case X86::VPERMQYmi: + case X86::VPERMPDYmi: + DecodeVPERMMask(MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); + DestName = getRegName(MI->getOperand(0).getReg()); + break; } |