1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse2 -mtune=k8" } */
4 typedef short __v8hi
__attribute__ ((__vector_size__ (16)));
5 typedef long long __m128i
__attribute__ ((__vector_size__ (16)));
13 short ins
[8] = { 8, 5, 9, 4, 2, 6, 1, 20 };
16 for (i
= 0; i
< 8; i
++)
19 if (memcmp (&tmp
, &res
[i
], sizeof (tmp
)))
20 (__m128i
) __builtin_ia32_vec_set_v8hi ((__v8hi
) val1
.x
, ins
[i
], 0);