2 /* { dg-options "-O2 -msha" } */
3 /* { dg-require-effective-target sha } */
6 #include "m128-check.h"
11 compute_sha1nexte (int *s1
, int *s2
, int *r
)
13 int tmp
= __rold (s1
[3], 30);
24 union128i_d s1
, s2
, res
;
27 s1
.x
= _mm_set_epi32 (111, 0, 0, 0);
28 s2
.x
= _mm_set_epi32 (222, 333, 444, 555);
30 res
.x
= _mm_sha1nexte_epu32 (s1
.x
, s2
.x
);
32 compute_sha1nexte (s1
.a
, s2
.a
, res_ref
);
34 if (check_union128i_d (res
, res_ref
))