Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512vl-vunpcklps-1.c
blob244d9b536f679c0dcc8068d5465c5b77b53c114a
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -O2" } */
3 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
6 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
7 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
8 /* { dg-final { scan-assembler-times "vunpcklps\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
10 #include <immintrin.h>
12 volatile __m256 x, y, z;
13 volatile __m128 xx, yy, zz;
15 void extern
16 avx512vl_test (void)
18 x = _mm256_unpacklo_ps (y, z);
19 x = _mm256_mask_unpacklo_ps (x, 2, y, z);
20 x = _mm256_maskz_unpacklo_ps (2, y, z);
21 xx = _mm_unpacklo_ps (yy, zz);
22 xx = _mm_mask_unpacklo_ps (xx, 2, yy, zz);
23 xx = _mm_maskz_unpacklo_ps (2, yy, zz);