https://gcc.gnu.org/g:25ab3b4d5c2bb6610520dfa89eb739b24a81a0b9

commit r17-902-g25ab3b4d5c2bb6610520dfa89eb739b24a81a0b9
Author: Tamar Christina <[email protected]>
Date:   Thu May 28 13:04:00 2026 +0100

    testsuite: add AVX512 requirement to vect-early-break-no-epilog_11.c
    
    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.

Diff:
---
 gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c 
b/gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c
index 3a6b72fa5acb..c62727377d24 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-early-break-no-epilog_11.c
@@ -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))

Reply via email to