[Bug testsuite/126923] Additional testsuite failures when configured with --with-arch=native --with-cpu=native

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.