1 /* { dg-do compile } */ 2 /* { dg-options "-O0 -mavx -mvzeroupper -dp" } */ 3 4 #include <immintrin.h> 5 6 extern float x, y; 7 8 void foo()9foo () 10 { 11 x = y; 12 _mm256_zeroupper (); 13 _mm256_zeroupper (); 14 _mm256_zeroupper (); 15 } 16 17 /* { dg-final { scan-assembler-times "avx_vzeroupper" 3 } } */ 18