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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr32280.c] - Blame information for rev 848

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2" } */
3
 
4
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
5
 
6
__m128i foo1(__m128i __a)
7
{
8
 return (__m128i)__builtin_ia32_pslldqi128 (__a, 8);
9
}
10
 
11
__m128i foo2(__m128i __a)
12
{
13
 return (__m128i)__builtin_ia32_psrldqi128 (__a, 8);
14
}
15
 
16
/* { dg-final { scan-assembler "psrldq" } } */
17
/* { dg-final { scan-assembler "pslldq" } } */

powered by: WebSVN 2.1.0

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