1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -mavx -mtune=generic" } */
4 double val1
[4][2], val2
[4][2], chk
[4][2];
10 for (i
= 0; i
< 4; i
++)
13 for (j
= 0; j
< 2; j
++)
14 tmp
+= val1
[i
][j
] * val2
[i
][j
];
15 for (j
= 0; j
< 2; j
++)
20 float val1f
[8][2], val2f
[8][2], chkf
[8][2];
26 for (i
= 0; i
< 8; i
++)
29 for (j
= 0; j
< 2; j
++)
30 tmp
+= val1f
[i
][j
] * val2f
[i
][j
];
31 for (j
= 0; j
< 2; j
++)