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