2 /* { dg-options "-O2 -mavx512dq" } */
3 /* { dg-require-effective-target avx512dq } */
6 #include "avx512f-helper.h"
8 #define SIZE (AVX512F_LEN / 32)
9 #include "avx512f-mask-type.h"
12 CALC (MASK_TYPE
*r
, int *s1
)
18 for (i
= 0; i
< SIZE
; i
++)
20 res
= res
| (one
<< i
);
29 UNION_TYPE (AVX512F_LEN
, i_d
) src
;
30 MASK_TYPE res
, res_ref
= 0;
33 for (i
= 0; i
< SIZE
; i
++)
35 src
.a
[i
] = 2 * i
* sign
;
39 res
= INTRINSIC (_movepi32_mask
) (src
.x
);
41 CALC (&res_ref
, src
.a
);