PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / rotate-5.c
blob97c1d978ac7a3ac76e00b2d0548098b984fcbbb9
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mavx -fdump-tree-vect-details" } */
3 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
5 unsigned int a[1024] __attribute__((aligned (32)));
7 __attribute__((noinline, noclone)) void
8 foo (void)
10 int i, j = 3;
11 for (i = 0; i < 1024; i++)
12 a[i] = (a[i] << j) | (a[i] >> ((-j) & 31));