1
2
3 package simdref
4
5 import "simd/internal/spec"
6
7 type (
8 Mask16s struct{ v []spec.Mask16 }
9 Mask16x8 struct{ v []spec.Mask16 }
10 Mask16x16 struct{ v []spec.Mask16 }
11 Mask16x32 struct{ v []spec.Mask16 }
12 Mask32s struct{ v []spec.Mask32 }
13 Mask32x4 struct{ v []spec.Mask32 }
14 Mask32x8 struct{ v []spec.Mask32 }
15 Mask32x16 struct{ v []spec.Mask32 }
16 Mask64s struct{ v []spec.Mask64 }
17 Mask64x2 struct{ v []spec.Mask64 }
18 Mask64x4 struct{ v []spec.Mask64 }
19 Mask64x8 struct{ v []spec.Mask64 }
20 Mask8s struct{ v []spec.Mask8 }
21 Mask8x16 struct{ v []spec.Mask8 }
22 Mask8x32 struct{ v []spec.Mask8 }
23 Mask8x64 struct{ v []spec.Mask8 }
24 Float32s struct{ v []float32 }
25 Float32x4 struct{ v []float32 }
26 Float32x8 struct{ v []float32 }
27 Float32x16 struct{ v []float32 }
28 Float64s struct{ v []float64 }
29 Float64x2 struct{ v []float64 }
30 Float64x4 struct{ v []float64 }
31 Float64x8 struct{ v []float64 }
32 Int16s struct{ v []int16 }
33 Int16x8 struct{ v []int16 }
34 Int16x16 struct{ v []int16 }
35 Int16x32 struct{ v []int16 }
36 Int32s struct{ v []int32 }
37 Int32x4 struct{ v []int32 }
38 Int32x8 struct{ v []int32 }
39 Int32x16 struct{ v []int32 }
40 Int64s struct{ v []int64 }
41 Int64x2 struct{ v []int64 }
42 Int64x4 struct{ v []int64 }
43 Int64x8 struct{ v []int64 }
44 Int8s struct{ v []int8 }
45 Int8x16 struct{ v []int8 }
46 Int8x32 struct{ v []int8 }
47 Int8x64 struct{ v []int8 }
48 Uint16s struct{ v []uint16 }
49 Uint16x8 struct{ v []uint16 }
50 Uint16x16 struct{ v []uint16 }
51 Uint16x32 struct{ v []uint16 }
52 Uint32s struct{ v []uint32 }
53 Uint32x4 struct{ v []uint32 }
54 Uint32x8 struct{ v []uint32 }
55 Uint32x16 struct{ v []uint32 }
56 Uint64s struct{ v []uint64 }
57 Uint64x2 struct{ v []uint64 }
58 Uint64x4 struct{ v []uint64 }
59 Uint64x8 struct{ v []uint64 }
60 Uint8s struct{ v []uint8 }
61 Uint8x16 struct{ v []uint8 }
62 Uint8x32 struct{ v []uint8 }
63 Uint8x64 struct{ v []uint8 }
64 )
65
66
67 func (x Float32x4) ConvertToFloat64() (z Float64x4) {
68 return Float64x4{spec.ConvertToZ[float32, spec.Width128, float64, spec.Width256](x.v)}
69 }
70
71
72 func (x Float32x4) ConvertToInt32() (z Int32x4) {
73 return Int32x4{spec.ConvertToZ[float32, spec.Width128, int32, spec.Width128](x.v)}
74 }
75
76
77 func (x Float32x4) ConvertToInt64() (z Int64x4) {
78 return Int64x4{spec.ConvertToZ[float32, spec.Width128, int64, spec.Width256](x.v)}
79 }
80
81
82 func (x Float32x4) ConvertToUint32() (z Uint32x4) {
83 return Uint32x4{spec.ConvertToZ[float32, spec.Width128, uint32, spec.Width128](x.v)}
84 }
85
86
87 func (x Float32x4) ConvertToUint64() (z Uint64x4) {
88 return Uint64x4{spec.ConvertToZ[float32, spec.Width128, uint64, spec.Width256](x.v)}
89 }
90
91
92 func (x Float32x8) ConvertToFloat64() (z Float64x8) {
93 return Float64x8{spec.ConvertToZ[float32, spec.Width256, float64, spec.Width512](x.v)}
94 }
95
96
97 func (x Float32x8) ConvertToInt16() (z Int16x8) {
98 return Int16x8{spec.ConvertToZ[float32, spec.Width256, int16, spec.Width128](x.v)}
99 }
100
101
102 func (x Float32x8) ConvertToInt32() (z Int32x8) {
103 return Int32x8{spec.ConvertToZ[float32, spec.Width256, int32, spec.Width256](x.v)}
104 }
105
106
107 func (x Float32x8) ConvertToInt64() (z Int64x8) {
108 return Int64x8{spec.ConvertToZ[float32, spec.Width256, int64, spec.Width512](x.v)}
109 }
110
111
112 func (x Float32x8) ConvertToUint16() (z Uint16x8) {
113 return Uint16x8{spec.ConvertToZ[float32, spec.Width256, uint16, spec.Width128](x.v)}
114 }
115
116
117 func (x Float32x8) ConvertToUint32() (z Uint32x8) {
118 return Uint32x8{spec.ConvertToZ[float32, spec.Width256, uint32, spec.Width256](x.v)}
119 }
120
121
122 func (x Float32x8) ConvertToUint64() (z Uint64x8) {
123 return Uint64x8{spec.ConvertToZ[float32, spec.Width256, uint64, spec.Width512](x.v)}
124 }
125
126
127 func (x Float32x16) ConvertToInt8() (z Int8x16) {
128 return Int8x16{spec.ConvertToZ[float32, spec.Width512, int8, spec.Width128](x.v)}
129 }
130
131
132 func (x Float32x16) ConvertToInt16() (z Int16x16) {
133 return Int16x16{spec.ConvertToZ[float32, spec.Width512, int16, spec.Width256](x.v)}
134 }
135
136
137 func (x Float32x16) ConvertToInt32() (z Int32x16) {
138 return Int32x16{spec.ConvertToZ[float32, spec.Width512, int32, spec.Width512](x.v)}
139 }
140
141
142 func (x Float32x16) ConvertToUint8() (z Uint8x16) {
143 return Uint8x16{spec.ConvertToZ[float32, spec.Width512, uint8, spec.Width128](x.v)}
144 }
145
146
147 func (x Float32x16) ConvertToUint16() (z Uint16x16) {
148 return Uint16x16{spec.ConvertToZ[float32, spec.Width512, uint16, spec.Width256](x.v)}
149 }
150
151
152 func (x Float32x16) ConvertToUint32() (z Uint32x16) {
153 return Uint32x16{spec.ConvertToZ[float32, spec.Width512, uint32, spec.Width512](x.v)}
154 }
155
156
157 func (x Float32s) ConvertToInt32() (z Int32s) {
158 return Int32s{spec.ConvertToZ[float32, spec.WidthScalable, int32, spec.WidthScalable](x.v)}
159 }
160
161
162 func (x Float32s) ConvertToUint32() (z Uint32s) {
163 return Uint32s{spec.ConvertToZ[float32, spec.WidthScalable, uint32, spec.WidthScalable](x.v)}
164 }
165
166
167 func (x Float64x2) ConvertToInt64() (z Int64x2) {
168 return Int64x2{spec.ConvertToZ[float64, spec.Width128, int64, spec.Width128](x.v)}
169 }
170
171
172 func (x Float64x2) ConvertToUint64() (z Uint64x2) {
173 return Uint64x2{spec.ConvertToZ[float64, spec.Width128, uint64, spec.Width128](x.v)}
174 }
175
176
177 func (x Float64x4) ConvertToFloat32() (z Float32x4) {
178 return Float32x4{spec.ConvertToZ[float64, spec.Width256, float32, spec.Width128](x.v)}
179 }
180
181
182 func (x Float64x4) ConvertToInt32() (z Int32x4) {
183 return Int32x4{spec.ConvertToZ[float64, spec.Width256, int32, spec.Width128](x.v)}
184 }
185
186
187 func (x Float64x4) ConvertToInt64() (z Int64x4) {
188 return Int64x4{spec.ConvertToZ[float64, spec.Width256, int64, spec.Width256](x.v)}
189 }
190
191
192 func (x Float64x4) ConvertToUint32() (z Uint32x4) {
193 return Uint32x4{spec.ConvertToZ[float64, spec.Width256, uint32, spec.Width128](x.v)}
194 }
195
196
197 func (x Float64x4) ConvertToUint64() (z Uint64x4) {
198 return Uint64x4{spec.ConvertToZ[float64, spec.Width256, uint64, spec.Width256](x.v)}
199 }
200
201
202 func (x Float64x8) ConvertToFloat32() (z Float32x8) {
203 return Float32x8{spec.ConvertToZ[float64, spec.Width512, float32, spec.Width256](x.v)}
204 }
205
206
207 func (x Float64x8) ConvertToInt16() (z Int16x8) {
208 return Int16x8{spec.ConvertToZ[float64, spec.Width512, int16, spec.Width128](x.v)}
209 }
210
211
212 func (x Float64x8) ConvertToInt32() (z Int32x8) {
213 return Int32x8{spec.ConvertToZ[float64, spec.Width512, int32, spec.Width256](x.v)}
214 }
215
216
217 func (x Float64x8) ConvertToInt64() (z Int64x8) {
218 return Int64x8{spec.ConvertToZ[float64, spec.Width512, int64, spec.Width512](x.v)}
219 }
220
221
222 func (x Float64x8) ConvertToUint16() (z Uint16x8) {
223 return Uint16x8{spec.ConvertToZ[float64, spec.Width512, uint16, spec.Width128](x.v)}
224 }
225
226
227 func (x Float64x8) ConvertToUint32() (z Uint32x8) {
228 return Uint32x8{spec.ConvertToZ[float64, spec.Width512, uint32, spec.Width256](x.v)}
229 }
230
231
232 func (x Float64x8) ConvertToUint64() (z Uint64x8) {
233 return Uint64x8{spec.ConvertToZ[float64, spec.Width512, uint64, spec.Width512](x.v)}
234 }
235
236
237 func (x Float64s) ConvertToInt64() (z Int64s) {
238 return Int64s{spec.ConvertToZ[float64, spec.WidthScalable, int64, spec.WidthScalable](x.v)}
239 }
240
241
242 func (x Float64s) ConvertToUint64() (z Uint64s) {
243 return Uint64s{spec.ConvertToZ[float64, spec.WidthScalable, uint64, spec.WidthScalable](x.v)}
244 }
245
246
247 func (x Int8x16) ConvertToFloat32() (z Float32x16) {
248 return Float32x16{spec.ConvertToZ[int8, spec.Width128, float32, spec.Width512](x.v)}
249 }
250
251
252 func (x Int8x16) ConvertToInt16() (z Int16x16) {
253 return Int16x16{spec.ConvertToZ[int8, spec.Width128, int16, spec.Width256](x.v)}
254 }
255
256
257 func (x Int8x16) ConvertToInt32() (z Int32x16) {
258 return Int32x16{spec.ConvertToZ[int8, spec.Width128, int32, spec.Width512](x.v)}
259 }
260
261
262 func (x Int8x16) ConvertToUint8() (z Uint8x16) {
263 return Uint8x16{spec.ConvertToZ[int8, spec.Width128, uint8, spec.Width128](x.v)}
264 }
265
266
267 func (x Int8x16) ConvertToUint16() (z Uint16x16) {
268 return Uint16x16{spec.ConvertToZ[int8, spec.Width128, uint16, spec.Width256](x.v)}
269 }
270
271
272 func (x Int8x16) ConvertToUint32() (z Uint32x16) {
273 return Uint32x16{spec.ConvertToZ[int8, spec.Width128, uint32, spec.Width512](x.v)}
274 }
275
276
277 func (x Int8x32) ConvertToInt16() (z Int16x32) {
278 return Int16x32{spec.ConvertToZ[int8, spec.Width256, int16, spec.Width512](x.v)}
279 }
280
281
282 func (x Int8x32) ConvertToUint8() (z Uint8x32) {
283 return Uint8x32{spec.ConvertToZ[int8, spec.Width256, uint8, spec.Width256](x.v)}
284 }
285
286
287 func (x Int8x32) ConvertToUint16() (z Uint16x32) {
288 return Uint16x32{spec.ConvertToZ[int8, spec.Width256, uint16, spec.Width512](x.v)}
289 }
290
291
292 func (x Int8x64) ConvertToUint8() (z Uint8x64) {
293 return Uint8x64{spec.ConvertToZ[int8, spec.Width512, uint8, spec.Width512](x.v)}
294 }
295
296
297 func (x Int8s) ConvertToUint8() (z Uint8s) {
298 return Uint8s{spec.ConvertToZ[int8, spec.WidthScalable, uint8, spec.WidthScalable](x.v)}
299 }
300
301
302 func (x Int16x8) ConvertToFloat32() (z Float32x8) {
303 return Float32x8{spec.ConvertToZ[int16, spec.Width128, float32, spec.Width256](x.v)}
304 }
305
306
307 func (x Int16x8) ConvertToFloat64() (z Float64x8) {
308 return Float64x8{spec.ConvertToZ[int16, spec.Width128, float64, spec.Width512](x.v)}
309 }
310
311
312 func (x Int16x8) ConvertToInt32() (z Int32x8) {
313 return Int32x8{spec.ConvertToZ[int16, spec.Width128, int32, spec.Width256](x.v)}
314 }
315
316
317 func (x Int16x8) ConvertToInt64() (z Int64x8) {
318 return Int64x8{spec.ConvertToZ[int16, spec.Width128, int64, spec.Width512](x.v)}
319 }
320
321
322 func (x Int16x8) ConvertToUint16() (z Uint16x8) {
323 return Uint16x8{spec.ConvertToZ[int16, spec.Width128, uint16, spec.Width128](x.v)}
324 }
325
326
327 func (x Int16x8) ConvertToUint32() (z Uint32x8) {
328 return Uint32x8{spec.ConvertToZ[int16, spec.Width128, uint32, spec.Width256](x.v)}
329 }
330
331
332 func (x Int16x8) ConvertToUint64() (z Uint64x8) {
333 return Uint64x8{spec.ConvertToZ[int16, spec.Width128, uint64, spec.Width512](x.v)}
334 }
335
336
337 func (x Int16x16) ConvertToFloat32() (z Float32x16) {
338 return Float32x16{spec.ConvertToZ[int16, spec.Width256, float32, spec.Width512](x.v)}
339 }
340
341
342 func (x Int16x16) ConvertToInt8() (z Int8x16) {
343 return Int8x16{spec.ConvertToZ[int16, spec.Width256, int8, spec.Width128](x.v)}
344 }
345
346
347 func (x Int16x16) ConvertToInt32() (z Int32x16) {
348 return Int32x16{spec.ConvertToZ[int16, spec.Width256, int32, spec.Width512](x.v)}
349 }
350
351
352 func (x Int16x16) ConvertToUint8() (z Uint8x16) {
353 return Uint8x16{spec.ConvertToZ[int16, spec.Width256, uint8, spec.Width128](x.v)}
354 }
355
356
357 func (x Int16x16) ConvertToUint16() (z Uint16x16) {
358 return Uint16x16{spec.ConvertToZ[int16, spec.Width256, uint16, spec.Width256](x.v)}
359 }
360
361
362 func (x Int16x16) ConvertToUint32() (z Uint32x16) {
363 return Uint32x16{spec.ConvertToZ[int16, spec.Width256, uint32, spec.Width512](x.v)}
364 }
365
366
367 func (x Int16x32) ConvertToInt8() (z Int8x32) {
368 return Int8x32{spec.ConvertToZ[int16, spec.Width512, int8, spec.Width256](x.v)}
369 }
370
371
372 func (x Int16x32) ConvertToUint8() (z Uint8x32) {
373 return Uint8x32{spec.ConvertToZ[int16, spec.Width512, uint8, spec.Width256](x.v)}
374 }
375
376
377 func (x Int16x32) ConvertToUint16() (z Uint16x32) {
378 return Uint16x32{spec.ConvertToZ[int16, spec.Width512, uint16, spec.Width512](x.v)}
379 }
380
381
382 func (x Int16s) ConvertToUint16() (z Uint16s) {
383 return Uint16s{spec.ConvertToZ[int16, spec.WidthScalable, uint16, spec.WidthScalable](x.v)}
384 }
385
386
387 func (x Int32x4) ConvertToFloat32() (z Float32x4) {
388 return Float32x4{spec.ConvertToZ[int32, spec.Width128, float32, spec.Width128](x.v)}
389 }
390
391
392 func (x Int32x4) ConvertToFloat64() (z Float64x4) {
393 return Float64x4{spec.ConvertToZ[int32, spec.Width128, float64, spec.Width256](x.v)}
394 }
395
396
397 func (x Int32x4) ConvertToInt64() (z Int64x4) {
398 return Int64x4{spec.ConvertToZ[int32, spec.Width128, int64, spec.Width256](x.v)}
399 }
400
401
402 func (x Int32x4) ConvertToUint32() (z Uint32x4) {
403 return Uint32x4{spec.ConvertToZ[int32, spec.Width128, uint32, spec.Width128](x.v)}
404 }
405
406
407 func (x Int32x4) ConvertToUint64() (z Uint64x4) {
408 return Uint64x4{spec.ConvertToZ[int32, spec.Width128, uint64, spec.Width256](x.v)}
409 }
410
411
412 func (x Int32x8) ConvertToFloat32() (z Float32x8) {
413 return Float32x8{spec.ConvertToZ[int32, spec.Width256, float32, spec.Width256](x.v)}
414 }
415
416
417 func (x Int32x8) ConvertToFloat64() (z Float64x8) {
418 return Float64x8{spec.ConvertToZ[int32, spec.Width256, float64, spec.Width512](x.v)}
419 }
420
421
422 func (x Int32x8) ConvertToInt16() (z Int16x8) {
423 return Int16x8{spec.ConvertToZ[int32, spec.Width256, int16, spec.Width128](x.v)}
424 }
425
426
427 func (x Int32x8) ConvertToInt64() (z Int64x8) {
428 return Int64x8{spec.ConvertToZ[int32, spec.Width256, int64, spec.Width512](x.v)}
429 }
430
431
432 func (x Int32x8) ConvertToUint16() (z Uint16x8) {
433 return Uint16x8{spec.ConvertToZ[int32, spec.Width256, uint16, spec.Width128](x.v)}
434 }
435
436
437 func (x Int32x8) ConvertToUint32() (z Uint32x8) {
438 return Uint32x8{spec.ConvertToZ[int32, spec.Width256, uint32, spec.Width256](x.v)}
439 }
440
441
442 func (x Int32x8) ConvertToUint64() (z Uint64x8) {
443 return Uint64x8{spec.ConvertToZ[int32, spec.Width256, uint64, spec.Width512](x.v)}
444 }
445
446
447 func (x Int32x16) ConvertToFloat32() (z Float32x16) {
448 return Float32x16{spec.ConvertToZ[int32, spec.Width512, float32, spec.Width512](x.v)}
449 }
450
451
452 func (x Int32x16) ConvertToInt8() (z Int8x16) {
453 return Int8x16{spec.ConvertToZ[int32, spec.Width512, int8, spec.Width128](x.v)}
454 }
455
456
457 func (x Int32x16) ConvertToInt16() (z Int16x16) {
458 return Int16x16{spec.ConvertToZ[int32, spec.Width512, int16, spec.Width256](x.v)}
459 }
460
461
462 func (x Int32x16) ConvertToUint8() (z Uint8x16) {
463 return Uint8x16{spec.ConvertToZ[int32, spec.Width512, uint8, spec.Width128](x.v)}
464 }
465
466
467 func (x Int32x16) ConvertToUint16() (z Uint16x16) {
468 return Uint16x16{spec.ConvertToZ[int32, spec.Width512, uint16, spec.Width256](x.v)}
469 }
470
471
472 func (x Int32x16) ConvertToUint32() (z Uint32x16) {
473 return Uint32x16{spec.ConvertToZ[int32, spec.Width512, uint32, spec.Width512](x.v)}
474 }
475
476
477 func (x Int32s) ConvertToFloat32() (z Float32s) {
478 return Float32s{spec.ConvertToZ[int32, spec.WidthScalable, float32, spec.WidthScalable](x.v)}
479 }
480
481
482 func (x Int32s) ConvertToUint32() (z Uint32s) {
483 return Uint32s{spec.ConvertToZ[int32, spec.WidthScalable, uint32, spec.WidthScalable](x.v)}
484 }
485
486
487 func (x Int64x2) ConvertToFloat64() (z Float64x2) {
488 return Float64x2{spec.ConvertToZ[int64, spec.Width128, float64, spec.Width128](x.v)}
489 }
490
491
492 func (x Int64x2) ConvertToUint64() (z Uint64x2) {
493 return Uint64x2{spec.ConvertToZ[int64, spec.Width128, uint64, spec.Width128](x.v)}
494 }
495
496
497 func (x Int64x4) ConvertToFloat32() (z Float32x4) {
498 return Float32x4{spec.ConvertToZ[int64, spec.Width256, float32, spec.Width128](x.v)}
499 }
500
501
502 func (x Int64x4) ConvertToFloat64() (z Float64x4) {
503 return Float64x4{spec.ConvertToZ[int64, spec.Width256, float64, spec.Width256](x.v)}
504 }
505
506
507 func (x Int64x4) ConvertToInt32() (z Int32x4) {
508 return Int32x4{spec.ConvertToZ[int64, spec.Width256, int32, spec.Width128](x.v)}
509 }
510
511
512 func (x Int64x4) ConvertToUint32() (z Uint32x4) {
513 return Uint32x4{spec.ConvertToZ[int64, spec.Width256, uint32, spec.Width128](x.v)}
514 }
515
516
517 func (x Int64x4) ConvertToUint64() (z Uint64x4) {
518 return Uint64x4{spec.ConvertToZ[int64, spec.Width256, uint64, spec.Width256](x.v)}
519 }
520
521
522 func (x Int64x8) ConvertToFloat32() (z Float32x8) {
523 return Float32x8{spec.ConvertToZ[int64, spec.Width512, float32, spec.Width256](x.v)}
524 }
525
526
527 func (x Int64x8) ConvertToFloat64() (z Float64x8) {
528 return Float64x8{spec.ConvertToZ[int64, spec.Width512, float64, spec.Width512](x.v)}
529 }
530
531
532 func (x Int64x8) ConvertToInt16() (z Int16x8) {
533 return Int16x8{spec.ConvertToZ[int64, spec.Width512, int16, spec.Width128](x.v)}
534 }
535
536
537 func (x Int64x8) ConvertToInt32() (z Int32x8) {
538 return Int32x8{spec.ConvertToZ[int64, spec.Width512, int32, spec.Width256](x.v)}
539 }
540
541
542 func (x Int64x8) ConvertToUint16() (z Uint16x8) {
543 return Uint16x8{spec.ConvertToZ[int64, spec.Width512, uint16, spec.Width128](x.v)}
544 }
545
546
547 func (x Int64x8) ConvertToUint32() (z Uint32x8) {
548 return Uint32x8{spec.ConvertToZ[int64, spec.Width512, uint32, spec.Width256](x.v)}
549 }
550
551
552 func (x Int64x8) ConvertToUint64() (z Uint64x8) {
553 return Uint64x8{spec.ConvertToZ[int64, spec.Width512, uint64, spec.Width512](x.v)}
554 }
555
556
557 func (x Int64s) ConvertToFloat64() (z Float64s) {
558 return Float64s{spec.ConvertToZ[int64, spec.WidthScalable, float64, spec.WidthScalable](x.v)}
559 }
560
561
562 func (x Int64s) ConvertToUint64() (z Uint64s) {
563 return Uint64s{spec.ConvertToZ[int64, spec.WidthScalable, uint64, spec.WidthScalable](x.v)}
564 }
565
566
567 func (x Uint8x16) ConvertToFloat32() (z Float32x16) {
568 return Float32x16{spec.ConvertToZ[uint8, spec.Width128, float32, spec.Width512](x.v)}
569 }
570
571
572 func (x Uint8x16) ConvertToInt8() (z Int8x16) {
573 return Int8x16{spec.ConvertToZ[uint8, spec.Width128, int8, spec.Width128](x.v)}
574 }
575
576
577 func (x Uint8x16) ConvertToInt16() (z Int16x16) {
578 return Int16x16{spec.ConvertToZ[uint8, spec.Width128, int16, spec.Width256](x.v)}
579 }
580
581
582 func (x Uint8x16) ConvertToInt32() (z Int32x16) {
583 return Int32x16{spec.ConvertToZ[uint8, spec.Width128, int32, spec.Width512](x.v)}
584 }
585
586
587 func (x Uint8x16) ConvertToUint16() (z Uint16x16) {
588 return Uint16x16{spec.ConvertToZ[uint8, spec.Width128, uint16, spec.Width256](x.v)}
589 }
590
591
592 func (x Uint8x16) ConvertToUint32() (z Uint32x16) {
593 return Uint32x16{spec.ConvertToZ[uint8, spec.Width128, uint32, spec.Width512](x.v)}
594 }
595
596
597 func (x Uint8x32) ConvertToInt8() (z Int8x32) {
598 return Int8x32{spec.ConvertToZ[uint8, spec.Width256, int8, spec.Width256](x.v)}
599 }
600
601
602 func (x Uint8x32) ConvertToInt16() (z Int16x32) {
603 return Int16x32{spec.ConvertToZ[uint8, spec.Width256, int16, spec.Width512](x.v)}
604 }
605
606
607 func (x Uint8x32) ConvertToUint16() (z Uint16x32) {
608 return Uint16x32{spec.ConvertToZ[uint8, spec.Width256, uint16, spec.Width512](x.v)}
609 }
610
611
612 func (x Uint8x64) ConvertToInt8() (z Int8x64) {
613 return Int8x64{spec.ConvertToZ[uint8, spec.Width512, int8, spec.Width512](x.v)}
614 }
615
616
617 func (x Uint8s) ConvertToInt8() (z Int8s) {
618 return Int8s{spec.ConvertToZ[uint8, spec.WidthScalable, int8, spec.WidthScalable](x.v)}
619 }
620
621
622 func (x Uint16x8) ConvertToFloat32() (z Float32x8) {
623 return Float32x8{spec.ConvertToZ[uint16, spec.Width128, float32, spec.Width256](x.v)}
624 }
625
626
627 func (x Uint16x8) ConvertToFloat64() (z Float64x8) {
628 return Float64x8{spec.ConvertToZ[uint16, spec.Width128, float64, spec.Width512](x.v)}
629 }
630
631
632 func (x Uint16x8) ConvertToInt16() (z Int16x8) {
633 return Int16x8{spec.ConvertToZ[uint16, spec.Width128, int16, spec.Width128](x.v)}
634 }
635
636
637 func (x Uint16x8) ConvertToInt32() (z Int32x8) {
638 return Int32x8{spec.ConvertToZ[uint16, spec.Width128, int32, spec.Width256](x.v)}
639 }
640
641
642 func (x Uint16x8) ConvertToInt64() (z Int64x8) {
643 return Int64x8{spec.ConvertToZ[uint16, spec.Width128, int64, spec.Width512](x.v)}
644 }
645
646
647 func (x Uint16x8) ConvertToUint32() (z Uint32x8) {
648 return Uint32x8{spec.ConvertToZ[uint16, spec.Width128, uint32, spec.Width256](x.v)}
649 }
650
651
652 func (x Uint16x8) ConvertToUint64() (z Uint64x8) {
653 return Uint64x8{spec.ConvertToZ[uint16, spec.Width128, uint64, spec.Width512](x.v)}
654 }
655
656
657 func (x Uint16x16) ConvertToFloat32() (z Float32x16) {
658 return Float32x16{spec.ConvertToZ[uint16, spec.Width256, float32, spec.Width512](x.v)}
659 }
660
661
662 func (x Uint16x16) ConvertToInt8() (z Int8x16) {
663 return Int8x16{spec.ConvertToZ[uint16, spec.Width256, int8, spec.Width128](x.v)}
664 }
665
666
667 func (x Uint16x16) ConvertToInt16() (z Int16x16) {
668 return Int16x16{spec.ConvertToZ[uint16, spec.Width256, int16, spec.Width256](x.v)}
669 }
670
671
672 func (x Uint16x16) ConvertToInt32() (z Int32x16) {
673 return Int32x16{spec.ConvertToZ[uint16, spec.Width256, int32, spec.Width512](x.v)}
674 }
675
676
677 func (x Uint16x16) ConvertToUint8() (z Uint8x16) {
678 return Uint8x16{spec.ConvertToZ[uint16, spec.Width256, uint8, spec.Width128](x.v)}
679 }
680
681
682 func (x Uint16x16) ConvertToUint32() (z Uint32x16) {
683 return Uint32x16{spec.ConvertToZ[uint16, spec.Width256, uint32, spec.Width512](x.v)}
684 }
685
686
687 func (x Uint16x32) ConvertToInt8() (z Int8x32) {
688 return Int8x32{spec.ConvertToZ[uint16, spec.Width512, int8, spec.Width256](x.v)}
689 }
690
691
692 func (x Uint16x32) ConvertToInt16() (z Int16x32) {
693 return Int16x32{spec.ConvertToZ[uint16, spec.Width512, int16, spec.Width512](x.v)}
694 }
695
696
697 func (x Uint16x32) ConvertToUint8() (z Uint8x32) {
698 return Uint8x32{spec.ConvertToZ[uint16, spec.Width512, uint8, spec.Width256](x.v)}
699 }
700
701
702 func (x Uint16s) ConvertToInt16() (z Int16s) {
703 return Int16s{spec.ConvertToZ[uint16, spec.WidthScalable, int16, spec.WidthScalable](x.v)}
704 }
705
706
707 func (x Uint32x4) ConvertToFloat32() (z Float32x4) {
708 return Float32x4{spec.ConvertToZ[uint32, spec.Width128, float32, spec.Width128](x.v)}
709 }
710
711
712 func (x Uint32x4) ConvertToFloat64() (z Float64x4) {
713 return Float64x4{spec.ConvertToZ[uint32, spec.Width128, float64, spec.Width256](x.v)}
714 }
715
716
717 func (x Uint32x4) ConvertToInt32() (z Int32x4) {
718 return Int32x4{spec.ConvertToZ[uint32, spec.Width128, int32, spec.Width128](x.v)}
719 }
720
721
722 func (x Uint32x4) ConvertToInt64() (z Int64x4) {
723 return Int64x4{spec.ConvertToZ[uint32, spec.Width128, int64, spec.Width256](x.v)}
724 }
725
726
727 func (x Uint32x4) ConvertToUint64() (z Uint64x4) {
728 return Uint64x4{spec.ConvertToZ[uint32, spec.Width128, uint64, spec.Width256](x.v)}
729 }
730
731
732 func (x Uint32x8) ConvertToFloat32() (z Float32x8) {
733 return Float32x8{spec.ConvertToZ[uint32, spec.Width256, float32, spec.Width256](x.v)}
734 }
735
736
737 func (x Uint32x8) ConvertToFloat64() (z Float64x8) {
738 return Float64x8{spec.ConvertToZ[uint32, spec.Width256, float64, spec.Width512](x.v)}
739 }
740
741
742 func (x Uint32x8) ConvertToInt16() (z Int16x8) {
743 return Int16x8{spec.ConvertToZ[uint32, spec.Width256, int16, spec.Width128](x.v)}
744 }
745
746
747 func (x Uint32x8) ConvertToInt32() (z Int32x8) {
748 return Int32x8{spec.ConvertToZ[uint32, spec.Width256, int32, spec.Width256](x.v)}
749 }
750
751
752 func (x Uint32x8) ConvertToInt64() (z Int64x8) {
753 return Int64x8{spec.ConvertToZ[uint32, spec.Width256, int64, spec.Width512](x.v)}
754 }
755
756
757 func (x Uint32x8) ConvertToUint16() (z Uint16x8) {
758 return Uint16x8{spec.ConvertToZ[uint32, spec.Width256, uint16, spec.Width128](x.v)}
759 }
760
761
762 func (x Uint32x8) ConvertToUint64() (z Uint64x8) {
763 return Uint64x8{spec.ConvertToZ[uint32, spec.Width256, uint64, spec.Width512](x.v)}
764 }
765
766
767 func (x Uint32x16) ConvertToFloat32() (z Float32x16) {
768 return Float32x16{spec.ConvertToZ[uint32, spec.Width512, float32, spec.Width512](x.v)}
769 }
770
771
772 func (x Uint32x16) ConvertToInt8() (z Int8x16) {
773 return Int8x16{spec.ConvertToZ[uint32, spec.Width512, int8, spec.Width128](x.v)}
774 }
775
776
777 func (x Uint32x16) ConvertToInt16() (z Int16x16) {
778 return Int16x16{spec.ConvertToZ[uint32, spec.Width512, int16, spec.Width256](x.v)}
779 }
780
781
782 func (x Uint32x16) ConvertToInt32() (z Int32x16) {
783 return Int32x16{spec.ConvertToZ[uint32, spec.Width512, int32, spec.Width512](x.v)}
784 }
785
786
787 func (x Uint32x16) ConvertToUint8() (z Uint8x16) {
788 return Uint8x16{spec.ConvertToZ[uint32, spec.Width512, uint8, spec.Width128](x.v)}
789 }
790
791
792 func (x Uint32x16) ConvertToUint16() (z Uint16x16) {
793 return Uint16x16{spec.ConvertToZ[uint32, spec.Width512, uint16, spec.Width256](x.v)}
794 }
795
796
797 func (x Uint32s) ConvertToFloat32() (z Float32s) {
798 return Float32s{spec.ConvertToZ[uint32, spec.WidthScalable, float32, spec.WidthScalable](x.v)}
799 }
800
801
802 func (x Uint32s) ConvertToInt32() (z Int32s) {
803 return Int32s{spec.ConvertToZ[uint32, spec.WidthScalable, int32, spec.WidthScalable](x.v)}
804 }
805
806
807 func (x Uint64x2) ConvertToFloat64() (z Float64x2) {
808 return Float64x2{spec.ConvertToZ[uint64, spec.Width128, float64, spec.Width128](x.v)}
809 }
810
811
812 func (x Uint64x2) ConvertToInt64() (z Int64x2) {
813 return Int64x2{spec.ConvertToZ[uint64, spec.Width128, int64, spec.Width128](x.v)}
814 }
815
816
817 func (x Uint64x4) ConvertToFloat32() (z Float32x4) {
818 return Float32x4{spec.ConvertToZ[uint64, spec.Width256, float32, spec.Width128](x.v)}
819 }
820
821
822 func (x Uint64x4) ConvertToFloat64() (z Float64x4) {
823 return Float64x4{spec.ConvertToZ[uint64, spec.Width256, float64, spec.Width256](x.v)}
824 }
825
826
827 func (x Uint64x4) ConvertToInt32() (z Int32x4) {
828 return Int32x4{spec.ConvertToZ[uint64, spec.Width256, int32, spec.Width128](x.v)}
829 }
830
831
832 func (x Uint64x4) ConvertToInt64() (z Int64x4) {
833 return Int64x4{spec.ConvertToZ[uint64, spec.Width256, int64, spec.Width256](x.v)}
834 }
835
836
837 func (x Uint64x4) ConvertToUint32() (z Uint32x4) {
838 return Uint32x4{spec.ConvertToZ[uint64, spec.Width256, uint32, spec.Width128](x.v)}
839 }
840
841
842 func (x Uint64x8) ConvertToFloat32() (z Float32x8) {
843 return Float32x8{spec.ConvertToZ[uint64, spec.Width512, float32, spec.Width256](x.v)}
844 }
845
846
847 func (x Uint64x8) ConvertToFloat64() (z Float64x8) {
848 return Float64x8{spec.ConvertToZ[uint64, spec.Width512, float64, spec.Width512](x.v)}
849 }
850
851
852 func (x Uint64x8) ConvertToInt16() (z Int16x8) {
853 return Int16x8{spec.ConvertToZ[uint64, spec.Width512, int16, spec.Width128](x.v)}
854 }
855
856
857 func (x Uint64x8) ConvertToInt32() (z Int32x8) {
858 return Int32x8{spec.ConvertToZ[uint64, spec.Width512, int32, spec.Width256](x.v)}
859 }
860
861
862 func (x Uint64x8) ConvertToInt64() (z Int64x8) {
863 return Int64x8{spec.ConvertToZ[uint64, spec.Width512, int64, spec.Width512](x.v)}
864 }
865
866
867 func (x Uint64x8) ConvertToUint16() (z Uint16x8) {
868 return Uint16x8{spec.ConvertToZ[uint64, spec.Width512, uint16, spec.Width128](x.v)}
869 }
870
871
872 func (x Uint64x8) ConvertToUint32() (z Uint32x8) {
873 return Uint32x8{spec.ConvertToZ[uint64, spec.Width512, uint32, spec.Width256](x.v)}
874 }
875
876
877 func (x Uint64s) ConvertToFloat64() (z Float64s) {
878 return Float64s{spec.ConvertToZ[uint64, spec.WidthScalable, float64, spec.WidthScalable](x.v)}
879 }
880
881
882 func (x Uint64s) ConvertToInt64() (z Int64s) {
883 return Int64s{spec.ConvertToZ[uint64, spec.WidthScalable, int64, spec.WidthScalable](x.v)}
884 }
885
886
887 func (x Int8x16) ExtendLo8ToInt16() (z Int16x8) {
888 return Int16x8{spec.ExtendLoLToZ[int8, spec.Width128, int16](x.v)}
889 }
890
891
892 func (x Int8x16) ExtendLo4ToInt32() (z Int32x4) {
893 return Int32x4{spec.ExtendLoLToZ[int8, spec.Width128, int32](x.v)}
894 }
895
896
897 func (x Int8x16) ExtendLo2ToInt64() (z Int64x2) {
898 return Int64x2{spec.ExtendLoLToZ[int8, spec.Width128, int64](x.v)}
899 }
900
901
902 func (x Int8x32) ExtendLo16ToInt16() (z Int16x16) {
903 return Int16x16{spec.ExtendLoLToZ[int8, spec.Width256, int16](x.v)}
904 }
905
906
907 func (x Int8x32) ExtendLo8ToInt32() (z Int32x8) {
908 return Int32x8{spec.ExtendLoLToZ[int8, spec.Width256, int32](x.v)}
909 }
910
911
912 func (x Int8x32) ExtendLo4ToInt64() (z Int64x4) {
913 return Int64x4{spec.ExtendLoLToZ[int8, spec.Width256, int64](x.v)}
914 }
915
916
917 func (x Int8x64) ExtendLo32ToInt16() (z Int16x32) {
918 return Int16x32{spec.ExtendLoLToZ[int8, spec.Width512, int16](x.v)}
919 }
920
921
922 func (x Int8x64) ExtendLo16ToInt32() (z Int32x16) {
923 return Int32x16{spec.ExtendLoLToZ[int8, spec.Width512, int32](x.v)}
924 }
925
926
927 func (x Int8x64) ExtendLo8ToInt64() (z Int64x8) {
928 return Int64x8{spec.ExtendLoLToZ[int8, spec.Width512, int64](x.v)}
929 }
930
931
932 func (x Int16x8) ExtendLo4ToInt32() (z Int32x4) {
933 return Int32x4{spec.ExtendLoLToZ[int16, spec.Width128, int32](x.v)}
934 }
935
936
937 func (x Int16x8) ExtendLo2ToInt64() (z Int64x2) {
938 return Int64x2{spec.ExtendLoLToZ[int16, spec.Width128, int64](x.v)}
939 }
940
941
942 func (x Int16x16) ExtendLo8ToInt32() (z Int32x8) {
943 return Int32x8{spec.ExtendLoLToZ[int16, spec.Width256, int32](x.v)}
944 }
945
946
947 func (x Int16x16) ExtendLo4ToInt64() (z Int64x4) {
948 return Int64x4{spec.ExtendLoLToZ[int16, spec.Width256, int64](x.v)}
949 }
950
951
952 func (x Int16x32) ExtendLo16ToInt32() (z Int32x16) {
953 return Int32x16{spec.ExtendLoLToZ[int16, spec.Width512, int32](x.v)}
954 }
955
956
957 func (x Int16x32) ExtendLo8ToInt64() (z Int64x8) {
958 return Int64x8{spec.ExtendLoLToZ[int16, spec.Width512, int64](x.v)}
959 }
960
961
962 func (x Int32x4) ExtendLo2ToInt64() (z Int64x2) {
963 return Int64x2{spec.ExtendLoLToZ[int32, spec.Width128, int64](x.v)}
964 }
965
966
967 func (x Int32x8) ExtendLo4ToInt64() (z Int64x4) {
968 return Int64x4{spec.ExtendLoLToZ[int32, spec.Width256, int64](x.v)}
969 }
970
971
972 func (x Int32x16) ExtendLo8ToInt64() (z Int64x8) {
973 return Int64x8{spec.ExtendLoLToZ[int32, spec.Width512, int64](x.v)}
974 }
975
976
977 func (x Uint8x16) ExtendLo8ToUint16() (z Uint16x8) {
978 return Uint16x8{spec.ExtendLoLToZ[uint8, spec.Width128, uint16](x.v)}
979 }
980
981
982 func (x Uint8x16) ExtendLo4ToUint32() (z Uint32x4) {
983 return Uint32x4{spec.ExtendLoLToZ[uint8, spec.Width128, uint32](x.v)}
984 }
985
986
987 func (x Uint8x16) ExtendLo2ToUint64() (z Uint64x2) {
988 return Uint64x2{spec.ExtendLoLToZ[uint8, spec.Width128, uint64](x.v)}
989 }
990
991
992 func (x Uint8x32) ExtendLo16ToUint16() (z Uint16x16) {
993 return Uint16x16{spec.ExtendLoLToZ[uint8, spec.Width256, uint16](x.v)}
994 }
995
996
997 func (x Uint8x32) ExtendLo8ToUint32() (z Uint32x8) {
998 return Uint32x8{spec.ExtendLoLToZ[uint8, spec.Width256, uint32](x.v)}
999 }
1000
1001
1002 func (x Uint8x32) ExtendLo4ToUint64() (z Uint64x4) {
1003 return Uint64x4{spec.ExtendLoLToZ[uint8, spec.Width256, uint64](x.v)}
1004 }
1005
1006
1007 func (x Uint8x64) ExtendLo32ToUint16() (z Uint16x32) {
1008 return Uint16x32{spec.ExtendLoLToZ[uint8, spec.Width512, uint16](x.v)}
1009 }
1010
1011
1012 func (x Uint8x64) ExtendLo16ToUint32() (z Uint32x16) {
1013 return Uint32x16{spec.ExtendLoLToZ[uint8, spec.Width512, uint32](x.v)}
1014 }
1015
1016
1017 func (x Uint8x64) ExtendLo8ToUint64() (z Uint64x8) {
1018 return Uint64x8{spec.ExtendLoLToZ[uint8, spec.Width512, uint64](x.v)}
1019 }
1020
1021
1022 func (x Uint16x8) ExtendLo4ToUint32() (z Uint32x4) {
1023 return Uint32x4{spec.ExtendLoLToZ[uint16, spec.Width128, uint32](x.v)}
1024 }
1025
1026
1027 func (x Uint16x8) ExtendLo2ToUint64() (z Uint64x2) {
1028 return Uint64x2{spec.ExtendLoLToZ[uint16, spec.Width128, uint64](x.v)}
1029 }
1030
1031
1032 func (x Uint16x16) ExtendLo8ToUint32() (z Uint32x8) {
1033 return Uint32x8{spec.ExtendLoLToZ[uint16, spec.Width256, uint32](x.v)}
1034 }
1035
1036
1037 func (x Uint16x16) ExtendLo4ToUint64() (z Uint64x4) {
1038 return Uint64x4{spec.ExtendLoLToZ[uint16, spec.Width256, uint64](x.v)}
1039 }
1040
1041
1042 func (x Uint16x32) ExtendLo16ToUint32() (z Uint32x16) {
1043 return Uint32x16{spec.ExtendLoLToZ[uint16, spec.Width512, uint32](x.v)}
1044 }
1045
1046
1047 func (x Uint16x32) ExtendLo8ToUint64() (z Uint64x8) {
1048 return Uint64x8{spec.ExtendLoLToZ[uint16, spec.Width512, uint64](x.v)}
1049 }
1050
1051
1052 func (x Uint32x4) ExtendLo2ToUint64() (z Uint64x2) {
1053 return Uint64x2{spec.ExtendLoLToZ[uint32, spec.Width128, uint64](x.v)}
1054 }
1055
1056
1057 func (x Uint32x8) ExtendLo4ToUint64() (z Uint64x4) {
1058 return Uint64x4{spec.ExtendLoLToZ[uint32, spec.Width256, uint64](x.v)}
1059 }
1060
1061
1062 func (x Uint32x16) ExtendLo8ToUint64() (z Uint64x8) {
1063 return Uint64x8{spec.ExtendLoLToZ[uint32, spec.Width512, uint64](x.v)}
1064 }
1065
1066
1067 func (x Float32x4) ConvertLo2ToFloat64() (z Float64x2) {
1068 return Float64x2{spec.ConvertLoLToZ[float32, spec.Width128, float64](x.v)}
1069 }
1070
1071
1072 func (x Float32x8) ConvertLo4ToFloat64() (z Float64x4) {
1073 return Float64x4{spec.ConvertLoLToZ[float32, spec.Width256, float64](x.v)}
1074 }
1075
1076
1077 func (x Float32x16) ConvertLo8ToFloat64() (z Float64x8) {
1078 return Float64x8{spec.ConvertLoLToZ[float32, spec.Width512, float64](x.v)}
1079 }
1080
1081
1082 func (x Int8x16) ConvertLo4ToFloat32() (z Float32x4) {
1083 return Float32x4{spec.ConvertLoLToZ[int8, spec.Width128, float32](x.v)}
1084 }
1085
1086
1087 func (x Int8x16) ConvertLo2ToFloat64() (z Float64x2) {
1088 return Float64x2{spec.ConvertLoLToZ[int8, spec.Width128, float64](x.v)}
1089 }
1090
1091
1092 func (x Int8x32) ConvertLo8ToFloat32() (z Float32x8) {
1093 return Float32x8{spec.ConvertLoLToZ[int8, spec.Width256, float32](x.v)}
1094 }
1095
1096
1097 func (x Int8x32) ConvertLo4ToFloat64() (z Float64x4) {
1098 return Float64x4{spec.ConvertLoLToZ[int8, spec.Width256, float64](x.v)}
1099 }
1100
1101
1102 func (x Int8x64) ConvertLo16ToFloat32() (z Float32x16) {
1103 return Float32x16{spec.ConvertLoLToZ[int8, spec.Width512, float32](x.v)}
1104 }
1105
1106
1107 func (x Int8x64) ConvertLo8ToFloat64() (z Float64x8) {
1108 return Float64x8{spec.ConvertLoLToZ[int8, spec.Width512, float64](x.v)}
1109 }
1110
1111
1112 func (x Int16x8) ConvertLo4ToFloat32() (z Float32x4) {
1113 return Float32x4{spec.ConvertLoLToZ[int16, spec.Width128, float32](x.v)}
1114 }
1115
1116
1117 func (x Int16x8) ConvertLo2ToFloat64() (z Float64x2) {
1118 return Float64x2{spec.ConvertLoLToZ[int16, spec.Width128, float64](x.v)}
1119 }
1120
1121
1122 func (x Int16x16) ConvertLo8ToFloat32() (z Float32x8) {
1123 return Float32x8{spec.ConvertLoLToZ[int16, spec.Width256, float32](x.v)}
1124 }
1125
1126
1127 func (x Int16x16) ConvertLo4ToFloat64() (z Float64x4) {
1128 return Float64x4{spec.ConvertLoLToZ[int16, spec.Width256, float64](x.v)}
1129 }
1130
1131
1132 func (x Int16x32) ConvertLo16ToFloat32() (z Float32x16) {
1133 return Float32x16{spec.ConvertLoLToZ[int16, spec.Width512, float32](x.v)}
1134 }
1135
1136
1137 func (x Int16x32) ConvertLo8ToFloat64() (z Float64x8) {
1138 return Float64x8{spec.ConvertLoLToZ[int16, spec.Width512, float64](x.v)}
1139 }
1140
1141
1142 func (x Int32x4) ConvertLo2ToFloat64() (z Float64x2) {
1143 return Float64x2{spec.ConvertLoLToZ[int32, spec.Width128, float64](x.v)}
1144 }
1145
1146
1147 func (x Int32x8) ConvertLo4ToFloat64() (z Float64x4) {
1148 return Float64x4{spec.ConvertLoLToZ[int32, spec.Width256, float64](x.v)}
1149 }
1150
1151
1152 func (x Int32x16) ConvertLo8ToFloat64() (z Float64x8) {
1153 return Float64x8{spec.ConvertLoLToZ[int32, spec.Width512, float64](x.v)}
1154 }
1155
1156
1157 func (x Uint8x16) ConvertLo4ToFloat32() (z Float32x4) {
1158 return Float32x4{spec.ConvertLoLToZ[uint8, spec.Width128, float32](x.v)}
1159 }
1160
1161
1162 func (x Uint8x16) ConvertLo2ToFloat64() (z Float64x2) {
1163 return Float64x2{spec.ConvertLoLToZ[uint8, spec.Width128, float64](x.v)}
1164 }
1165
1166
1167 func (x Uint8x32) ConvertLo8ToFloat32() (z Float32x8) {
1168 return Float32x8{spec.ConvertLoLToZ[uint8, spec.Width256, float32](x.v)}
1169 }
1170
1171
1172 func (x Uint8x32) ConvertLo4ToFloat64() (z Float64x4) {
1173 return Float64x4{spec.ConvertLoLToZ[uint8, spec.Width256, float64](x.v)}
1174 }
1175
1176
1177 func (x Uint8x64) ConvertLo16ToFloat32() (z Float32x16) {
1178 return Float32x16{spec.ConvertLoLToZ[uint8, spec.Width512, float32](x.v)}
1179 }
1180
1181
1182 func (x Uint8x64) ConvertLo8ToFloat64() (z Float64x8) {
1183 return Float64x8{spec.ConvertLoLToZ[uint8, spec.Width512, float64](x.v)}
1184 }
1185
1186
1187 func (x Uint16x8) ConvertLo4ToFloat32() (z Float32x4) {
1188 return Float32x4{spec.ConvertLoLToZ[uint16, spec.Width128, float32](x.v)}
1189 }
1190
1191
1192 func (x Uint16x8) ConvertLo2ToFloat64() (z Float64x2) {
1193 return Float64x2{spec.ConvertLoLToZ[uint16, spec.Width128, float64](x.v)}
1194 }
1195
1196
1197 func (x Uint16x16) ConvertLo8ToFloat32() (z Float32x8) {
1198 return Float32x8{spec.ConvertLoLToZ[uint16, spec.Width256, float32](x.v)}
1199 }
1200
1201
1202 func (x Uint16x16) ConvertLo4ToFloat64() (z Float64x4) {
1203 return Float64x4{spec.ConvertLoLToZ[uint16, spec.Width256, float64](x.v)}
1204 }
1205
1206
1207 func (x Uint16x32) ConvertLo16ToFloat32() (z Float32x16) {
1208 return Float32x16{spec.ConvertLoLToZ[uint16, spec.Width512, float32](x.v)}
1209 }
1210
1211
1212 func (x Uint16x32) ConvertLo8ToFloat64() (z Float64x8) {
1213 return Float64x8{spec.ConvertLoLToZ[uint16, spec.Width512, float64](x.v)}
1214 }
1215
1216
1217 func (x Uint32x4) ConvertLo2ToFloat64() (z Float64x2) {
1218 return Float64x2{spec.ConvertLoLToZ[uint32, spec.Width128, float64](x.v)}
1219 }
1220
1221
1222 func (x Uint32x8) ConvertLo4ToFloat64() (z Float64x4) {
1223 return Float64x4{spec.ConvertLoLToZ[uint32, spec.Width256, float64](x.v)}
1224 }
1225
1226
1227 func (x Uint32x16) ConvertLo8ToFloat64() (z Float64x8) {
1228 return Float64x8{spec.ConvertLoLToZ[uint32, spec.Width512, float64](x.v)}
1229 }
1230
1231
1232
1233 func BroadcastFloat32x4(x float32) (z Float32x4) {
1234 return Float32x4{spec.BroadcastZ[float32, spec.Width128](x)}
1235 }
1236
1237
1238
1239 func BroadcastFloat32x8(x float32) (z Float32x8) {
1240 return Float32x8{spec.BroadcastZ[float32, spec.Width256](x)}
1241 }
1242
1243
1244
1245 func BroadcastFloat32x16(x float32) (z Float32x16) {
1246 return Float32x16{spec.BroadcastZ[float32, spec.Width512](x)}
1247 }
1248
1249
1250
1251 func BroadcastFloat32s(x float32) (z Float32s) {
1252 return Float32s{spec.BroadcastZ[float32, spec.WidthScalable](x)}
1253 }
1254
1255
1256
1257 func BroadcastFloat64x2(x float64) (z Float64x2) {
1258 return Float64x2{spec.BroadcastZ[float64, spec.Width128](x)}
1259 }
1260
1261
1262
1263 func BroadcastFloat64x4(x float64) (z Float64x4) {
1264 return Float64x4{spec.BroadcastZ[float64, spec.Width256](x)}
1265 }
1266
1267
1268
1269 func BroadcastFloat64x8(x float64) (z Float64x8) {
1270 return Float64x8{spec.BroadcastZ[float64, spec.Width512](x)}
1271 }
1272
1273
1274
1275 func BroadcastFloat64s(x float64) (z Float64s) {
1276 return Float64s{spec.BroadcastZ[float64, spec.WidthScalable](x)}
1277 }
1278
1279
1280
1281 func BroadcastInt8x16(x int8) (z Int8x16) {
1282 return Int8x16{spec.BroadcastZ[int8, spec.Width128](x)}
1283 }
1284
1285
1286
1287 func BroadcastInt8x32(x int8) (z Int8x32) {
1288 return Int8x32{spec.BroadcastZ[int8, spec.Width256](x)}
1289 }
1290
1291
1292
1293 func BroadcastInt8x64(x int8) (z Int8x64) {
1294 return Int8x64{spec.BroadcastZ[int8, spec.Width512](x)}
1295 }
1296
1297
1298
1299 func BroadcastInt8s(x int8) (z Int8s) {
1300 return Int8s{spec.BroadcastZ[int8, spec.WidthScalable](x)}
1301 }
1302
1303
1304
1305 func BroadcastInt16x8(x int16) (z Int16x8) {
1306 return Int16x8{spec.BroadcastZ[int16, spec.Width128](x)}
1307 }
1308
1309
1310
1311 func BroadcastInt16x16(x int16) (z Int16x16) {
1312 return Int16x16{spec.BroadcastZ[int16, spec.Width256](x)}
1313 }
1314
1315
1316
1317 func BroadcastInt16x32(x int16) (z Int16x32) {
1318 return Int16x32{spec.BroadcastZ[int16, spec.Width512](x)}
1319 }
1320
1321
1322
1323 func BroadcastInt16s(x int16) (z Int16s) {
1324 return Int16s{spec.BroadcastZ[int16, spec.WidthScalable](x)}
1325 }
1326
1327
1328
1329 func BroadcastInt32x4(x int32) (z Int32x4) {
1330 return Int32x4{spec.BroadcastZ[int32, spec.Width128](x)}
1331 }
1332
1333
1334
1335 func BroadcastInt32x8(x int32) (z Int32x8) {
1336 return Int32x8{spec.BroadcastZ[int32, spec.Width256](x)}
1337 }
1338
1339
1340
1341 func BroadcastInt32x16(x int32) (z Int32x16) {
1342 return Int32x16{spec.BroadcastZ[int32, spec.Width512](x)}
1343 }
1344
1345
1346
1347 func BroadcastInt32s(x int32) (z Int32s) {
1348 return Int32s{spec.BroadcastZ[int32, spec.WidthScalable](x)}
1349 }
1350
1351
1352
1353 func BroadcastInt64x2(x int64) (z Int64x2) {
1354 return Int64x2{spec.BroadcastZ[int64, spec.Width128](x)}
1355 }
1356
1357
1358
1359 func BroadcastInt64x4(x int64) (z Int64x4) {
1360 return Int64x4{spec.BroadcastZ[int64, spec.Width256](x)}
1361 }
1362
1363
1364
1365 func BroadcastInt64x8(x int64) (z Int64x8) {
1366 return Int64x8{spec.BroadcastZ[int64, spec.Width512](x)}
1367 }
1368
1369
1370
1371 func BroadcastInt64s(x int64) (z Int64s) {
1372 return Int64s{spec.BroadcastZ[int64, spec.WidthScalable](x)}
1373 }
1374
1375
1376
1377 func BroadcastUint8x16(x uint8) (z Uint8x16) {
1378 return Uint8x16{spec.BroadcastZ[uint8, spec.Width128](x)}
1379 }
1380
1381
1382
1383 func BroadcastUint8x32(x uint8) (z Uint8x32) {
1384 return Uint8x32{spec.BroadcastZ[uint8, spec.Width256](x)}
1385 }
1386
1387
1388
1389 func BroadcastUint8x64(x uint8) (z Uint8x64) {
1390 return Uint8x64{spec.BroadcastZ[uint8, spec.Width512](x)}
1391 }
1392
1393
1394
1395 func BroadcastUint8s(x uint8) (z Uint8s) {
1396 return Uint8s{spec.BroadcastZ[uint8, spec.WidthScalable](x)}
1397 }
1398
1399
1400
1401 func BroadcastUint16x8(x uint16) (z Uint16x8) {
1402 return Uint16x8{spec.BroadcastZ[uint16, spec.Width128](x)}
1403 }
1404
1405
1406
1407 func BroadcastUint16x16(x uint16) (z Uint16x16) {
1408 return Uint16x16{spec.BroadcastZ[uint16, spec.Width256](x)}
1409 }
1410
1411
1412
1413 func BroadcastUint16x32(x uint16) (z Uint16x32) {
1414 return Uint16x32{spec.BroadcastZ[uint16, spec.Width512](x)}
1415 }
1416
1417
1418
1419 func BroadcastUint16s(x uint16) (z Uint16s) {
1420 return Uint16s{spec.BroadcastZ[uint16, spec.WidthScalable](x)}
1421 }
1422
1423
1424
1425 func BroadcastUint32x4(x uint32) (z Uint32x4) {
1426 return Uint32x4{spec.BroadcastZ[uint32, spec.Width128](x)}
1427 }
1428
1429
1430
1431 func BroadcastUint32x8(x uint32) (z Uint32x8) {
1432 return Uint32x8{spec.BroadcastZ[uint32, spec.Width256](x)}
1433 }
1434
1435
1436
1437 func BroadcastUint32x16(x uint32) (z Uint32x16) {
1438 return Uint32x16{spec.BroadcastZ[uint32, spec.Width512](x)}
1439 }
1440
1441
1442
1443 func BroadcastUint32s(x uint32) (z Uint32s) {
1444 return Uint32s{spec.BroadcastZ[uint32, spec.WidthScalable](x)}
1445 }
1446
1447
1448
1449 func BroadcastUint64x2(x uint64) (z Uint64x2) {
1450 return Uint64x2{spec.BroadcastZ[uint64, spec.Width128](x)}
1451 }
1452
1453
1454
1455 func BroadcastUint64x4(x uint64) (z Uint64x4) {
1456 return Uint64x4{spec.BroadcastZ[uint64, spec.Width256](x)}
1457 }
1458
1459
1460
1461 func BroadcastUint64x8(x uint64) (z Uint64x8) {
1462 return Uint64x8{spec.BroadcastZ[uint64, spec.Width512](x)}
1463 }
1464
1465
1466
1467 func BroadcastUint64s(x uint64) (z Uint64s) {
1468 return Uint64s{spec.BroadcastZ[uint64, spec.WidthScalable](x)}
1469 }
1470
1471
1472
1473 func LoadFloat32x4(s []float32) (z Float32x4) {
1474 return Float32x4{spec.LoadZ[float32, spec.Width128](s)}
1475 }
1476
1477
1478
1479 func LoadFloat32x8(s []float32) (z Float32x8) {
1480 return Float32x8{spec.LoadZ[float32, spec.Width256](s)}
1481 }
1482
1483
1484
1485 func LoadFloat32x16(s []float32) (z Float32x16) {
1486 return Float32x16{spec.LoadZ[float32, spec.Width512](s)}
1487 }
1488
1489
1490
1491 func LoadFloat32s(s []float32) (z Float32s) {
1492 return Float32s{spec.LoadZ[float32, spec.WidthScalable](s)}
1493 }
1494
1495
1496
1497 func LoadFloat64x2(s []float64) (z Float64x2) {
1498 return Float64x2{spec.LoadZ[float64, spec.Width128](s)}
1499 }
1500
1501
1502
1503 func LoadFloat64x4(s []float64) (z Float64x4) {
1504 return Float64x4{spec.LoadZ[float64, spec.Width256](s)}
1505 }
1506
1507
1508
1509 func LoadFloat64x8(s []float64) (z Float64x8) {
1510 return Float64x8{spec.LoadZ[float64, spec.Width512](s)}
1511 }
1512
1513
1514
1515 func LoadFloat64s(s []float64) (z Float64s) {
1516 return Float64s{spec.LoadZ[float64, spec.WidthScalable](s)}
1517 }
1518
1519
1520
1521 func LoadInt8x16(s []int8) (z Int8x16) {
1522 return Int8x16{spec.LoadZ[int8, spec.Width128](s)}
1523 }
1524
1525
1526
1527 func LoadInt8x32(s []int8) (z Int8x32) {
1528 return Int8x32{spec.LoadZ[int8, spec.Width256](s)}
1529 }
1530
1531
1532
1533 func LoadInt8x64(s []int8) (z Int8x64) {
1534 return Int8x64{spec.LoadZ[int8, spec.Width512](s)}
1535 }
1536
1537
1538
1539 func LoadInt8s(s []int8) (z Int8s) {
1540 return Int8s{spec.LoadZ[int8, spec.WidthScalable](s)}
1541 }
1542
1543
1544
1545 func LoadInt16x8(s []int16) (z Int16x8) {
1546 return Int16x8{spec.LoadZ[int16, spec.Width128](s)}
1547 }
1548
1549
1550
1551 func LoadInt16x16(s []int16) (z Int16x16) {
1552 return Int16x16{spec.LoadZ[int16, spec.Width256](s)}
1553 }
1554
1555
1556
1557 func LoadInt16x32(s []int16) (z Int16x32) {
1558 return Int16x32{spec.LoadZ[int16, spec.Width512](s)}
1559 }
1560
1561
1562
1563 func LoadInt16s(s []int16) (z Int16s) {
1564 return Int16s{spec.LoadZ[int16, spec.WidthScalable](s)}
1565 }
1566
1567
1568
1569 func LoadInt32x4(s []int32) (z Int32x4) {
1570 return Int32x4{spec.LoadZ[int32, spec.Width128](s)}
1571 }
1572
1573
1574
1575 func LoadInt32x8(s []int32) (z Int32x8) {
1576 return Int32x8{spec.LoadZ[int32, spec.Width256](s)}
1577 }
1578
1579
1580
1581 func LoadInt32x16(s []int32) (z Int32x16) {
1582 return Int32x16{spec.LoadZ[int32, spec.Width512](s)}
1583 }
1584
1585
1586
1587 func LoadInt32s(s []int32) (z Int32s) {
1588 return Int32s{spec.LoadZ[int32, spec.WidthScalable](s)}
1589 }
1590
1591
1592
1593 func LoadInt64x2(s []int64) (z Int64x2) {
1594 return Int64x2{spec.LoadZ[int64, spec.Width128](s)}
1595 }
1596
1597
1598
1599 func LoadInt64x4(s []int64) (z Int64x4) {
1600 return Int64x4{spec.LoadZ[int64, spec.Width256](s)}
1601 }
1602
1603
1604
1605 func LoadInt64x8(s []int64) (z Int64x8) {
1606 return Int64x8{spec.LoadZ[int64, spec.Width512](s)}
1607 }
1608
1609
1610
1611 func LoadInt64s(s []int64) (z Int64s) {
1612 return Int64s{spec.LoadZ[int64, spec.WidthScalable](s)}
1613 }
1614
1615
1616
1617 func LoadUint8x16(s []uint8) (z Uint8x16) {
1618 return Uint8x16{spec.LoadZ[uint8, spec.Width128](s)}
1619 }
1620
1621
1622
1623 func LoadUint8x32(s []uint8) (z Uint8x32) {
1624 return Uint8x32{spec.LoadZ[uint8, spec.Width256](s)}
1625 }
1626
1627
1628
1629 func LoadUint8x64(s []uint8) (z Uint8x64) {
1630 return Uint8x64{spec.LoadZ[uint8, spec.Width512](s)}
1631 }
1632
1633
1634
1635 func LoadUint8s(s []uint8) (z Uint8s) {
1636 return Uint8s{spec.LoadZ[uint8, spec.WidthScalable](s)}
1637 }
1638
1639
1640
1641 func LoadUint16x8(s []uint16) (z Uint16x8) {
1642 return Uint16x8{spec.LoadZ[uint16, spec.Width128](s)}
1643 }
1644
1645
1646
1647 func LoadUint16x16(s []uint16) (z Uint16x16) {
1648 return Uint16x16{spec.LoadZ[uint16, spec.Width256](s)}
1649 }
1650
1651
1652
1653 func LoadUint16x32(s []uint16) (z Uint16x32) {
1654 return Uint16x32{spec.LoadZ[uint16, spec.Width512](s)}
1655 }
1656
1657
1658
1659 func LoadUint16s(s []uint16) (z Uint16s) {
1660 return Uint16s{spec.LoadZ[uint16, spec.WidthScalable](s)}
1661 }
1662
1663
1664
1665 func LoadUint32x4(s []uint32) (z Uint32x4) {
1666 return Uint32x4{spec.LoadZ[uint32, spec.Width128](s)}
1667 }
1668
1669
1670
1671 func LoadUint32x8(s []uint32) (z Uint32x8) {
1672 return Uint32x8{spec.LoadZ[uint32, spec.Width256](s)}
1673 }
1674
1675
1676
1677 func LoadUint32x16(s []uint32) (z Uint32x16) {
1678 return Uint32x16{spec.LoadZ[uint32, spec.Width512](s)}
1679 }
1680
1681
1682
1683 func LoadUint32s(s []uint32) (z Uint32s) {
1684 return Uint32s{spec.LoadZ[uint32, spec.WidthScalable](s)}
1685 }
1686
1687
1688
1689 func LoadUint64x2(s []uint64) (z Uint64x2) {
1690 return Uint64x2{spec.LoadZ[uint64, spec.Width128](s)}
1691 }
1692
1693
1694
1695 func LoadUint64x4(s []uint64) (z Uint64x4) {
1696 return Uint64x4{spec.LoadZ[uint64, spec.Width256](s)}
1697 }
1698
1699
1700
1701 func LoadUint64x8(s []uint64) (z Uint64x8) {
1702 return Uint64x8{spec.LoadZ[uint64, spec.Width512](s)}
1703 }
1704
1705
1706
1707 func LoadUint64s(s []uint64) (z Uint64s) {
1708 return Uint64s{spec.LoadZ[uint64, spec.WidthScalable](s)}
1709 }
1710
1711
1712 func LoadFloat32x4Array(x *[4]float32) (z Float32x4) {
1713 var tmp0 spec.Array[float32, spec.Width128] = x[:]
1714 return Float32x4{spec.LoadZArray[float32, spec.Width128](&tmp0)}
1715 }
1716
1717
1718 func LoadFloat32x8Array(x *[8]float32) (z Float32x8) {
1719 var tmp0 spec.Array[float32, spec.Width256] = x[:]
1720 return Float32x8{spec.LoadZArray[float32, spec.Width256](&tmp0)}
1721 }
1722
1723
1724 func LoadFloat32x16Array(x *[16]float32) (z Float32x16) {
1725 var tmp0 spec.Array[float32, spec.Width512] = x[:]
1726 return Float32x16{spec.LoadZArray[float32, spec.Width512](&tmp0)}
1727 }
1728
1729
1730 func LoadFloat64x2Array(x *[2]float64) (z Float64x2) {
1731 var tmp0 spec.Array[float64, spec.Width128] = x[:]
1732 return Float64x2{spec.LoadZArray[float64, spec.Width128](&tmp0)}
1733 }
1734
1735
1736 func LoadFloat64x4Array(x *[4]float64) (z Float64x4) {
1737 var tmp0 spec.Array[float64, spec.Width256] = x[:]
1738 return Float64x4{spec.LoadZArray[float64, spec.Width256](&tmp0)}
1739 }
1740
1741
1742 func LoadFloat64x8Array(x *[8]float64) (z Float64x8) {
1743 var tmp0 spec.Array[float64, spec.Width512] = x[:]
1744 return Float64x8{spec.LoadZArray[float64, spec.Width512](&tmp0)}
1745 }
1746
1747
1748 func LoadInt8x16Array(x *[16]int8) (z Int8x16) {
1749 var tmp0 spec.Array[int8, spec.Width128] = x[:]
1750 return Int8x16{spec.LoadZArray[int8, spec.Width128](&tmp0)}
1751 }
1752
1753
1754 func LoadInt8x32Array(x *[32]int8) (z Int8x32) {
1755 var tmp0 spec.Array[int8, spec.Width256] = x[:]
1756 return Int8x32{spec.LoadZArray[int8, spec.Width256](&tmp0)}
1757 }
1758
1759
1760 func LoadInt8x64Array(x *[64]int8) (z Int8x64) {
1761 var tmp0 spec.Array[int8, spec.Width512] = x[:]
1762 return Int8x64{spec.LoadZArray[int8, spec.Width512](&tmp0)}
1763 }
1764
1765
1766 func LoadInt16x8Array(x *[8]int16) (z Int16x8) {
1767 var tmp0 spec.Array[int16, spec.Width128] = x[:]
1768 return Int16x8{spec.LoadZArray[int16, spec.Width128](&tmp0)}
1769 }
1770
1771
1772 func LoadInt16x16Array(x *[16]int16) (z Int16x16) {
1773 var tmp0 spec.Array[int16, spec.Width256] = x[:]
1774 return Int16x16{spec.LoadZArray[int16, spec.Width256](&tmp0)}
1775 }
1776
1777
1778 func LoadInt16x32Array(x *[32]int16) (z Int16x32) {
1779 var tmp0 spec.Array[int16, spec.Width512] = x[:]
1780 return Int16x32{spec.LoadZArray[int16, spec.Width512](&tmp0)}
1781 }
1782
1783
1784 func LoadInt32x4Array(x *[4]int32) (z Int32x4) {
1785 var tmp0 spec.Array[int32, spec.Width128] = x[:]
1786 return Int32x4{spec.LoadZArray[int32, spec.Width128](&tmp0)}
1787 }
1788
1789
1790 func LoadInt32x8Array(x *[8]int32) (z Int32x8) {
1791 var tmp0 spec.Array[int32, spec.Width256] = x[:]
1792 return Int32x8{spec.LoadZArray[int32, spec.Width256](&tmp0)}
1793 }
1794
1795
1796 func LoadInt32x16Array(x *[16]int32) (z Int32x16) {
1797 var tmp0 spec.Array[int32, spec.Width512] = x[:]
1798 return Int32x16{spec.LoadZArray[int32, spec.Width512](&tmp0)}
1799 }
1800
1801
1802 func LoadInt64x2Array(x *[2]int64) (z Int64x2) {
1803 var tmp0 spec.Array[int64, spec.Width128] = x[:]
1804 return Int64x2{spec.LoadZArray[int64, spec.Width128](&tmp0)}
1805 }
1806
1807
1808 func LoadInt64x4Array(x *[4]int64) (z Int64x4) {
1809 var tmp0 spec.Array[int64, spec.Width256] = x[:]
1810 return Int64x4{spec.LoadZArray[int64, spec.Width256](&tmp0)}
1811 }
1812
1813
1814 func LoadInt64x8Array(x *[8]int64) (z Int64x8) {
1815 var tmp0 spec.Array[int64, spec.Width512] = x[:]
1816 return Int64x8{spec.LoadZArray[int64, spec.Width512](&tmp0)}
1817 }
1818
1819
1820 func LoadUint8x16Array(x *[16]uint8) (z Uint8x16) {
1821 var tmp0 spec.Array[uint8, spec.Width128] = x[:]
1822 return Uint8x16{spec.LoadZArray[uint8, spec.Width128](&tmp0)}
1823 }
1824
1825
1826 func LoadUint8x32Array(x *[32]uint8) (z Uint8x32) {
1827 var tmp0 spec.Array[uint8, spec.Width256] = x[:]
1828 return Uint8x32{spec.LoadZArray[uint8, spec.Width256](&tmp0)}
1829 }
1830
1831
1832 func LoadUint8x64Array(x *[64]uint8) (z Uint8x64) {
1833 var tmp0 spec.Array[uint8, spec.Width512] = x[:]
1834 return Uint8x64{spec.LoadZArray[uint8, spec.Width512](&tmp0)}
1835 }
1836
1837
1838 func LoadUint16x8Array(x *[8]uint16) (z Uint16x8) {
1839 var tmp0 spec.Array[uint16, spec.Width128] = x[:]
1840 return Uint16x8{spec.LoadZArray[uint16, spec.Width128](&tmp0)}
1841 }
1842
1843
1844 func LoadUint16x16Array(x *[16]uint16) (z Uint16x16) {
1845 var tmp0 spec.Array[uint16, spec.Width256] = x[:]
1846 return Uint16x16{spec.LoadZArray[uint16, spec.Width256](&tmp0)}
1847 }
1848
1849
1850 func LoadUint16x32Array(x *[32]uint16) (z Uint16x32) {
1851 var tmp0 spec.Array[uint16, spec.Width512] = x[:]
1852 return Uint16x32{spec.LoadZArray[uint16, spec.Width512](&tmp0)}
1853 }
1854
1855
1856 func LoadUint32x4Array(x *[4]uint32) (z Uint32x4) {
1857 var tmp0 spec.Array[uint32, spec.Width128] = x[:]
1858 return Uint32x4{spec.LoadZArray[uint32, spec.Width128](&tmp0)}
1859 }
1860
1861
1862 func LoadUint32x8Array(x *[8]uint32) (z Uint32x8) {
1863 var tmp0 spec.Array[uint32, spec.Width256] = x[:]
1864 return Uint32x8{spec.LoadZArray[uint32, spec.Width256](&tmp0)}
1865 }
1866
1867
1868 func LoadUint32x16Array(x *[16]uint32) (z Uint32x16) {
1869 var tmp0 spec.Array[uint32, spec.Width512] = x[:]
1870 return Uint32x16{spec.LoadZArray[uint32, spec.Width512](&tmp0)}
1871 }
1872
1873
1874 func LoadUint64x2Array(x *[2]uint64) (z Uint64x2) {
1875 var tmp0 spec.Array[uint64, spec.Width128] = x[:]
1876 return Uint64x2{spec.LoadZArray[uint64, spec.Width128](&tmp0)}
1877 }
1878
1879
1880 func LoadUint64x4Array(x *[4]uint64) (z Uint64x4) {
1881 var tmp0 spec.Array[uint64, spec.Width256] = x[:]
1882 return Uint64x4{spec.LoadZArray[uint64, spec.Width256](&tmp0)}
1883 }
1884
1885
1886 func LoadUint64x8Array(x *[8]uint64) (z Uint64x8) {
1887 var tmp0 spec.Array[uint64, spec.Width512] = x[:]
1888 return Uint64x8{spec.LoadZArray[uint64, spec.Width512](&tmp0)}
1889 }
1890
1891
1892
1893
1894 func LoadFloat32x4Part(s []float32) (z Float32x4, n int) {
1895 r1, r2 := spec.LoadZPart[float32, spec.Width128](s)
1896 return Float32x4{r1}, r2
1897 }
1898
1899
1900
1901
1902 func LoadFloat32x8Part(s []float32) (z Float32x8, n int) {
1903 r1, r2 := spec.LoadZPart[float32, spec.Width256](s)
1904 return Float32x8{r1}, r2
1905 }
1906
1907
1908
1909
1910 func LoadFloat32x16Part(s []float32) (z Float32x16, n int) {
1911 r1, r2 := spec.LoadZPart[float32, spec.Width512](s)
1912 return Float32x16{r1}, r2
1913 }
1914
1915
1916
1917
1918 func LoadFloat32sPart(s []float32) (z Float32s, n int) {
1919 r1, r2 := spec.LoadZPart[float32, spec.WidthScalable](s)
1920 return Float32s{r1}, r2
1921 }
1922
1923
1924
1925
1926 func LoadFloat64x2Part(s []float64) (z Float64x2, n int) {
1927 r1, r2 := spec.LoadZPart[float64, spec.Width128](s)
1928 return Float64x2{r1}, r2
1929 }
1930
1931
1932
1933
1934 func LoadFloat64x4Part(s []float64) (z Float64x4, n int) {
1935 r1, r2 := spec.LoadZPart[float64, spec.Width256](s)
1936 return Float64x4{r1}, r2
1937 }
1938
1939
1940
1941
1942 func LoadFloat64x8Part(s []float64) (z Float64x8, n int) {
1943 r1, r2 := spec.LoadZPart[float64, spec.Width512](s)
1944 return Float64x8{r1}, r2
1945 }
1946
1947
1948
1949
1950 func LoadFloat64sPart(s []float64) (z Float64s, n int) {
1951 r1, r2 := spec.LoadZPart[float64, spec.WidthScalable](s)
1952 return Float64s{r1}, r2
1953 }
1954
1955
1956
1957
1958 func LoadInt8x16Part(s []int8) (z Int8x16, n int) {
1959 r1, r2 := spec.LoadZPart[int8, spec.Width128](s)
1960 return Int8x16{r1}, r2
1961 }
1962
1963
1964
1965
1966 func LoadInt8x32Part(s []int8) (z Int8x32, n int) {
1967 r1, r2 := spec.LoadZPart[int8, spec.Width256](s)
1968 return Int8x32{r1}, r2
1969 }
1970
1971
1972
1973
1974 func LoadInt8x64Part(s []int8) (z Int8x64, n int) {
1975 r1, r2 := spec.LoadZPart[int8, spec.Width512](s)
1976 return Int8x64{r1}, r2
1977 }
1978
1979
1980
1981
1982 func LoadInt8sPart(s []int8) (z Int8s, n int) {
1983 r1, r2 := spec.LoadZPart[int8, spec.WidthScalable](s)
1984 return Int8s{r1}, r2
1985 }
1986
1987
1988
1989
1990 func LoadInt16x8Part(s []int16) (z Int16x8, n int) {
1991 r1, r2 := spec.LoadZPart[int16, spec.Width128](s)
1992 return Int16x8{r1}, r2
1993 }
1994
1995
1996
1997
1998 func LoadInt16x16Part(s []int16) (z Int16x16, n int) {
1999 r1, r2 := spec.LoadZPart[int16, spec.Width256](s)
2000 return Int16x16{r1}, r2
2001 }
2002
2003
2004
2005
2006 func LoadInt16x32Part(s []int16) (z Int16x32, n int) {
2007 r1, r2 := spec.LoadZPart[int16, spec.Width512](s)
2008 return Int16x32{r1}, r2
2009 }
2010
2011
2012
2013
2014 func LoadInt16sPart(s []int16) (z Int16s, n int) {
2015 r1, r2 := spec.LoadZPart[int16, spec.WidthScalable](s)
2016 return Int16s{r1}, r2
2017 }
2018
2019
2020
2021
2022 func LoadInt32x4Part(s []int32) (z Int32x4, n int) {
2023 r1, r2 := spec.LoadZPart[int32, spec.Width128](s)
2024 return Int32x4{r1}, r2
2025 }
2026
2027
2028
2029
2030 func LoadInt32x8Part(s []int32) (z Int32x8, n int) {
2031 r1, r2 := spec.LoadZPart[int32, spec.Width256](s)
2032 return Int32x8{r1}, r2
2033 }
2034
2035
2036
2037
2038 func LoadInt32x16Part(s []int32) (z Int32x16, n int) {
2039 r1, r2 := spec.LoadZPart[int32, spec.Width512](s)
2040 return Int32x16{r1}, r2
2041 }
2042
2043
2044
2045
2046 func LoadInt32sPart(s []int32) (z Int32s, n int) {
2047 r1, r2 := spec.LoadZPart[int32, spec.WidthScalable](s)
2048 return Int32s{r1}, r2
2049 }
2050
2051
2052
2053
2054 func LoadInt64x2Part(s []int64) (z Int64x2, n int) {
2055 r1, r2 := spec.LoadZPart[int64, spec.Width128](s)
2056 return Int64x2{r1}, r2
2057 }
2058
2059
2060
2061
2062 func LoadInt64x4Part(s []int64) (z Int64x4, n int) {
2063 r1, r2 := spec.LoadZPart[int64, spec.Width256](s)
2064 return Int64x4{r1}, r2
2065 }
2066
2067
2068
2069
2070 func LoadInt64x8Part(s []int64) (z Int64x8, n int) {
2071 r1, r2 := spec.LoadZPart[int64, spec.Width512](s)
2072 return Int64x8{r1}, r2
2073 }
2074
2075
2076
2077
2078 func LoadInt64sPart(s []int64) (z Int64s, n int) {
2079 r1, r2 := spec.LoadZPart[int64, spec.WidthScalable](s)
2080 return Int64s{r1}, r2
2081 }
2082
2083
2084
2085
2086 func LoadUint8x16Part(s []uint8) (z Uint8x16, n int) {
2087 r1, r2 := spec.LoadZPart[uint8, spec.Width128](s)
2088 return Uint8x16{r1}, r2
2089 }
2090
2091
2092
2093
2094 func LoadUint8x32Part(s []uint8) (z Uint8x32, n int) {
2095 r1, r2 := spec.LoadZPart[uint8, spec.Width256](s)
2096 return Uint8x32{r1}, r2
2097 }
2098
2099
2100
2101
2102 func LoadUint8x64Part(s []uint8) (z Uint8x64, n int) {
2103 r1, r2 := spec.LoadZPart[uint8, spec.Width512](s)
2104 return Uint8x64{r1}, r2
2105 }
2106
2107
2108
2109
2110 func LoadUint8sPart(s []uint8) (z Uint8s, n int) {
2111 r1, r2 := spec.LoadZPart[uint8, spec.WidthScalable](s)
2112 return Uint8s{r1}, r2
2113 }
2114
2115
2116
2117
2118 func LoadUint16x8Part(s []uint16) (z Uint16x8, n int) {
2119 r1, r2 := spec.LoadZPart[uint16, spec.Width128](s)
2120 return Uint16x8{r1}, r2
2121 }
2122
2123
2124
2125
2126 func LoadUint16x16Part(s []uint16) (z Uint16x16, n int) {
2127 r1, r2 := spec.LoadZPart[uint16, spec.Width256](s)
2128 return Uint16x16{r1}, r2
2129 }
2130
2131
2132
2133
2134 func LoadUint16x32Part(s []uint16) (z Uint16x32, n int) {
2135 r1, r2 := spec.LoadZPart[uint16, spec.Width512](s)
2136 return Uint16x32{r1}, r2
2137 }
2138
2139
2140
2141
2142 func LoadUint16sPart(s []uint16) (z Uint16s, n int) {
2143 r1, r2 := spec.LoadZPart[uint16, spec.WidthScalable](s)
2144 return Uint16s{r1}, r2
2145 }
2146
2147
2148
2149
2150 func LoadUint32x4Part(s []uint32) (z Uint32x4, n int) {
2151 r1, r2 := spec.LoadZPart[uint32, spec.Width128](s)
2152 return Uint32x4{r1}, r2
2153 }
2154
2155
2156
2157
2158 func LoadUint32x8Part(s []uint32) (z Uint32x8, n int) {
2159 r1, r2 := spec.LoadZPart[uint32, spec.Width256](s)
2160 return Uint32x8{r1}, r2
2161 }
2162
2163
2164
2165
2166 func LoadUint32x16Part(s []uint32) (z Uint32x16, n int) {
2167 r1, r2 := spec.LoadZPart[uint32, spec.Width512](s)
2168 return Uint32x16{r1}, r2
2169 }
2170
2171
2172
2173
2174 func LoadUint32sPart(s []uint32) (z Uint32s, n int) {
2175 r1, r2 := spec.LoadZPart[uint32, spec.WidthScalable](s)
2176 return Uint32s{r1}, r2
2177 }
2178
2179
2180
2181
2182 func LoadUint64x2Part(s []uint64) (z Uint64x2, n int) {
2183 r1, r2 := spec.LoadZPart[uint64, spec.Width128](s)
2184 return Uint64x2{r1}, r2
2185 }
2186
2187
2188
2189
2190 func LoadUint64x4Part(s []uint64) (z Uint64x4, n int) {
2191 r1, r2 := spec.LoadZPart[uint64, spec.Width256](s)
2192 return Uint64x4{r1}, r2
2193 }
2194
2195
2196
2197
2198 func LoadUint64x8Part(s []uint64) (z Uint64x8, n int) {
2199 r1, r2 := spec.LoadZPart[uint64, spec.Width512](s)
2200 return Uint64x8{r1}, r2
2201 }
2202
2203
2204
2205
2206 func LoadUint64sPart(s []uint64) (z Uint64s, n int) {
2207 r1, r2 := spec.LoadZPart[uint64, spec.WidthScalable](s)
2208 return Uint64s{r1}, r2
2209 }
2210
2211
2212
2213 func (x Float32x4) Store(s []float32) {
2214 spec.Store[float32, spec.Width128](x.v, s)
2215 }
2216
2217
2218
2219 func (x Float32x8) Store(s []float32) {
2220 spec.Store[float32, spec.Width256](x.v, s)
2221 }
2222
2223
2224
2225 func (x Float32x16) Store(s []float32) {
2226 spec.Store[float32, spec.Width512](x.v, s)
2227 }
2228
2229
2230
2231 func (x Float32s) Store(s []float32) {
2232 spec.Store[float32, spec.WidthScalable](x.v, s)
2233 }
2234
2235
2236
2237 func (x Float64x2) Store(s []float64) {
2238 spec.Store[float64, spec.Width128](x.v, s)
2239 }
2240
2241
2242
2243 func (x Float64x4) Store(s []float64) {
2244 spec.Store[float64, spec.Width256](x.v, s)
2245 }
2246
2247
2248
2249 func (x Float64x8) Store(s []float64) {
2250 spec.Store[float64, spec.Width512](x.v, s)
2251 }
2252
2253
2254
2255 func (x Float64s) Store(s []float64) {
2256 spec.Store[float64, spec.WidthScalable](x.v, s)
2257 }
2258
2259
2260
2261 func (x Int8x16) Store(s []int8) {
2262 spec.Store[int8, spec.Width128](x.v, s)
2263 }
2264
2265
2266
2267 func (x Int8x32) Store(s []int8) {
2268 spec.Store[int8, spec.Width256](x.v, s)
2269 }
2270
2271
2272
2273 func (x Int8x64) Store(s []int8) {
2274 spec.Store[int8, spec.Width512](x.v, s)
2275 }
2276
2277
2278
2279 func (x Int8s) Store(s []int8) {
2280 spec.Store[int8, spec.WidthScalable](x.v, s)
2281 }
2282
2283
2284
2285 func (x Int16x8) Store(s []int16) {
2286 spec.Store[int16, spec.Width128](x.v, s)
2287 }
2288
2289
2290
2291 func (x Int16x16) Store(s []int16) {
2292 spec.Store[int16, spec.Width256](x.v, s)
2293 }
2294
2295
2296
2297 func (x Int16x32) Store(s []int16) {
2298 spec.Store[int16, spec.Width512](x.v, s)
2299 }
2300
2301
2302
2303 func (x Int16s) Store(s []int16) {
2304 spec.Store[int16, spec.WidthScalable](x.v, s)
2305 }
2306
2307
2308
2309 func (x Int32x4) Store(s []int32) {
2310 spec.Store[int32, spec.Width128](x.v, s)
2311 }
2312
2313
2314
2315 func (x Int32x8) Store(s []int32) {
2316 spec.Store[int32, spec.Width256](x.v, s)
2317 }
2318
2319
2320
2321 func (x Int32x16) Store(s []int32) {
2322 spec.Store[int32, spec.Width512](x.v, s)
2323 }
2324
2325
2326
2327 func (x Int32s) Store(s []int32) {
2328 spec.Store[int32, spec.WidthScalable](x.v, s)
2329 }
2330
2331
2332
2333 func (x Int64x2) Store(s []int64) {
2334 spec.Store[int64, spec.Width128](x.v, s)
2335 }
2336
2337
2338
2339 func (x Int64x4) Store(s []int64) {
2340 spec.Store[int64, spec.Width256](x.v, s)
2341 }
2342
2343
2344
2345 func (x Int64x8) Store(s []int64) {
2346 spec.Store[int64, spec.Width512](x.v, s)
2347 }
2348
2349
2350
2351 func (x Int64s) Store(s []int64) {
2352 spec.Store[int64, spec.WidthScalable](x.v, s)
2353 }
2354
2355
2356
2357 func (x Uint8x16) Store(s []uint8) {
2358 spec.Store[uint8, spec.Width128](x.v, s)
2359 }
2360
2361
2362
2363 func (x Uint8x32) Store(s []uint8) {
2364 spec.Store[uint8, spec.Width256](x.v, s)
2365 }
2366
2367
2368
2369 func (x Uint8x64) Store(s []uint8) {
2370 spec.Store[uint8, spec.Width512](x.v, s)
2371 }
2372
2373
2374
2375 func (x Uint8s) Store(s []uint8) {
2376 spec.Store[uint8, spec.WidthScalable](x.v, s)
2377 }
2378
2379
2380
2381 func (x Uint16x8) Store(s []uint16) {
2382 spec.Store[uint16, spec.Width128](x.v, s)
2383 }
2384
2385
2386
2387 func (x Uint16x16) Store(s []uint16) {
2388 spec.Store[uint16, spec.Width256](x.v, s)
2389 }
2390
2391
2392
2393 func (x Uint16x32) Store(s []uint16) {
2394 spec.Store[uint16, spec.Width512](x.v, s)
2395 }
2396
2397
2398
2399 func (x Uint16s) Store(s []uint16) {
2400 spec.Store[uint16, spec.WidthScalable](x.v, s)
2401 }
2402
2403
2404
2405 func (x Uint32x4) Store(s []uint32) {
2406 spec.Store[uint32, spec.Width128](x.v, s)
2407 }
2408
2409
2410
2411 func (x Uint32x8) Store(s []uint32) {
2412 spec.Store[uint32, spec.Width256](x.v, s)
2413 }
2414
2415
2416
2417 func (x Uint32x16) Store(s []uint32) {
2418 spec.Store[uint32, spec.Width512](x.v, s)
2419 }
2420
2421
2422
2423 func (x Uint32s) Store(s []uint32) {
2424 spec.Store[uint32, spec.WidthScalable](x.v, s)
2425 }
2426
2427
2428
2429 func (x Uint64x2) Store(s []uint64) {
2430 spec.Store[uint64, spec.Width128](x.v, s)
2431 }
2432
2433
2434
2435 func (x Uint64x4) Store(s []uint64) {
2436 spec.Store[uint64, spec.Width256](x.v, s)
2437 }
2438
2439
2440
2441 func (x Uint64x8) Store(s []uint64) {
2442 spec.Store[uint64, spec.Width512](x.v, s)
2443 }
2444
2445
2446
2447 func (x Uint64s) Store(s []uint64) {
2448 spec.Store[uint64, spec.WidthScalable](x.v, s)
2449 }
2450
2451
2452 func (x Float32x4) StoreArray(y *[4]float32) {
2453 var tmp0 spec.Array[float32, spec.Width128] = y[:]
2454 spec.StoreArray[float32, spec.Width128](x.v, &tmp0)
2455 }
2456
2457
2458 func (x Float32x8) StoreArray(y *[8]float32) {
2459 var tmp0 spec.Array[float32, spec.Width256] = y[:]
2460 spec.StoreArray[float32, spec.Width256](x.v, &tmp0)
2461 }
2462
2463
2464 func (x Float32x16) StoreArray(y *[16]float32) {
2465 var tmp0 spec.Array[float32, spec.Width512] = y[:]
2466 spec.StoreArray[float32, spec.Width512](x.v, &tmp0)
2467 }
2468
2469
2470 func (x Float64x2) StoreArray(y *[2]float64) {
2471 var tmp0 spec.Array[float64, spec.Width128] = y[:]
2472 spec.StoreArray[float64, spec.Width128](x.v, &tmp0)
2473 }
2474
2475
2476 func (x Float64x4) StoreArray(y *[4]float64) {
2477 var tmp0 spec.Array[float64, spec.Width256] = y[:]
2478 spec.StoreArray[float64, spec.Width256](x.v, &tmp0)
2479 }
2480
2481
2482 func (x Float64x8) StoreArray(y *[8]float64) {
2483 var tmp0 spec.Array[float64, spec.Width512] = y[:]
2484 spec.StoreArray[float64, spec.Width512](x.v, &tmp0)
2485 }
2486
2487
2488 func (x Int8x16) StoreArray(y *[16]int8) {
2489 var tmp0 spec.Array[int8, spec.Width128] = y[:]
2490 spec.StoreArray[int8, spec.Width128](x.v, &tmp0)
2491 }
2492
2493
2494 func (x Int8x32) StoreArray(y *[32]int8) {
2495 var tmp0 spec.Array[int8, spec.Width256] = y[:]
2496 spec.StoreArray[int8, spec.Width256](x.v, &tmp0)
2497 }
2498
2499
2500 func (x Int8x64) StoreArray(y *[64]int8) {
2501 var tmp0 spec.Array[int8, spec.Width512] = y[:]
2502 spec.StoreArray[int8, spec.Width512](x.v, &tmp0)
2503 }
2504
2505
2506 func (x Int16x8) StoreArray(y *[8]int16) {
2507 var tmp0 spec.Array[int16, spec.Width128] = y[:]
2508 spec.StoreArray[int16, spec.Width128](x.v, &tmp0)
2509 }
2510
2511
2512 func (x Int16x16) StoreArray(y *[16]int16) {
2513 var tmp0 spec.Array[int16, spec.Width256] = y[:]
2514 spec.StoreArray[int16, spec.Width256](x.v, &tmp0)
2515 }
2516
2517
2518 func (x Int16x32) StoreArray(y *[32]int16) {
2519 var tmp0 spec.Array[int16, spec.Width512] = y[:]
2520 spec.StoreArray[int16, spec.Width512](x.v, &tmp0)
2521 }
2522
2523
2524 func (x Int32x4) StoreArray(y *[4]int32) {
2525 var tmp0 spec.Array[int32, spec.Width128] = y[:]
2526 spec.StoreArray[int32, spec.Width128](x.v, &tmp0)
2527 }
2528
2529
2530 func (x Int32x8) StoreArray(y *[8]int32) {
2531 var tmp0 spec.Array[int32, spec.Width256] = y[:]
2532 spec.StoreArray[int32, spec.Width256](x.v, &tmp0)
2533 }
2534
2535
2536 func (x Int32x16) StoreArray(y *[16]int32) {
2537 var tmp0 spec.Array[int32, spec.Width512] = y[:]
2538 spec.StoreArray[int32, spec.Width512](x.v, &tmp0)
2539 }
2540
2541
2542 func (x Int64x2) StoreArray(y *[2]int64) {
2543 var tmp0 spec.Array[int64, spec.Width128] = y[:]
2544 spec.StoreArray[int64, spec.Width128](x.v, &tmp0)
2545 }
2546
2547
2548 func (x Int64x4) StoreArray(y *[4]int64) {
2549 var tmp0 spec.Array[int64, spec.Width256] = y[:]
2550 spec.StoreArray[int64, spec.Width256](x.v, &tmp0)
2551 }
2552
2553
2554 func (x Int64x8) StoreArray(y *[8]int64) {
2555 var tmp0 spec.Array[int64, spec.Width512] = y[:]
2556 spec.StoreArray[int64, spec.Width512](x.v, &tmp0)
2557 }
2558
2559
2560 func (x Uint8x16) StoreArray(y *[16]uint8) {
2561 var tmp0 spec.Array[uint8, spec.Width128] = y[:]
2562 spec.StoreArray[uint8, spec.Width128](x.v, &tmp0)
2563 }
2564
2565
2566 func (x Uint8x32) StoreArray(y *[32]uint8) {
2567 var tmp0 spec.Array[uint8, spec.Width256] = y[:]
2568 spec.StoreArray[uint8, spec.Width256](x.v, &tmp0)
2569 }
2570
2571
2572 func (x Uint8x64) StoreArray(y *[64]uint8) {
2573 var tmp0 spec.Array[uint8, spec.Width512] = y[:]
2574 spec.StoreArray[uint8, spec.Width512](x.v, &tmp0)
2575 }
2576
2577
2578 func (x Uint16x8) StoreArray(y *[8]uint16) {
2579 var tmp0 spec.Array[uint16, spec.Width128] = y[:]
2580 spec.StoreArray[uint16, spec.Width128](x.v, &tmp0)
2581 }
2582
2583
2584 func (x Uint16x16) StoreArray(y *[16]uint16) {
2585 var tmp0 spec.Array[uint16, spec.Width256] = y[:]
2586 spec.StoreArray[uint16, spec.Width256](x.v, &tmp0)
2587 }
2588
2589
2590 func (x Uint16x32) StoreArray(y *[32]uint16) {
2591 var tmp0 spec.Array[uint16, spec.Width512] = y[:]
2592 spec.StoreArray[uint16, spec.Width512](x.v, &tmp0)
2593 }
2594
2595
2596 func (x Uint32x4) StoreArray(y *[4]uint32) {
2597 var tmp0 spec.Array[uint32, spec.Width128] = y[:]
2598 spec.StoreArray[uint32, spec.Width128](x.v, &tmp0)
2599 }
2600
2601
2602 func (x Uint32x8) StoreArray(y *[8]uint32) {
2603 var tmp0 spec.Array[uint32, spec.Width256] = y[:]
2604 spec.StoreArray[uint32, spec.Width256](x.v, &tmp0)
2605 }
2606
2607
2608 func (x Uint32x16) StoreArray(y *[16]uint32) {
2609 var tmp0 spec.Array[uint32, spec.Width512] = y[:]
2610 spec.StoreArray[uint32, spec.Width512](x.v, &tmp0)
2611 }
2612
2613
2614 func (x Uint64x2) StoreArray(y *[2]uint64) {
2615 var tmp0 spec.Array[uint64, spec.Width128] = y[:]
2616 spec.StoreArray[uint64, spec.Width128](x.v, &tmp0)
2617 }
2618
2619
2620 func (x Uint64x4) StoreArray(y *[4]uint64) {
2621 var tmp0 spec.Array[uint64, spec.Width256] = y[:]
2622 spec.StoreArray[uint64, spec.Width256](x.v, &tmp0)
2623 }
2624
2625
2626 func (x Uint64x8) StoreArray(y *[8]uint64) {
2627 var tmp0 spec.Array[uint64, spec.Width512] = y[:]
2628 spec.StoreArray[uint64, spec.Width512](x.v, &tmp0)
2629 }
2630
2631
2632
2633 func (x Float32x4) StoreArrayMasked(y *[4]float32, mask Mask32x4) {
2634 var tmp0 spec.Array[float32, spec.Width128] = y[:]
2635 spec.StoreArrayMasked[float32, spec.Width128, spec.Mask32](x.v, &tmp0, mask.v)
2636 }
2637
2638
2639
2640 func (x Float32x8) StoreArrayMasked(y *[8]float32, mask Mask32x8) {
2641 var tmp0 spec.Array[float32, spec.Width256] = y[:]
2642 spec.StoreArrayMasked[float32, spec.Width256, spec.Mask32](x.v, &tmp0, mask.v)
2643 }
2644
2645
2646
2647 func (x Float32x16) StoreArrayMasked(y *[16]float32, mask Mask32x16) {
2648 var tmp0 spec.Array[float32, spec.Width512] = y[:]
2649 spec.StoreArrayMasked[float32, spec.Width512, spec.Mask32](x.v, &tmp0, mask.v)
2650 }
2651
2652
2653
2654 func (x Float64x2) StoreArrayMasked(y *[2]float64, mask Mask64x2) {
2655 var tmp0 spec.Array[float64, spec.Width128] = y[:]
2656 spec.StoreArrayMasked[float64, spec.Width128, spec.Mask64](x.v, &tmp0, mask.v)
2657 }
2658
2659
2660
2661 func (x Float64x4) StoreArrayMasked(y *[4]float64, mask Mask64x4) {
2662 var tmp0 spec.Array[float64, spec.Width256] = y[:]
2663 spec.StoreArrayMasked[float64, spec.Width256, spec.Mask64](x.v, &tmp0, mask.v)
2664 }
2665
2666
2667
2668 func (x Float64x8) StoreArrayMasked(y *[8]float64, mask Mask64x8) {
2669 var tmp0 spec.Array[float64, spec.Width512] = y[:]
2670 spec.StoreArrayMasked[float64, spec.Width512, spec.Mask64](x.v, &tmp0, mask.v)
2671 }
2672
2673
2674
2675 func (x Int8x16) StoreArrayMasked(y *[16]int8, mask Mask8x16) {
2676 var tmp0 spec.Array[int8, spec.Width128] = y[:]
2677 spec.StoreArrayMasked[int8, spec.Width128, spec.Mask8](x.v, &tmp0, mask.v)
2678 }
2679
2680
2681
2682 func (x Int8x32) StoreArrayMasked(y *[32]int8, mask Mask8x32) {
2683 var tmp0 spec.Array[int8, spec.Width256] = y[:]
2684 spec.StoreArrayMasked[int8, spec.Width256, spec.Mask8](x.v, &tmp0, mask.v)
2685 }
2686
2687
2688
2689 func (x Int8x64) StoreArrayMasked(y *[64]int8, mask Mask8x64) {
2690 var tmp0 spec.Array[int8, spec.Width512] = y[:]
2691 spec.StoreArrayMasked[int8, spec.Width512, spec.Mask8](x.v, &tmp0, mask.v)
2692 }
2693
2694
2695
2696 func (x Int16x8) StoreArrayMasked(y *[8]int16, mask Mask16x8) {
2697 var tmp0 spec.Array[int16, spec.Width128] = y[:]
2698 spec.StoreArrayMasked[int16, spec.Width128, spec.Mask16](x.v, &tmp0, mask.v)
2699 }
2700
2701
2702
2703 func (x Int16x16) StoreArrayMasked(y *[16]int16, mask Mask16x16) {
2704 var tmp0 spec.Array[int16, spec.Width256] = y[:]
2705 spec.StoreArrayMasked[int16, spec.Width256, spec.Mask16](x.v, &tmp0, mask.v)
2706 }
2707
2708
2709
2710 func (x Int16x32) StoreArrayMasked(y *[32]int16, mask Mask16x32) {
2711 var tmp0 spec.Array[int16, spec.Width512] = y[:]
2712 spec.StoreArrayMasked[int16, spec.Width512, spec.Mask16](x.v, &tmp0, mask.v)
2713 }
2714
2715
2716
2717 func (x Int32x4) StoreArrayMasked(y *[4]int32, mask Mask32x4) {
2718 var tmp0 spec.Array[int32, spec.Width128] = y[:]
2719 spec.StoreArrayMasked[int32, spec.Width128, spec.Mask32](x.v, &tmp0, mask.v)
2720 }
2721
2722
2723
2724 func (x Int32x8) StoreArrayMasked(y *[8]int32, mask Mask32x8) {
2725 var tmp0 spec.Array[int32, spec.Width256] = y[:]
2726 spec.StoreArrayMasked[int32, spec.Width256, spec.Mask32](x.v, &tmp0, mask.v)
2727 }
2728
2729
2730
2731 func (x Int32x16) StoreArrayMasked(y *[16]int32, mask Mask32x16) {
2732 var tmp0 spec.Array[int32, spec.Width512] = y[:]
2733 spec.StoreArrayMasked[int32, spec.Width512, spec.Mask32](x.v, &tmp0, mask.v)
2734 }
2735
2736
2737
2738 func (x Int64x2) StoreArrayMasked(y *[2]int64, mask Mask64x2) {
2739 var tmp0 spec.Array[int64, spec.Width128] = y[:]
2740 spec.StoreArrayMasked[int64, spec.Width128, spec.Mask64](x.v, &tmp0, mask.v)
2741 }
2742
2743
2744
2745 func (x Int64x4) StoreArrayMasked(y *[4]int64, mask Mask64x4) {
2746 var tmp0 spec.Array[int64, spec.Width256] = y[:]
2747 spec.StoreArrayMasked[int64, spec.Width256, spec.Mask64](x.v, &tmp0, mask.v)
2748 }
2749
2750
2751
2752 func (x Int64x8) StoreArrayMasked(y *[8]int64, mask Mask64x8) {
2753 var tmp0 spec.Array[int64, spec.Width512] = y[:]
2754 spec.StoreArrayMasked[int64, spec.Width512, spec.Mask64](x.v, &tmp0, mask.v)
2755 }
2756
2757
2758
2759 func (x Uint8x16) StoreArrayMasked(y *[16]uint8, mask Mask8x16) {
2760 var tmp0 spec.Array[uint8, spec.Width128] = y[:]
2761 spec.StoreArrayMasked[uint8, spec.Width128, spec.Mask8](x.v, &tmp0, mask.v)
2762 }
2763
2764
2765
2766 func (x Uint8x32) StoreArrayMasked(y *[32]uint8, mask Mask8x32) {
2767 var tmp0 spec.Array[uint8, spec.Width256] = y[:]
2768 spec.StoreArrayMasked[uint8, spec.Width256, spec.Mask8](x.v, &tmp0, mask.v)
2769 }
2770
2771
2772
2773 func (x Uint8x64) StoreArrayMasked(y *[64]uint8, mask Mask8x64) {
2774 var tmp0 spec.Array[uint8, spec.Width512] = y[:]
2775 spec.StoreArrayMasked[uint8, spec.Width512, spec.Mask8](x.v, &tmp0, mask.v)
2776 }
2777
2778
2779
2780 func (x Uint16x8) StoreArrayMasked(y *[8]uint16, mask Mask16x8) {
2781 var tmp0 spec.Array[uint16, spec.Width128] = y[:]
2782 spec.StoreArrayMasked[uint16, spec.Width128, spec.Mask16](x.v, &tmp0, mask.v)
2783 }
2784
2785
2786
2787 func (x Uint16x16) StoreArrayMasked(y *[16]uint16, mask Mask16x16) {
2788 var tmp0 spec.Array[uint16, spec.Width256] = y[:]
2789 spec.StoreArrayMasked[uint16, spec.Width256, spec.Mask16](x.v, &tmp0, mask.v)
2790 }
2791
2792
2793
2794 func (x Uint16x32) StoreArrayMasked(y *[32]uint16, mask Mask16x32) {
2795 var tmp0 spec.Array[uint16, spec.Width512] = y[:]
2796 spec.StoreArrayMasked[uint16, spec.Width512, spec.Mask16](x.v, &tmp0, mask.v)
2797 }
2798
2799
2800
2801 func (x Uint32x4) StoreArrayMasked(y *[4]uint32, mask Mask32x4) {
2802 var tmp0 spec.Array[uint32, spec.Width128] = y[:]
2803 spec.StoreArrayMasked[uint32, spec.Width128, spec.Mask32](x.v, &tmp0, mask.v)
2804 }
2805
2806
2807
2808 func (x Uint32x8) StoreArrayMasked(y *[8]uint32, mask Mask32x8) {
2809 var tmp0 spec.Array[uint32, spec.Width256] = y[:]
2810 spec.StoreArrayMasked[uint32, spec.Width256, spec.Mask32](x.v, &tmp0, mask.v)
2811 }
2812
2813
2814
2815 func (x Uint32x16) StoreArrayMasked(y *[16]uint32, mask Mask32x16) {
2816 var tmp0 spec.Array[uint32, spec.Width512] = y[:]
2817 spec.StoreArrayMasked[uint32, spec.Width512, spec.Mask32](x.v, &tmp0, mask.v)
2818 }
2819
2820
2821
2822 func (x Uint64x2) StoreArrayMasked(y *[2]uint64, mask Mask64x2) {
2823 var tmp0 spec.Array[uint64, spec.Width128] = y[:]
2824 spec.StoreArrayMasked[uint64, spec.Width128, spec.Mask64](x.v, &tmp0, mask.v)
2825 }
2826
2827
2828
2829 func (x Uint64x4) StoreArrayMasked(y *[4]uint64, mask Mask64x4) {
2830 var tmp0 spec.Array[uint64, spec.Width256] = y[:]
2831 spec.StoreArrayMasked[uint64, spec.Width256, spec.Mask64](x.v, &tmp0, mask.v)
2832 }
2833
2834
2835
2836 func (x Uint64x8) StoreArrayMasked(y *[8]uint64, mask Mask64x8) {
2837 var tmp0 spec.Array[uint64, spec.Width512] = y[:]
2838 spec.StoreArrayMasked[uint64, spec.Width512, spec.Mask64](x.v, &tmp0, mask.v)
2839 }
2840
2841
2842
2843 func (x Float32x4) StorePart(s []float32) int {
2844 return spec.StorePart[float32, spec.Width128](x.v, s)
2845 }
2846
2847
2848
2849 func (x Float32x8) StorePart(s []float32) int {
2850 return spec.StorePart[float32, spec.Width256](x.v, s)
2851 }
2852
2853
2854
2855 func (x Float32x16) StorePart(s []float32) int {
2856 return spec.StorePart[float32, spec.Width512](x.v, s)
2857 }
2858
2859
2860
2861 func (x Float32s) StorePart(s []float32) int {
2862 return spec.StorePart[float32, spec.WidthScalable](x.v, s)
2863 }
2864
2865
2866
2867 func (x Float64x2) StorePart(s []float64) int {
2868 return spec.StorePart[float64, spec.Width128](x.v, s)
2869 }
2870
2871
2872
2873 func (x Float64x4) StorePart(s []float64) int {
2874 return spec.StorePart[float64, spec.Width256](x.v, s)
2875 }
2876
2877
2878
2879 func (x Float64x8) StorePart(s []float64) int {
2880 return spec.StorePart[float64, spec.Width512](x.v, s)
2881 }
2882
2883
2884
2885 func (x Float64s) StorePart(s []float64) int {
2886 return spec.StorePart[float64, spec.WidthScalable](x.v, s)
2887 }
2888
2889
2890
2891 func (x Int8x16) StorePart(s []int8) int {
2892 return spec.StorePart[int8, spec.Width128](x.v, s)
2893 }
2894
2895
2896
2897 func (x Int8x32) StorePart(s []int8) int {
2898 return spec.StorePart[int8, spec.Width256](x.v, s)
2899 }
2900
2901
2902
2903 func (x Int8x64) StorePart(s []int8) int {
2904 return spec.StorePart[int8, spec.Width512](x.v, s)
2905 }
2906
2907
2908
2909 func (x Int8s) StorePart(s []int8) int {
2910 return spec.StorePart[int8, spec.WidthScalable](x.v, s)
2911 }
2912
2913
2914
2915 func (x Int16x8) StorePart(s []int16) int {
2916 return spec.StorePart[int16, spec.Width128](x.v, s)
2917 }
2918
2919
2920
2921 func (x Int16x16) StorePart(s []int16) int {
2922 return spec.StorePart[int16, spec.Width256](x.v, s)
2923 }
2924
2925
2926
2927 func (x Int16x32) StorePart(s []int16) int {
2928 return spec.StorePart[int16, spec.Width512](x.v, s)
2929 }
2930
2931
2932
2933 func (x Int16s) StorePart(s []int16) int {
2934 return spec.StorePart[int16, spec.WidthScalable](x.v, s)
2935 }
2936
2937
2938
2939 func (x Int32x4) StorePart(s []int32) int {
2940 return spec.StorePart[int32, spec.Width128](x.v, s)
2941 }
2942
2943
2944
2945 func (x Int32x8) StorePart(s []int32) int {
2946 return spec.StorePart[int32, spec.Width256](x.v, s)
2947 }
2948
2949
2950
2951 func (x Int32x16) StorePart(s []int32) int {
2952 return spec.StorePart[int32, spec.Width512](x.v, s)
2953 }
2954
2955
2956
2957 func (x Int32s) StorePart(s []int32) int {
2958 return spec.StorePart[int32, spec.WidthScalable](x.v, s)
2959 }
2960
2961
2962
2963 func (x Int64x2) StorePart(s []int64) int {
2964 return spec.StorePart[int64, spec.Width128](x.v, s)
2965 }
2966
2967
2968
2969 func (x Int64x4) StorePart(s []int64) int {
2970 return spec.StorePart[int64, spec.Width256](x.v, s)
2971 }
2972
2973
2974
2975 func (x Int64x8) StorePart(s []int64) int {
2976 return spec.StorePart[int64, spec.Width512](x.v, s)
2977 }
2978
2979
2980
2981 func (x Int64s) StorePart(s []int64) int {
2982 return spec.StorePart[int64, spec.WidthScalable](x.v, s)
2983 }
2984
2985
2986
2987 func (x Uint8x16) StorePart(s []uint8) int {
2988 return spec.StorePart[uint8, spec.Width128](x.v, s)
2989 }
2990
2991
2992
2993 func (x Uint8x32) StorePart(s []uint8) int {
2994 return spec.StorePart[uint8, spec.Width256](x.v, s)
2995 }
2996
2997
2998
2999 func (x Uint8x64) StorePart(s []uint8) int {
3000 return spec.StorePart[uint8, spec.Width512](x.v, s)
3001 }
3002
3003
3004
3005 func (x Uint8s) StorePart(s []uint8) int {
3006 return spec.StorePart[uint8, spec.WidthScalable](x.v, s)
3007 }
3008
3009
3010
3011 func (x Uint16x8) StorePart(s []uint16) int {
3012 return spec.StorePart[uint16, spec.Width128](x.v, s)
3013 }
3014
3015
3016
3017 func (x Uint16x16) StorePart(s []uint16) int {
3018 return spec.StorePart[uint16, spec.Width256](x.v, s)
3019 }
3020
3021
3022
3023 func (x Uint16x32) StorePart(s []uint16) int {
3024 return spec.StorePart[uint16, spec.Width512](x.v, s)
3025 }
3026
3027
3028
3029 func (x Uint16s) StorePart(s []uint16) int {
3030 return spec.StorePart[uint16, spec.WidthScalable](x.v, s)
3031 }
3032
3033
3034
3035 func (x Uint32x4) StorePart(s []uint32) int {
3036 return spec.StorePart[uint32, spec.Width128](x.v, s)
3037 }
3038
3039
3040
3041 func (x Uint32x8) StorePart(s []uint32) int {
3042 return spec.StorePart[uint32, spec.Width256](x.v, s)
3043 }
3044
3045
3046
3047 func (x Uint32x16) StorePart(s []uint32) int {
3048 return spec.StorePart[uint32, spec.Width512](x.v, s)
3049 }
3050
3051
3052
3053 func (x Uint32s) StorePart(s []uint32) int {
3054 return spec.StorePart[uint32, spec.WidthScalable](x.v, s)
3055 }
3056
3057
3058
3059 func (x Uint64x2) StorePart(s []uint64) int {
3060 return spec.StorePart[uint64, spec.Width128](x.v, s)
3061 }
3062
3063
3064
3065 func (x Uint64x4) StorePart(s []uint64) int {
3066 return spec.StorePart[uint64, spec.Width256](x.v, s)
3067 }
3068
3069
3070
3071 func (x Uint64x8) StorePart(s []uint64) int {
3072 return spec.StorePart[uint64, spec.Width512](x.v, s)
3073 }
3074
3075
3076
3077 func (x Uint64s) StorePart(s []uint64) int {
3078 return spec.StorePart[uint64, spec.WidthScalable](x.v, s)
3079 }
3080
3081
3082
3083 func Mask8x16FromBits(x uint16) (z Mask8x16) {
3084 return Mask8x16{spec.MaskFromBits[spec.Mask8, spec.Width128](spec.UintN(x))}
3085 }
3086
3087
3088
3089 func Mask8x32FromBits(x uint32) (z Mask8x32) {
3090 return Mask8x32{spec.MaskFromBits[spec.Mask8, spec.Width256](spec.UintN(x))}
3091 }
3092
3093
3094
3095 func Mask8x64FromBits(x uint64) (z Mask8x64) {
3096 return Mask8x64{spec.MaskFromBits[spec.Mask8, spec.Width512](spec.UintN(x))}
3097 }
3098
3099
3100
3101 func Mask16x8FromBits(x uint8) (z Mask16x8) {
3102 return Mask16x8{spec.MaskFromBits[spec.Mask16, spec.Width128](spec.UintN(x))}
3103 }
3104
3105
3106
3107 func Mask16x16FromBits(x uint16) (z Mask16x16) {
3108 return Mask16x16{spec.MaskFromBits[spec.Mask16, spec.Width256](spec.UintN(x))}
3109 }
3110
3111
3112
3113 func Mask16x32FromBits(x uint32) (z Mask16x32) {
3114 return Mask16x32{spec.MaskFromBits[spec.Mask16, spec.Width512](spec.UintN(x))}
3115 }
3116
3117
3118
3119 func Mask32x4FromBits(x uint8) (z Mask32x4) {
3120 return Mask32x4{spec.MaskFromBits[spec.Mask32, spec.Width128](spec.UintN(x))}
3121 }
3122
3123
3124
3125 func Mask32x8FromBits(x uint8) (z Mask32x8) {
3126 return Mask32x8{spec.MaskFromBits[spec.Mask32, spec.Width256](spec.UintN(x))}
3127 }
3128
3129
3130
3131 func Mask32x16FromBits(x uint16) (z Mask32x16) {
3132 return Mask32x16{spec.MaskFromBits[spec.Mask32, spec.Width512](spec.UintN(x))}
3133 }
3134
3135
3136
3137 func Mask64x2FromBits(x uint8) (z Mask64x2) {
3138 return Mask64x2{spec.MaskFromBits[spec.Mask64, spec.Width128](spec.UintN(x))}
3139 }
3140
3141
3142
3143 func Mask64x4FromBits(x uint8) (z Mask64x4) {
3144 return Mask64x4{spec.MaskFromBits[spec.Mask64, spec.Width256](spec.UintN(x))}
3145 }
3146
3147
3148
3149 func Mask64x8FromBits(x uint8) (z Mask64x8) {
3150 return Mask64x8{spec.MaskFromBits[spec.Mask64, spec.Width512](spec.UintN(x))}
3151 }
3152
3153
3154
3155 func (x Mask8x16) ToBits() (z uint16) {
3156 return uint16(spec.MaskToBits[spec.Mask8, spec.Width128](x.v))
3157 }
3158
3159
3160
3161 func (x Mask8x32) ToBits() (z uint32) {
3162 return uint32(spec.MaskToBits[spec.Mask8, spec.Width256](x.v))
3163 }
3164
3165
3166
3167 func (x Mask8x64) ToBits() (z uint64) {
3168 return uint64(spec.MaskToBits[spec.Mask8, spec.Width512](x.v))
3169 }
3170
3171
3172
3173 func (x Mask16x8) ToBits() (z uint8) {
3174 return uint8(spec.MaskToBits[spec.Mask16, spec.Width128](x.v))
3175 }
3176
3177
3178
3179 func (x Mask16x16) ToBits() (z uint16) {
3180 return uint16(spec.MaskToBits[spec.Mask16, spec.Width256](x.v))
3181 }
3182
3183
3184
3185 func (x Mask16x32) ToBits() (z uint32) {
3186 return uint32(spec.MaskToBits[spec.Mask16, spec.Width512](x.v))
3187 }
3188
3189
3190
3191 func (x Mask32x4) ToBits() (z uint8) {
3192 return uint8(spec.MaskToBits[spec.Mask32, spec.Width128](x.v))
3193 }
3194
3195
3196
3197 func (x Mask32x8) ToBits() (z uint8) {
3198 return uint8(spec.MaskToBits[spec.Mask32, spec.Width256](x.v))
3199 }
3200
3201
3202
3203 func (x Mask32x16) ToBits() (z uint16) {
3204 return uint16(spec.MaskToBits[spec.Mask32, spec.Width512](x.v))
3205 }
3206
3207
3208
3209 func (x Mask64x2) ToBits() (z uint8) {
3210 return uint8(spec.MaskToBits[spec.Mask64, spec.Width128](x.v))
3211 }
3212
3213
3214
3215 func (x Mask64x4) ToBits() (z uint8) {
3216 return uint8(spec.MaskToBits[spec.Mask64, spec.Width256](x.v))
3217 }
3218
3219
3220
3221 func (x Mask64x8) ToBits() (z uint8) {
3222 return uint8(spec.MaskToBits[spec.Mask64, spec.Width512](x.v))
3223 }
3224
3225
3226
3227 func (x Mask8x16) ToInt8x16() (z Int8x16) {
3228 return Int8x16{spec.MaskToZ[spec.Mask8, spec.Width128, int8](x.v)}
3229 }
3230
3231
3232
3233 func (x Mask8x32) ToInt8x32() (z Int8x32) {
3234 return Int8x32{spec.MaskToZ[spec.Mask8, spec.Width256, int8](x.v)}
3235 }
3236
3237
3238
3239 func (x Mask8x64) ToInt8x64() (z Int8x64) {
3240 return Int8x64{spec.MaskToZ[spec.Mask8, spec.Width512, int8](x.v)}
3241 }
3242
3243
3244
3245 func (x Mask8s) ToInt8s() (z Int8s) {
3246 return Int8s{spec.MaskToZ[spec.Mask8, spec.WidthScalable, int8](x.v)}
3247 }
3248
3249
3250
3251 func (x Mask16x8) ToInt16x8() (z Int16x8) {
3252 return Int16x8{spec.MaskToZ[spec.Mask16, spec.Width128, int16](x.v)}
3253 }
3254
3255
3256
3257 func (x Mask16x16) ToInt16x16() (z Int16x16) {
3258 return Int16x16{spec.MaskToZ[spec.Mask16, spec.Width256, int16](x.v)}
3259 }
3260
3261
3262
3263 func (x Mask16x32) ToInt16x32() (z Int16x32) {
3264 return Int16x32{spec.MaskToZ[spec.Mask16, spec.Width512, int16](x.v)}
3265 }
3266
3267
3268
3269 func (x Mask16s) ToInt16s() (z Int16s) {
3270 return Int16s{spec.MaskToZ[spec.Mask16, spec.WidthScalable, int16](x.v)}
3271 }
3272
3273
3274
3275 func (x Mask32x4) ToInt32x4() (z Int32x4) {
3276 return Int32x4{spec.MaskToZ[spec.Mask32, spec.Width128, int32](x.v)}
3277 }
3278
3279
3280
3281 func (x Mask32x8) ToInt32x8() (z Int32x8) {
3282 return Int32x8{spec.MaskToZ[spec.Mask32, spec.Width256, int32](x.v)}
3283 }
3284
3285
3286
3287 func (x Mask32x16) ToInt32x16() (z Int32x16) {
3288 return Int32x16{spec.MaskToZ[spec.Mask32, spec.Width512, int32](x.v)}
3289 }
3290
3291
3292
3293 func (x Mask32s) ToInt32s() (z Int32s) {
3294 return Int32s{spec.MaskToZ[spec.Mask32, spec.WidthScalable, int32](x.v)}
3295 }
3296
3297
3298
3299 func (x Mask64x2) ToInt64x2() (z Int64x2) {
3300 return Int64x2{spec.MaskToZ[spec.Mask64, spec.Width128, int64](x.v)}
3301 }
3302
3303
3304
3305 func (x Mask64x4) ToInt64x4() (z Int64x4) {
3306 return Int64x4{spec.MaskToZ[spec.Mask64, spec.Width256, int64](x.v)}
3307 }
3308
3309
3310
3311 func (x Mask64x8) ToInt64x8() (z Int64x8) {
3312 return Int64x8{spec.MaskToZ[spec.Mask64, spec.Width512, int64](x.v)}
3313 }
3314
3315
3316
3317 func (x Mask64s) ToInt64s() (z Int64s) {
3318 return Int64s{spec.MaskToZ[spec.Mask64, spec.WidthScalable, int64](x.v)}
3319 }
3320
3321
3322
3323
3324 func (x Float32x4) Add(y Float32x4) (z Float32x4) {
3325 return Float32x4{spec.Add[float32, spec.Width128](x.v, y.v)}
3326 }
3327
3328
3329
3330
3331 func (x Float32x8) Add(y Float32x8) (z Float32x8) {
3332 return Float32x8{spec.Add[float32, spec.Width256](x.v, y.v)}
3333 }
3334
3335
3336
3337
3338 func (x Float32x16) Add(y Float32x16) (z Float32x16) {
3339 return Float32x16{spec.Add[float32, spec.Width512](x.v, y.v)}
3340 }
3341
3342
3343
3344
3345 func (x Float32s) Add(y Float32s) (z Float32s) {
3346 return Float32s{spec.Add[float32, spec.WidthScalable](x.v, y.v)}
3347 }
3348
3349
3350
3351
3352 func (x Float64x2) Add(y Float64x2) (z Float64x2) {
3353 return Float64x2{spec.Add[float64, spec.Width128](x.v, y.v)}
3354 }
3355
3356
3357
3358
3359 func (x Float64x4) Add(y Float64x4) (z Float64x4) {
3360 return Float64x4{spec.Add[float64, spec.Width256](x.v, y.v)}
3361 }
3362
3363
3364
3365
3366 func (x Float64x8) Add(y Float64x8) (z Float64x8) {
3367 return Float64x8{spec.Add[float64, spec.Width512](x.v, y.v)}
3368 }
3369
3370
3371
3372
3373 func (x Float64s) Add(y Float64s) (z Float64s) {
3374 return Float64s{spec.Add[float64, spec.WidthScalable](x.v, y.v)}
3375 }
3376
3377
3378
3379
3380 func (x Int8x16) Add(y Int8x16) (z Int8x16) {
3381 return Int8x16{spec.Add[int8, spec.Width128](x.v, y.v)}
3382 }
3383
3384
3385
3386
3387 func (x Int8x32) Add(y Int8x32) (z Int8x32) {
3388 return Int8x32{spec.Add[int8, spec.Width256](x.v, y.v)}
3389 }
3390
3391
3392
3393
3394 func (x Int8x64) Add(y Int8x64) (z Int8x64) {
3395 return Int8x64{spec.Add[int8, spec.Width512](x.v, y.v)}
3396 }
3397
3398
3399
3400
3401 func (x Int8s) Add(y Int8s) (z Int8s) {
3402 return Int8s{spec.Add[int8, spec.WidthScalable](x.v, y.v)}
3403 }
3404
3405
3406
3407
3408 func (x Int16x8) Add(y Int16x8) (z Int16x8) {
3409 return Int16x8{spec.Add[int16, spec.Width128](x.v, y.v)}
3410 }
3411
3412
3413
3414
3415 func (x Int16x16) Add(y Int16x16) (z Int16x16) {
3416 return Int16x16{spec.Add[int16, spec.Width256](x.v, y.v)}
3417 }
3418
3419
3420
3421
3422 func (x Int16x32) Add(y Int16x32) (z Int16x32) {
3423 return Int16x32{spec.Add[int16, spec.Width512](x.v, y.v)}
3424 }
3425
3426
3427
3428
3429 func (x Int16s) Add(y Int16s) (z Int16s) {
3430 return Int16s{spec.Add[int16, spec.WidthScalable](x.v, y.v)}
3431 }
3432
3433
3434
3435
3436 func (x Int32x4) Add(y Int32x4) (z Int32x4) {
3437 return Int32x4{spec.Add[int32, spec.Width128](x.v, y.v)}
3438 }
3439
3440
3441
3442
3443 func (x Int32x8) Add(y Int32x8) (z Int32x8) {
3444 return Int32x8{spec.Add[int32, spec.Width256](x.v, y.v)}
3445 }
3446
3447
3448
3449
3450 func (x Int32x16) Add(y Int32x16) (z Int32x16) {
3451 return Int32x16{spec.Add[int32, spec.Width512](x.v, y.v)}
3452 }
3453
3454
3455
3456
3457 func (x Int32s) Add(y Int32s) (z Int32s) {
3458 return Int32s{spec.Add[int32, spec.WidthScalable](x.v, y.v)}
3459 }
3460
3461
3462
3463
3464 func (x Int64x2) Add(y Int64x2) (z Int64x2) {
3465 return Int64x2{spec.Add[int64, spec.Width128](x.v, y.v)}
3466 }
3467
3468
3469
3470
3471 func (x Int64x4) Add(y Int64x4) (z Int64x4) {
3472 return Int64x4{spec.Add[int64, spec.Width256](x.v, y.v)}
3473 }
3474
3475
3476
3477
3478 func (x Int64x8) Add(y Int64x8) (z Int64x8) {
3479 return Int64x8{spec.Add[int64, spec.Width512](x.v, y.v)}
3480 }
3481
3482
3483
3484
3485 func (x Int64s) Add(y Int64s) (z Int64s) {
3486 return Int64s{spec.Add[int64, spec.WidthScalable](x.v, y.v)}
3487 }
3488
3489
3490
3491
3492 func (x Uint8x16) Add(y Uint8x16) (z Uint8x16) {
3493 return Uint8x16{spec.Add[uint8, spec.Width128](x.v, y.v)}
3494 }
3495
3496
3497
3498
3499 func (x Uint8x32) Add(y Uint8x32) (z Uint8x32) {
3500 return Uint8x32{spec.Add[uint8, spec.Width256](x.v, y.v)}
3501 }
3502
3503
3504
3505
3506 func (x Uint8x64) Add(y Uint8x64) (z Uint8x64) {
3507 return Uint8x64{spec.Add[uint8, spec.Width512](x.v, y.v)}
3508 }
3509
3510
3511
3512
3513 func (x Uint8s) Add(y Uint8s) (z Uint8s) {
3514 return Uint8s{spec.Add[uint8, spec.WidthScalable](x.v, y.v)}
3515 }
3516
3517
3518
3519
3520 func (x Uint16x8) Add(y Uint16x8) (z Uint16x8) {
3521 return Uint16x8{spec.Add[uint16, spec.Width128](x.v, y.v)}
3522 }
3523
3524
3525
3526
3527 func (x Uint16x16) Add(y Uint16x16) (z Uint16x16) {
3528 return Uint16x16{spec.Add[uint16, spec.Width256](x.v, y.v)}
3529 }
3530
3531
3532
3533
3534 func (x Uint16x32) Add(y Uint16x32) (z Uint16x32) {
3535 return Uint16x32{spec.Add[uint16, spec.Width512](x.v, y.v)}
3536 }
3537
3538
3539
3540
3541 func (x Uint16s) Add(y Uint16s) (z Uint16s) {
3542 return Uint16s{spec.Add[uint16, spec.WidthScalable](x.v, y.v)}
3543 }
3544
3545
3546
3547
3548 func (x Uint32x4) Add(y Uint32x4) (z Uint32x4) {
3549 return Uint32x4{spec.Add[uint32, spec.Width128](x.v, y.v)}
3550 }
3551
3552
3553
3554
3555 func (x Uint32x8) Add(y Uint32x8) (z Uint32x8) {
3556 return Uint32x8{spec.Add[uint32, spec.Width256](x.v, y.v)}
3557 }
3558
3559
3560
3561
3562 func (x Uint32x16) Add(y Uint32x16) (z Uint32x16) {
3563 return Uint32x16{spec.Add[uint32, spec.Width512](x.v, y.v)}
3564 }
3565
3566
3567
3568
3569 func (x Uint32s) Add(y Uint32s) (z Uint32s) {
3570 return Uint32s{spec.Add[uint32, spec.WidthScalable](x.v, y.v)}
3571 }
3572
3573
3574
3575
3576 func (x Uint64x2) Add(y Uint64x2) (z Uint64x2) {
3577 return Uint64x2{spec.Add[uint64, spec.Width128](x.v, y.v)}
3578 }
3579
3580
3581
3582
3583 func (x Uint64x4) Add(y Uint64x4) (z Uint64x4) {
3584 return Uint64x4{spec.Add[uint64, spec.Width256](x.v, y.v)}
3585 }
3586
3587
3588
3589
3590 func (x Uint64x8) Add(y Uint64x8) (z Uint64x8) {
3591 return Uint64x8{spec.Add[uint64, spec.Width512](x.v, y.v)}
3592 }
3593
3594
3595
3596
3597 func (x Uint64s) Add(y Uint64s) (z Uint64s) {
3598 return Uint64s{spec.Add[uint64, spec.WidthScalable](x.v, y.v)}
3599 }
3600
3601
3602
3603
3604
3605
3606
3607 func (x Float32x4) DotProductPairs(y Float32x4) (z Float64x2) {
3608 return Float64x2{spec.DotProductPairs[float32, spec.Width128, float64](x.v, y.v)}
3609 }
3610
3611
3612
3613
3614
3615
3616
3617 func (x Float32x8) DotProductPairs(y Float32x8) (z Float64x4) {
3618 return Float64x4{spec.DotProductPairs[float32, spec.Width256, float64](x.v, y.v)}
3619 }
3620
3621
3622
3623
3624
3625
3626
3627 func (x Float32x16) DotProductPairs(y Float32x16) (z Float64x8) {
3628 return Float64x8{spec.DotProductPairs[float32, spec.Width512, float64](x.v, y.v)}
3629 }
3630
3631
3632
3633
3634
3635
3636
3637 func (x Float32s) DotProductPairs(y Float32s) (z Float64s) {
3638 return Float64s{spec.DotProductPairs[float32, spec.WidthScalable, float64](x.v, y.v)}
3639 }
3640
3641
3642
3643
3644
3645
3646
3647 func (x Int8x16) DotProductPairs(y Int8x16) (z Int16x8) {
3648 return Int16x8{spec.DotProductPairs[int8, spec.Width128, int16](x.v, y.v)}
3649 }
3650
3651
3652
3653
3654
3655
3656
3657 func (x Int8x32) DotProductPairs(y Int8x32) (z Int16x16) {
3658 return Int16x16{spec.DotProductPairs[int8, spec.Width256, int16](x.v, y.v)}
3659 }
3660
3661
3662
3663
3664
3665
3666
3667 func (x Int8x64) DotProductPairs(y Int8x64) (z Int16x32) {
3668 return Int16x32{spec.DotProductPairs[int8, spec.Width512, int16](x.v, y.v)}
3669 }
3670
3671
3672
3673
3674
3675
3676
3677 func (x Int8s) DotProductPairs(y Int8s) (z Int16s) {
3678 return Int16s{spec.DotProductPairs[int8, spec.WidthScalable, int16](x.v, y.v)}
3679 }
3680
3681
3682
3683
3684
3685
3686
3687 func (x Int16x8) DotProductPairs(y Int16x8) (z Int32x4) {
3688 return Int32x4{spec.DotProductPairs[int16, spec.Width128, int32](x.v, y.v)}
3689 }
3690
3691
3692
3693
3694
3695
3696
3697 func (x Int16x16) DotProductPairs(y Int16x16) (z Int32x8) {
3698 return Int32x8{spec.DotProductPairs[int16, spec.Width256, int32](x.v, y.v)}
3699 }
3700
3701
3702
3703
3704
3705
3706
3707 func (x Int16x32) DotProductPairs(y Int16x32) (z Int32x16) {
3708 return Int32x16{spec.DotProductPairs[int16, spec.Width512, int32](x.v, y.v)}
3709 }
3710
3711
3712
3713
3714
3715
3716
3717 func (x Int16s) DotProductPairs(y Int16s) (z Int32s) {
3718 return Int32s{spec.DotProductPairs[int16, spec.WidthScalable, int32](x.v, y.v)}
3719 }
3720
3721
3722
3723
3724
3725
3726
3727 func (x Int32x4) DotProductPairs(y Int32x4) (z Int64x2) {
3728 return Int64x2{spec.DotProductPairs[int32, spec.Width128, int64](x.v, y.v)}
3729 }
3730
3731
3732
3733
3734
3735
3736
3737 func (x Int32x8) DotProductPairs(y Int32x8) (z Int64x4) {
3738 return Int64x4{spec.DotProductPairs[int32, spec.Width256, int64](x.v, y.v)}
3739 }
3740
3741
3742
3743
3744
3745
3746
3747 func (x Int32x16) DotProductPairs(y Int32x16) (z Int64x8) {
3748 return Int64x8{spec.DotProductPairs[int32, spec.Width512, int64](x.v, y.v)}
3749 }
3750
3751
3752
3753
3754
3755
3756
3757 func (x Int32s) DotProductPairs(y Int32s) (z Int64s) {
3758 return Int64s{spec.DotProductPairs[int32, spec.WidthScalable, int64](x.v, y.v)}
3759 }
3760
3761
3762
3763
3764
3765
3766
3767 func (x Uint8x16) DotProductPairs(y Uint8x16) (z Uint16x8) {
3768 return Uint16x8{spec.DotProductPairs[uint8, spec.Width128, uint16](x.v, y.v)}
3769 }
3770
3771
3772
3773
3774
3775
3776
3777 func (x Uint8x32) DotProductPairs(y Uint8x32) (z Uint16x16) {
3778 return Uint16x16{spec.DotProductPairs[uint8, spec.Width256, uint16](x.v, y.v)}
3779 }
3780
3781
3782
3783
3784
3785
3786
3787 func (x Uint8x64) DotProductPairs(y Uint8x64) (z Uint16x32) {
3788 return Uint16x32{spec.DotProductPairs[uint8, spec.Width512, uint16](x.v, y.v)}
3789 }
3790
3791
3792
3793
3794
3795
3796
3797 func (x Uint8s) DotProductPairs(y Uint8s) (z Uint16s) {
3798 return Uint16s{spec.DotProductPairs[uint8, spec.WidthScalable, uint16](x.v, y.v)}
3799 }
3800
3801
3802
3803
3804
3805
3806
3807 func (x Uint16x8) DotProductPairs(y Uint16x8) (z Uint32x4) {
3808 return Uint32x4{spec.DotProductPairs[uint16, spec.Width128, uint32](x.v, y.v)}
3809 }
3810
3811
3812
3813
3814
3815
3816
3817 func (x Uint16x16) DotProductPairs(y Uint16x16) (z Uint32x8) {
3818 return Uint32x8{spec.DotProductPairs[uint16, spec.Width256, uint32](x.v, y.v)}
3819 }
3820
3821
3822
3823
3824
3825
3826
3827 func (x Uint16x32) DotProductPairs(y Uint16x32) (z Uint32x16) {
3828 return Uint32x16{spec.DotProductPairs[uint16, spec.Width512, uint32](x.v, y.v)}
3829 }
3830
3831
3832
3833
3834
3835
3836
3837 func (x Uint16s) DotProductPairs(y Uint16s) (z Uint32s) {
3838 return Uint32s{spec.DotProductPairs[uint16, spec.WidthScalable, uint32](x.v, y.v)}
3839 }
3840
3841
3842
3843
3844
3845
3846
3847 func (x Uint32x4) DotProductPairs(y Uint32x4) (z Uint64x2) {
3848 return Uint64x2{spec.DotProductPairs[uint32, spec.Width128, uint64](x.v, y.v)}
3849 }
3850
3851
3852
3853
3854
3855
3856
3857 func (x Uint32x8) DotProductPairs(y Uint32x8) (z Uint64x4) {
3858 return Uint64x4{spec.DotProductPairs[uint32, spec.Width256, uint64](x.v, y.v)}
3859 }
3860
3861
3862
3863
3864
3865
3866
3867 func (x Uint32x16) DotProductPairs(y Uint32x16) (z Uint64x8) {
3868 return Uint64x8{spec.DotProductPairs[uint32, spec.Width512, uint64](x.v, y.v)}
3869 }
3870
3871
3872
3873
3874
3875
3876
3877 func (x Uint32s) DotProductPairs(y Uint32s) (z Uint64s) {
3878 return Uint64s{spec.DotProductPairs[uint32, spec.WidthScalable, uint64](x.v, y.v)}
3879 }
3880
3881
3882
3883
3884
3885
3886
3887 func (x Uint8x16) DotProductPairsSaturated(y Int8x16) (z Int16x8) {
3888 return Int16x8{spec.DotProductPairsSaturated[uint8, spec.Width128, int8, int16](x.v, y.v)}
3889 }
3890
3891
3892
3893
3894
3895
3896
3897 func (x Uint8x32) DotProductPairsSaturated(y Int8x32) (z Int16x16) {
3898 return Int16x16{spec.DotProductPairsSaturated[uint8, spec.Width256, int8, int16](x.v, y.v)}
3899 }
3900
3901
3902
3903
3904
3905
3906
3907 func (x Uint8x64) DotProductPairsSaturated(y Int8x64) (z Int16x32) {
3908 return Int16x32{spec.DotProductPairsSaturated[uint8, spec.Width512, int8, int16](x.v, y.v)}
3909 }
3910
3911
3912
3913
3914
3915
3916
3917 func (x Uint8s) DotProductPairsSaturated(y Int8s) (z Int16s) {
3918 return Int16s{spec.DotProductPairsSaturated[uint8, spec.WidthScalable, int8, int16](x.v, y.v)}
3919 }
3920
3921
3922
3923
3924
3925
3926
3927 func (x Uint16x8) DotProductPairsSaturated(y Int16x8) (z Int32x4) {
3928 return Int32x4{spec.DotProductPairsSaturated[uint16, spec.Width128, int16, int32](x.v, y.v)}
3929 }
3930
3931
3932
3933
3934
3935
3936
3937 func (x Uint16x16) DotProductPairsSaturated(y Int16x16) (z Int32x8) {
3938 return Int32x8{spec.DotProductPairsSaturated[uint16, spec.Width256, int16, int32](x.v, y.v)}
3939 }
3940
3941
3942
3943
3944
3945
3946
3947 func (x Uint16x32) DotProductPairsSaturated(y Int16x32) (z Int32x16) {
3948 return Int32x16{spec.DotProductPairsSaturated[uint16, spec.Width512, int16, int32](x.v, y.v)}
3949 }
3950
3951
3952
3953
3954
3955
3956
3957 func (x Uint16s) DotProductPairsSaturated(y Int16s) (z Int32s) {
3958 return Int32s{spec.DotProductPairsSaturated[uint16, spec.WidthScalable, int16, int32](x.v, y.v)}
3959 }
3960
3961
3962
3963
3964
3965
3966
3967 func (x Uint32x4) DotProductPairsSaturated(y Int32x4) (z Int64x2) {
3968 return Int64x2{spec.DotProductPairsSaturated[uint32, spec.Width128, int32, int64](x.v, y.v)}
3969 }
3970
3971
3972
3973
3974
3975
3976
3977 func (x Uint32x8) DotProductPairsSaturated(y Int32x8) (z Int64x4) {
3978 return Int64x4{spec.DotProductPairsSaturated[uint32, spec.Width256, int32, int64](x.v, y.v)}
3979 }
3980
3981
3982
3983
3984
3985
3986
3987 func (x Uint32x16) DotProductPairsSaturated(y Int32x16) (z Int64x8) {
3988 return Int64x8{spec.DotProductPairsSaturated[uint32, spec.Width512, int32, int64](x.v, y.v)}
3989 }
3990
3991
3992
3993
3994
3995
3996
3997 func (x Uint32s) DotProductPairsSaturated(y Int32s) (z Int64s) {
3998 return Int64s{spec.DotProductPairsSaturated[uint32, spec.WidthScalable, int32, int64](x.v, y.v)}
3999 }
4000
4001
4002
4003 func (x Uint8x16) ReshapeToUint16s() (z Uint16x8) {
4004 return Uint16x8{spec.ReshapeToUints[uint8, spec.Width128, uint16](x.v)}
4005 }
4006
4007
4008
4009 func (x Uint8x16) ReshapeToUint32s() (z Uint32x4) {
4010 return Uint32x4{spec.ReshapeToUints[uint8, spec.Width128, uint32](x.v)}
4011 }
4012
4013
4014
4015 func (x Uint8x16) ReshapeToUint64s() (z Uint64x2) {
4016 return Uint64x2{spec.ReshapeToUints[uint8, spec.Width128, uint64](x.v)}
4017 }
4018
4019
4020
4021 func (x Uint8x32) ReshapeToUint16s() (z Uint16x16) {
4022 return Uint16x16{spec.ReshapeToUints[uint8, spec.Width256, uint16](x.v)}
4023 }
4024
4025
4026
4027 func (x Uint8x32) ReshapeToUint32s() (z Uint32x8) {
4028 return Uint32x8{spec.ReshapeToUints[uint8, spec.Width256, uint32](x.v)}
4029 }
4030
4031
4032
4033 func (x Uint8x32) ReshapeToUint64s() (z Uint64x4) {
4034 return Uint64x4{spec.ReshapeToUints[uint8, spec.Width256, uint64](x.v)}
4035 }
4036
4037
4038
4039 func (x Uint8x64) ReshapeToUint16s() (z Uint16x32) {
4040 return Uint16x32{spec.ReshapeToUints[uint8, spec.Width512, uint16](x.v)}
4041 }
4042
4043
4044
4045 func (x Uint8x64) ReshapeToUint32s() (z Uint32x16) {
4046 return Uint32x16{spec.ReshapeToUints[uint8, spec.Width512, uint32](x.v)}
4047 }
4048
4049
4050
4051 func (x Uint8x64) ReshapeToUint64s() (z Uint64x8) {
4052 return Uint64x8{spec.ReshapeToUints[uint8, spec.Width512, uint64](x.v)}
4053 }
4054
4055
4056
4057 func (x Uint8s) ReshapeToUint16s() (z Uint16s) {
4058 return Uint16s{spec.ReshapeToUints[uint8, spec.WidthScalable, uint16](x.v)}
4059 }
4060
4061
4062
4063 func (x Uint8s) ReshapeToUint32s() (z Uint32s) {
4064 return Uint32s{spec.ReshapeToUints[uint8, spec.WidthScalable, uint32](x.v)}
4065 }
4066
4067
4068
4069 func (x Uint8s) ReshapeToUint64s() (z Uint64s) {
4070 return Uint64s{spec.ReshapeToUints[uint8, spec.WidthScalable, uint64](x.v)}
4071 }
4072
4073
4074
4075 func (x Uint16x8) ReshapeToUint8s() (z Uint8x16) {
4076 return Uint8x16{spec.ReshapeToUints[uint16, spec.Width128, uint8](x.v)}
4077 }
4078
4079
4080
4081 func (x Uint16x8) ReshapeToUint32s() (z Uint32x4) {
4082 return Uint32x4{spec.ReshapeToUints[uint16, spec.Width128, uint32](x.v)}
4083 }
4084
4085
4086
4087 func (x Uint16x8) ReshapeToUint64s() (z Uint64x2) {
4088 return Uint64x2{spec.ReshapeToUints[uint16, spec.Width128, uint64](x.v)}
4089 }
4090
4091
4092
4093 func (x Uint16x16) ReshapeToUint8s() (z Uint8x32) {
4094 return Uint8x32{spec.ReshapeToUints[uint16, spec.Width256, uint8](x.v)}
4095 }
4096
4097
4098
4099 func (x Uint16x16) ReshapeToUint32s() (z Uint32x8) {
4100 return Uint32x8{spec.ReshapeToUints[uint16, spec.Width256, uint32](x.v)}
4101 }
4102
4103
4104
4105 func (x Uint16x16) ReshapeToUint64s() (z Uint64x4) {
4106 return Uint64x4{spec.ReshapeToUints[uint16, spec.Width256, uint64](x.v)}
4107 }
4108
4109
4110
4111 func (x Uint16x32) ReshapeToUint8s() (z Uint8x64) {
4112 return Uint8x64{spec.ReshapeToUints[uint16, spec.Width512, uint8](x.v)}
4113 }
4114
4115
4116
4117 func (x Uint16x32) ReshapeToUint32s() (z Uint32x16) {
4118 return Uint32x16{spec.ReshapeToUints[uint16, spec.Width512, uint32](x.v)}
4119 }
4120
4121
4122
4123 func (x Uint16x32) ReshapeToUint64s() (z Uint64x8) {
4124 return Uint64x8{spec.ReshapeToUints[uint16, spec.Width512, uint64](x.v)}
4125 }
4126
4127
4128
4129 func (x Uint16s) ReshapeToUint8s() (z Uint8s) {
4130 return Uint8s{spec.ReshapeToUints[uint16, spec.WidthScalable, uint8](x.v)}
4131 }
4132
4133
4134
4135 func (x Uint16s) ReshapeToUint32s() (z Uint32s) {
4136 return Uint32s{spec.ReshapeToUints[uint16, spec.WidthScalable, uint32](x.v)}
4137 }
4138
4139
4140
4141 func (x Uint16s) ReshapeToUint64s() (z Uint64s) {
4142 return Uint64s{spec.ReshapeToUints[uint16, spec.WidthScalable, uint64](x.v)}
4143 }
4144
4145
4146
4147 func (x Uint32x4) ReshapeToUint8s() (z Uint8x16) {
4148 return Uint8x16{spec.ReshapeToUints[uint32, spec.Width128, uint8](x.v)}
4149 }
4150
4151
4152
4153 func (x Uint32x4) ReshapeToUint16s() (z Uint16x8) {
4154 return Uint16x8{spec.ReshapeToUints[uint32, spec.Width128, uint16](x.v)}
4155 }
4156
4157
4158
4159 func (x Uint32x4) ReshapeToUint64s() (z Uint64x2) {
4160 return Uint64x2{spec.ReshapeToUints[uint32, spec.Width128, uint64](x.v)}
4161 }
4162
4163
4164
4165 func (x Uint32x8) ReshapeToUint8s() (z Uint8x32) {
4166 return Uint8x32{spec.ReshapeToUints[uint32, spec.Width256, uint8](x.v)}
4167 }
4168
4169
4170
4171 func (x Uint32x8) ReshapeToUint16s() (z Uint16x16) {
4172 return Uint16x16{spec.ReshapeToUints[uint32, spec.Width256, uint16](x.v)}
4173 }
4174
4175
4176
4177 func (x Uint32x8) ReshapeToUint64s() (z Uint64x4) {
4178 return Uint64x4{spec.ReshapeToUints[uint32, spec.Width256, uint64](x.v)}
4179 }
4180
4181
4182
4183 func (x Uint32x16) ReshapeToUint8s() (z Uint8x64) {
4184 return Uint8x64{spec.ReshapeToUints[uint32, spec.Width512, uint8](x.v)}
4185 }
4186
4187
4188
4189 func (x Uint32x16) ReshapeToUint16s() (z Uint16x32) {
4190 return Uint16x32{spec.ReshapeToUints[uint32, spec.Width512, uint16](x.v)}
4191 }
4192
4193
4194
4195 func (x Uint32x16) ReshapeToUint64s() (z Uint64x8) {
4196 return Uint64x8{spec.ReshapeToUints[uint32, spec.Width512, uint64](x.v)}
4197 }
4198
4199
4200
4201 func (x Uint32s) ReshapeToUint8s() (z Uint8s) {
4202 return Uint8s{spec.ReshapeToUints[uint32, spec.WidthScalable, uint8](x.v)}
4203 }
4204
4205
4206
4207 func (x Uint32s) ReshapeToUint16s() (z Uint16s) {
4208 return Uint16s{spec.ReshapeToUints[uint32, spec.WidthScalable, uint16](x.v)}
4209 }
4210
4211
4212
4213 func (x Uint32s) ReshapeToUint64s() (z Uint64s) {
4214 return Uint64s{spec.ReshapeToUints[uint32, spec.WidthScalable, uint64](x.v)}
4215 }
4216
4217
4218
4219 func (x Uint64x2) ReshapeToUint8s() (z Uint8x16) {
4220 return Uint8x16{spec.ReshapeToUints[uint64, spec.Width128, uint8](x.v)}
4221 }
4222
4223
4224
4225 func (x Uint64x2) ReshapeToUint16s() (z Uint16x8) {
4226 return Uint16x8{spec.ReshapeToUints[uint64, spec.Width128, uint16](x.v)}
4227 }
4228
4229
4230
4231 func (x Uint64x2) ReshapeToUint32s() (z Uint32x4) {
4232 return Uint32x4{spec.ReshapeToUints[uint64, spec.Width128, uint32](x.v)}
4233 }
4234
4235
4236
4237 func (x Uint64x4) ReshapeToUint8s() (z Uint8x32) {
4238 return Uint8x32{spec.ReshapeToUints[uint64, spec.Width256, uint8](x.v)}
4239 }
4240
4241
4242
4243 func (x Uint64x4) ReshapeToUint16s() (z Uint16x16) {
4244 return Uint16x16{spec.ReshapeToUints[uint64, spec.Width256, uint16](x.v)}
4245 }
4246
4247
4248
4249 func (x Uint64x4) ReshapeToUint32s() (z Uint32x8) {
4250 return Uint32x8{spec.ReshapeToUints[uint64, spec.Width256, uint32](x.v)}
4251 }
4252
4253
4254
4255 func (x Uint64x8) ReshapeToUint8s() (z Uint8x64) {
4256 return Uint8x64{spec.ReshapeToUints[uint64, spec.Width512, uint8](x.v)}
4257 }
4258
4259
4260
4261 func (x Uint64x8) ReshapeToUint16s() (z Uint16x32) {
4262 return Uint16x32{spec.ReshapeToUints[uint64, spec.Width512, uint16](x.v)}
4263 }
4264
4265
4266
4267 func (x Uint64x8) ReshapeToUint32s() (z Uint32x16) {
4268 return Uint32x16{spec.ReshapeToUints[uint64, spec.Width512, uint32](x.v)}
4269 }
4270
4271
4272
4273 func (x Uint64s) ReshapeToUint8s() (z Uint8s) {
4274 return Uint8s{spec.ReshapeToUints[uint64, spec.WidthScalable, uint8](x.v)}
4275 }
4276
4277
4278
4279 func (x Uint64s) ReshapeToUint16s() (z Uint16s) {
4280 return Uint16s{spec.ReshapeToUints[uint64, spec.WidthScalable, uint16](x.v)}
4281 }
4282
4283
4284
4285 func (x Uint64s) ReshapeToUint32s() (z Uint32s) {
4286 return Uint32s{spec.ReshapeToUints[uint64, spec.WidthScalable, uint32](x.v)}
4287 }
4288
4289
4290
4291
4292 func (x Float32x4) Permute(indices Uint32x4) (z Float32x4) {
4293 return Float32x4{spec.Permute[float32, spec.Width128, uint32](x.v, indices.v)}
4294 }
4295
4296
4297
4298
4299 func (x Float32x8) Permute(indices Uint32x8) (z Float32x8) {
4300 return Float32x8{spec.Permute[float32, spec.Width256, uint32](x.v, indices.v)}
4301 }
4302
4303
4304
4305
4306 func (x Float32x16) Permute(indices Uint32x16) (z Float32x16) {
4307 return Float32x16{spec.Permute[float32, spec.Width512, uint32](x.v, indices.v)}
4308 }
4309
4310
4311
4312
4313 func (x Float32s) Permute(indices Uint32s) (z Float32s) {
4314 return Float32s{spec.Permute[float32, spec.WidthScalable, uint32](x.v, indices.v)}
4315 }
4316
4317
4318
4319
4320 func (x Float64x2) Permute(indices Uint64x2) (z Float64x2) {
4321 return Float64x2{spec.Permute[float64, spec.Width128, uint64](x.v, indices.v)}
4322 }
4323
4324
4325
4326
4327 func (x Float64x4) Permute(indices Uint64x4) (z Float64x4) {
4328 return Float64x4{spec.Permute[float64, spec.Width256, uint64](x.v, indices.v)}
4329 }
4330
4331
4332
4333
4334 func (x Float64x8) Permute(indices Uint64x8) (z Float64x8) {
4335 return Float64x8{spec.Permute[float64, spec.Width512, uint64](x.v, indices.v)}
4336 }
4337
4338
4339
4340
4341 func (x Float64s) Permute(indices Uint64s) (z Float64s) {
4342 return Float64s{spec.Permute[float64, spec.WidthScalable, uint64](x.v, indices.v)}
4343 }
4344
4345
4346
4347
4348 func (x Int8x16) Permute(indices Uint8x16) (z Int8x16) {
4349 return Int8x16{spec.Permute[int8, spec.Width128, uint8](x.v, indices.v)}
4350 }
4351
4352
4353
4354
4355 func (x Int8x32) Permute(indices Uint8x32) (z Int8x32) {
4356 return Int8x32{spec.Permute[int8, spec.Width256, uint8](x.v, indices.v)}
4357 }
4358
4359
4360
4361
4362 func (x Int8x64) Permute(indices Uint8x64) (z Int8x64) {
4363 return Int8x64{spec.Permute[int8, spec.Width512, uint8](x.v, indices.v)}
4364 }
4365
4366
4367
4368
4369 func (x Int8s) Permute(indices Uint8s) (z Int8s) {
4370 return Int8s{spec.Permute[int8, spec.WidthScalable, uint8](x.v, indices.v)}
4371 }
4372
4373
4374
4375
4376 func (x Int16x8) Permute(indices Uint16x8) (z Int16x8) {
4377 return Int16x8{spec.Permute[int16, spec.Width128, uint16](x.v, indices.v)}
4378 }
4379
4380
4381
4382
4383 func (x Int16x16) Permute(indices Uint16x16) (z Int16x16) {
4384 return Int16x16{spec.Permute[int16, spec.Width256, uint16](x.v, indices.v)}
4385 }
4386
4387
4388
4389
4390 func (x Int16x32) Permute(indices Uint16x32) (z Int16x32) {
4391 return Int16x32{spec.Permute[int16, spec.Width512, uint16](x.v, indices.v)}
4392 }
4393
4394
4395
4396
4397 func (x Int16s) Permute(indices Uint16s) (z Int16s) {
4398 return Int16s{spec.Permute[int16, spec.WidthScalable, uint16](x.v, indices.v)}
4399 }
4400
4401
4402
4403
4404 func (x Int32x4) Permute(indices Uint32x4) (z Int32x4) {
4405 return Int32x4{spec.Permute[int32, spec.Width128, uint32](x.v, indices.v)}
4406 }
4407
4408
4409
4410
4411 func (x Int32x8) Permute(indices Uint32x8) (z Int32x8) {
4412 return Int32x8{spec.Permute[int32, spec.Width256, uint32](x.v, indices.v)}
4413 }
4414
4415
4416
4417
4418 func (x Int32x16) Permute(indices Uint32x16) (z Int32x16) {
4419 return Int32x16{spec.Permute[int32, spec.Width512, uint32](x.v, indices.v)}
4420 }
4421
4422
4423
4424
4425 func (x Int32s) Permute(indices Uint32s) (z Int32s) {
4426 return Int32s{spec.Permute[int32, spec.WidthScalable, uint32](x.v, indices.v)}
4427 }
4428
4429
4430
4431
4432 func (x Int64x2) Permute(indices Uint64x2) (z Int64x2) {
4433 return Int64x2{spec.Permute[int64, spec.Width128, uint64](x.v, indices.v)}
4434 }
4435
4436
4437
4438
4439 func (x Int64x4) Permute(indices Uint64x4) (z Int64x4) {
4440 return Int64x4{spec.Permute[int64, spec.Width256, uint64](x.v, indices.v)}
4441 }
4442
4443
4444
4445
4446 func (x Int64x8) Permute(indices Uint64x8) (z Int64x8) {
4447 return Int64x8{spec.Permute[int64, spec.Width512, uint64](x.v, indices.v)}
4448 }
4449
4450
4451
4452
4453 func (x Int64s) Permute(indices Uint64s) (z Int64s) {
4454 return Int64s{spec.Permute[int64, spec.WidthScalable, uint64](x.v, indices.v)}
4455 }
4456
4457
4458
4459
4460 func (x Uint8x16) Permute(indices Uint8x16) (z Uint8x16) {
4461 return Uint8x16{spec.Permute[uint8, spec.Width128, uint8](x.v, indices.v)}
4462 }
4463
4464
4465
4466
4467 func (x Uint8x32) Permute(indices Uint8x32) (z Uint8x32) {
4468 return Uint8x32{spec.Permute[uint8, spec.Width256, uint8](x.v, indices.v)}
4469 }
4470
4471
4472
4473
4474 func (x Uint8x64) Permute(indices Uint8x64) (z Uint8x64) {
4475 return Uint8x64{spec.Permute[uint8, spec.Width512, uint8](x.v, indices.v)}
4476 }
4477
4478
4479
4480
4481 func (x Uint8s) Permute(indices Uint8s) (z Uint8s) {
4482 return Uint8s{spec.Permute[uint8, spec.WidthScalable, uint8](x.v, indices.v)}
4483 }
4484
4485
4486
4487
4488 func (x Uint16x8) Permute(indices Uint16x8) (z Uint16x8) {
4489 return Uint16x8{spec.Permute[uint16, spec.Width128, uint16](x.v, indices.v)}
4490 }
4491
4492
4493
4494
4495 func (x Uint16x16) Permute(indices Uint16x16) (z Uint16x16) {
4496 return Uint16x16{spec.Permute[uint16, spec.Width256, uint16](x.v, indices.v)}
4497 }
4498
4499
4500
4501
4502 func (x Uint16x32) Permute(indices Uint16x32) (z Uint16x32) {
4503 return Uint16x32{spec.Permute[uint16, spec.Width512, uint16](x.v, indices.v)}
4504 }
4505
4506
4507
4508
4509 func (x Uint16s) Permute(indices Uint16s) (z Uint16s) {
4510 return Uint16s{spec.Permute[uint16, spec.WidthScalable, uint16](x.v, indices.v)}
4511 }
4512
4513
4514
4515
4516 func (x Uint32x4) Permute(indices Uint32x4) (z Uint32x4) {
4517 return Uint32x4{spec.Permute[uint32, spec.Width128, uint32](x.v, indices.v)}
4518 }
4519
4520
4521
4522
4523 func (x Uint32x8) Permute(indices Uint32x8) (z Uint32x8) {
4524 return Uint32x8{spec.Permute[uint32, spec.Width256, uint32](x.v, indices.v)}
4525 }
4526
4527
4528
4529
4530 func (x Uint32x16) Permute(indices Uint32x16) (z Uint32x16) {
4531 return Uint32x16{spec.Permute[uint32, spec.Width512, uint32](x.v, indices.v)}
4532 }
4533
4534
4535
4536
4537 func (x Uint32s) Permute(indices Uint32s) (z Uint32s) {
4538 return Uint32s{spec.Permute[uint32, spec.WidthScalable, uint32](x.v, indices.v)}
4539 }
4540
4541
4542
4543
4544 func (x Uint64x2) Permute(indices Uint64x2) (z Uint64x2) {
4545 return Uint64x2{spec.Permute[uint64, spec.Width128, uint64](x.v, indices.v)}
4546 }
4547
4548
4549
4550
4551 func (x Uint64x4) Permute(indices Uint64x4) (z Uint64x4) {
4552 return Uint64x4{spec.Permute[uint64, spec.Width256, uint64](x.v, indices.v)}
4553 }
4554
4555
4556
4557
4558 func (x Uint64x8) Permute(indices Uint64x8) (z Uint64x8) {
4559 return Uint64x8{spec.Permute[uint64, spec.Width512, uint64](x.v, indices.v)}
4560 }
4561
4562
4563
4564
4565 func (x Uint64s) Permute(indices Uint64s) (z Uint64s) {
4566 return Uint64s{spec.Permute[uint64, spec.WidthScalable, uint64](x.v, indices.v)}
4567 }
4568
View as plain text