PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-add-sf-zmm-2.c
bloba2da306434499c9fac2cc9b83a012d247a4862a1
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vaddps\[ \\t\]+\\(%(?:eax|rdi|edi)\\)\\\{1to\[1-8\]+\\\}, %zmm\[0-9\]+, %zmm0" 1 } } */
4 /* { dg-final { scan-assembler-not "vbroadcastss\[^\n\]*%zmm\[0-9\]+" } } */
6 #define type __m512
7 #define vec 512
8 #define op add
9 #define suffix ps
10 #define SCALAR float
12 #include "avx512-binop-2.h"