PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / slp-38.c
blobe6bd919135cb0c3cc6a975f30a077fb3688d227e
1 /* { dg-do compile } */
3 typedef struct {
4 float l, h;
5 } tFPinterval;
7 tFPinterval X[1024];
8 tFPinterval Y[1024];
9 tFPinterval Z[1024];
11 void Compute(void)
13 int d;
14 for (d= 0; d < 1024; d++)
16 Y[d].l= X[d].l + X[d].h;
17 Y[d].h= Y[d].l;
18 Z[d].l= X[d].l;
19 Z[d].h= X[d].h;
23 /* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 1 "vect" { target { vect_float && vect_perm } } } } */