/* { dg-do compile } */ | |
/* { dg-options "-mavx512f -O2" } */ | |
/* { dg-final { scan-assembler-times "vfmadd...ps\[ \\t\]+\\(%(?:eax|rdi|edi)\\)\\\{1to\[1-8\]+\\\}, %zmm\[0-9\]+, %zmm0" 1 } } */ | |
/* { dg-final { scan-assembler-not "vbroadcastss\[^\n\]*%zmm\[0-9\]+" } } */ | |
#define type __m512 | |
#define vec 512 | |
#define op fmadd | |
#define suffix ps | |
#define SCALAR float | |
#include "avx512-fma-1.h" |