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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [mmx-6.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR middle-end/17767 */
2
/* Contributed by Volker Reichelt <reichelt@igpm.rwth-aachen.de> */
3
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4
/* { dg-options "-O -mmmx" } */
5
typedef int __m64 __attribute__ ((vector_size (8)));
6
typedef short __v4hi __attribute__ ((vector_size (8)));
7
 
8
__m64 foo ()
9
{
10
  int i;
11
  __m64 m;
12
 
13
  for (i = 0; i < 2; i++)
14
    m = (__m64) __builtin_ia32_pcmpeqw ((__v4hi) m, (__v4hi) m);
15
 
16
  return m;
17
}

powered by: WebSVN 2.1.0

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