1 /* { dg-require-effective-target vect_int } */
12 signed char X
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
13 signed char Y
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
14 unsigned char CX
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
16 __attribute__ ((noinline
)) void
21 for (i
=0; i
<len
; i
++) {
22 result1
+= (X
[i
] * Y
[i
]);
48 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_sdot_hi || vect_unpack } } } } */
49 /* { dg-final { cleanup-tree-dump "vect" } } */