https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125871
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I'll note that
>
> /* { dg-additional-options "-mavx512f" { target { i?86-*-* x86_64-*-* } } }
> */
> /* { dg-require-effective-target avx512f_runtime { target i?86-*-*
> x86_64-*-* } } */
>
> is overly restrictive and should do
>
> /* { dg-additional-options "-mavx512f" { target avx512f_runtime } } */
>
> And gate the dump scans on { target avx512f }
>
> I'll also note that we should really fixup check_vect () to gate AVX512
> enabled features ...
Yeah I don't really understand all the knobs so I copy things from other tests.
I build x86 with -march=native because this gives more vectorization. But this
makes it impossible to whether I need random flag to make things pass when not.
So is there a way for me to run the test in "default" mode without needing to
rebuild the compiler?