OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr21817-1.c] - Rev 300

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

/* hppa*-*-hpux* needs -fno-common so that value can be given a 16
   byte alignment.  */
 
/* { dg-do compile } */
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 
typedef float v4sf __attribute__((vector_size(16)));
v4sf value;
void foo(void)
{
  unsigned int band;
  for(band=0; band < 2; band++)
    {
      value += (v4sf){1e9f,1e9f,1e9f,1e9f};
    }
}
 

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.