1 /* { dg-require-effective-target vect_int } */
10 signed char X
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
11 signed char Y
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
13 /* char->int->int dot product.
14 Not detected as a dot-product pattern. */
15 __attribute__ ((noinline
)) int
20 for (i
=0; i
<len
; i
++) {
21 result
+= (X
[i
] * Y
[i
]);
35 __asm__
volatile ("");
45 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_unpack } } } */