Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / avx-vzeroupper-19.c
blob602de87f5458d55d6e985489ef9536da80e01798
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mavx -mtune=generic -dp" } */
4 void feat_s3_cep_dcep (int cepsize_used, float **mfc, float **feat)
6 float *f;
7 float *w, *_w;
8 int i;
9 __builtin_memcpy (feat[0], mfc[0], cepsize_used * sizeof(float));
10 f = feat[0] + cepsize_used;
11 w = mfc[2];
12 _w = mfc[-2];
13 for (i = 0; i < cepsize_used; i++)
14 f[i] = w[i] - _w[i];
17 /* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */