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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-6.c] - Rev 848

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

/* PR middle-end/17767 */
/* Contributed by Volker Reichelt <reichelt@igpm.rwth-aachen.de> */
/* { dg-do compile } */
/* { dg-options "-O -mmmx" } */
typedef int __m64 __attribute__ ((vector_size (8)));
typedef short __v4hi __attribute__ ((vector_size (8)));
 
__m64 foo ()
{
  int i;
  __m64 m;
 
  for (i = 0; i < 2; i++)
    m = (__m64) __builtin_ia32_pcmpeqw ((__v4hi) m, (__v4hi) m);
 
  return m;
}
 

Go to most recent revision | 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.