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