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.dg/] [pr36991.c] - Diff between revs 298 and 338

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

Rev 298 Rev 338
/* PR tree-optimization/36991 */
/* PR tree-optimization/36991 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
 
 
typedef float V __attribute__ ((vector_size (16)));
typedef float V __attribute__ ((vector_size (16)));
typedef union { V v[4][4]; } U;
typedef union { V v[4][4]; } U;
 
 
void
void
foo (float x, float y, U *z)
foo (float x, float y, U *z)
{
{
  z->v[1][0] = z->v[0][1] = (V) { x, y, 0, 0 };
  z->v[1][0] = z->v[0][1] = (V) { x, y, 0, 0 };
}
}
 
 

powered by: WebSVN 2.1.0

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