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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031125-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
short *_offsetTable;
2
/* This tests to make sure PRE splits the entry block ->block 0 edge
3
   when there are multiple block 0 predecessors.
4
   This is done so that we don't end up with an insertion on the
5
   entry block -> block 0 edge which would require a split at insertion
6
   time.
7
   PR 13163.  */
8
void proc4WithoutFDFE(char *dst, const char *src, int next_offs, int bw,
9
                int bh, int pitch)
10
{
11
        do {
12
                int i = bw;
13
                int code = *src++;
14
                int x, l;
15
                int length = *src++ + 1;
16
 
17
                for (l = 0; l < length; l++) {
18
                        int x;
19
 
20
                        for (x = 0; x < 4; x++) ;
21
                        if (i == 0)
22
                                dst += pitch * 3;
23
                }
24
                char *dst2 = dst + _offsetTable[code] + next_offs;
25
 
26
                for (x = 0; x < 4; x++) {
27
                        int j = 0;
28
                        (dst + pitch * x)[j] = (dst2 + pitch * x)[j];
29
                }
30
                dst += pitch * 3;
31
        } while (--bh);
32
}
33
 
34
 

powered by: WebSVN 2.1.0

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