]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
avx10_2-comibf-2.c: Require AVX10.2 support
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Nov 2024 08:14:38 +0000 (16:14 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Nov 2024 21:49:12 +0000 (05:49 +0800)
Since avx10_2-comibf-2.c is a run test, require AVX10.2 support.

* gcc.target/i386/avx10_2-comibf-2.c: Require avx10_2 target.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gcc/testsuite/gcc.target/i386/avx10_2-comibf-2.c

index 126957bf272bfb5b975422e6338e395ebd80bbb7..a70904c9fadebb9cc62f5478f9e6b82473ce991d 100644 (file)
@@ -1,5 +1,6 @@
- /* { dg-do run } */
+/* { dg-do run } */
 /* { dg-options "-march=x86-64-v3 -mavx10.2 -O2 -fno-trapping-math" } */
+/* { dg-require-effective-target avx10_2 } */
 
 #include <stdlib.h>
 #include <stdint.h>