URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.target/] [i386/] [sse2-unpack-1.c] - Rev 516
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -msse2" } */ /* { dg-require-effective-target sse2 } */ #include <emmintrin.h> __m128i foo1 (__m128i s1, __m128i s2) { return _mm_unpackhi_epi64 (s1, s2); } __m128i foo2 (__m128i s1, __m128i s2) { return _mm_unpacklo_epi64 (s1, s2); } /* { dg-final { scan-assembler "punpcklqdq" } } */ /* { dg-final { scan-assembler "punpckhqdq" } } */