Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr92295.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=skylake-avx512" } */
3
4 typedef int X __attribute__((vector_size (32)));
5
6 X
7 foo (int x, int z)
8 {
9 X y = { x, x, x, x, z, z, z, z };
10 return y;
11 }
12
13 /* { dg-final { scan-assembler-times "vpbroadcast" "2" } } */