[AVX512] FMA support for the 231 variants
authorAdam Nemet <anemet@apple.com>
Fri, 24 Oct 2014 00:03:00 +0000 (00:03 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 24 Oct 2014 00:03:00 +0000 (00:03 +0000)
commit7f7bf0da6a1126c77590a433e4a133cd476ead48
tree5bc1c4c7e2bf85601991447f72e8a947f485f994
parent97a3cd4383a350b213cb285576dc015d46da8b3a
[AVX512] FMA support for the 231 variants

This is asm/diasm-only support, similar to AVX.

For ISeling the register variant, they are no different from 213 other than
whether the multiplication or the addition operand is destructed.

For ISeling the memory variant, i.e. to fold a load, they are no different
than the 132 variant.  The addition operand (op3) in both cases can come from
memory.  Again the ony difference is which operand is destructed.

There could be a post-RA pass that would convert a 213 or 132 into a 231.

Part of <rdar://problem/17082571>

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