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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr21817-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* hppa*-*-hpux* needs -fno-common so that value can be given a 16
2
   byte alignment.  */
3
 
4
/* { dg-do compile } */
5
/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
6
 
7
typedef float v4sf __attribute__((vector_size(16)));
8
v4sf value;
9
void foo(void)
10
{
11
  unsigned int band;
12
  for(band=0; band < 2; band++)
13
    {
14
      value += (v4sf){1e9f,1e9f,1e9f,1e9f};
15
    }
16
}

powered by: WebSVN 2.1.0

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