diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-07-29 01:31:11 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-07-29 01:31:11 +0000 |
commit | 2eb4c2bcadfbef9d3c4e2fbb6478ed5dc3d65524 (patch) | |
tree | 8241c79f6b14e4dfac0ff1f8974db520486199c5 /lib/Target/X86/Utils/X86ShuffleDecode.h | |
parent | e89c7d4ce3636b52ab528bcb1c8a1c4b6dc649c7 (diff) | |
download | llvm-2eb4c2bcadfbef9d3c4e2fbb6478ed5dc3d65524.tar.gz llvm-2eb4c2bcadfbef9d3c4e2fbb6478ed5dc3d65524.tar.bz2 llvm-2eb4c2bcadfbef9d3c4e2fbb6478ed5dc3d65524.tar.xz |
Add DecodeShuffle shuffle support for VPERMIPD variantes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Utils/X86ShuffleDecode.h')
-rw-r--r-- | lib/Target/X86/Utils/X86ShuffleDecode.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Target/X86/Utils/X86ShuffleDecode.h b/lib/Target/X86/Utils/X86ShuffleDecode.h index 4a5214028f..1b11c6e3c2 100644 --- a/lib/Target/X86/Utils/X86ShuffleDecode.h +++ b/lib/Target/X86/Utils/X86ShuffleDecode.h @@ -83,19 +83,20 @@ void DecodeUNPCKLPMask(EVT VT, SmallVectorImpl<unsigned> &ShuffleMask); +// DecodeVPERMILPSMask - Decodes VPERMILPS permutes for any 128-bit 32-bit +// elements. For 256-bit vectors, it's considered as two 128 lanes, the +// referenced elements can't cross lanes and the mask of the first lane must +// be the same of the second. void DecodeVPERMILPSMask(unsigned NElts, unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask); +// DecodeVPERMILPDMask - Decodes VPERMILPD permutes for any 128-bit 64-bit +// elements. For 256-bit vectors, it's considered as two 128 lanes, the +// referenced elements can't cross lanes but the mask of the first lane can +// be the different of the second (not like VPERMILPS). void DecodeVPERMILPDMask(unsigned NElts, unsigned Imm, SmallVectorImpl<unsigned> &ShuffleMask); -// DecodeVPERMILMask - Decodes VPERMIL permutes for any 128-bit -// with 32/64-bit elements. For 256-bit vectors, it's considered -// as two 128 lanes and the mask of the first lane should be -// identical of the second one. -void DecodeVPERMILMask(EVT VT, unsigned Imm, - SmallVectorImpl<unsigned> &ShuffleMask); - } // llvm namespace #endif |