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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://gcc.gnu.org/g:2af7be77bc66859f6d998f4f31fdee66a809ccf8

commit r17-4147-g2af7be77bc66859f6d998f4f31fdee66a809ccf8
Author: H.J. Lu <[email protected]>
Date:   Tue Aug 25 04:13:54 2026 +0800

    x86-64: Increase gain for TImode pand/pior/pxor loads

    Add a gain of COSTS_N_INSNS (1) for TImode pand/pior/pxor loads since
    they need one memory load, instead of two DImode and/ior/xor loads.

    gcc/

            PR target/127020
            * config/i386/i386-features.cc
            (timode_scalar_chain::compute_convert_gain): Add gain of
            COSTS_N_INSNS (1) for pand/pior/pxor loads.

    gcc/testsuite/

            PR target/127020
            * gcc.target/i386/sse2-stv-3.c: Adjusted.
            * gcc.target/i386/sse2-stv-8.c: New test.
            * gcc.target/i386/sse2-stv-9.c: Likewise.

    Signed-off-by: H.J. Lu <[email protected]>

Reply via email to