OpenCores
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.0rc1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-3.c] - Diff between revs 318 and 338

Only display areas with differences | Details | Blame | View Log

Rev 318 Rev 338
/* PR target/8870 */
/* PR target/8870 */
/* Originator: otaylor@redhat.com */
/* Originator: otaylor@redhat.com */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O1 -mmmx -march=k8" } */
/* { dg-options "-O1 -mmmx -march=k8" } */
 
 
typedef short v4hi __attribute__ ((vector_size (8)));
typedef short v4hi __attribute__ ((vector_size (8)));
 
 
static inline v4hi cvtsi_v4hi (int i)
static inline v4hi cvtsi_v4hi (int i)
{
{
  long long tmp = i;
  long long tmp = i;
  return (v4hi) tmp;
  return (v4hi) tmp;
}
}
 
 
v4hi bar (unsigned short a)
v4hi bar (unsigned short a)
{
{
  return cvtsi_v4hi (a);
  return cvtsi_v4hi (a);
}
}
 
 

powered by: WebSVN 2.1.0

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