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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
|
#include <stdint.h>
struct struct_arr1 {
int8_t v[1];
};
struct struct_arr2 {
int8_t v[2];
};
struct struct_arr3 {
int8_t v[3];
};
struct struct_arr4 {
int8_t v[4];
};
struct struct_arr5 {
int8_t v[5];
};
struct struct_arr6 {
int8_t v[6];
};
struct struct_arr7 {
int8_t v[7];
};
struct struct_arr8 {
int8_t v[8];
};
struct struct_arr9 {
int8_t v[9];
};
struct struct_arr10 {
int8_t v[10];
};
struct struct_arr11 {
int8_t v[11];
};
struct struct_arr15 {
int8_t v[15];
};
struct struct_arr16 {
int8_t v[16];
};
struct struct_arr17{
int8_t v[17];
};
struct struct_arr27 {
int8_t v[27];
};
struct struct_arr31 {
int8_t v[31];
};
struct struct_arr32 {
int8_t v[32];
};
struct struct_arr33 {
int8_t v[33];
};
struct struct1 {
int8_t v;
};
struct struct2 {
int16_t v;
};
struct struct3 {
int16_t v1;
int8_t v2;
};
struct struct4 {
int32_t v;
};
struct struct5 {
int32_t v1;
int8_t v2;
};
struct struct6 {
int32_t v1;
int16_t v2;
};
struct struct7 {
int32_t v1;
int16_t v2;
int8_t v3;
};
struct struct8 {
int64_t v;
};
struct struct9 {
int64_t v1;
int8_t v2;
};
struct struct10 {
int64_t v1;
int16_t v2;
};
struct struct11 {
int64_t v1;
int16_t v2;
int8_t v3;
};
struct struct12 {
int64_t v1;
int32_t v2;
};
struct struct13 {
int64_t v1;
int32_t v2;
int8_t v3;
};
struct struct14 {
int64_t v1;
int32_t v2;
int16_t v3;
};
struct struct15 {
int64_t v1;
int32_t v2;
int16_t v3;
int8_t v4;
};
struct struct16 {
int64_t v1;
int64_t v2;
};
struct struct31 {
int64_t v1;
int64_t v2;
int64_t v3;
int32_t v4;
int16_t v5;
int8_t v6;
};
int64_t pass1(struct struct1 s) {
return s.v;
}
int64_t pass2(struct struct2 s) {
return s.v;
}
int64_t pass3(struct struct3 s) {
return s.v1 + s.v2;
}
int64_t pass4(struct struct4 s) {
return s.v;
}
int64_t pass5(struct struct5 s) {
return s.v1 + s.v2;
}
int64_t pass6(struct struct6 s) {
return s.v1 + s.v2;
}
int64_t pass7(struct struct7 s) {
return s.v1 + s.v2 + s.v3;
}
int64_t pass8(struct struct8 s) {
return s.v;
}
int64_t pass9(struct struct9 s) {
return s.v1 + s.v2;
}
int64_t pass10(struct struct10 s) {
return s.v1 + s.v2;
}
int64_t pass11(struct struct11 s) {
return s.v1 + s.v2 + s.v3;
}
int64_t pass12(struct struct12 s) {
return s.v1 + s.v2;
}
int64_t pass13(struct struct13 s) {
return s.v1 + s.v2 + s.v3;
}
int64_t pass14(struct struct14 s) {
return s.v1 + s.v2 + s.v3;
}
int64_t pass15(struct struct15 s) {
return s.v1 + s.v2 + s.v3 + s.v4;
}
int64_t pass16(struct struct16 s) {
return s.v1 + s.v2;
}
int64_t pass31(struct struct31 s) {
return s.v1 + s.v2 + s.v3 + s.v4 + s.v5 + s.v6;
}
int64_t pass_arr1(struct struct_arr1 s) {
int result = 0, i;
for (i = 0; i < 1; i++)
result += s.v[i];
return result;
}
int64_t pass_arr2(struct struct_arr2 s) {
int result = 0, i;
for (i = 0; i < 2; i++)
result += s.v[i];
return result;
}
int64_t pass_arr3(struct struct_arr3 s) {
int result = 0, i;
for (i = 0; i < 3; i++)
result += s.v[i];
return result;
}
int64_t pass_arr4(struct struct_arr4 s) {
int result = 0, i;
for (i = 0; i < 4; i++)
result += s.v[i];
return result;
}
int64_t pass_arr5(struct struct_arr5 s) {
int result = 0, i;
for (i = 0; i < 5; i++)
result += s.v[i];
return result;
}
int64_t pass_arr6(struct struct_arr6 s) {
int result = 0, i;
for (i = 0; i < 6; i++)
result += s.v[i];
return result;
}
int64_t pass_arr7(struct struct_arr7 s) {
int result = 0, i;
for (i = 0; i < 7; i++)
result += s.v[i];
return result;
}
int64_t pass_arr8(struct struct_arr8 s) {
int result = 0, i;
for (i = 0; i < 8; i++)
result += s.v[i];
return result;
}
int64_t pass_arr9(struct struct_arr9 s) {
int result = 0, i;
for (i = 0; i < 9; i++)
result += s.v[i];
return result;
}
int64_t pass_arr10(struct struct_arr10 s) {
int result = 0, i;
for (i = 0; i < 10; i++)
result += s.v[i];
return result;
}
int64_t pass_arr11(struct struct_arr11 s) {
int result = 0, i;
for (i = 0; i < 11; i++)
result += s.v[i];
return result;
}
int64_t pass_arr15(struct struct_arr15 s) {
int result = 0, i;
for (i = 0; i < 15; i++)
result += s.v[i];
return result;
}
int64_t pass_arr16(struct struct_arr16 s) {
int result = 0, i;
for (i = 0; i < 16; i++)
result += s.v[i];
return result;
}
int64_t pass_arr17(struct struct_arr17 s) {
int result = 0, i;
for (i = 0; i < 17; i++)
result += s.v[i];
return result;
}
int64_t pass_arr27(struct struct_arr27 s) {
int result = 0, i;
for (i = 0; i < 27; i++)
result += s.v[i];
return result;
}
int64_t pass_arr31(struct struct_arr31 s) {
int result = 0, i;
for (i = 0; i < 31; i++)
result += s.v[i];
return result;
}
int64_t pass_arr32(struct struct_arr32 s) {
int result = 0, i;
for (i = 0; i < 32; i++)
result += s.v[i];
return result;
}
int64_t pass_arr33(struct struct_arr33 s) {
int result = 0, i;
for (i = 0; i < 33; i++)
result += s.v[i];
return result;
}
|