Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr100704-2.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -fomit-frame-pointer -march=x86-64" } */
3
4 struct S
5 {
6 char array[64];
7 };
8
9 extern struct S a[];
10
11 void bar (struct S);
12
13 void
14 foo (void)
15 {
16 bar (a[0]);
17 }
18
19 /* { dg-final { scan-assembler-not "pushq" } } */
20 /* { dg-final { scan-assembler-times "movups\[\\t \]%xmm\[0-9\]+, \\(%\[\^,\]+\\)" 1 } } */
21 /* { dg-final { scan-assembler-times "movups\[\\t \]%xmm\[0-9\]+, 16\\(%\[\^,\]+\\)" 1 } } */
22 /* { dg-final { scan-assembler-times "movups\[\\t \]%xmm\[0-9\]+, 32\\(%\[\^,\]+\\)" 1 } } */
23 /* { dg-final { scan-assembler-times "movups\[\\t \]%xmm\[0-9\]+, 48\\(%\[\^,\]+\\)" 1 } } */