gcc/ChangeLog: 2020-05-14 Uroš Bizjak <ubiz...@gmail.com>
PR target/95046 * config/i386/mmx.md (mmx_fix_truncv2sfv2si2): rename from mmx_pf2id. Add SSE/AVX alternative. Change operand predicates from nonimmediate_operand to register_mmxmem_operand. Enable instruction pattern for TARGET_MMX_WITH_SSE. (fix_truncv2sfv2si2): New expander. (fixuns_truncv2sfv2si2): Ditto. (mmx_floatv2siv2sf2): rename from mmx_floatv2si2. Add SSE/AVX alternative. Change operand predicates from nonimmediate_operand to register_mmxmem_operand. Enable instruction pattern for TARGET_MMX_WITH_SSE. (floatv2siv2sf2): New expander. (floatunsv2siv2sf2): Ditto. * config/i386/i386-builtin.def (IX86_BUILTIN_PF2ID): Update for rename. (IX86_BUILTIN_PI2FD): Ditto. testsuite/ChangeLog: 2020-05-14 Uroš Bizjak <ubiz...@gmail.com> PR target/95046 * gcc.target/i386/pr95046-5.c: New test. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Uros.