1 /* { dg-require-effective-target vect_int } */
8 short X
[N
] __attribute__ ((__aligned__(16)));
9 short Y
[N
] __attribute__ ((__aligned__(16)));
12 /* short->int widening-mult */
17 for (i
=0; i
<len
; i
++) {
18 result
[i
] = X
[i
] * Y
[i
];
36 if (result
[i
] != X
[i
] * Y
[i
])
43 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target powerpc*-*-* } } } */
44 /* { dg-final { cleanup-tree-dump "vect" } } */