OSDN Git Service

* gcc.target/i386/sse-13.c: Include <mm_malloc.h>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr32708-2.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -mtune=k8" } */
4
5 typedef long long __v2di __attribute__ ((__vector_size__ (16)));
6 typedef long long __m128i __attribute__ ((__vector_size__ (16)));
7
8 static __inline __m128i __attribute__((__always_inline__))
9 _mm_set_epi64x (long long __q1, long long __q0)
10 {
11   return __extension__ (__m128i)(__v2di){ __q0, __q1 };
12 }
13
14 __m128i long2vector(long long __i)
15 {
16   return _mm_set_epi64x (0, __i);
17 }
18
19 /* { dg-final { scan-assembler-not "movq2dq" } } */