blob: 602de87f5458d55d6e985489ef9536da80e01798 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile } */
/* { dg-options "-O3 -mavx -mtune=generic -dp" } */
void feat_s3_cep_dcep (int cepsize_used, float **mfc, float **feat)
{
float *f;
float *w, *_w;
int i;
__builtin_memcpy (feat[0], mfc[0], cepsize_used * sizeof(float));
f = feat[0] + cepsize_used;
w = mfc[2];
_w = mfc[-2];
for (i = 0; i < cepsize_used; i++)
f[i] = w[i] - _w[i];
}
/* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */
|