2 /* { dg-require-effective-target sse4 } */
3 /* { dg-options "-O2 -msse4.1" } */
6 #define CHECK_H "sse4_1-check.h"
10 #define TEST sse4_1_test
15 #include <smmintrin.h>
18 typedef char T
__attribute__((may_alias
));
19 struct S
{ __m128i d
; };
22 __attribute__((noinline
))
23 foo (__m128i y
, char x
)
41 unsigned char ins
[4] = { 3, 4, 5, 6 };
43 val
.i
[0] = 0x35251505;
44 val
.i
[1] = 0x75655545;
45 val
.i
[2] = 0xB5A59585;
46 val
.i
[3] = 0xF5E5D5C5;
48 res
.x
= foo (val
.x
, ins
[3]);
52 if (memcmp (&tmp
, &res
, sizeof (tmp
)))