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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr40238.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
 
3
extern int xdo_rb_ctr_row( int *pos_code);
4
 
5
int xgp_ahd_interpolate (int tile)
6
{
7
 int p[4];
8
 
9
 switch (tile) {
10
 default:
11
 case 0:
12
 case 1:
13
  p[0] = 0; p[1] = 1; p[2] = 2; p[3] = 3;
14
  break;
15
 case 2:
16
 case 3:
17
  p[0] = 1; p[1] = 0; p[2] = 3; p[3] = 2;
18
  break;
19
 case 4:
20
 case 5:
21
  p[0] = 3; p[1] = 2; p[2] = 1; p[3] = 0;
22
  break;
23
 case 6:
24
 case 7:
25
  p[0] = 2; p[1] = 3; p[2] = 0; p[3] = 1;
26
  break;
27
 }
28
 
29
 xdo_rb_ctr_row(p);
30
 xdo_rb_ctr_row(p);
31
 return 0;
32
}
33
 
34
/* { dg-final { cleanup-tree-dump "vect" } } */
35
 

powered by: WebSVN 2.1.0

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