blob: 64c2686bd8664b953b223cd2d612e6ca8461a554 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O3 -msse4" } */
void
test (int code, unsigned int * image, int * colors)
{
int i;
for (i = 0; i < code; ++i)
image[i] = (colors[i] < 0 ? ~(unsigned int) 0 : colors[i]);
}
|