2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr32661-1.c
blob452bcf9766b58ba68c42652af67f110167e1a31e
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -fomit-frame-pointer" } */
4 typedef long long __m128i __attribute__ ((__vector_size__ (16)));
6 long long foo_0(__m128i* val)
8 return __builtin_ia32_vec_ext_v2di(*val, 0);
11 long long foo_1(__m128i* val)
13 return __builtin_ia32_vec_ext_v2di(*val, 1);
16 /* { dg-final { scan-assembler-times "mov" 2 } } */