[Bug target/95046] Vectorize V2SFmode operations

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 14 07:16:09 GMT 2020


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:

https://gcc.gnu.org/g:42ef8a5e662a765dc794a7a5c0227bcd83556e44

commit r11-379-g42ef8a5e662a765dc794a7a5c0227bcd83556e44
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Thu May 14 09:15:23 2020 +0200

    i386: Add V2SFmode conversion functions [PR95046]

    gcc/ChangeLog:

            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:

            PR target/95046
            * gcc.target/i386/pr95046-5.c: New test.


More information about the Gcc-bugs mailing list