PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr70596.c
blob0c73e838be1897c8f629fbb400522e78bbc6ee2f
1 /* PR rtl-optimization/70596 */
2 /* { dg-do compile { target avx512f } } */
3 /* { dg-options "-O2 -fno-dce -fschedule-insns -fno-tree-coalesce-vars -fno-tree-dce -fno-tree-fre -fno-tree-pre -fcompare-debug -mavx512f" } */
5 typedef char V __attribute__((vector_size (64)));
7 int
8 foo (V u, V v)
10 v /= u | 1;
11 v[18] = 1 | v[8];
12 return v[1] + v[6] + v[0] + v[1] + v[18] + v[2] + v[7];