OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [sse2-unpack-1.c] - Blame information for rev 329

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2" } */
3
/* { dg-require-effective-target sse2 } */
4
 
5
#include <emmintrin.h>
6
 
7
__m128i
8
foo1 (__m128i s1, __m128i s2)
9
{
10
  return _mm_unpackhi_epi64 (s1, s2);
11
}
12
 
13
__m128i
14
foo2 (__m128i s1, __m128i s2)
15
{
16
  return _mm_unpacklo_epi64 (s1, s2);
17
}
18
 
19
/* { dg-final { scan-assembler "punpcklqdq" } } */
20
/* { dg-final { scan-assembler "punpckhqdq" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.