URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* hppa*-*-hpux* needs -fno-common so that value can be given a 16
|
/* hppa*-*-hpux* needs -fno-common so that value can be given a 16
|
byte alignment. */
|
byte alignment. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
|
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
|
|
|
typedef float v4sf __attribute__((vector_size(16)));
|
typedef float v4sf __attribute__((vector_size(16)));
|
v4sf value;
|
v4sf value;
|
void foo(void)
|
void foo(void)
|
{
|
{
|
unsigned int band;
|
unsigned int band;
|
for(band=0; band < 2; band++)
|
for(band=0; band < 2; band++)
|
{
|
{
|
value += (v4sf){1e9f,1e9f,1e9f,1e9f};
|
value += (v4sf){1e9f,1e9f,1e9f,1e9f};
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.