2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr57777.c
blob9c1a392aa9b613832756aa9c1846c2353579a97c
1 /* PR target/57777 */
2 /* { dg-do assemble { target avx2 } } */
3 /* { dg-options "-O3 -mavx2" } */
4 /* { dg-additional-options "-fpic" { target fpic } } */
6 void
7 foo (unsigned long *x, int *y)
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];