diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512f-fnmsub-sf-zmm-3.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512f-fnmsub-sf-zmm-3.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512f-fnmsub-sf-zmm-3.c b/gcc/testsuite/gcc.target/i386/avx512f-fnmsub-sf-zmm-3.c new file mode 100644 index 0000000..6966cea --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx512f-fnmsub-sf-zmm-3.c @@ -0,0 +1,12 @@ +/* { dg-do compile } */ +/* { dg-options "-mavx512f -O2" } */ +/* { dg-final { scan-assembler-times "vfnmsub...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 fnmsub +#define suffix ps +#define SCALAR float + +#include "avx512-fma-3.h" |