[PATCH] D18441: [X86][XOP] Support for VPPERM shuffle mask decoding

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 05:11:49 PDT 2016


RKSimon created this revision.
RKSimon added reviewers: spatel, silvas, andreadb, delena.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

This patch adds support for decoding XOP VPPERM instruction when it represents a basic shuffle.

The mask decoding required the existing MCInstrLowering code to be updated to support binary shuffles - the implementation now matches what is done in X86InstrComments.cpp. This should be useful for some AVX512 binary shuffles (VPERMT2 etc.) as well.

Split off from D18189

Repository:
  rL LLVM

http://reviews.llvm.org/D18441

Files:
  lib/Target/X86/X86MCInstLower.cpp
  lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
  lib/Target/X86/X86ShuffleDecodeConstantPool.h
  test/CodeGen/X86/vector-shuffle-combining-xop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18441.51541.patch
Type: text/x-patch
Size: 9721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160324/ac6f04a2/attachment.bin>


More information about the llvm-commits mailing list