blob: 39cd8f90c835be9056f63ef438856166d5ed9dff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
long long foo_0(__m128i* val)
{
return __builtin_ia32_vec_ext_v2di(*val, 0);
}
long long foo_1(__m128i* val)
{
return __builtin_ia32_vec_ext_v2di(*val, 1);
}
/* { dg-final { scan-assembler-times "mov" 2 } } */
|