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/] [pr32280.c] - Rev 318

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
/* { dg-require-effective-target sse2 } */
 
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
 
__m128i foo1(__m128i __a)
{
 return (__m128i)__builtin_ia32_pslldqi128 (__a, 8);
}
 
__m128i foo2(__m128i __a)
{
 return (__m128i)__builtin_ia32_psrldqi128 (__a, 8);
}
 
/* { dg-final { scan-assembler "psrldq" } } */
/* { dg-final { scan-assembler "pslldq" } } */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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