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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr33369.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
/* { dg-require-effective-target vect_shift } */
4
 
5
typedef struct tagPOINT
6
{
7
  int x;
8
  int y;
9
} POINT;
10
 
11
void
12
f (POINT * ptBuf)
13
{
14
  int i;
15
  for (i = 0; i < 4; i++)
16
    {
17
      ptBuf[i].x = ((ptBuf[i].x) << 4);
18
      ptBuf[i].y = ((ptBuf[i].y) << 4);
19
    }
20
}
21
 
22
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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