2 /* { dg-options "-O2 -mavx512dq -DAVX512DQ" } */
3 /* { dg-require-effective-target avx512dq } */
5 #include "avx512f-helper.h"
7 #define SIZE (AVX512F_LEN / 32)
8 #include "avx512f-mask-type.h"
10 CALC (MASK_TYPE
*r
, int *s1
)
16 for (i
= 0; i
< SIZE
; i
++)
18 res
= res
| (one
<< i
);
27 UNION_TYPE (AVX512F_LEN
, i_d
) src
;
28 MASK_TYPE res
, res_ref
= 0;
31 for (i
= 0; i
< SIZE
; i
++)
33 src
.a
[i
] = 2 * i
* sign
;
37 res
= INTRINSIC (_movepi32_mask
) (src
.x
);
39 CALC (&res_ref
, src
.a
);