c++: regenerate opt urls
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr84945.c
blob9599867886004fb3c79584357f061a87289eb288
1 /* PR target/84945 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 int
6 main ()
8 /* AVX512_VNNI instructions are all EVEX encoded, so if
9 __builtin_cpu_supports says avx512vnni is available and avx512f is not,
10 this is a GCC bug. Ditto for AVX512_BITALG */
11 if (!__builtin_cpu_supports ("avx512f")
12 && (__builtin_cpu_supports ("avx512vnni")
13 || __builtin_cpu_supports ("avx512bitalg")))
14 __builtin_abort ();
15 return 0;