1 /* { dg-require-effective-target vect_int } */
8 unsigned char uX
[N
] __attribute__ ((__aligned__(16)));
9 unsigned char uresultX
[N
];
10 unsigned int uY
[N
] __attribute__ ((__aligned__(16)));
11 unsigned short uresultY
[N
];
17 for (i
=0; i
<len
; i
++) {
19 uresultY
[i
] = (unsigned short)uY
[i
];
37 if (uresultX
[i
] != uX
[i
])
39 if (uresultY
[i
] != (unsigned short)uY
[i
])
46 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target powerpc*-*-* } } } */
47 /* { dg-final { cleanup-tree-dump "vect" } } */