Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx5124fmadd-v4fmaddss-1.c
blob2f1a558a1a2e9af1ad72d5bd2ad9fec2b0579b75
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx5124fmaps" } */
3 /* { dg-final { scan-assembler-times "v4fmaddss\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "v4fmaddss\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "v4fmaddss\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
7 #include <x86intrin.h>
9 __m128 a, b, c, d, e, f, x1, x2, x3;
10 __m128 *mem;
11 __mmask8 m;
13 int foo ()
15 x1 = _mm_4fmadd_ss (a, b, c, d, e, mem);
16 x2 = _mm_mask_4fmadd_ss (a, m, b, c, d, e, mem);
17 x3 = _mm_maskz_4fmadd_ss (m, a, b, c, d, e, mem);