blob: 28ab7a6d41cd70cc4b637ec31422e93427816d9e [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -march=x86-64 -mprefer-vector-width=256 -mavx512f -mmove-max=512" } */
extern char *dst, *src;
void
foo (void)
{
__builtin_memcpy (dst, src, 66);
}
/* { dg-final { scan-assembler-times "vmovdqu64\[ \\t\]+\[^\n\]*%zmm" 2 } } */
/* No need to dynamically realign the stack here. */
/* { dg-final { scan-assembler-not "and\[^\n\r]*%\[re\]sp" } } */
/* Nor use a frame pointer. */
/* { dg-final { scan-assembler-not "%\[re\]bp" } } */