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

--- Comment #15 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:f9056eb2213666feca4f81e6fc2af22c70a05d8b

commit r17-3455-gf9056eb2213666feca4f81e6fc2af22c70a05d8b
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 20 10:29:41 2026 +0800

    x86: Compile vect-shiftv[48]qi.c with -mno-ssse3 -mtune=generic

    Compile vect-shiftv[48]qi.c with -mno-ssse3 -mtune=generic to avoid

    FAIL: gcc.target/i386/vect-shiftv4qi.c scan-assembler-times psllw 2
    FAIL: gcc.target/i386/vect-shiftv4qi.c scan-assembler-times psrlw 5
    FAIL: gcc.target/i386/vect-shiftv8qi.c scan-assembler-times psllw 2
    FAIL: gcc.target/i386/vect-shiftv8qi.c scan-assembler-times psrlw 5

    due to SSSE3/SSE4 instructions and different code sequences when SSSE3
    is enabled by default and a different default cost mode is in use.

            PR testsuite/126923
            * gcc.target/i386/vect-shiftv4qi.c (dg-options): Replace
            "-mno-avx2 -mno-avx512vl" with "-mno-ssse3 -mtune=generic".
            * gcc.target/i386/vect-shiftv8qi.c (dg-options): Likewise.

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

Reply via email to