| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -march=skylake-avx512" } */ |
| 3 |
/* { dg-additional-options "-fno-PIE" { target ia32 } } */ |
| 4 |
|
| 5 |
extern char *dst; |
| 6 |
|
| 7 |
void |
| 8 |
foo (void) |
| 9 |
{ |
| 10 |
__builtin_memset (dst, 12, 19); |
| 11 |
} |
| 12 |
|
| 13 |
/* { dg-final { scan-assembler-times "vpbroadcastd" 1 } } */ |
| 14 |
/* { dg-final { scan-assembler-times "vmovdqu8\[\\t \]+%xmm\[0-9\]+, \\(%\[\^,\]+\\)" 1 } } */ |
| 15 |
/* { dg-final { scan-assembler-times "vmovd\[\\t \]+%xmm\[0-9\]+, 16\\(%\[\^,\]+\\)" 1 { xfail *-*-* } } } */ |