1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512vl" } */
3 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
6 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
7 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
8 /* { dg-final { scan-assembler-times "vgetmantpd\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
10 #include <immintrin.h>
12 volatile __m256d x
, y
;
13 volatile __m128d a
, b
;
19 x
= _mm256_getmant_pd (y
, _MM_MANT_NORM_p75_1p5
, _MM_MANT_SIGN_src
);
20 x
= _mm256_mask_getmant_pd (x
, m
, y
, _MM_MANT_NORM_p75_1p5
,
22 x
= _mm256_maskz_getmant_pd (m
, y
, _MM_MANT_NORM_p75_1p5
,
24 a
= _mm_getmant_pd (b
, _MM_MANT_NORM_p75_1p5
, _MM_MANT_SIGN_src
);
25 a
= _mm_mask_getmant_pd (a
, m
, b
, _MM_MANT_NORM_p75_1p5
,
27 a
= _mm_maskz_getmant_pd (m
, b
, _MM_MANT_NORM_p75_1p5
,