Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr100865-7c.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=skylake -mno-avx2" } */
3 /* { dg-additional-options "-fno-PIE" { target ia32 } } */
4
5 extern long long int array[64];
6
7 void
8 foo (void)
9 {
10 int i;
11 for (i = 0; i < sizeof (array) / sizeof (array[0]); i++)
12 array[i] = -45;
13 }
14
15 /* { dg-final { scan-assembler-times "vbroadcastsd" 1 } } */
16 /* { dg-final { scan-assembler-times "vmovdqu\[\\t \]%ymm\[0-9\]+, " 16 } } */
17 /* { dg-final { scan-assembler-not "vmovdqa" { target { ! ia32 } } } } */