Debian Codegraph @

gcc/testsuite/gcc.target/i386/pieces-memset-41.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mno-avx2 -mavx -mprefer-vector-width=128 -mtune=sandybridge -mno-stackrealign" } */
3 /* Cope with --enable-frame-pointer. */
4 /* { dg-additional-options "-fomit-frame-pointer" } */
5
6 extern char *dst;
7
8 void
9 foo (int x)
10 {
11 __builtin_memset (dst, x, 33);
12 }
13
14 /* { dg-final { scan-assembler-times "vmovdqu\[ \\t\]+\[^\n\]*%xmm" 2 } } */
15 /* No need to dynamically realign the stack here. */
16 /* { dg-final { scan-assembler-not "and\[^\n\r]*%\[re\]sp" } } */
17 /* Nor use a frame pointer. */
18 /* { dg-final { scan-assembler-not "%\[re\]bp" } } */