RE: [PATCH] x86: Compile AVX2 tests with -mno-avx512f

"Liu, Hongtao" <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <DS4PPF240F42FB7EA1AA124378537E5ED89E5A42@DS4PPF240F42FB7.namprd11.prod.outlook.com>

> -----Original Message-----
> From: H.J. Lu <[email protected]>
> Sent: Thursday, August 20, 2026 6:48 AM
> To: GCC Patches <[email protected]>; Uros Bizjak
> <[email protected]>; Liu, Hongtao <[email protected]>
> Subject: [PATCH] x86: Compile AVX2 tests with -mno-avx512f
> 
> Compile AVX2 tests, which expect AVX2 instructions, with -mno-avx512f to
> avoid failures like
> 
> FAIL: gcc.target/i386/avx2-vpor-1.c scan-assembler
> vpor[ \\t]+[^\n]*%ymm[0-9]
> 
> when AVX512 is enabled by default.

Ok.
> 
> PR testsuite/126923
> * gcc.target/i386/avx2-vbroadcastsi128-1.c (dg-options): Add -mno-avx512f.
> * gcc.target/i386/avx2-vbroadcastss_ps256-1.c (dg-options):
> Likewise.
> * gcc.target/i386/avx2-vextracti128-1.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vinserti128-1.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vpand-1.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vpand-3.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vpandn-1.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vpor-1.c (dg-options): Likewise.
> * gcc.target/i386/avx2-vpxor-1.c (dg-options): Likewise.
> 
> --
> H.J.
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.