i386: Use register_operand in AVX512 FMA with memory broadcast
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 19 Oct 2018 08:56:37 +0000 (08:56 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 19 Oct 2018 08:56:37 +0000 (01:56 -0700)
commit3b1778b7c3ccec3d672824d185b8994e7fd023d0
tree542e191bbc278844b17d1d68bb83f1d37c927544
parent3664a0f184ad90a0aa65b473d180debce6402ab0
i386: Use register_operand in AVX512 FMA with memory broadcast

Use "register_operand" in AVX512 FMA with memory broadcast when only
registers are allowed.

* config/i386/sse.md
(*<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name>_bcst_1):
Replace nonimmediate_operand with register_operand.
(*<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name>_bcst_2):
Likewise.
(*<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name>_bcst_3):
Likewise.

From-SVN: r265310
gcc/ChangeLog
gcc/config/i386/sse.md