https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89021

--- Comment #17 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed May 15 15:11:07 2019
New Revision: 271225

URL: https://gcc.gnu.org/viewcvs?rev=271225&root=gcc&view=rev
Log:
i386: Emulate MMX vec_dupv2si with SSE

Emulate MMX vec_dupv2si with SSE.  Add the "Yw" constraint to allow
broadcast from integer register for AVX512BW with TARGET_AVX512VL.
Only SSE register source operand is allowed.

        PR target/89021
        * config/i386/constraints.md (Yw): New constraint.
        * config/i386/mmx.md (*vec_dupv2si): Changed to
        define_insn_and_split and also allow TARGET_MMX_WITH_SSE to
        support SSE emulation.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/constraints.md
    trunk/gcc/config/i386/mmx.md

Reply via email to