]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: Require ISA extensions in gcc.target/i386/shift-gf2p8affine-2.c
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 19 Dec 2025 08:42:21 +0000 (09:42 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 19 Dec 2025 08:42:21 +0000 (09:42 +0100)
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  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc/testsuite:
* gcc.target/i386/shift-gf2p8affine-2.c: Require gfni, avx512vl,
avx512bw, avx512f support instead of skipping with Solaris as.

gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c

index b20eedc0818bee135eef432edec36aab2cb62d5f..ef088ab0b95d7adc9993436bddfd1ef92fe1df4f 100644 (file)
@@ -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 <string.h>