1 /*
2 * Copyright (C) by Argonne National Laboratory
3 * See COPYRIGHT in top-level directory
4 *
5 * DO NOT EDIT: AUTOMATICALLY GENERATED FILE !!
6 */
7
8 #include <string.h>
9 #include <stdint.h>
10 #include <wchar.h>
11 #include "yaksuri_seqi_pup.h"
12
yaksuri_seqi_pack_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)13 int yaksuri_seqi_pack_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
14 {
15 int rc = YAKSA_SUCCESS;
16 const char *restrict sbuf = (const char *) inbuf;
17 char *restrict dbuf = (char *) outbuf;
18 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
19
20 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
21
22 int count2 = type->u.resized.child->u.hvector.count;
23 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
24 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
25 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
26
27 uintptr_t idx = 0;
28 for (int i = 0; i < count; i++) {
29 for (int j2 = 0; j2 < count2; j2++) {
30 for (int k2 = 0; k2 < 1; k2++) {
31 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
32 idx += sizeof(int32_t);
33 }
34 }
35 }
36
37 return rc;
38 }
39
yaksuri_seqi_unpack_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)40 int yaksuri_seqi_unpack_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
41 {
42 int rc = YAKSA_SUCCESS;
43 const char *restrict sbuf = (const char *) inbuf;
44 char *restrict dbuf = (char *) outbuf;
45 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
46
47 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
48
49 int count2 = type->u.resized.child->u.hvector.count;
50 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
51 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
52 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
53
54 uintptr_t idx = 0;
55 for (int i = 0; i < count; i++) {
56 for (int j2 = 0; j2 < count2; j2++) {
57 for (int k2 = 0; k2 < 1; k2++) {
58 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
59 idx += sizeof(int32_t);
60 }
61 }
62 }
63
64 return rc;
65 }
66
yaksuri_seqi_pack_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)67 int yaksuri_seqi_pack_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
68 {
69 int rc = YAKSA_SUCCESS;
70 const char *restrict sbuf = (const char *) inbuf;
71 char *restrict dbuf = (char *) outbuf;
72 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
73
74 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
75
76 int count2 = type->u.resized.child->u.hvector.count;
77 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
78 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
79 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
80
81 uintptr_t idx = 0;
82 for (int i = 0; i < count; i++) {
83 for (int j2 = 0; j2 < count2; j2++) {
84 for (int k2 = 0; k2 < 2; k2++) {
85 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
86 idx += sizeof(int32_t);
87 }
88 }
89 }
90
91 return rc;
92 }
93
yaksuri_seqi_unpack_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)94 int yaksuri_seqi_unpack_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
95 {
96 int rc = YAKSA_SUCCESS;
97 const char *restrict sbuf = (const char *) inbuf;
98 char *restrict dbuf = (char *) outbuf;
99 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
100
101 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
102
103 int count2 = type->u.resized.child->u.hvector.count;
104 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
105 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
106 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
107
108 uintptr_t idx = 0;
109 for (int i = 0; i < count; i++) {
110 for (int j2 = 0; j2 < count2; j2++) {
111 for (int k2 = 0; k2 < 2; k2++) {
112 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
113 idx += sizeof(int32_t);
114 }
115 }
116 }
117
118 return rc;
119 }
120
yaksuri_seqi_pack_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)121 int yaksuri_seqi_pack_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
122 {
123 int rc = YAKSA_SUCCESS;
124 const char *restrict sbuf = (const char *) inbuf;
125 char *restrict dbuf = (char *) outbuf;
126 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
127
128 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
129
130 int count2 = type->u.resized.child->u.hvector.count;
131 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
132 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
133 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
134
135 uintptr_t idx = 0;
136 for (int i = 0; i < count; i++) {
137 for (int j2 = 0; j2 < count2; j2++) {
138 for (int k2 = 0; k2 < 3; k2++) {
139 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
140 idx += sizeof(int32_t);
141 }
142 }
143 }
144
145 return rc;
146 }
147
yaksuri_seqi_unpack_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)148 int yaksuri_seqi_unpack_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
149 {
150 int rc = YAKSA_SUCCESS;
151 const char *restrict sbuf = (const char *) inbuf;
152 char *restrict dbuf = (char *) outbuf;
153 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
154
155 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
156
157 int count2 = type->u.resized.child->u.hvector.count;
158 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
159 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
160 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
161
162 uintptr_t idx = 0;
163 for (int i = 0; i < count; i++) {
164 for (int j2 = 0; j2 < count2; j2++) {
165 for (int k2 = 0; k2 < 3; k2++) {
166 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
167 idx += sizeof(int32_t);
168 }
169 }
170 }
171
172 return rc;
173 }
174
yaksuri_seqi_pack_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)175 int yaksuri_seqi_pack_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
176 {
177 int rc = YAKSA_SUCCESS;
178 const char *restrict sbuf = (const char *) inbuf;
179 char *restrict dbuf = (char *) outbuf;
180 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
181
182 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
183
184 int count2 = type->u.resized.child->u.hvector.count;
185 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
186 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
187 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
188
189 uintptr_t idx = 0;
190 for (int i = 0; i < count; i++) {
191 for (int j2 = 0; j2 < count2; j2++) {
192 for (int k2 = 0; k2 < 4; k2++) {
193 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
194 idx += sizeof(int32_t);
195 }
196 }
197 }
198
199 return rc;
200 }
201
yaksuri_seqi_unpack_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)202 int yaksuri_seqi_unpack_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
203 {
204 int rc = YAKSA_SUCCESS;
205 const char *restrict sbuf = (const char *) inbuf;
206 char *restrict dbuf = (char *) outbuf;
207 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
208
209 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
210
211 int count2 = type->u.resized.child->u.hvector.count;
212 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
213 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
214 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
215
216 uintptr_t idx = 0;
217 for (int i = 0; i < count; i++) {
218 for (int j2 = 0; j2 < count2; j2++) {
219 for (int k2 = 0; k2 < 4; k2++) {
220 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
221 idx += sizeof(int32_t);
222 }
223 }
224 }
225
226 return rc;
227 }
228
yaksuri_seqi_pack_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)229 int yaksuri_seqi_pack_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
230 {
231 int rc = YAKSA_SUCCESS;
232 const char *restrict sbuf = (const char *) inbuf;
233 char *restrict dbuf = (char *) outbuf;
234 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
235
236 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
237
238 int count2 = type->u.resized.child->u.hvector.count;
239 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
240 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
241 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
242
243 uintptr_t idx = 0;
244 for (int i = 0; i < count; i++) {
245 for (int j2 = 0; j2 < count2; j2++) {
246 for (int k2 = 0; k2 < 5; k2++) {
247 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
248 idx += sizeof(int32_t);
249 }
250 }
251 }
252
253 return rc;
254 }
255
yaksuri_seqi_unpack_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)256 int yaksuri_seqi_unpack_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
257 {
258 int rc = YAKSA_SUCCESS;
259 const char *restrict sbuf = (const char *) inbuf;
260 char *restrict dbuf = (char *) outbuf;
261 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
262
263 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
264
265 int count2 = type->u.resized.child->u.hvector.count;
266 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
267 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
268 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
269
270 uintptr_t idx = 0;
271 for (int i = 0; i < count; i++) {
272 for (int j2 = 0; j2 < count2; j2++) {
273 for (int k2 = 0; k2 < 5; k2++) {
274 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
275 idx += sizeof(int32_t);
276 }
277 }
278 }
279
280 return rc;
281 }
282
yaksuri_seqi_pack_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)283 int yaksuri_seqi_pack_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
284 {
285 int rc = YAKSA_SUCCESS;
286 const char *restrict sbuf = (const char *) inbuf;
287 char *restrict dbuf = (char *) outbuf;
288 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
289
290 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
291
292 int count2 = type->u.resized.child->u.hvector.count;
293 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
294 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
295 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
296
297 uintptr_t idx = 0;
298 for (int i = 0; i < count; i++) {
299 for (int j2 = 0; j2 < count2; j2++) {
300 for (int k2 = 0; k2 < 6; k2++) {
301 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
302 idx += sizeof(int32_t);
303 }
304 }
305 }
306
307 return rc;
308 }
309
yaksuri_seqi_unpack_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)310 int yaksuri_seqi_unpack_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
311 {
312 int rc = YAKSA_SUCCESS;
313 const char *restrict sbuf = (const char *) inbuf;
314 char *restrict dbuf = (char *) outbuf;
315 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
316
317 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
318
319 int count2 = type->u.resized.child->u.hvector.count;
320 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
321 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
322 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
323
324 uintptr_t idx = 0;
325 for (int i = 0; i < count; i++) {
326 for (int j2 = 0; j2 < count2; j2++) {
327 for (int k2 = 0; k2 < 6; k2++) {
328 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
329 idx += sizeof(int32_t);
330 }
331 }
332 }
333
334 return rc;
335 }
336
yaksuri_seqi_pack_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)337 int yaksuri_seqi_pack_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
338 {
339 int rc = YAKSA_SUCCESS;
340 const char *restrict sbuf = (const char *) inbuf;
341 char *restrict dbuf = (char *) outbuf;
342 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
343
344 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
345
346 int count2 = type->u.resized.child->u.hvector.count;
347 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
348 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
349 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
350
351 uintptr_t idx = 0;
352 for (int i = 0; i < count; i++) {
353 for (int j2 = 0; j2 < count2; j2++) {
354 for (int k2 = 0; k2 < 7; k2++) {
355 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
356 idx += sizeof(int32_t);
357 }
358 }
359 }
360
361 return rc;
362 }
363
yaksuri_seqi_unpack_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)364 int yaksuri_seqi_unpack_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
365 {
366 int rc = YAKSA_SUCCESS;
367 const char *restrict sbuf = (const char *) inbuf;
368 char *restrict dbuf = (char *) outbuf;
369 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
370
371 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
372
373 int count2 = type->u.resized.child->u.hvector.count;
374 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
375 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
376 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
377
378 uintptr_t idx = 0;
379 for (int i = 0; i < count; i++) {
380 for (int j2 = 0; j2 < count2; j2++) {
381 for (int k2 = 0; k2 < 7; k2++) {
382 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
383 idx += sizeof(int32_t);
384 }
385 }
386 }
387
388 return rc;
389 }
390
yaksuri_seqi_pack_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)391 int yaksuri_seqi_pack_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
392 {
393 int rc = YAKSA_SUCCESS;
394 const char *restrict sbuf = (const char *) inbuf;
395 char *restrict dbuf = (char *) outbuf;
396 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
397
398 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
399
400 int count2 = type->u.resized.child->u.hvector.count;
401 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
402 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
403 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
404
405 uintptr_t idx = 0;
406 for (int i = 0; i < count; i++) {
407 for (int j2 = 0; j2 < count2; j2++) {
408 for (int k2 = 0; k2 < 8; k2++) {
409 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
410 idx += sizeof(int32_t);
411 }
412 }
413 }
414
415 return rc;
416 }
417
yaksuri_seqi_unpack_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)418 int yaksuri_seqi_unpack_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
419 {
420 int rc = YAKSA_SUCCESS;
421 const char *restrict sbuf = (const char *) inbuf;
422 char *restrict dbuf = (char *) outbuf;
423 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
424
425 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
426
427 int count2 = type->u.resized.child->u.hvector.count;
428 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
429 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
430 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
431
432 uintptr_t idx = 0;
433 for (int i = 0; i < count; i++) {
434 for (int j2 = 0; j2 < count2; j2++) {
435 for (int k2 = 0; k2 < 8; k2++) {
436 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
437 idx += sizeof(int32_t);
438 }
439 }
440 }
441
442 return rc;
443 }
444
yaksuri_seqi_pack_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)445 int yaksuri_seqi_pack_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
446 {
447 int rc = YAKSA_SUCCESS;
448 const char *restrict sbuf = (const char *) inbuf;
449 char *restrict dbuf = (char *) outbuf;
450 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
451
452 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
453
454 int count2 = type->u.resized.child->u.hvector.count;
455 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
456 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
457 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
458
459 uintptr_t idx = 0;
460 for (int i = 0; i < count; i++) {
461 for (int j2 = 0; j2 < count2; j2++) {
462 for (int k2 = 0; k2 < blocklength2; k2++) {
463 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t)));
464 idx += sizeof(int32_t);
465 }
466 }
467 }
468
469 return rc;
470 }
471
yaksuri_seqi_unpack_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)472 int yaksuri_seqi_unpack_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
473 {
474 int rc = YAKSA_SUCCESS;
475 const char *restrict sbuf = (const char *) inbuf;
476 char *restrict dbuf = (char *) outbuf;
477 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
478
479 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
480
481 int count2 = type->u.resized.child->u.hvector.count;
482 int blocklength2 ATTRIBUTE((unused)) = type->u.resized.child->u.hvector.blocklength;
483 intptr_t stride2 = type->u.resized.child->u.hvector.stride;
484 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
485
486 uintptr_t idx = 0;
487 for (int i = 0; i < count; i++) {
488 for (int j2 = 0; j2 < count2; j2++) {
489 for (int k2 = 0; k2 < blocklength2; k2++) {
490 *((int32_t *) (void *) (dbuf + i * extent + j2 * stride2 + k2 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
491 idx += sizeof(int32_t);
492 }
493 }
494 }
495
496 return rc;
497 }
498
yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)499 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
500 {
501 int rc = YAKSA_SUCCESS;
502 const char *restrict sbuf = (const char *) inbuf;
503 char *restrict dbuf = (char *) outbuf;
504 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
505
506 int count1 = type->u.hvector.count;
507 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
508 intptr_t stride1 = type->u.hvector.stride;
509 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
510
511 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
512
513 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
514 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
515 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
516 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
517
518 uintptr_t idx = 0;
519 for (int i = 0; i < count; i++) {
520 for (int j1 = 0; j1 < count1; j1++) {
521 for (int k1 = 0; k1 < blocklength1; k1++) {
522 for (int j3 = 0; j3 < count3; j3++) {
523 for (int k3 = 0; k3 < 1; k3++) {
524 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
525 idx += sizeof(int32_t);
526 }
527 }
528 }
529 }
530 }
531
532 return rc;
533 }
534
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)535 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
536 {
537 int rc = YAKSA_SUCCESS;
538 const char *restrict sbuf = (const char *) inbuf;
539 char *restrict dbuf = (char *) outbuf;
540 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
541
542 int count1 = type->u.hvector.count;
543 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
544 intptr_t stride1 = type->u.hvector.stride;
545 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
546
547 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
548
549 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
550 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
551 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
552 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
553
554 uintptr_t idx = 0;
555 for (int i = 0; i < count; i++) {
556 for (int j1 = 0; j1 < count1; j1++) {
557 for (int k1 = 0; k1 < blocklength1; k1++) {
558 for (int j3 = 0; j3 < count3; j3++) {
559 for (int k3 = 0; k3 < 1; k3++) {
560 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
561 idx += sizeof(int32_t);
562 }
563 }
564 }
565 }
566 }
567
568 return rc;
569 }
570
yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)571 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
572 {
573 int rc = YAKSA_SUCCESS;
574 const char *restrict sbuf = (const char *) inbuf;
575 char *restrict dbuf = (char *) outbuf;
576 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
577
578 int count1 = type->u.hvector.count;
579 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
580 intptr_t stride1 = type->u.hvector.stride;
581 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
582
583 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
584
585 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
586 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
587 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
588 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
589
590 uintptr_t idx = 0;
591 for (int i = 0; i < count; i++) {
592 for (int j1 = 0; j1 < count1; j1++) {
593 for (int k1 = 0; k1 < blocklength1; k1++) {
594 for (int j3 = 0; j3 < count3; j3++) {
595 for (int k3 = 0; k3 < 2; k3++) {
596 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
597 idx += sizeof(int32_t);
598 }
599 }
600 }
601 }
602 }
603
604 return rc;
605 }
606
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)607 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
608 {
609 int rc = YAKSA_SUCCESS;
610 const char *restrict sbuf = (const char *) inbuf;
611 char *restrict dbuf = (char *) outbuf;
612 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
613
614 int count1 = type->u.hvector.count;
615 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
616 intptr_t stride1 = type->u.hvector.stride;
617 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
618
619 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
620
621 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
622 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
623 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
624 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
625
626 uintptr_t idx = 0;
627 for (int i = 0; i < count; i++) {
628 for (int j1 = 0; j1 < count1; j1++) {
629 for (int k1 = 0; k1 < blocklength1; k1++) {
630 for (int j3 = 0; j3 < count3; j3++) {
631 for (int k3 = 0; k3 < 2; k3++) {
632 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
633 idx += sizeof(int32_t);
634 }
635 }
636 }
637 }
638 }
639
640 return rc;
641 }
642
yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)643 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
644 {
645 int rc = YAKSA_SUCCESS;
646 const char *restrict sbuf = (const char *) inbuf;
647 char *restrict dbuf = (char *) outbuf;
648 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
649
650 int count1 = type->u.hvector.count;
651 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
652 intptr_t stride1 = type->u.hvector.stride;
653 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
654
655 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
656
657 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
658 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
659 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
660 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
661
662 uintptr_t idx = 0;
663 for (int i = 0; i < count; i++) {
664 for (int j1 = 0; j1 < count1; j1++) {
665 for (int k1 = 0; k1 < blocklength1; k1++) {
666 for (int j3 = 0; j3 < count3; j3++) {
667 for (int k3 = 0; k3 < 3; k3++) {
668 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
669 idx += sizeof(int32_t);
670 }
671 }
672 }
673 }
674 }
675
676 return rc;
677 }
678
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)679 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
680 {
681 int rc = YAKSA_SUCCESS;
682 const char *restrict sbuf = (const char *) inbuf;
683 char *restrict dbuf = (char *) outbuf;
684 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
685
686 int count1 = type->u.hvector.count;
687 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
688 intptr_t stride1 = type->u.hvector.stride;
689 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
690
691 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
692
693 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
694 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
695 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
696 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
697
698 uintptr_t idx = 0;
699 for (int i = 0; i < count; i++) {
700 for (int j1 = 0; j1 < count1; j1++) {
701 for (int k1 = 0; k1 < blocklength1; k1++) {
702 for (int j3 = 0; j3 < count3; j3++) {
703 for (int k3 = 0; k3 < 3; k3++) {
704 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
705 idx += sizeof(int32_t);
706 }
707 }
708 }
709 }
710 }
711
712 return rc;
713 }
714
yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)715 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
716 {
717 int rc = YAKSA_SUCCESS;
718 const char *restrict sbuf = (const char *) inbuf;
719 char *restrict dbuf = (char *) outbuf;
720 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
721
722 int count1 = type->u.hvector.count;
723 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
724 intptr_t stride1 = type->u.hvector.stride;
725 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
726
727 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
728
729 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
730 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
731 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
732 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
733
734 uintptr_t idx = 0;
735 for (int i = 0; i < count; i++) {
736 for (int j1 = 0; j1 < count1; j1++) {
737 for (int k1 = 0; k1 < blocklength1; k1++) {
738 for (int j3 = 0; j3 < count3; j3++) {
739 for (int k3 = 0; k3 < 4; k3++) {
740 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
741 idx += sizeof(int32_t);
742 }
743 }
744 }
745 }
746 }
747
748 return rc;
749 }
750
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)751 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
752 {
753 int rc = YAKSA_SUCCESS;
754 const char *restrict sbuf = (const char *) inbuf;
755 char *restrict dbuf = (char *) outbuf;
756 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
757
758 int count1 = type->u.hvector.count;
759 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
760 intptr_t stride1 = type->u.hvector.stride;
761 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
762
763 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
764
765 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
766 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
767 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
768 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
769
770 uintptr_t idx = 0;
771 for (int i = 0; i < count; i++) {
772 for (int j1 = 0; j1 < count1; j1++) {
773 for (int k1 = 0; k1 < blocklength1; k1++) {
774 for (int j3 = 0; j3 < count3; j3++) {
775 for (int k3 = 0; k3 < 4; k3++) {
776 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
777 idx += sizeof(int32_t);
778 }
779 }
780 }
781 }
782 }
783
784 return rc;
785 }
786
yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)787 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
788 {
789 int rc = YAKSA_SUCCESS;
790 const char *restrict sbuf = (const char *) inbuf;
791 char *restrict dbuf = (char *) outbuf;
792 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
793
794 int count1 = type->u.hvector.count;
795 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
796 intptr_t stride1 = type->u.hvector.stride;
797 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
798
799 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
800
801 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
802 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
803 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
804 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
805
806 uintptr_t idx = 0;
807 for (int i = 0; i < count; i++) {
808 for (int j1 = 0; j1 < count1; j1++) {
809 for (int k1 = 0; k1 < blocklength1; k1++) {
810 for (int j3 = 0; j3 < count3; j3++) {
811 for (int k3 = 0; k3 < 5; k3++) {
812 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
813 idx += sizeof(int32_t);
814 }
815 }
816 }
817 }
818 }
819
820 return rc;
821 }
822
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)823 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
824 {
825 int rc = YAKSA_SUCCESS;
826 const char *restrict sbuf = (const char *) inbuf;
827 char *restrict dbuf = (char *) outbuf;
828 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
829
830 int count1 = type->u.hvector.count;
831 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
832 intptr_t stride1 = type->u.hvector.stride;
833 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
834
835 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
836
837 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
838 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
839 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
840 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
841
842 uintptr_t idx = 0;
843 for (int i = 0; i < count; i++) {
844 for (int j1 = 0; j1 < count1; j1++) {
845 for (int k1 = 0; k1 < blocklength1; k1++) {
846 for (int j3 = 0; j3 < count3; j3++) {
847 for (int k3 = 0; k3 < 5; k3++) {
848 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
849 idx += sizeof(int32_t);
850 }
851 }
852 }
853 }
854 }
855
856 return rc;
857 }
858
yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)859 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
860 {
861 int rc = YAKSA_SUCCESS;
862 const char *restrict sbuf = (const char *) inbuf;
863 char *restrict dbuf = (char *) outbuf;
864 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
865
866 int count1 = type->u.hvector.count;
867 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
868 intptr_t stride1 = type->u.hvector.stride;
869 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
870
871 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
872
873 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
874 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
875 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
876 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
877
878 uintptr_t idx = 0;
879 for (int i = 0; i < count; i++) {
880 for (int j1 = 0; j1 < count1; j1++) {
881 for (int k1 = 0; k1 < blocklength1; k1++) {
882 for (int j3 = 0; j3 < count3; j3++) {
883 for (int k3 = 0; k3 < 6; k3++) {
884 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
885 idx += sizeof(int32_t);
886 }
887 }
888 }
889 }
890 }
891
892 return rc;
893 }
894
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)895 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
896 {
897 int rc = YAKSA_SUCCESS;
898 const char *restrict sbuf = (const char *) inbuf;
899 char *restrict dbuf = (char *) outbuf;
900 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
901
902 int count1 = type->u.hvector.count;
903 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
904 intptr_t stride1 = type->u.hvector.stride;
905 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
906
907 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
908
909 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
910 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
911 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
912 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
913
914 uintptr_t idx = 0;
915 for (int i = 0; i < count; i++) {
916 for (int j1 = 0; j1 < count1; j1++) {
917 for (int k1 = 0; k1 < blocklength1; k1++) {
918 for (int j3 = 0; j3 < count3; j3++) {
919 for (int k3 = 0; k3 < 6; k3++) {
920 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
921 idx += sizeof(int32_t);
922 }
923 }
924 }
925 }
926 }
927
928 return rc;
929 }
930
yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)931 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
932 {
933 int rc = YAKSA_SUCCESS;
934 const char *restrict sbuf = (const char *) inbuf;
935 char *restrict dbuf = (char *) outbuf;
936 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
937
938 int count1 = type->u.hvector.count;
939 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
940 intptr_t stride1 = type->u.hvector.stride;
941 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
942
943 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
944
945 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
946 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
947 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
948 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
949
950 uintptr_t idx = 0;
951 for (int i = 0; i < count; i++) {
952 for (int j1 = 0; j1 < count1; j1++) {
953 for (int k1 = 0; k1 < blocklength1; k1++) {
954 for (int j3 = 0; j3 < count3; j3++) {
955 for (int k3 = 0; k3 < 7; k3++) {
956 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
957 idx += sizeof(int32_t);
958 }
959 }
960 }
961 }
962 }
963
964 return rc;
965 }
966
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)967 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
968 {
969 int rc = YAKSA_SUCCESS;
970 const char *restrict sbuf = (const char *) inbuf;
971 char *restrict dbuf = (char *) outbuf;
972 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
973
974 int count1 = type->u.hvector.count;
975 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
976 intptr_t stride1 = type->u.hvector.stride;
977 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
978
979 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
980
981 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
982 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
983 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
984 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
985
986 uintptr_t idx = 0;
987 for (int i = 0; i < count; i++) {
988 for (int j1 = 0; j1 < count1; j1++) {
989 for (int k1 = 0; k1 < blocklength1; k1++) {
990 for (int j3 = 0; j3 < count3; j3++) {
991 for (int k3 = 0; k3 < 7; k3++) {
992 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
993 idx += sizeof(int32_t);
994 }
995 }
996 }
997 }
998 }
999
1000 return rc;
1001 }
1002
yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1003 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1004 {
1005 int rc = YAKSA_SUCCESS;
1006 const char *restrict sbuf = (const char *) inbuf;
1007 char *restrict dbuf = (char *) outbuf;
1008 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1009
1010 int count1 = type->u.hvector.count;
1011 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
1012 intptr_t stride1 = type->u.hvector.stride;
1013 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1014
1015 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
1016
1017 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
1018 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
1019 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
1020 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
1021
1022 uintptr_t idx = 0;
1023 for (int i = 0; i < count; i++) {
1024 for (int j1 = 0; j1 < count1; j1++) {
1025 for (int k1 = 0; k1 < blocklength1; k1++) {
1026 for (int j3 = 0; j3 < count3; j3++) {
1027 for (int k3 = 0; k3 < 8; k3++) {
1028 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1029 idx += sizeof(int32_t);
1030 }
1031 }
1032 }
1033 }
1034 }
1035
1036 return rc;
1037 }
1038
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1039 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1040 {
1041 int rc = YAKSA_SUCCESS;
1042 const char *restrict sbuf = (const char *) inbuf;
1043 char *restrict dbuf = (char *) outbuf;
1044 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1045
1046 int count1 = type->u.hvector.count;
1047 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
1048 intptr_t stride1 = type->u.hvector.stride;
1049 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1050
1051 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
1052
1053 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
1054 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
1055 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
1056 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
1057
1058 uintptr_t idx = 0;
1059 for (int i = 0; i < count; i++) {
1060 for (int j1 = 0; j1 < count1; j1++) {
1061 for (int k1 = 0; k1 < blocklength1; k1++) {
1062 for (int j3 = 0; j3 < count3; j3++) {
1063 for (int k3 = 0; k3 < 8; k3++) {
1064 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1065 idx += sizeof(int32_t);
1066 }
1067 }
1068 }
1069 }
1070 }
1071
1072 return rc;
1073 }
1074
yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1075 int yaksuri_seqi_pack_hvector_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1076 {
1077 int rc = YAKSA_SUCCESS;
1078 const char *restrict sbuf = (const char *) inbuf;
1079 char *restrict dbuf = (char *) outbuf;
1080 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1081
1082 int count1 = type->u.hvector.count;
1083 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
1084 intptr_t stride1 = type->u.hvector.stride;
1085 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1086
1087 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
1088
1089 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
1090 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
1091 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
1092 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
1093
1094 uintptr_t idx = 0;
1095 for (int i = 0; i < count; i++) {
1096 for (int j1 = 0; j1 < count1; j1++) {
1097 for (int k1 = 0; k1 < blocklength1; k1++) {
1098 for (int j3 = 0; j3 < count3; j3++) {
1099 for (int k3 = 0; k3 < blocklength3; k3++) {
1100 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1101 idx += sizeof(int32_t);
1102 }
1103 }
1104 }
1105 }
1106 }
1107
1108 return rc;
1109 }
1110
yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1111 int yaksuri_seqi_unpack_hvector_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1112 {
1113 int rc = YAKSA_SUCCESS;
1114 const char *restrict sbuf = (const char *) inbuf;
1115 char *restrict dbuf = (char *) outbuf;
1116 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1117
1118 int count1 = type->u.hvector.count;
1119 int blocklength1 ATTRIBUTE((unused)) = type->u.hvector.blocklength;
1120 intptr_t stride1 = type->u.hvector.stride;
1121 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1122
1123 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hvector.child->extent;
1124
1125 int count3 = type->u.hvector.child->u.resized.child->u.hvector.count;
1126 int blocklength3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->u.hvector.blocklength;
1127 intptr_t stride3 = type->u.hvector.child->u.resized.child->u.hvector.stride;
1128 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hvector.child->u.resized.child->extent;
1129
1130 uintptr_t idx = 0;
1131 for (int i = 0; i < count; i++) {
1132 for (int j1 = 0; j1 < count1; j1++) {
1133 for (int k1 = 0; k1 < blocklength1; k1++) {
1134 for (int j3 = 0; j3 < count3; j3++) {
1135 for (int k3 = 0; k3 < blocklength3; k3++) {
1136 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1137 idx += sizeof(int32_t);
1138 }
1139 }
1140 }
1141 }
1142 }
1143
1144 return rc;
1145 }
1146
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1147 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1148 {
1149 int rc = YAKSA_SUCCESS;
1150 const char *restrict sbuf = (const char *) inbuf;
1151 char *restrict dbuf = (char *) outbuf;
1152 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1153
1154 int count1 = type->u.blkhindx.count;
1155 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1156 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1157 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1158
1159 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1160
1161 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1162 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1163 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1164 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1165
1166 uintptr_t idx = 0;
1167 for (int i = 0; i < count; i++) {
1168 for (int j1 = 0; j1 < count1; j1++) {
1169 for (int k1 = 0; k1 < blocklength1; k1++) {
1170 for (int j3 = 0; j3 < count3; j3++) {
1171 for (int k3 = 0; k3 < 1; k3++) {
1172 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1173 idx += sizeof(int32_t);
1174 }
1175 }
1176 }
1177 }
1178 }
1179
1180 return rc;
1181 }
1182
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1183 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1184 {
1185 int rc = YAKSA_SUCCESS;
1186 const char *restrict sbuf = (const char *) inbuf;
1187 char *restrict dbuf = (char *) outbuf;
1188 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1189
1190 int count1 = type->u.blkhindx.count;
1191 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1192 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1193 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1194
1195 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1196
1197 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1198 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1199 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1200 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1201
1202 uintptr_t idx = 0;
1203 for (int i = 0; i < count; i++) {
1204 for (int j1 = 0; j1 < count1; j1++) {
1205 for (int k1 = 0; k1 < blocklength1; k1++) {
1206 for (int j3 = 0; j3 < count3; j3++) {
1207 for (int k3 = 0; k3 < 1; k3++) {
1208 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1209 idx += sizeof(int32_t);
1210 }
1211 }
1212 }
1213 }
1214 }
1215
1216 return rc;
1217 }
1218
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1219 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1220 {
1221 int rc = YAKSA_SUCCESS;
1222 const char *restrict sbuf = (const char *) inbuf;
1223 char *restrict dbuf = (char *) outbuf;
1224 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1225
1226 int count1 = type->u.blkhindx.count;
1227 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1228 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1229 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1230
1231 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1232
1233 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1234 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1235 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1236 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1237
1238 uintptr_t idx = 0;
1239 for (int i = 0; i < count; i++) {
1240 for (int j1 = 0; j1 < count1; j1++) {
1241 for (int k1 = 0; k1 < blocklength1; k1++) {
1242 for (int j3 = 0; j3 < count3; j3++) {
1243 for (int k3 = 0; k3 < 2; k3++) {
1244 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1245 idx += sizeof(int32_t);
1246 }
1247 }
1248 }
1249 }
1250 }
1251
1252 return rc;
1253 }
1254
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1255 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1256 {
1257 int rc = YAKSA_SUCCESS;
1258 const char *restrict sbuf = (const char *) inbuf;
1259 char *restrict dbuf = (char *) outbuf;
1260 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1261
1262 int count1 = type->u.blkhindx.count;
1263 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1264 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1265 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1266
1267 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1268
1269 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1270 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1271 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1272 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1273
1274 uintptr_t idx = 0;
1275 for (int i = 0; i < count; i++) {
1276 for (int j1 = 0; j1 < count1; j1++) {
1277 for (int k1 = 0; k1 < blocklength1; k1++) {
1278 for (int j3 = 0; j3 < count3; j3++) {
1279 for (int k3 = 0; k3 < 2; k3++) {
1280 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1281 idx += sizeof(int32_t);
1282 }
1283 }
1284 }
1285 }
1286 }
1287
1288 return rc;
1289 }
1290
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1291 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1292 {
1293 int rc = YAKSA_SUCCESS;
1294 const char *restrict sbuf = (const char *) inbuf;
1295 char *restrict dbuf = (char *) outbuf;
1296 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1297
1298 int count1 = type->u.blkhindx.count;
1299 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1300 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1301 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1302
1303 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1304
1305 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1306 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1307 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1308 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1309
1310 uintptr_t idx = 0;
1311 for (int i = 0; i < count; i++) {
1312 for (int j1 = 0; j1 < count1; j1++) {
1313 for (int k1 = 0; k1 < blocklength1; k1++) {
1314 for (int j3 = 0; j3 < count3; j3++) {
1315 for (int k3 = 0; k3 < 3; k3++) {
1316 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1317 idx += sizeof(int32_t);
1318 }
1319 }
1320 }
1321 }
1322 }
1323
1324 return rc;
1325 }
1326
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1327 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1328 {
1329 int rc = YAKSA_SUCCESS;
1330 const char *restrict sbuf = (const char *) inbuf;
1331 char *restrict dbuf = (char *) outbuf;
1332 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1333
1334 int count1 = type->u.blkhindx.count;
1335 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1336 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1337 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1338
1339 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1340
1341 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1342 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1343 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1344 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1345
1346 uintptr_t idx = 0;
1347 for (int i = 0; i < count; i++) {
1348 for (int j1 = 0; j1 < count1; j1++) {
1349 for (int k1 = 0; k1 < blocklength1; k1++) {
1350 for (int j3 = 0; j3 < count3; j3++) {
1351 for (int k3 = 0; k3 < 3; k3++) {
1352 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1353 idx += sizeof(int32_t);
1354 }
1355 }
1356 }
1357 }
1358 }
1359
1360 return rc;
1361 }
1362
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1363 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1364 {
1365 int rc = YAKSA_SUCCESS;
1366 const char *restrict sbuf = (const char *) inbuf;
1367 char *restrict dbuf = (char *) outbuf;
1368 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1369
1370 int count1 = type->u.blkhindx.count;
1371 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1372 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1373 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1374
1375 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1376
1377 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1378 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1379 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1380 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1381
1382 uintptr_t idx = 0;
1383 for (int i = 0; i < count; i++) {
1384 for (int j1 = 0; j1 < count1; j1++) {
1385 for (int k1 = 0; k1 < blocklength1; k1++) {
1386 for (int j3 = 0; j3 < count3; j3++) {
1387 for (int k3 = 0; k3 < 4; k3++) {
1388 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1389 idx += sizeof(int32_t);
1390 }
1391 }
1392 }
1393 }
1394 }
1395
1396 return rc;
1397 }
1398
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1399 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1400 {
1401 int rc = YAKSA_SUCCESS;
1402 const char *restrict sbuf = (const char *) inbuf;
1403 char *restrict dbuf = (char *) outbuf;
1404 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1405
1406 int count1 = type->u.blkhindx.count;
1407 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1408 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1409 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1410
1411 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1412
1413 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1414 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1415 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1416 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1417
1418 uintptr_t idx = 0;
1419 for (int i = 0; i < count; i++) {
1420 for (int j1 = 0; j1 < count1; j1++) {
1421 for (int k1 = 0; k1 < blocklength1; k1++) {
1422 for (int j3 = 0; j3 < count3; j3++) {
1423 for (int k3 = 0; k3 < 4; k3++) {
1424 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1425 idx += sizeof(int32_t);
1426 }
1427 }
1428 }
1429 }
1430 }
1431
1432 return rc;
1433 }
1434
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1435 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1436 {
1437 int rc = YAKSA_SUCCESS;
1438 const char *restrict sbuf = (const char *) inbuf;
1439 char *restrict dbuf = (char *) outbuf;
1440 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1441
1442 int count1 = type->u.blkhindx.count;
1443 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1444 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1445 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1446
1447 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1448
1449 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1450 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1451 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1452 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1453
1454 uintptr_t idx = 0;
1455 for (int i = 0; i < count; i++) {
1456 for (int j1 = 0; j1 < count1; j1++) {
1457 for (int k1 = 0; k1 < blocklength1; k1++) {
1458 for (int j3 = 0; j3 < count3; j3++) {
1459 for (int k3 = 0; k3 < 5; k3++) {
1460 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1461 idx += sizeof(int32_t);
1462 }
1463 }
1464 }
1465 }
1466 }
1467
1468 return rc;
1469 }
1470
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1471 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1472 {
1473 int rc = YAKSA_SUCCESS;
1474 const char *restrict sbuf = (const char *) inbuf;
1475 char *restrict dbuf = (char *) outbuf;
1476 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1477
1478 int count1 = type->u.blkhindx.count;
1479 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1480 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1481 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1482
1483 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1484
1485 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1486 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1487 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1488 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1489
1490 uintptr_t idx = 0;
1491 for (int i = 0; i < count; i++) {
1492 for (int j1 = 0; j1 < count1; j1++) {
1493 for (int k1 = 0; k1 < blocklength1; k1++) {
1494 for (int j3 = 0; j3 < count3; j3++) {
1495 for (int k3 = 0; k3 < 5; k3++) {
1496 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1497 idx += sizeof(int32_t);
1498 }
1499 }
1500 }
1501 }
1502 }
1503
1504 return rc;
1505 }
1506
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1507 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1508 {
1509 int rc = YAKSA_SUCCESS;
1510 const char *restrict sbuf = (const char *) inbuf;
1511 char *restrict dbuf = (char *) outbuf;
1512 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1513
1514 int count1 = type->u.blkhindx.count;
1515 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1516 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1517 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1518
1519 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1520
1521 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1522 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1523 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1524 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1525
1526 uintptr_t idx = 0;
1527 for (int i = 0; i < count; i++) {
1528 for (int j1 = 0; j1 < count1; j1++) {
1529 for (int k1 = 0; k1 < blocklength1; k1++) {
1530 for (int j3 = 0; j3 < count3; j3++) {
1531 for (int k3 = 0; k3 < 6; k3++) {
1532 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1533 idx += sizeof(int32_t);
1534 }
1535 }
1536 }
1537 }
1538 }
1539
1540 return rc;
1541 }
1542
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1543 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1544 {
1545 int rc = YAKSA_SUCCESS;
1546 const char *restrict sbuf = (const char *) inbuf;
1547 char *restrict dbuf = (char *) outbuf;
1548 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1549
1550 int count1 = type->u.blkhindx.count;
1551 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1552 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1553 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1554
1555 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1556
1557 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1558 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1559 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1560 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1561
1562 uintptr_t idx = 0;
1563 for (int i = 0; i < count; i++) {
1564 for (int j1 = 0; j1 < count1; j1++) {
1565 for (int k1 = 0; k1 < blocklength1; k1++) {
1566 for (int j3 = 0; j3 < count3; j3++) {
1567 for (int k3 = 0; k3 < 6; k3++) {
1568 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1569 idx += sizeof(int32_t);
1570 }
1571 }
1572 }
1573 }
1574 }
1575
1576 return rc;
1577 }
1578
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1579 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1580 {
1581 int rc = YAKSA_SUCCESS;
1582 const char *restrict sbuf = (const char *) inbuf;
1583 char *restrict dbuf = (char *) outbuf;
1584 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1585
1586 int count1 = type->u.blkhindx.count;
1587 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1588 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1589 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1590
1591 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1592
1593 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1594 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1595 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1596 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1597
1598 uintptr_t idx = 0;
1599 for (int i = 0; i < count; i++) {
1600 for (int j1 = 0; j1 < count1; j1++) {
1601 for (int k1 = 0; k1 < blocklength1; k1++) {
1602 for (int j3 = 0; j3 < count3; j3++) {
1603 for (int k3 = 0; k3 < 7; k3++) {
1604 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1605 idx += sizeof(int32_t);
1606 }
1607 }
1608 }
1609 }
1610 }
1611
1612 return rc;
1613 }
1614
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1615 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1616 {
1617 int rc = YAKSA_SUCCESS;
1618 const char *restrict sbuf = (const char *) inbuf;
1619 char *restrict dbuf = (char *) outbuf;
1620 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1621
1622 int count1 = type->u.blkhindx.count;
1623 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1624 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1625 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1626
1627 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1628
1629 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1630 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1631 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1632 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1633
1634 uintptr_t idx = 0;
1635 for (int i = 0; i < count; i++) {
1636 for (int j1 = 0; j1 < count1; j1++) {
1637 for (int k1 = 0; k1 < blocklength1; k1++) {
1638 for (int j3 = 0; j3 < count3; j3++) {
1639 for (int k3 = 0; k3 < 7; k3++) {
1640 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1641 idx += sizeof(int32_t);
1642 }
1643 }
1644 }
1645 }
1646 }
1647
1648 return rc;
1649 }
1650
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1651 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1652 {
1653 int rc = YAKSA_SUCCESS;
1654 const char *restrict sbuf = (const char *) inbuf;
1655 char *restrict dbuf = (char *) outbuf;
1656 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1657
1658 int count1 = type->u.blkhindx.count;
1659 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1660 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1661 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1662
1663 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1664
1665 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1666 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1667 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1668 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1669
1670 uintptr_t idx = 0;
1671 for (int i = 0; i < count; i++) {
1672 for (int j1 = 0; j1 < count1; j1++) {
1673 for (int k1 = 0; k1 < blocklength1; k1++) {
1674 for (int j3 = 0; j3 < count3; j3++) {
1675 for (int k3 = 0; k3 < 8; k3++) {
1676 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1677 idx += sizeof(int32_t);
1678 }
1679 }
1680 }
1681 }
1682 }
1683
1684 return rc;
1685 }
1686
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1687 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1688 {
1689 int rc = YAKSA_SUCCESS;
1690 const char *restrict sbuf = (const char *) inbuf;
1691 char *restrict dbuf = (char *) outbuf;
1692 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1693
1694 int count1 = type->u.blkhindx.count;
1695 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1696 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1697 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1698
1699 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1700
1701 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1702 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1703 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1704 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1705
1706 uintptr_t idx = 0;
1707 for (int i = 0; i < count; i++) {
1708 for (int j1 = 0; j1 < count1; j1++) {
1709 for (int k1 = 0; k1 < blocklength1; k1++) {
1710 for (int j3 = 0; j3 < count3; j3++) {
1711 for (int k3 = 0; k3 < 8; k3++) {
1712 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1713 idx += sizeof(int32_t);
1714 }
1715 }
1716 }
1717 }
1718 }
1719
1720 return rc;
1721 }
1722
yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1723 int yaksuri_seqi_pack_blkhindx_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1724 {
1725 int rc = YAKSA_SUCCESS;
1726 const char *restrict sbuf = (const char *) inbuf;
1727 char *restrict dbuf = (char *) outbuf;
1728 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1729
1730 int count1 = type->u.blkhindx.count;
1731 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1732 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1733 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1734
1735 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1736
1737 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1738 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1739 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1740 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1741
1742 uintptr_t idx = 0;
1743 for (int i = 0; i < count; i++) {
1744 for (int j1 = 0; j1 < count1; j1++) {
1745 for (int k1 = 0; k1 < blocklength1; k1++) {
1746 for (int j3 = 0; j3 < count3; j3++) {
1747 for (int k3 = 0; k3 < blocklength3; k3++) {
1748 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1749 idx += sizeof(int32_t);
1750 }
1751 }
1752 }
1753 }
1754 }
1755
1756 return rc;
1757 }
1758
yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1759 int yaksuri_seqi_unpack_blkhindx_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1760 {
1761 int rc = YAKSA_SUCCESS;
1762 const char *restrict sbuf = (const char *) inbuf;
1763 char *restrict dbuf = (char *) outbuf;
1764 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1765
1766 int count1 = type->u.blkhindx.count;
1767 int blocklength1 ATTRIBUTE((unused)) = type->u.blkhindx.blocklength;
1768 intptr_t *restrict array_of_displs1 = type->u.blkhindx.array_of_displs;
1769 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1770
1771 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.blkhindx.child->extent;
1772
1773 int count3 = type->u.blkhindx.child->u.resized.child->u.hvector.count;
1774 int blocklength3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->u.hvector.blocklength;
1775 intptr_t stride3 = type->u.blkhindx.child->u.resized.child->u.hvector.stride;
1776 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.blkhindx.child->u.resized.child->extent;
1777
1778 uintptr_t idx = 0;
1779 for (int i = 0; i < count; i++) {
1780 for (int j1 = 0; j1 < count1; j1++) {
1781 for (int k1 = 0; k1 < blocklength1; k1++) {
1782 for (int j3 = 0; j3 < count3; j3++) {
1783 for (int k3 = 0; k3 < blocklength3; k3++) {
1784 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1785 idx += sizeof(int32_t);
1786 }
1787 }
1788 }
1789 }
1790 }
1791
1792 return rc;
1793 }
1794
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1795 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1796 {
1797 int rc = YAKSA_SUCCESS;
1798 const char *restrict sbuf = (const char *) inbuf;
1799 char *restrict dbuf = (char *) outbuf;
1800 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1801
1802 int count1 = type->u.hindexed.count;
1803 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1804 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1805 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1806
1807 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1808
1809 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1810 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1811 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1812 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1813
1814 uintptr_t idx = 0;
1815 for (int i = 0; i < count; i++) {
1816 for (int j1 = 0; j1 < count1; j1++) {
1817 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1818 for (int j3 = 0; j3 < count3; j3++) {
1819 for (int k3 = 0; k3 < 1; k3++) {
1820 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1821 idx += sizeof(int32_t);
1822 }
1823 }
1824 }
1825 }
1826 }
1827
1828 return rc;
1829 }
1830
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1831 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1832 {
1833 int rc = YAKSA_SUCCESS;
1834 const char *restrict sbuf = (const char *) inbuf;
1835 char *restrict dbuf = (char *) outbuf;
1836 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1837
1838 int count1 = type->u.hindexed.count;
1839 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1840 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1841 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1842
1843 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1844
1845 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1846 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1847 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1848 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1849
1850 uintptr_t idx = 0;
1851 for (int i = 0; i < count; i++) {
1852 for (int j1 = 0; j1 < count1; j1++) {
1853 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1854 for (int j3 = 0; j3 < count3; j3++) {
1855 for (int k3 = 0; k3 < 1; k3++) {
1856 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1857 idx += sizeof(int32_t);
1858 }
1859 }
1860 }
1861 }
1862 }
1863
1864 return rc;
1865 }
1866
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1867 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1868 {
1869 int rc = YAKSA_SUCCESS;
1870 const char *restrict sbuf = (const char *) inbuf;
1871 char *restrict dbuf = (char *) outbuf;
1872 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1873
1874 int count1 = type->u.hindexed.count;
1875 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1876 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1877 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1878
1879 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1880
1881 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1882 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1883 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1884 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1885
1886 uintptr_t idx = 0;
1887 for (int i = 0; i < count; i++) {
1888 for (int j1 = 0; j1 < count1; j1++) {
1889 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1890 for (int j3 = 0; j3 < count3; j3++) {
1891 for (int k3 = 0; k3 < 2; k3++) {
1892 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1893 idx += sizeof(int32_t);
1894 }
1895 }
1896 }
1897 }
1898 }
1899
1900 return rc;
1901 }
1902
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1903 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1904 {
1905 int rc = YAKSA_SUCCESS;
1906 const char *restrict sbuf = (const char *) inbuf;
1907 char *restrict dbuf = (char *) outbuf;
1908 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1909
1910 int count1 = type->u.hindexed.count;
1911 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1912 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1913 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1914
1915 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1916
1917 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1918 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1919 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1920 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1921
1922 uintptr_t idx = 0;
1923 for (int i = 0; i < count; i++) {
1924 for (int j1 = 0; j1 < count1; j1++) {
1925 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1926 for (int j3 = 0; j3 < count3; j3++) {
1927 for (int k3 = 0; k3 < 2; k3++) {
1928 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
1929 idx += sizeof(int32_t);
1930 }
1931 }
1932 }
1933 }
1934 }
1935
1936 return rc;
1937 }
1938
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1939 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1940 {
1941 int rc = YAKSA_SUCCESS;
1942 const char *restrict sbuf = (const char *) inbuf;
1943 char *restrict dbuf = (char *) outbuf;
1944 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1945
1946 int count1 = type->u.hindexed.count;
1947 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1948 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1949 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1950
1951 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1952
1953 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1954 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1955 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1956 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1957
1958 uintptr_t idx = 0;
1959 for (int i = 0; i < count; i++) {
1960 for (int j1 = 0; j1 < count1; j1++) {
1961 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1962 for (int j3 = 0; j3 < count3; j3++) {
1963 for (int k3 = 0; k3 < 3; k3++) {
1964 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
1965 idx += sizeof(int32_t);
1966 }
1967 }
1968 }
1969 }
1970 }
1971
1972 return rc;
1973 }
1974
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)1975 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
1976 {
1977 int rc = YAKSA_SUCCESS;
1978 const char *restrict sbuf = (const char *) inbuf;
1979 char *restrict dbuf = (char *) outbuf;
1980 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
1981
1982 int count1 = type->u.hindexed.count;
1983 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
1984 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
1985 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
1986
1987 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
1988
1989 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
1990 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
1991 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
1992 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
1993
1994 uintptr_t idx = 0;
1995 for (int i = 0; i < count; i++) {
1996 for (int j1 = 0; j1 < count1; j1++) {
1997 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
1998 for (int j3 = 0; j3 < count3; j3++) {
1999 for (int k3 = 0; k3 < 3; k3++) {
2000 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2001 idx += sizeof(int32_t);
2002 }
2003 }
2004 }
2005 }
2006 }
2007
2008 return rc;
2009 }
2010
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2011 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2012 {
2013 int rc = YAKSA_SUCCESS;
2014 const char *restrict sbuf = (const char *) inbuf;
2015 char *restrict dbuf = (char *) outbuf;
2016 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2017
2018 int count1 = type->u.hindexed.count;
2019 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2020 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2021 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2022
2023 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2024
2025 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2026 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2027 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2028 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2029
2030 uintptr_t idx = 0;
2031 for (int i = 0; i < count; i++) {
2032 for (int j1 = 0; j1 < count1; j1++) {
2033 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2034 for (int j3 = 0; j3 < count3; j3++) {
2035 for (int k3 = 0; k3 < 4; k3++) {
2036 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2037 idx += sizeof(int32_t);
2038 }
2039 }
2040 }
2041 }
2042 }
2043
2044 return rc;
2045 }
2046
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2047 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2048 {
2049 int rc = YAKSA_SUCCESS;
2050 const char *restrict sbuf = (const char *) inbuf;
2051 char *restrict dbuf = (char *) outbuf;
2052 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2053
2054 int count1 = type->u.hindexed.count;
2055 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2056 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2057 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2058
2059 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2060
2061 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2062 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2063 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2064 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2065
2066 uintptr_t idx = 0;
2067 for (int i = 0; i < count; i++) {
2068 for (int j1 = 0; j1 < count1; j1++) {
2069 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2070 for (int j3 = 0; j3 < count3; j3++) {
2071 for (int k3 = 0; k3 < 4; k3++) {
2072 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2073 idx += sizeof(int32_t);
2074 }
2075 }
2076 }
2077 }
2078 }
2079
2080 return rc;
2081 }
2082
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2083 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2084 {
2085 int rc = YAKSA_SUCCESS;
2086 const char *restrict sbuf = (const char *) inbuf;
2087 char *restrict dbuf = (char *) outbuf;
2088 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2089
2090 int count1 = type->u.hindexed.count;
2091 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2092 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2093 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2094
2095 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2096
2097 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2098 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2099 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2100 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2101
2102 uintptr_t idx = 0;
2103 for (int i = 0; i < count; i++) {
2104 for (int j1 = 0; j1 < count1; j1++) {
2105 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2106 for (int j3 = 0; j3 < count3; j3++) {
2107 for (int k3 = 0; k3 < 5; k3++) {
2108 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2109 idx += sizeof(int32_t);
2110 }
2111 }
2112 }
2113 }
2114 }
2115
2116 return rc;
2117 }
2118
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2119 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2120 {
2121 int rc = YAKSA_SUCCESS;
2122 const char *restrict sbuf = (const char *) inbuf;
2123 char *restrict dbuf = (char *) outbuf;
2124 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2125
2126 int count1 = type->u.hindexed.count;
2127 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2128 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2129 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2130
2131 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2132
2133 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2134 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2135 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2136 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2137
2138 uintptr_t idx = 0;
2139 for (int i = 0; i < count; i++) {
2140 for (int j1 = 0; j1 < count1; j1++) {
2141 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2142 for (int j3 = 0; j3 < count3; j3++) {
2143 for (int k3 = 0; k3 < 5; k3++) {
2144 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2145 idx += sizeof(int32_t);
2146 }
2147 }
2148 }
2149 }
2150 }
2151
2152 return rc;
2153 }
2154
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2155 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2156 {
2157 int rc = YAKSA_SUCCESS;
2158 const char *restrict sbuf = (const char *) inbuf;
2159 char *restrict dbuf = (char *) outbuf;
2160 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2161
2162 int count1 = type->u.hindexed.count;
2163 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2164 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2165 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2166
2167 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2168
2169 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2170 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2171 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2172 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2173
2174 uintptr_t idx = 0;
2175 for (int i = 0; i < count; i++) {
2176 for (int j1 = 0; j1 < count1; j1++) {
2177 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2178 for (int j3 = 0; j3 < count3; j3++) {
2179 for (int k3 = 0; k3 < 6; k3++) {
2180 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2181 idx += sizeof(int32_t);
2182 }
2183 }
2184 }
2185 }
2186 }
2187
2188 return rc;
2189 }
2190
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2191 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2192 {
2193 int rc = YAKSA_SUCCESS;
2194 const char *restrict sbuf = (const char *) inbuf;
2195 char *restrict dbuf = (char *) outbuf;
2196 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2197
2198 int count1 = type->u.hindexed.count;
2199 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2200 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2201 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2202
2203 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2204
2205 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2206 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2207 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2208 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2209
2210 uintptr_t idx = 0;
2211 for (int i = 0; i < count; i++) {
2212 for (int j1 = 0; j1 < count1; j1++) {
2213 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2214 for (int j3 = 0; j3 < count3; j3++) {
2215 for (int k3 = 0; k3 < 6; k3++) {
2216 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2217 idx += sizeof(int32_t);
2218 }
2219 }
2220 }
2221 }
2222 }
2223
2224 return rc;
2225 }
2226
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2227 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2228 {
2229 int rc = YAKSA_SUCCESS;
2230 const char *restrict sbuf = (const char *) inbuf;
2231 char *restrict dbuf = (char *) outbuf;
2232 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2233
2234 int count1 = type->u.hindexed.count;
2235 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2236 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2237 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2238
2239 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2240
2241 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2242 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2243 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2244 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2245
2246 uintptr_t idx = 0;
2247 for (int i = 0; i < count; i++) {
2248 for (int j1 = 0; j1 < count1; j1++) {
2249 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2250 for (int j3 = 0; j3 < count3; j3++) {
2251 for (int k3 = 0; k3 < 7; k3++) {
2252 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2253 idx += sizeof(int32_t);
2254 }
2255 }
2256 }
2257 }
2258 }
2259
2260 return rc;
2261 }
2262
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2263 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2264 {
2265 int rc = YAKSA_SUCCESS;
2266 const char *restrict sbuf = (const char *) inbuf;
2267 char *restrict dbuf = (char *) outbuf;
2268 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2269
2270 int count1 = type->u.hindexed.count;
2271 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2272 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2273 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2274
2275 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2276
2277 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2278 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2279 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2280 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2281
2282 uintptr_t idx = 0;
2283 for (int i = 0; i < count; i++) {
2284 for (int j1 = 0; j1 < count1; j1++) {
2285 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2286 for (int j3 = 0; j3 < count3; j3++) {
2287 for (int k3 = 0; k3 < 7; k3++) {
2288 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2289 idx += sizeof(int32_t);
2290 }
2291 }
2292 }
2293 }
2294 }
2295
2296 return rc;
2297 }
2298
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2299 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2300 {
2301 int rc = YAKSA_SUCCESS;
2302 const char *restrict sbuf = (const char *) inbuf;
2303 char *restrict dbuf = (char *) outbuf;
2304 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2305
2306 int count1 = type->u.hindexed.count;
2307 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2308 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2309 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2310
2311 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2312
2313 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2314 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2315 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2316 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2317
2318 uintptr_t idx = 0;
2319 for (int i = 0; i < count; i++) {
2320 for (int j1 = 0; j1 < count1; j1++) {
2321 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2322 for (int j3 = 0; j3 < count3; j3++) {
2323 for (int k3 = 0; k3 < 8; k3++) {
2324 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2325 idx += sizeof(int32_t);
2326 }
2327 }
2328 }
2329 }
2330 }
2331
2332 return rc;
2333 }
2334
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2335 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2336 {
2337 int rc = YAKSA_SUCCESS;
2338 const char *restrict sbuf = (const char *) inbuf;
2339 char *restrict dbuf = (char *) outbuf;
2340 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2341
2342 int count1 = type->u.hindexed.count;
2343 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2344 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2345 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2346
2347 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2348
2349 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2350 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2351 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2352 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2353
2354 uintptr_t idx = 0;
2355 for (int i = 0; i < count; i++) {
2356 for (int j1 = 0; j1 < count1; j1++) {
2357 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2358 for (int j3 = 0; j3 < count3; j3++) {
2359 for (int k3 = 0; k3 < 8; k3++) {
2360 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2361 idx += sizeof(int32_t);
2362 }
2363 }
2364 }
2365 }
2366 }
2367
2368 return rc;
2369 }
2370
yaksuri_seqi_pack_hindexed_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2371 int yaksuri_seqi_pack_hindexed_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2372 {
2373 int rc = YAKSA_SUCCESS;
2374 const char *restrict sbuf = (const char *) inbuf;
2375 char *restrict dbuf = (char *) outbuf;
2376 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2377
2378 int count1 = type->u.hindexed.count;
2379 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2380 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2381 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2382
2383 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2384
2385 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2386 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2387 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2388 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2389
2390 uintptr_t idx = 0;
2391 for (int i = 0; i < count; i++) {
2392 for (int j1 = 0; j1 < count1; j1++) {
2393 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2394 for (int j3 = 0; j3 < count3; j3++) {
2395 for (int k3 = 0; k3 < blocklength3; k3++) {
2396 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t)));
2397 idx += sizeof(int32_t);
2398 }
2399 }
2400 }
2401 }
2402 }
2403
2404 return rc;
2405 }
2406
yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2407 int yaksuri_seqi_unpack_hindexed_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2408 {
2409 int rc = YAKSA_SUCCESS;
2410 const char *restrict sbuf = (const char *) inbuf;
2411 char *restrict dbuf = (char *) outbuf;
2412 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2413
2414 int count1 = type->u.hindexed.count;
2415 int *restrict array_of_blocklengths1 = type->u.hindexed.array_of_blocklengths;
2416 intptr_t *restrict array_of_displs1 = type->u.hindexed.array_of_displs;
2417 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2418
2419 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.hindexed.child->extent;
2420
2421 int count3 = type->u.hindexed.child->u.resized.child->u.hvector.count;
2422 int blocklength3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->u.hvector.blocklength;
2423 intptr_t stride3 = type->u.hindexed.child->u.resized.child->u.hvector.stride;
2424 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.hindexed.child->u.resized.child->extent;
2425
2426 uintptr_t idx = 0;
2427 for (int i = 0; i < count; i++) {
2428 for (int j1 = 0; j1 < count1; j1++) {
2429 for (int k1 = 0; k1 < array_of_blocklengths1[j1]; k1++) {
2430 for (int j3 = 0; j3 < count3; j3++) {
2431 for (int k3 = 0; k3 < blocklength3; k3++) {
2432 *((int32_t *) (void *) (dbuf + i * extent + array_of_displs1[j1] + k1 * extent2 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2433 idx += sizeof(int32_t);
2434 }
2435 }
2436 }
2437 }
2438 }
2439
2440 return rc;
2441 }
2442
yaksuri_seqi_pack_contig_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2443 int yaksuri_seqi_pack_contig_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2444 {
2445 int rc = YAKSA_SUCCESS;
2446 const char *restrict sbuf = (const char *) inbuf;
2447 char *restrict dbuf = (char *) outbuf;
2448 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2449
2450 int count1 = type->u.contig.count;
2451 intptr_t stride1 = type->u.contig.child->extent;
2452 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2453
2454 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2455
2456 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2457 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2458 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2459 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2460
2461 uintptr_t idx = 0;
2462 for (int i = 0; i < count; i++) {
2463 for (int j1 = 0; j1 < count1; j1++) {
2464 for (int j3 = 0; j3 < count3; j3++) {
2465 for (int k3 = 0; k3 < 1; k3++) {
2466 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2467 idx += sizeof(int32_t);
2468 }
2469 }
2470 }
2471 }
2472
2473 return rc;
2474 }
2475
yaksuri_seqi_unpack_contig_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2476 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2477 {
2478 int rc = YAKSA_SUCCESS;
2479 const char *restrict sbuf = (const char *) inbuf;
2480 char *restrict dbuf = (char *) outbuf;
2481 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2482
2483 int count1 = type->u.contig.count;
2484 intptr_t stride1 = type->u.contig.child->extent;
2485 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2486
2487 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2488
2489 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2490 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2491 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2492 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2493
2494 uintptr_t idx = 0;
2495 for (int i = 0; i < count; i++) {
2496 for (int j1 = 0; j1 < count1; j1++) {
2497 for (int j3 = 0; j3 < count3; j3++) {
2498 for (int k3 = 0; k3 < 1; k3++) {
2499 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2500 idx += sizeof(int32_t);
2501 }
2502 }
2503 }
2504 }
2505
2506 return rc;
2507 }
2508
yaksuri_seqi_pack_contig_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2509 int yaksuri_seqi_pack_contig_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2510 {
2511 int rc = YAKSA_SUCCESS;
2512 const char *restrict sbuf = (const char *) inbuf;
2513 char *restrict dbuf = (char *) outbuf;
2514 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2515
2516 int count1 = type->u.contig.count;
2517 intptr_t stride1 = type->u.contig.child->extent;
2518 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2519
2520 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2521
2522 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2523 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2524 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2525 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2526
2527 uintptr_t idx = 0;
2528 for (int i = 0; i < count; i++) {
2529 for (int j1 = 0; j1 < count1; j1++) {
2530 for (int j3 = 0; j3 < count3; j3++) {
2531 for (int k3 = 0; k3 < 2; k3++) {
2532 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2533 idx += sizeof(int32_t);
2534 }
2535 }
2536 }
2537 }
2538
2539 return rc;
2540 }
2541
yaksuri_seqi_unpack_contig_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2542 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2543 {
2544 int rc = YAKSA_SUCCESS;
2545 const char *restrict sbuf = (const char *) inbuf;
2546 char *restrict dbuf = (char *) outbuf;
2547 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2548
2549 int count1 = type->u.contig.count;
2550 intptr_t stride1 = type->u.contig.child->extent;
2551 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2552
2553 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2554
2555 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2556 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2557 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2558 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2559
2560 uintptr_t idx = 0;
2561 for (int i = 0; i < count; i++) {
2562 for (int j1 = 0; j1 < count1; j1++) {
2563 for (int j3 = 0; j3 < count3; j3++) {
2564 for (int k3 = 0; k3 < 2; k3++) {
2565 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2566 idx += sizeof(int32_t);
2567 }
2568 }
2569 }
2570 }
2571
2572 return rc;
2573 }
2574
yaksuri_seqi_pack_contig_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2575 int yaksuri_seqi_pack_contig_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2576 {
2577 int rc = YAKSA_SUCCESS;
2578 const char *restrict sbuf = (const char *) inbuf;
2579 char *restrict dbuf = (char *) outbuf;
2580 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2581
2582 int count1 = type->u.contig.count;
2583 intptr_t stride1 = type->u.contig.child->extent;
2584 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2585
2586 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2587
2588 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2589 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2590 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2591 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2592
2593 uintptr_t idx = 0;
2594 for (int i = 0; i < count; i++) {
2595 for (int j1 = 0; j1 < count1; j1++) {
2596 for (int j3 = 0; j3 < count3; j3++) {
2597 for (int k3 = 0; k3 < 3; k3++) {
2598 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2599 idx += sizeof(int32_t);
2600 }
2601 }
2602 }
2603 }
2604
2605 return rc;
2606 }
2607
yaksuri_seqi_unpack_contig_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2608 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2609 {
2610 int rc = YAKSA_SUCCESS;
2611 const char *restrict sbuf = (const char *) inbuf;
2612 char *restrict dbuf = (char *) outbuf;
2613 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2614
2615 int count1 = type->u.contig.count;
2616 intptr_t stride1 = type->u.contig.child->extent;
2617 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2618
2619 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2620
2621 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2622 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2623 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2624 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2625
2626 uintptr_t idx = 0;
2627 for (int i = 0; i < count; i++) {
2628 for (int j1 = 0; j1 < count1; j1++) {
2629 for (int j3 = 0; j3 < count3; j3++) {
2630 for (int k3 = 0; k3 < 3; k3++) {
2631 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2632 idx += sizeof(int32_t);
2633 }
2634 }
2635 }
2636 }
2637
2638 return rc;
2639 }
2640
yaksuri_seqi_pack_contig_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2641 int yaksuri_seqi_pack_contig_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2642 {
2643 int rc = YAKSA_SUCCESS;
2644 const char *restrict sbuf = (const char *) inbuf;
2645 char *restrict dbuf = (char *) outbuf;
2646 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2647
2648 int count1 = type->u.contig.count;
2649 intptr_t stride1 = type->u.contig.child->extent;
2650 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2651
2652 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2653
2654 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2655 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2656 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2657 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2658
2659 uintptr_t idx = 0;
2660 for (int i = 0; i < count; i++) {
2661 for (int j1 = 0; j1 < count1; j1++) {
2662 for (int j3 = 0; j3 < count3; j3++) {
2663 for (int k3 = 0; k3 < 4; k3++) {
2664 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2665 idx += sizeof(int32_t);
2666 }
2667 }
2668 }
2669 }
2670
2671 return rc;
2672 }
2673
yaksuri_seqi_unpack_contig_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2674 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2675 {
2676 int rc = YAKSA_SUCCESS;
2677 const char *restrict sbuf = (const char *) inbuf;
2678 char *restrict dbuf = (char *) outbuf;
2679 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2680
2681 int count1 = type->u.contig.count;
2682 intptr_t stride1 = type->u.contig.child->extent;
2683 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2684
2685 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2686
2687 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2688 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2689 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2690 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2691
2692 uintptr_t idx = 0;
2693 for (int i = 0; i < count; i++) {
2694 for (int j1 = 0; j1 < count1; j1++) {
2695 for (int j3 = 0; j3 < count3; j3++) {
2696 for (int k3 = 0; k3 < 4; k3++) {
2697 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2698 idx += sizeof(int32_t);
2699 }
2700 }
2701 }
2702 }
2703
2704 return rc;
2705 }
2706
yaksuri_seqi_pack_contig_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2707 int yaksuri_seqi_pack_contig_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2708 {
2709 int rc = YAKSA_SUCCESS;
2710 const char *restrict sbuf = (const char *) inbuf;
2711 char *restrict dbuf = (char *) outbuf;
2712 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2713
2714 int count1 = type->u.contig.count;
2715 intptr_t stride1 = type->u.contig.child->extent;
2716 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2717
2718 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2719
2720 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2721 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2722 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2723 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2724
2725 uintptr_t idx = 0;
2726 for (int i = 0; i < count; i++) {
2727 for (int j1 = 0; j1 < count1; j1++) {
2728 for (int j3 = 0; j3 < count3; j3++) {
2729 for (int k3 = 0; k3 < 5; k3++) {
2730 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2731 idx += sizeof(int32_t);
2732 }
2733 }
2734 }
2735 }
2736
2737 return rc;
2738 }
2739
yaksuri_seqi_unpack_contig_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2740 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2741 {
2742 int rc = YAKSA_SUCCESS;
2743 const char *restrict sbuf = (const char *) inbuf;
2744 char *restrict dbuf = (char *) outbuf;
2745 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2746
2747 int count1 = type->u.contig.count;
2748 intptr_t stride1 = type->u.contig.child->extent;
2749 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2750
2751 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2752
2753 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2754 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2755 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2756 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2757
2758 uintptr_t idx = 0;
2759 for (int i = 0; i < count; i++) {
2760 for (int j1 = 0; j1 < count1; j1++) {
2761 for (int j3 = 0; j3 < count3; j3++) {
2762 for (int k3 = 0; k3 < 5; k3++) {
2763 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2764 idx += sizeof(int32_t);
2765 }
2766 }
2767 }
2768 }
2769
2770 return rc;
2771 }
2772
yaksuri_seqi_pack_contig_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2773 int yaksuri_seqi_pack_contig_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2774 {
2775 int rc = YAKSA_SUCCESS;
2776 const char *restrict sbuf = (const char *) inbuf;
2777 char *restrict dbuf = (char *) outbuf;
2778 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2779
2780 int count1 = type->u.contig.count;
2781 intptr_t stride1 = type->u.contig.child->extent;
2782 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2783
2784 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2785
2786 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2787 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2788 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2789 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2790
2791 uintptr_t idx = 0;
2792 for (int i = 0; i < count; i++) {
2793 for (int j1 = 0; j1 < count1; j1++) {
2794 for (int j3 = 0; j3 < count3; j3++) {
2795 for (int k3 = 0; k3 < 6; k3++) {
2796 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2797 idx += sizeof(int32_t);
2798 }
2799 }
2800 }
2801 }
2802
2803 return rc;
2804 }
2805
yaksuri_seqi_unpack_contig_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2806 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2807 {
2808 int rc = YAKSA_SUCCESS;
2809 const char *restrict sbuf = (const char *) inbuf;
2810 char *restrict dbuf = (char *) outbuf;
2811 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2812
2813 int count1 = type->u.contig.count;
2814 intptr_t stride1 = type->u.contig.child->extent;
2815 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2816
2817 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2818
2819 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2820 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2821 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2822 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2823
2824 uintptr_t idx = 0;
2825 for (int i = 0; i < count; i++) {
2826 for (int j1 = 0; j1 < count1; j1++) {
2827 for (int j3 = 0; j3 < count3; j3++) {
2828 for (int k3 = 0; k3 < 6; k3++) {
2829 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2830 idx += sizeof(int32_t);
2831 }
2832 }
2833 }
2834 }
2835
2836 return rc;
2837 }
2838
yaksuri_seqi_pack_contig_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2839 int yaksuri_seqi_pack_contig_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2840 {
2841 int rc = YAKSA_SUCCESS;
2842 const char *restrict sbuf = (const char *) inbuf;
2843 char *restrict dbuf = (char *) outbuf;
2844 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2845
2846 int count1 = type->u.contig.count;
2847 intptr_t stride1 = type->u.contig.child->extent;
2848 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2849
2850 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2851
2852 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2853 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2854 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2855 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2856
2857 uintptr_t idx = 0;
2858 for (int i = 0; i < count; i++) {
2859 for (int j1 = 0; j1 < count1; j1++) {
2860 for (int j3 = 0; j3 < count3; j3++) {
2861 for (int k3 = 0; k3 < 7; k3++) {
2862 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2863 idx += sizeof(int32_t);
2864 }
2865 }
2866 }
2867 }
2868
2869 return rc;
2870 }
2871
yaksuri_seqi_unpack_contig_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2872 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2873 {
2874 int rc = YAKSA_SUCCESS;
2875 const char *restrict sbuf = (const char *) inbuf;
2876 char *restrict dbuf = (char *) outbuf;
2877 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2878
2879 int count1 = type->u.contig.count;
2880 intptr_t stride1 = type->u.contig.child->extent;
2881 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2882
2883 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2884
2885 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2886 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2887 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2888 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2889
2890 uintptr_t idx = 0;
2891 for (int i = 0; i < count; i++) {
2892 for (int j1 = 0; j1 < count1; j1++) {
2893 for (int j3 = 0; j3 < count3; j3++) {
2894 for (int k3 = 0; k3 < 7; k3++) {
2895 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2896 idx += sizeof(int32_t);
2897 }
2898 }
2899 }
2900 }
2901
2902 return rc;
2903 }
2904
yaksuri_seqi_pack_contig_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2905 int yaksuri_seqi_pack_contig_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2906 {
2907 int rc = YAKSA_SUCCESS;
2908 const char *restrict sbuf = (const char *) inbuf;
2909 char *restrict dbuf = (char *) outbuf;
2910 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2911
2912 int count1 = type->u.contig.count;
2913 intptr_t stride1 = type->u.contig.child->extent;
2914 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2915
2916 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2917
2918 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2919 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2920 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2921 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2922
2923 uintptr_t idx = 0;
2924 for (int i = 0; i < count; i++) {
2925 for (int j1 = 0; j1 < count1; j1++) {
2926 for (int j3 = 0; j3 < count3; j3++) {
2927 for (int k3 = 0; k3 < 8; k3++) {
2928 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2929 idx += sizeof(int32_t);
2930 }
2931 }
2932 }
2933 }
2934
2935 return rc;
2936 }
2937
yaksuri_seqi_unpack_contig_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2938 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2939 {
2940 int rc = YAKSA_SUCCESS;
2941 const char *restrict sbuf = (const char *) inbuf;
2942 char *restrict dbuf = (char *) outbuf;
2943 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2944
2945 int count1 = type->u.contig.count;
2946 intptr_t stride1 = type->u.contig.child->extent;
2947 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2948
2949 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2950
2951 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2952 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2953 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2954 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2955
2956 uintptr_t idx = 0;
2957 for (int i = 0; i < count; i++) {
2958 for (int j1 = 0; j1 < count1; j1++) {
2959 for (int j3 = 0; j3 < count3; j3++) {
2960 for (int k3 = 0; k3 < 8; k3++) {
2961 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
2962 idx += sizeof(int32_t);
2963 }
2964 }
2965 }
2966 }
2967
2968 return rc;
2969 }
2970
yaksuri_seqi_pack_contig_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)2971 int yaksuri_seqi_pack_contig_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
2972 {
2973 int rc = YAKSA_SUCCESS;
2974 const char *restrict sbuf = (const char *) inbuf;
2975 char *restrict dbuf = (char *) outbuf;
2976 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
2977
2978 int count1 = type->u.contig.count;
2979 intptr_t stride1 = type->u.contig.child->extent;
2980 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
2981
2982 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
2983
2984 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
2985 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
2986 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
2987 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
2988
2989 uintptr_t idx = 0;
2990 for (int i = 0; i < count; i++) {
2991 for (int j1 = 0; j1 < count1; j1++) {
2992 for (int j3 = 0; j3 < count3; j3++) {
2993 for (int k3 = 0; k3 < blocklength3; k3++) {
2994 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t)));
2995 idx += sizeof(int32_t);
2996 }
2997 }
2998 }
2999 }
3000
3001 return rc;
3002 }
3003
yaksuri_seqi_unpack_contig_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3004 int yaksuri_seqi_unpack_contig_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3005 {
3006 int rc = YAKSA_SUCCESS;
3007 const char *restrict sbuf = (const char *) inbuf;
3008 char *restrict dbuf = (char *) outbuf;
3009 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3010
3011 int count1 = type->u.contig.count;
3012 intptr_t stride1 = type->u.contig.child->extent;
3013 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3014
3015 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.contig.child->extent;
3016
3017 int count3 = type->u.contig.child->u.resized.child->u.hvector.count;
3018 int blocklength3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->u.hvector.blocklength;
3019 intptr_t stride3 = type->u.contig.child->u.resized.child->u.hvector.stride;
3020 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.contig.child->u.resized.child->extent;
3021
3022 uintptr_t idx = 0;
3023 for (int i = 0; i < count; i++) {
3024 for (int j1 = 0; j1 < count1; j1++) {
3025 for (int j3 = 0; j3 < count3; j3++) {
3026 for (int k3 = 0; k3 < blocklength3; k3++) {
3027 *((int32_t *) (void *) (dbuf + i * extent + j1 * stride1 + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3028 idx += sizeof(int32_t);
3029 }
3030 }
3031 }
3032 }
3033
3034 return rc;
3035 }
3036
yaksuri_seqi_pack_resized_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3037 int yaksuri_seqi_pack_resized_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3038 {
3039 int rc = YAKSA_SUCCESS;
3040 const char *restrict sbuf = (const char *) inbuf;
3041 char *restrict dbuf = (char *) outbuf;
3042 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3043
3044 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3045
3046 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3047
3048 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3049 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3050 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3051 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3052
3053 uintptr_t idx = 0;
3054 for (int i = 0; i < count; i++) {
3055 for (int j3 = 0; j3 < count3; j3++) {
3056 for (int k3 = 0; k3 < 1; k3++) {
3057 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3058 idx += sizeof(int32_t);
3059 }
3060 }
3061 }
3062
3063 return rc;
3064 }
3065
yaksuri_seqi_unpack_resized_resized_hvector_blklen_1_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3066 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_1_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3067 {
3068 int rc = YAKSA_SUCCESS;
3069 const char *restrict sbuf = (const char *) inbuf;
3070 char *restrict dbuf = (char *) outbuf;
3071 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3072
3073 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3074
3075 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3076
3077 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3078 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3079 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3080 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3081
3082 uintptr_t idx = 0;
3083 for (int i = 0; i < count; i++) {
3084 for (int j3 = 0; j3 < count3; j3++) {
3085 for (int k3 = 0; k3 < 1; k3++) {
3086 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3087 idx += sizeof(int32_t);
3088 }
3089 }
3090 }
3091
3092 return rc;
3093 }
3094
yaksuri_seqi_pack_resized_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3095 int yaksuri_seqi_pack_resized_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3096 {
3097 int rc = YAKSA_SUCCESS;
3098 const char *restrict sbuf = (const char *) inbuf;
3099 char *restrict dbuf = (char *) outbuf;
3100 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3101
3102 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3103
3104 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3105
3106 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3107 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3108 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3109 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3110
3111 uintptr_t idx = 0;
3112 for (int i = 0; i < count; i++) {
3113 for (int j3 = 0; j3 < count3; j3++) {
3114 for (int k3 = 0; k3 < 2; k3++) {
3115 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3116 idx += sizeof(int32_t);
3117 }
3118 }
3119 }
3120
3121 return rc;
3122 }
3123
yaksuri_seqi_unpack_resized_resized_hvector_blklen_2_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3124 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_2_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3125 {
3126 int rc = YAKSA_SUCCESS;
3127 const char *restrict sbuf = (const char *) inbuf;
3128 char *restrict dbuf = (char *) outbuf;
3129 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3130
3131 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3132
3133 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3134
3135 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3136 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3137 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3138 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3139
3140 uintptr_t idx = 0;
3141 for (int i = 0; i < count; i++) {
3142 for (int j3 = 0; j3 < count3; j3++) {
3143 for (int k3 = 0; k3 < 2; k3++) {
3144 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3145 idx += sizeof(int32_t);
3146 }
3147 }
3148 }
3149
3150 return rc;
3151 }
3152
yaksuri_seqi_pack_resized_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3153 int yaksuri_seqi_pack_resized_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3154 {
3155 int rc = YAKSA_SUCCESS;
3156 const char *restrict sbuf = (const char *) inbuf;
3157 char *restrict dbuf = (char *) outbuf;
3158 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3159
3160 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3161
3162 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3163
3164 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3165 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3166 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3167 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3168
3169 uintptr_t idx = 0;
3170 for (int i = 0; i < count; i++) {
3171 for (int j3 = 0; j3 < count3; j3++) {
3172 for (int k3 = 0; k3 < 3; k3++) {
3173 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3174 idx += sizeof(int32_t);
3175 }
3176 }
3177 }
3178
3179 return rc;
3180 }
3181
yaksuri_seqi_unpack_resized_resized_hvector_blklen_3_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3182 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_3_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3183 {
3184 int rc = YAKSA_SUCCESS;
3185 const char *restrict sbuf = (const char *) inbuf;
3186 char *restrict dbuf = (char *) outbuf;
3187 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3188
3189 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3190
3191 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3192
3193 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3194 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3195 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3196 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3197
3198 uintptr_t idx = 0;
3199 for (int i = 0; i < count; i++) {
3200 for (int j3 = 0; j3 < count3; j3++) {
3201 for (int k3 = 0; k3 < 3; k3++) {
3202 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3203 idx += sizeof(int32_t);
3204 }
3205 }
3206 }
3207
3208 return rc;
3209 }
3210
yaksuri_seqi_pack_resized_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3211 int yaksuri_seqi_pack_resized_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3212 {
3213 int rc = YAKSA_SUCCESS;
3214 const char *restrict sbuf = (const char *) inbuf;
3215 char *restrict dbuf = (char *) outbuf;
3216 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3217
3218 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3219
3220 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3221
3222 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3223 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3224 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3225 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3226
3227 uintptr_t idx = 0;
3228 for (int i = 0; i < count; i++) {
3229 for (int j3 = 0; j3 < count3; j3++) {
3230 for (int k3 = 0; k3 < 4; k3++) {
3231 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3232 idx += sizeof(int32_t);
3233 }
3234 }
3235 }
3236
3237 return rc;
3238 }
3239
yaksuri_seqi_unpack_resized_resized_hvector_blklen_4_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3240 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_4_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3241 {
3242 int rc = YAKSA_SUCCESS;
3243 const char *restrict sbuf = (const char *) inbuf;
3244 char *restrict dbuf = (char *) outbuf;
3245 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3246
3247 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3248
3249 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3250
3251 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3252 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3253 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3254 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3255
3256 uintptr_t idx = 0;
3257 for (int i = 0; i < count; i++) {
3258 for (int j3 = 0; j3 < count3; j3++) {
3259 for (int k3 = 0; k3 < 4; k3++) {
3260 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3261 idx += sizeof(int32_t);
3262 }
3263 }
3264 }
3265
3266 return rc;
3267 }
3268
yaksuri_seqi_pack_resized_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3269 int yaksuri_seqi_pack_resized_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3270 {
3271 int rc = YAKSA_SUCCESS;
3272 const char *restrict sbuf = (const char *) inbuf;
3273 char *restrict dbuf = (char *) outbuf;
3274 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3275
3276 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3277
3278 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3279
3280 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3281 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3282 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3283 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3284
3285 uintptr_t idx = 0;
3286 for (int i = 0; i < count; i++) {
3287 for (int j3 = 0; j3 < count3; j3++) {
3288 for (int k3 = 0; k3 < 5; k3++) {
3289 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3290 idx += sizeof(int32_t);
3291 }
3292 }
3293 }
3294
3295 return rc;
3296 }
3297
yaksuri_seqi_unpack_resized_resized_hvector_blklen_5_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3298 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_5_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3299 {
3300 int rc = YAKSA_SUCCESS;
3301 const char *restrict sbuf = (const char *) inbuf;
3302 char *restrict dbuf = (char *) outbuf;
3303 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3304
3305 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3306
3307 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3308
3309 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3310 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3311 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3312 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3313
3314 uintptr_t idx = 0;
3315 for (int i = 0; i < count; i++) {
3316 for (int j3 = 0; j3 < count3; j3++) {
3317 for (int k3 = 0; k3 < 5; k3++) {
3318 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3319 idx += sizeof(int32_t);
3320 }
3321 }
3322 }
3323
3324 return rc;
3325 }
3326
yaksuri_seqi_pack_resized_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3327 int yaksuri_seqi_pack_resized_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3328 {
3329 int rc = YAKSA_SUCCESS;
3330 const char *restrict sbuf = (const char *) inbuf;
3331 char *restrict dbuf = (char *) outbuf;
3332 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3333
3334 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3335
3336 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3337
3338 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3339 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3340 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3341 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3342
3343 uintptr_t idx = 0;
3344 for (int i = 0; i < count; i++) {
3345 for (int j3 = 0; j3 < count3; j3++) {
3346 for (int k3 = 0; k3 < 6; k3++) {
3347 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3348 idx += sizeof(int32_t);
3349 }
3350 }
3351 }
3352
3353 return rc;
3354 }
3355
yaksuri_seqi_unpack_resized_resized_hvector_blklen_6_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3356 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_6_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3357 {
3358 int rc = YAKSA_SUCCESS;
3359 const char *restrict sbuf = (const char *) inbuf;
3360 char *restrict dbuf = (char *) outbuf;
3361 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3362
3363 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3364
3365 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3366
3367 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3368 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3369 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3370 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3371
3372 uintptr_t idx = 0;
3373 for (int i = 0; i < count; i++) {
3374 for (int j3 = 0; j3 < count3; j3++) {
3375 for (int k3 = 0; k3 < 6; k3++) {
3376 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3377 idx += sizeof(int32_t);
3378 }
3379 }
3380 }
3381
3382 return rc;
3383 }
3384
yaksuri_seqi_pack_resized_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3385 int yaksuri_seqi_pack_resized_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3386 {
3387 int rc = YAKSA_SUCCESS;
3388 const char *restrict sbuf = (const char *) inbuf;
3389 char *restrict dbuf = (char *) outbuf;
3390 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3391
3392 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3393
3394 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3395
3396 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3397 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3398 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3399 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3400
3401 uintptr_t idx = 0;
3402 for (int i = 0; i < count; i++) {
3403 for (int j3 = 0; j3 < count3; j3++) {
3404 for (int k3 = 0; k3 < 7; k3++) {
3405 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3406 idx += sizeof(int32_t);
3407 }
3408 }
3409 }
3410
3411 return rc;
3412 }
3413
yaksuri_seqi_unpack_resized_resized_hvector_blklen_7_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3414 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_7_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3415 {
3416 int rc = YAKSA_SUCCESS;
3417 const char *restrict sbuf = (const char *) inbuf;
3418 char *restrict dbuf = (char *) outbuf;
3419 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3420
3421 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3422
3423 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3424
3425 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3426 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3427 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3428 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3429
3430 uintptr_t idx = 0;
3431 for (int i = 0; i < count; i++) {
3432 for (int j3 = 0; j3 < count3; j3++) {
3433 for (int k3 = 0; k3 < 7; k3++) {
3434 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3435 idx += sizeof(int32_t);
3436 }
3437 }
3438 }
3439
3440 return rc;
3441 }
3442
yaksuri_seqi_pack_resized_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3443 int yaksuri_seqi_pack_resized_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3444 {
3445 int rc = YAKSA_SUCCESS;
3446 const char *restrict sbuf = (const char *) inbuf;
3447 char *restrict dbuf = (char *) outbuf;
3448 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3449
3450 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3451
3452 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3453
3454 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3455 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3456 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3457 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3458
3459 uintptr_t idx = 0;
3460 for (int i = 0; i < count; i++) {
3461 for (int j3 = 0; j3 < count3; j3++) {
3462 for (int k3 = 0; k3 < 8; k3++) {
3463 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3464 idx += sizeof(int32_t);
3465 }
3466 }
3467 }
3468
3469 return rc;
3470 }
3471
yaksuri_seqi_unpack_resized_resized_hvector_blklen_8_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3472 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_8_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3473 {
3474 int rc = YAKSA_SUCCESS;
3475 const char *restrict sbuf = (const char *) inbuf;
3476 char *restrict dbuf = (char *) outbuf;
3477 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3478
3479 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3480
3481 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3482
3483 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3484 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3485 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3486 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3487
3488 uintptr_t idx = 0;
3489 for (int i = 0; i < count; i++) {
3490 for (int j3 = 0; j3 < count3; j3++) {
3491 for (int k3 = 0; k3 < 8; k3++) {
3492 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3493 idx += sizeof(int32_t);
3494 }
3495 }
3496 }
3497
3498 return rc;
3499 }
3500
yaksuri_seqi_pack_resized_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3501 int yaksuri_seqi_pack_resized_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3502 {
3503 int rc = YAKSA_SUCCESS;
3504 const char *restrict sbuf = (const char *) inbuf;
3505 char *restrict dbuf = (char *) outbuf;
3506 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3507
3508 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3509
3510 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3511
3512 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3513 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3514 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3515 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3516
3517 uintptr_t idx = 0;
3518 for (int i = 0; i < count; i++) {
3519 for (int j3 = 0; j3 < count3; j3++) {
3520 for (int k3 = 0; k3 < blocklength3; k3++) {
3521 *((int32_t *) (void *) (dbuf + idx)) = *((const int32_t *) (const void *) (sbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t)));
3522 idx += sizeof(int32_t);
3523 }
3524 }
3525 }
3526
3527 return rc;
3528 }
3529
yaksuri_seqi_unpack_resized_resized_hvector_blklen_generic_int32_t(const void * inbuf,void * outbuf,uintptr_t count,yaksi_type_s * type)3530 int yaksuri_seqi_unpack_resized_resized_hvector_blklen_generic_int32_t(const void *inbuf, void *outbuf, uintptr_t count, yaksi_type_s * type)
3531 {
3532 int rc = YAKSA_SUCCESS;
3533 const char *restrict sbuf = (const char *) inbuf;
3534 char *restrict dbuf = (char *) outbuf;
3535 uintptr_t extent ATTRIBUTE((unused)) = type->extent;
3536
3537 uintptr_t extent1 ATTRIBUTE((unused)) = type->extent;
3538
3539 uintptr_t extent2 ATTRIBUTE((unused)) = type->u.resized.child->extent;
3540
3541 int count3 = type->u.resized.child->u.resized.child->u.hvector.count;
3542 int blocklength3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->u.hvector.blocklength;
3543 intptr_t stride3 = type->u.resized.child->u.resized.child->u.hvector.stride;
3544 uintptr_t extent3 ATTRIBUTE((unused)) = type->u.resized.child->u.resized.child->extent;
3545
3546 uintptr_t idx = 0;
3547 for (int i = 0; i < count; i++) {
3548 for (int j3 = 0; j3 < count3; j3++) {
3549 for (int k3 = 0; k3 < blocklength3; k3++) {
3550 *((int32_t *) (void *) (dbuf + i * extent + j3 * stride3 + k3 * sizeof(int32_t))) = *((const int32_t *) (const void *) (sbuf + idx));
3551 idx += sizeof(int32_t);
3552 }
3553 }
3554 }
3555
3556 return rc;
3557 }
3558
3559