Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=x86-64" } */
3 /* { dg-additional-options "-fno-PIE" { target ia32 } } */
4
5 extern char *dst;
6
7 void
8 foo (void)
9 {
10 __builtin_memset (dst, 3, 16);
11 }
12
13 /* { dg-final { scan-assembler-times "movd\[ \\t\]+\[^\n\]*%xmm" 1 } } */
14 /* { dg-final { scan-assembler-times "pshufd" 1 } } */
15 /* { dg-final { scan-assembler-times "movups\[\\t \]%xmm\[0-9\]+, \\(%\[\^,\]+\\)" 1 } } */