Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/memmove.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 #pragma GCC target "+nomops"
5
6 void
7 copy1 (int *x, int *y)
8 {
9 __builtin_memmove (x, y, 12);
10 }
11
12 void
13 copy2 (int *x, int *y)
14 {
15 __builtin_memmove (x, y, 128);
16 }
17
18 void
19 copy3 (int *x, int *y)
20 {
21 __builtin_memmove (x, y, 255);
22 }
23
24 /* { dg-final { scan-assembler-not {\tb\tmemmove} } } */