From: Rainer Orth Date: Fri, 19 Dec 2025 08:42:21 +0000 (+0100) Subject: testsuite: i386: Require ISA extensions in gcc.target/i386/shift-gf2p8affine-2.c X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=975339f58f3e609f370957ac1b6d9ff2b17a0838;p=thirdparty%2Fgcc.git testsuite: i386: Require ISA extensions in gcc.target/i386/shift-gf2p8affine-2.c Rather than skipping the gcc.target/i386/shift-gf2p8affine-2.c test on Solaris with as, it should require the necessary ISA extensions instead. Tested on i386-pc-solaris2.11 (as and gas), x86_64-apple-darwin17.7.0, and x86_64-pc-linux-gnu. 2025-12-17 Rainer Orth gcc/testsuite: * gcc.target/i386/shift-gf2p8affine-2.c: Require gfni, avx512vl, avx512bw, avx512f support instead of skipping with Solaris as. --- diff --git a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c index b20eedc0818..ef088ab0b95 100644 --- a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c +++ b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c @@ -1,6 +1,9 @@ /* { dg-do run } */ /* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -Wno-shift-count-negative -march=x86-64 -mtune=generic" } */ -/* { dg-skip-if "Assembler support missing" { *-*-solaris2.* && { ! gas } } } */ +/* { dg-require-effective-target gfni } */ +/* { dg-require-effective-target avx512vl } */ +/* { dg-require-effective-target avx512bw } */ +/* { dg-require-effective-target avx512f } */ #include