PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx5124vnniw-vp4dpwssd-1.c
bloba234fddf54a9f66e4b86e3960a51847774c71995
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx5124vnniw" } */
3 /* { dg-final { scan-assembler-times "vp4dpwssd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vp4dpwssd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vp4dpwssd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
7 #include <x86intrin.h>
9 __m512i a, b, c, d, e, f, g, x1, x2, x3;
10 __m128i *mem;
11 __mmask16 m;
13 int foo ()
15 x1 = _mm512_4dpwssd_epi32 (a, b, c, d, e, mem);
16 x2 = _mm512_mask_4dpwssd_epi32 (a, m, b, c, d, e, mem);
17 x3 = _mm512_maskz_4dpwssd_epi32 (m, a, b, c, d, e, mem);