Debian Codegraph @

gcc/testsuite/gcc.target/i386/pieces-strcpy-3.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mno-avx2 -mavx -mtune=generic" } */
3
4 extern char *strcpy (char *, const char *);
5
6 void
7 foo (char *s)
8 {
9 strcpy (s,
10 "1234567890abcdef123456abcdef5678123456abcdef567abcdef678"
11 "1234567");
12 }
13
14 /* { dg-final { scan-assembler-times "vmovdqa\[ \\t\]+\[^\n\]*%ymm" 2 } } */
15 /* { dg-final { scan-assembler-times "vmovdqu\[ \\t\]+\[^\n\]*%ymm" 2 } } */