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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr33369.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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.