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

Uros Bizjak <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <CAFULd4Yarzmr4VJ0x2_ScVvLm+omqwGjzc+gyqWQ9Cfr+6w0Ug@mail.gmail.com>
On Thu, Aug 20, 2026 at 4:37 AM H.J. Lu <[email protected]> wrote:
>
> 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.

OK.

Thanks,
Uros.
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.