blob: d2dd65b5190d6f3569f3272b8bfdbd7621f43c7d [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
#pragma GCC target "+nomops"
void
copy1 (int *x, int *y)
{
__builtin_memmove (x, y, 12);
}
void
copy2 (int *x, int *y)
{
__builtin_memmove (x, y, 128);
}
void
copy3 (int *x, int *y)
{
__builtin_memmove (x, y, 255);
}
/* { dg-final { scan-assembler-not {\tb\tmemmove} } } */