2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sse2-unpack-1.c
bloba2676396cd3219ef459ac59e0bbf98f37730a80e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse2" } */
4 #include <emmintrin.h>
6 __m128i
7 foo1 (__m128i s1, __m128i s2)
9 return _mm_unpackhi_epi64 (s1, s2);
12 __m128i
13 foo2 (__m128i s1, __m128i s2)
15 return _mm_unpacklo_epi64 (s1, s2);
18 /* { dg-final { scan-assembler "punpcklqdq" } } */
19 /* { dg-final { scan-assembler "punpckhqdq" } } */