]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: Require ifunc support in gcc.target/i386/avx10_1-25.c etc.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 4 Jun 2024 11:33:46 +0000 (13:33 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 4 Jun 2024 11:33:46 +0000 (13:33 +0200)
Two new AVX10.1 tests FAIL on Solaris/x86:

FAIL: gcc.target/i386/avx10_1-25.c (test for excess errors)
FAIL: gcc.target/i386/avx10_1-26.c (test for excess errors)

Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/avx10_1-25.c:6:9: error: the call requires 'ifunc', which is not supported by this target

Fixed by requiring ifunc support.

Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.

2024-06-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc/testsuite:
* gcc.target/i386/avx10_1-25.c: Require ifunc support.
* gcc.target/i386/avx10_1-26.c: Likewise.

gcc/testsuite/gcc.target/i386/avx10_1-25.c
gcc/testsuite/gcc.target/i386/avx10_1-26.c

index 73f1b724560679f3f4bdab5dd50a500cffa6474e..5bd2b88fb08a0c2e1c09a47008c775b6ec738cf0 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mavx" } */
+/* { dg-require-ifunc "" } */
 
 #include <immintrin.h>
 __attribute__((target_clones ("default","avx10.1-256")))
index 514ab57a4065fcb95264ad76a2148d1b01b401ce..cf8c976e21f08e9dda16593bbe7d7d9deb0d6fe2 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mavx512f" } */
+/* { dg-require-ifunc "" } */
 
 #include <immintrin.h>
 __attribute__((target_clones ("default","avx10.1-512")))