2 /* { dg-require-effective-target avx2 } */
3 /* { dg-options "-O3 -mavx2" } */
6 #include "avx2-check.h"
11 compute_psrldi256 (int *s1
, int *r
)
18 for (i
= 0; i
< 8; ++i
)
30 for (i
= 0; i
< 10; i
++)
32 for (j
= 0; j
< 8; j
++)
35 res
.x
= _mm256_srli_epi32 (s1
.x
, N
);
37 compute_psrldi256 (s1
.a
, res_ref
);
39 fail
+= check_union256i_d (res
, res_ref
);