2 /* { dg-require-effective-target avx2 } */
3 /* { dg-options "-O2 -mavx2" } */
6 #include "avx2-check.h"
11 compute_punpckhqdq256 (long long int *s1
, long long int *s2
, long long int *r
)
22 union256i_q s1
, s2
, res
;
23 long long int res_ref
[4];
27 for (i
= 0; i
< 10; i
++)
29 for (j
= 0; j
< 4; j
++)
35 res
.x
= _mm256_unpackhi_epi64 (s1
.x
, s2
.x
);
37 compute_punpckhqdq256 (s1
.a
, s2
.a
, res_ref
);
39 fail
+= check_union256i_q (res
, res_ref
);