2 /* { dg-options "-O2 -msse2" } */
4 #include "sse2-check.h"
23 for (i
= 0; i
< 16; i
++)
26 res
[0] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 0);
27 res
[1] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 1);
28 res
[2] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 2);
29 res
[3] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 3);
30 res
[4] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 4);
31 res
[5] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 5);
32 res
[6] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 6);
33 res
[7] = __builtin_ia32_vec_ext_v8hi ((__v8hi
)val1
.x
, 7);
35 for (i
= 0; i
< 8; i
++)
38 for (i
= 0; i
< 8; i
++)
39 if (res
[i
] != val1
.s
[masks
[i
]])