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

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

https://gcc.gnu.org/g:4986946f3b761dd4c3e0d79ca735c90e33f4bb83

commit r12-1436-g4986946f3b761dd4c3e0d79ca735c90e33f4bb83
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Mon Jun 14 20:56:18 2021 +0200

    i386: Split V2HImode *punpckwd to SSE instruction [PR101058]

    V2HImode *punpckwd should not be split to the insn that depends on
    TARGET_MMX_WITH_SSE, since the later is disabled on 32bit targets.

    Also return true early from ix86_vectorize_vec_perm_const when testing
    with V2HI mode.  *punpckwd can be used to implement all permutations.

    2021-06-14  Uroš Bizjak  <ubiz...@gmail.com>

    gcc/
            PR target/101058
            * config/i386/i386-expand.c (ix86_vectorize_vec_perm_const):
            Return true early when testing with V2HImode.
            * config/i386/mmx.md (*punpckwd): Split to sse2_pshuflw_1.

    gcc/testsuite/

            PR target/101058
            * gcc.target/i386/pr101058.c: New test.

Reply via email to