blob: dadef5105296e20a41d32a71c89e3b13111be5f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
unsigned foo(unsigned in1, unsigned in2, unsigned in3, unsigned in4) {
unsigned a = 0xa;
unsigned b = 0xb;
unsigned c = 0xc;
unsigned x[10] = {0};
{
unsigned xyz = (
1
+
2
+
3
+
4
+
5
);
}
unsigned r1 = in1 * in3;
unsigned r2first = in1 * in4;
unsigned r2second = in2 * in3;
unsigned r3 = in2 * in4;
a ^=
b; c += d;
a += (
b); c += d;
a += x[
0]; c += d;
a += b; {
}; c += d;
return r1 * r2first + r3 * r2second + a * b + c;
}
|