1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2" } */
5 typedef long long __m128i
__attribute__ ((__vector_size__ (16)));
7 long long foo_0(__m128i
* val
)
9 return __builtin_ia32_vec_ext_v2di(*val
, 0);
12 long long foo_1(__m128i
* val
)
14 return __builtin_ia32_vec_ext_v2di(*val
, 1);
17 /* { dg-final { scan-assembler-times "mov" 2 } } */