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
       8  avx512f_test (void)
       9  {
      10    int i;
      11    union512d res;
      12    double res_ref[8];
      13  
      14    res.x = _mm512_setzero_pd ();
      15  
      16    for (i = 0; i < 8; i++)
      17      res_ref[i] = 0.0;
      18  
      19    if (check_union512d (res, res_ref))
      20      abort ();
      21  }