]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: add AVX512 requirement to vect-early-break-no-epilog_11.c
authorTamar Christina <tamar.christina@arm.com>
Thu, 28 May 2026 12:04:00 +0000 (13:04 +0100)
committerTamar Christina <tamar.christina@arm.com>
Thu, 28 May 2026 12:04:00 +0000 (13:04 +0100)
This testcase on x86_64 needs AVX512 to vectorize.
My original testing used -march=native so it was on by default.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/vect-early-break-no-epilog_11.c: Add AVX512 for x86_64.

gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c

index 3a6b72fa5acb1aec9a3bcab5e05e0a28f12c2654..c62727377d24367df08aa41fff4af94ab6cd2f02 100644 (file)
@@ -3,6 +3,9 @@
 /* { dg-require-effective-target vect_early_break_hw } */
 /* { dg-require-effective-target vect_long } */
 
+/* { dg-additional-options "-mavx512f" { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-require-effective-target avx512f_hw { target i?86-*-* x86_64-*-* } } */
+
 #include "tree-vect.h"
 
 __attribute__ ((noipa))