2 /* { dg-options "-O2 -msse" } */
13 __attribute__((noinline
))
14 check (__m64 x
, unsigned short *v
, int j
)
25 for (i
= 0; i
< sizeof (v
) / sizeof (v
[0]); i
++)
31 printf ("%i: 0x%x != 0x%x\n", i
, v
[i
], u
.i
[i
]);
39 printf ("%i: 0x%x != 0\n", i
, u
.i
[i
]);
46 __attribute__((noinline
))
47 test (unsigned short *v
)
51 x
= _mm_set_pi16 (0, 0, 0, v
[0]);
53 x
= _mm_set_pi16 (0, 0, v
[1], 0);
55 x
= _mm_set_pi16 (0, v
[2], 0, 0);
57 x
= _mm_set_pi16 (v
[3], 0, 0, 0);
65 = { 0x7B5B, 0x5465, 0x7374, 0x5665};