1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mavx -mno-avx512f -mtune=generic -dp" } */
       3  
       4  #include <immintrin.h>
       5  
       6  extern __m256 x, y;
       7  extern void (*bar) (void);
       8  
       9  void
      10  foo ()
      11  {
      12    x = y;
      13    bar ();
      14  }
      15  
      16  /* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */