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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Lili Cui <cuil...@gcc.gnu.org>:

https://gcc.gnu.org/g:60b708a9c878aff9a76ec0d446ae63e6527327a6

commit r15-5666-g60b708a9c878aff9a76ec0d446ae63e6527327a6
Author: Cui, Lili <lili....@intel.com>
Date:   Tue Nov 26 15:10:23 2024 +0800

    Optimize 128-bit vector permutation with pand, pandn and por.

    This patch introduces a new subroutine in ix86_expand_vec_perm_const_1.
    On x86, use mixed constant permutation for V8HImode and V16QImode when
    SSE2 is supported. This patch handles certain vector shuffle operations
    more efficiently using pand, pandn, and por. This change is intended to
    improve assembly code generation for configurations that support SSE2.

    gcc/ChangeLog:

            PR target/116675
            * config/i386/i386-expand.cc (expand_vec_perm_pand_pandn_por):
            New subroutine.
            (ix86_expand_vec_perm_const_1): Call
expand_vec_perm_pand_pandn_por.

    gcc/testsuite/ChangeLog:

            PR target/116675
            * gcc.target/i386/pr116675.c: New test.

Reply via email to