1 /* { dg-do run } */ 2 /* { dg-options "-O2 -mavx512f" } */ 3 /* { dg-require-effective-target avx512f } */ 4 5 #include "avx512f-check.h" 6 7 void static avx512f_test(void)8avx512f_test (void) 9 { 10 int i; 11 union512 res; 12 float res_ref[16]; 13 14 res.x = _mm512_setzero_ps (); 15 16 for (i = 0; i < 16; i++) 17 res_ref[i] = 0.0; 18 19 if (check_union512 (res, res_ref)) 20 abort (); 21 } 22