annotate gcc/testsuite/gcc.c-torture/compile/941014-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 void
kono
parents:
diff changeset
2 f (n, ppt, xrot)
kono
parents:
diff changeset
3 {
kono
parents:
diff changeset
4 int tileWidth;
kono
parents:
diff changeset
5 int nlwSrc;
kono
parents:
diff changeset
6 int srcx;
kono
parents:
diff changeset
7 int v3, v4;
kono
parents:
diff changeset
8 register unsigned long ca1, cx1, ca2, cx2;
kono
parents:
diff changeset
9 unsigned long *pSrcLine;
kono
parents:
diff changeset
10 register unsigned long *pDst;
kono
parents:
diff changeset
11 register unsigned long *pSrc;
kono
parents:
diff changeset
12 register unsigned long b, tmp;
kono
parents:
diff changeset
13 unsigned long tileEndMask;
kono
parents:
diff changeset
14 int v1, v2;
kono
parents:
diff changeset
15 int tileEndPart;
kono
parents:
diff changeset
16 int needFirst;
kono
parents:
diff changeset
17 tileEndPart = 0;
kono
parents:
diff changeset
18 v1 = tileEndPart << 5;
kono
parents:
diff changeset
19 v2 = 32 - v1;
kono
parents:
diff changeset
20 while (n--)
kono
parents:
diff changeset
21 {
kono
parents:
diff changeset
22 if ((srcx = (ppt - xrot) % tileWidth) < 0)
kono
parents:
diff changeset
23 if (needFirst)
kono
parents:
diff changeset
24 if (nlwSrc == 1)
kono
parents:
diff changeset
25 {
kono
parents:
diff changeset
26 tmp = b;
kono
parents:
diff changeset
27 if (tileEndPart)
kono
parents:
diff changeset
28 b = (*pSrc & tileEndMask) | (*pSrcLine >> v1);
kono
parents:
diff changeset
29 }
kono
parents:
diff changeset
30 if (tileEndPart)
kono
parents:
diff changeset
31 b = (tmp << v1) | (b >> v2);
kono
parents:
diff changeset
32 if (v4 != 32)
kono
parents:
diff changeset
33 *pDst = (*pDst & ((tmp << v3) | (b >> v4) & ca1 ^ cx1)
kono
parents:
diff changeset
34 ^ (((tmp << v3) | (b >> v4)) & ca2 ^ cx2));
kono
parents:
diff changeset
35 *pDst = *pDst & tmp;
kono
parents:
diff changeset
36 }
kono
parents:
diff changeset
37 }