2 /* { dg-require-effective-target avx2 } */
3 /* { dg-options "-O3 -mavx2" } */
6 #include "avx2-check.h"
11 compute_psrawi256 (short *s1
, short *r
)
18 for (i
= 0; i
< 16; ++i
)
31 for (i
= 0; i
< 10; i
++)
33 for (j
= 0; j
< 16; j
++)
36 res
.x
= _mm256_srai_epi16 (s1
.x
, N
);
38 compute_psrawi256 (s1
.a
, res_ref
);
40 fail
+= check_union256i_w (res
, res_ref
);