[AVX512] Add asm-only support for vextract*x4 masking variants
authorAdam Nemet <anemet@apple.com>
Wed, 8 Oct 2014 23:25:33 +0000 (23:25 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 8 Oct 2014 23:25:33 +0000 (23:25 +0000)
commite868005a274ca7d7bc12b75771fb85625c86749f
tree8985b04874e01d4ca44ebade775943bc6f0fb5fc
parent9d0ec9212ba8c9bd6662a4591f4c4ba595051f4b
[AVX512] Add asm-only support for vextract*x4 masking variants

These derive from the new asm-only masking definitions.

Unfortunately I wasn't able to find a ISel pattern that we could legally
generate for the masking variants.  The problem is that since the destination
is v4* we would need VK4 register classes and v4i1 value types to express the
masking.  These are however not legal types/classes in AVX512f but only in VL,
so things get complicated pretty quickly.  We can revisit this question later
if we have a more pressing need to express something like this.

So the ISel patterns are empty for the masking instructions and the next patch
will add Pat<>s instead to match the intrinsics calls with instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219361 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
test/MC/X86/avx512-encodings.s