1/* PR target/57777 */ 2/* { dg-do assemble { target avx2 } } */ 3/* { dg-options "-O3 -mavx2" } */ 4/* { dg-additional-options "-fpic" { target fpic } } */ 5 6void 7foo (unsigned long *x, int *y) 8{ 9 static unsigned long b[2] = { 0x0UL, 0x9908b0dfUL }; 10 int c; 11 for (c = 0; c < 512; c++) 12 x[c] = b[x[c] & 1UL]; 13} 14