[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)
commit832ec5e911420978ae9f1266268d904197b5b312
treeccdcbda37862cc9c62a82c191421559689dc67ac
parent26371ce131c4d4f31270fe6711fdd416a6622a38
[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>

llvm-svn: 220540
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/test/MC/X86/avx512-encodings.s