2 /* { dg-require-effective-target avx2 } */
3 /* { dg-options "-O2 -mavx2" } */
6 #include "avx2-check.h"
11 compute_psrldq256 (char *s1
, char *r
)
17 for (i
= 0; i
< 16 - N
; i
++)
20 for (i
= 0; i
< 16 - N
; i
++)
21 r
[i
+ 16] = s1
[i
+ N
+ 16];
33 for (i
= 0; i
< 10; i
++)
35 for (j
= 0; j
< 32; j
++)
38 res
.x
= _mm256_srli_si256 (s1
.x
, N
);
40 compute_psrldq256 (s1
.a
, res_ref
);
42 fail
+= check_union256i_b (res
, res_ref
);