diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-11-30 06:25:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-11-30 06:25:25 +0000 |
commit | 316cd2a2c57037ecca93bb20d939b89dad4c5243 (patch) | |
tree | eba04298d6d56d1e9680f021583f31b6b08a12c8 /lib/Target/X86/InstPrinter | |
parent | 553fe05f236f46fe27b7fcfa822b06367d50183e (diff) | |
download | external_llvm-316cd2a2c57037ecca93bb20d939b89dad4c5243.zip external_llvm-316cd2a2c57037ecca93bb20d939b89dad4c5243.tar.gz external_llvm-316cd2a2c57037ecca93bb20d939b89dad4c5243.tar.bz2 |
Merge decoding of VPERMILPD and VPERMILPS shuffle masks. Merge X86ISD node type for VPERMILPD/PS. Add instruction selection support for VINSERTI128/VEXTRACTI128.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstPrinter')
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Target/X86/InstPrinter/X86InstComments.cpp b/lib/Target/X86/InstPrinter/X86InstComments.cpp index 55a05f4..59920ad 100644 --- a/lib/Target/X86/InstPrinter/X86InstComments.cpp +++ b/lib/Target/X86/InstPrinter/X86InstComments.cpp @@ -309,32 +309,32 @@ void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, Src1Name = getRegName(MI->getOperand(1).getReg()); // FALL THROUGH. case X86::VPERMILPSmi: - DecodeVPERMILPSMask(4, MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodeVPERMILPMask(MVT::v4f32, MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); DestName = getRegName(MI->getOperand(0).getReg()); break; case X86::VPERMILPSYri: Src1Name = getRegName(MI->getOperand(1).getReg()); // FALL THROUGH. case X86::VPERMILPSYmi: - DecodeVPERMILPSMask(8, MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodeVPERMILPMask(MVT::v8f32, MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); DestName = getRegName(MI->getOperand(0).getReg()); break; case X86::VPERMILPDri: Src1Name = getRegName(MI->getOperand(1).getReg()); // FALL THROUGH. case X86::VPERMILPDmi: - DecodeVPERMILPDMask(2, MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodeVPERMILPMask(MVT::v2f64, MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); DestName = getRegName(MI->getOperand(0).getReg()); break; case X86::VPERMILPDYri: Src1Name = getRegName(MI->getOperand(1).getReg()); // FALL THROUGH. case X86::VPERMILPDYmi: - DecodeVPERMILPDMask(4, MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodeVPERMILPMask(MVT::v4f64, MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); DestName = getRegName(MI->getOperand(0).getReg()); break; case X86::VPERM2F128rr: |