Debian Codegraph @

src/arm/swizzle_i32x4.rs

raw symbols SCIP
1 // pathfinder/simd/src/arm/swizzle_i32x4.rs
2 //
3 // Copyright © 2019 The Pathfinder Project Developers.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 use crate::arm::{self, I32x4, Simd};
12
13 macro_rules! simd_shuffle4 {
14 ($x:expr, $y:expr, <$(const $imm:ident : $ty:ty),+> $idx:expr $(,)?) => {{
15 struct ConstParam<$(const $imm: $ty),+>;
16 impl<$(const $imm: $ty),+> ConstParam<$($imm),+> {
17 const IDX: Simd<u32, 4> = Simd($idx);
18 }
19
20 arm::simd_shuffle($x, $y, ConstParam::<$($imm),+>::IDX)
21 }};
22 ($x:expr, $y:expr, $idx:expr $(,)?) => {{
23 const IDX: Simd<u32, 4> = Simd($idx);
24 arm::simd_shuffle($x, $y, IDX)
25 }};
26 }
27
28 impl I32x4 {
29 /// Constructs a new vector from the first, first, first, and first
30 /// lanes in this vector, respectively.
31 #[inline]
32 pub fn xxxx(self) -> I32x4 {
33 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 0, 0])) }
34 }
35
36 /// Constructs a new vector from the second, first, first, and first
37 /// lanes in this vector, respectively.
38 #[inline]
39 pub fn yxxx(self) -> I32x4 {
40 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 0, 0])) }
41 }
42
43 /// Constructs a new vector from the third, first, first, and first
44 /// lanes in this vector, respectively.
45 #[inline]
46 pub fn zxxx(self) -> I32x4 {
47 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 0, 0])) }
48 }
49
50 /// Constructs a new vector from the fourth, first, first, and first
51 /// lanes in this vector, respectively.
52 #[inline]
53 pub fn wxxx(self) -> I32x4 {
54 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 0, 0])) }
55 }
56
57 /// Constructs a new vector from the first, second, first, and first
58 /// lanes in this vector, respectively.
59 #[inline]
60 pub fn xyxx(self) -> I32x4 {
61 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 0, 0])) }
62 }
63
64 /// Constructs a new vector from the second, second, first, and first
65 /// lanes in this vector, respectively.
66 #[inline]
67 pub fn yyxx(self) -> I32x4 {
68 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 0, 0])) }
69 }
70
71 /// Constructs a new vector from the third, second, first, and first
72 /// lanes in this vector, respectively.
73 #[inline]
74 pub fn zyxx(self) -> I32x4 {
75 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 0, 0])) }
76 }
77
78 /// Constructs a new vector from the fourth, second, first, and first
79 /// lanes in this vector, respectively.
80 #[inline]
81 pub fn wyxx(self) -> I32x4 {
82 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 0, 0])) }
83 }
84
85 /// Constructs a new vector from the first, third, first, and first
86 /// lanes in this vector, respectively.
87 #[inline]
88 pub fn xzxx(self) -> I32x4 {
89 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 0, 0])) }
90 }
91
92 /// Constructs a new vector from the second, third, first, and first
93 /// lanes in this vector, respectively.
94 #[inline]
95 pub fn yzxx(self) -> I32x4 {
96 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 0, 0])) }
97 }
98
99 /// Constructs a new vector from the third, third, first, and first
100 /// lanes in this vector, respectively.
101 #[inline]
102 pub fn zzxx(self) -> I32x4 {
103 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 0, 0])) }
104 }
105
106 /// Constructs a new vector from the fourth, third, first, and first
107 /// lanes in this vector, respectively.
108 #[inline]
109 pub fn wzxx(self) -> I32x4 {
110 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 0, 0])) }
111 }
112
113 /// Constructs a new vector from the first, fourth, first, and first
114 /// lanes in this vector, respectively.
115 #[inline]
116 pub fn xwxx(self) -> I32x4 {
117 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 0, 0])) }
118 }
119
120 /// Constructs a new vector from the second, fourth, first, and first
121 /// lanes in this vector, respectively.
122 #[inline]
123 pub fn ywxx(self) -> I32x4 {
124 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 0, 0])) }
125 }
126
127 /// Constructs a new vector from the third, fourth, first, and first
128 /// lanes in this vector, respectively.
129 #[inline]
130 pub fn zwxx(self) -> I32x4 {
131 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 0, 0])) }
132 }
133
134 /// Constructs a new vector from the fourth, fourth, first, and first
135 /// lanes in this vector, respectively.
136 #[inline]
137 pub fn wwxx(self) -> I32x4 {
138 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 0, 0])) }
139 }
140
141 /// Constructs a new vector from the first, first, second, and first
142 /// lanes in this vector, respectively.
143 #[inline]
144 pub fn xxyx(self) -> I32x4 {
145 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 1, 0])) }
146 }
147
148 /// Constructs a new vector from the second, first, second, and first
149 /// lanes in this vector, respectively.
150 #[inline]
151 pub fn yxyx(self) -> I32x4 {
152 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 1, 0])) }
153 }
154
155 /// Constructs a new vector from the third, first, second, and first
156 /// lanes in this vector, respectively.
157 #[inline]
158 pub fn zxyx(self) -> I32x4 {
159 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 1, 0])) }
160 }
161
162 /// Constructs a new vector from the fourth, first, second, and first
163 /// lanes in this vector, respectively.
164 #[inline]
165 pub fn wxyx(self) -> I32x4 {
166 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 1, 0])) }
167 }
168
169 /// Constructs a new vector from the first, second, second, and first
170 /// lanes in this vector, respectively.
171 #[inline]
172 pub fn xyyx(self) -> I32x4 {
173 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 1, 0])) }
174 }
175
176 /// Constructs a new vector from the second, second, second, and first
177 /// lanes in this vector, respectively.
178 #[inline]
179 pub fn yyyx(self) -> I32x4 {
180 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 1, 0])) }
181 }
182
183 /// Constructs a new vector from the third, second, second, and first
184 /// lanes in this vector, respectively.
185 #[inline]
186 pub fn zyyx(self) -> I32x4 {
187 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 1, 0])) }
188 }
189
190 /// Constructs a new vector from the fourth, second, second, and first
191 /// lanes in this vector, respectively.
192 #[inline]
193 pub fn wyyx(self) -> I32x4 {
194 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 1, 0])) }
195 }
196
197 /// Constructs a new vector from the first, third, second, and first
198 /// lanes in this vector, respectively.
199 #[inline]
200 pub fn xzyx(self) -> I32x4 {
201 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 1, 0])) }
202 }
203
204 /// Constructs a new vector from the second, third, second, and first
205 /// lanes in this vector, respectively.
206 #[inline]
207 pub fn yzyx(self) -> I32x4 {
208 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 1, 0])) }
209 }
210
211 /// Constructs a new vector from the third, third, second, and first
212 /// lanes in this vector, respectively.
213 #[inline]
214 pub fn zzyx(self) -> I32x4 {
215 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 1, 0])) }
216 }
217
218 /// Constructs a new vector from the fourth, third, second, and first
219 /// lanes in this vector, respectively.
220 #[inline]
221 pub fn wzyx(self) -> I32x4 {
222 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 1, 0])) }
223 }
224
225 /// Constructs a new vector from the first, fourth, second, and first
226 /// lanes in this vector, respectively.
227 #[inline]
228 pub fn xwyx(self) -> I32x4 {
229 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 1, 0])) }
230 }
231
232 /// Constructs a new vector from the second, fourth, second, and first
233 /// lanes in this vector, respectively.
234 #[inline]
235 pub fn ywyx(self) -> I32x4 {
236 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 1, 0])) }
237 }
238
239 /// Constructs a new vector from the third, fourth, second, and first
240 /// lanes in this vector, respectively.
241 #[inline]
242 pub fn zwyx(self) -> I32x4 {
243 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 1, 0])) }
244 }
245
246 /// Constructs a new vector from the fourth, fourth, second, and first
247 /// lanes in this vector, respectively.
248 #[inline]
249 pub fn wwyx(self) -> I32x4 {
250 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 1, 0])) }
251 }
252
253 /// Constructs a new vector from the first, first, third, and first
254 /// lanes in this vector, respectively.
255 #[inline]
256 pub fn xxzx(self) -> I32x4 {
257 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 2, 0])) }
258 }
259
260 /// Constructs a new vector from the second, first, third, and first
261 /// lanes in this vector, respectively.
262 #[inline]
263 pub fn yxzx(self) -> I32x4 {
264 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 2, 0])) }
265 }
266
267 /// Constructs a new vector from the third, first, third, and first
268 /// lanes in this vector, respectively.
269 #[inline]
270 pub fn zxzx(self) -> I32x4 {
271 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 2, 0])) }
272 }
273
274 /// Constructs a new vector from the fourth, first, third, and first
275 /// lanes in this vector, respectively.
276 #[inline]
277 pub fn wxzx(self) -> I32x4 {
278 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 2, 0])) }
279 }
280
281 /// Constructs a new vector from the first, second, third, and first
282 /// lanes in this vector, respectively.
283 #[inline]
284 pub fn xyzx(self) -> I32x4 {
285 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 2, 0])) }
286 }
287
288 /// Constructs a new vector from the second, second, third, and first
289 /// lanes in this vector, respectively.
290 #[inline]
291 pub fn yyzx(self) -> I32x4 {
292 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 2, 0])) }
293 }
294
295 /// Constructs a new vector from the third, second, third, and first
296 /// lanes in this vector, respectively.
297 #[inline]
298 pub fn zyzx(self) -> I32x4 {
299 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 2, 0])) }
300 }
301
302 /// Constructs a new vector from the fourth, second, third, and first
303 /// lanes in this vector, respectively.
304 #[inline]
305 pub fn wyzx(self) -> I32x4 {
306 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 2, 0])) }
307 }
308
309 /// Constructs a new vector from the first, third, third, and first
310 /// lanes in this vector, respectively.
311 #[inline]
312 pub fn xzzx(self) -> I32x4 {
313 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 2, 0])) }
314 }
315
316 /// Constructs a new vector from the second, third, third, and first
317 /// lanes in this vector, respectively.
318 #[inline]
319 pub fn yzzx(self) -> I32x4 {
320 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 2, 0])) }
321 }
322
323 /// Constructs a new vector from the third, third, third, and first
324 /// lanes in this vector, respectively.
325 #[inline]
326 pub fn zzzx(self) -> I32x4 {
327 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 2, 0])) }
328 }
329
330 /// Constructs a new vector from the fourth, third, third, and first
331 /// lanes in this vector, respectively.
332 #[inline]
333 pub fn wzzx(self) -> I32x4 {
334 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 2, 0])) }
335 }
336
337 /// Constructs a new vector from the first, fourth, third, and first
338 /// lanes in this vector, respectively.
339 #[inline]
340 pub fn xwzx(self) -> I32x4 {
341 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 2, 0])) }
342 }
343
344 /// Constructs a new vector from the second, fourth, third, and first
345 /// lanes in this vector, respectively.
346 #[inline]
347 pub fn ywzx(self) -> I32x4 {
348 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 2, 0])) }
349 }
350
351 /// Constructs a new vector from the third, fourth, third, and first
352 /// lanes in this vector, respectively.
353 #[inline]
354 pub fn zwzx(self) -> I32x4 {
355 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 2, 0])) }
356 }
357
358 /// Constructs a new vector from the fourth, fourth, third, and first
359 /// lanes in this vector, respectively.
360 #[inline]
361 pub fn wwzx(self) -> I32x4 {
362 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 2, 0])) }
363 }
364
365 /// Constructs a new vector from the first, first, fourth, and first
366 /// lanes in this vector, respectively.
367 #[inline]
368 pub fn xxwx(self) -> I32x4 {
369 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 3, 0])) }
370 }
371
372 /// Constructs a new vector from the second, first, fourth, and first
373 /// lanes in this vector, respectively.
374 #[inline]
375 pub fn yxwx(self) -> I32x4 {
376 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 3, 0])) }
377 }
378
379 /// Constructs a new vector from the third, first, fourth, and first
380 /// lanes in this vector, respectively.
381 #[inline]
382 pub fn zxwx(self) -> I32x4 {
383 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 3, 0])) }
384 }
385
386 /// Constructs a new vector from the fourth, first, fourth, and first
387 /// lanes in this vector, respectively.
388 #[inline]
389 pub fn wxwx(self) -> I32x4 {
390 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 3, 0])) }
391 }
392
393 /// Constructs a new vector from the first, second, fourth, and first
394 /// lanes in this vector, respectively.
395 #[inline]
396 pub fn xywx(self) -> I32x4 {
397 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 3, 0])) }
398 }
399
400 /// Constructs a new vector from the second, second, fourth, and first
401 /// lanes in this vector, respectively.
402 #[inline]
403 pub fn yywx(self) -> I32x4 {
404 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 3, 0])) }
405 }
406
407 /// Constructs a new vector from the third, second, fourth, and first
408 /// lanes in this vector, respectively.
409 #[inline]
410 pub fn zywx(self) -> I32x4 {
411 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 3, 0])) }
412 }
413
414 /// Constructs a new vector from the fourth, second, fourth, and first
415 /// lanes in this vector, respectively.
416 #[inline]
417 pub fn wywx(self) -> I32x4 {
418 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 3, 0])) }
419 }
420
421 /// Constructs a new vector from the first, third, fourth, and first
422 /// lanes in this vector, respectively.
423 #[inline]
424 pub fn xzwx(self) -> I32x4 {
425 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 3, 0])) }
426 }
427
428 /// Constructs a new vector from the second, third, fourth, and first
429 /// lanes in this vector, respectively.
430 #[inline]
431 pub fn yzwx(self) -> I32x4 {
432 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 3, 0])) }
433 }
434
435 /// Constructs a new vector from the third, third, fourth, and first
436 /// lanes in this vector, respectively.
437 #[inline]
438 pub fn zzwx(self) -> I32x4 {
439 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 3, 0])) }
440 }
441
442 /// Constructs a new vector from the fourth, third, fourth, and first
443 /// lanes in this vector, respectively.
444 #[inline]
445 pub fn wzwx(self) -> I32x4 {
446 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 3, 0])) }
447 }
448
449 /// Constructs a new vector from the first, fourth, fourth, and first
450 /// lanes in this vector, respectively.
451 #[inline]
452 pub fn xwwx(self) -> I32x4 {
453 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 3, 0])) }
454 }
455
456 /// Constructs a new vector from the second, fourth, fourth, and first
457 /// lanes in this vector, respectively.
458 #[inline]
459 pub fn ywwx(self) -> I32x4 {
460 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 3, 0])) }
461 }
462
463 /// Constructs a new vector from the third, fourth, fourth, and first
464 /// lanes in this vector, respectively.
465 #[inline]
466 pub fn zwwx(self) -> I32x4 {
467 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 3, 0])) }
468 }
469
470 /// Constructs a new vector from the fourth, fourth, fourth, and first
471 /// lanes in this vector, respectively.
472 #[inline]
473 pub fn wwwx(self) -> I32x4 {
474 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 3, 0])) }
475 }
476
477 /// Constructs a new vector from the first, first, first, and second
478 /// lanes in this vector, respectively.
479 #[inline]
480 pub fn xxxy(self) -> I32x4 {
481 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 0, 1])) }
482 }
483
484 /// Constructs a new vector from the second, first, first, and second
485 /// lanes in this vector, respectively.
486 #[inline]
487 pub fn yxxy(self) -> I32x4 {
488 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 0, 1])) }
489 }
490
491 /// Constructs a new vector from the third, first, first, and second
492 /// lanes in this vector, respectively.
493 #[inline]
494 pub fn zxxy(self) -> I32x4 {
495 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 0, 1])) }
496 }
497
498 /// Constructs a new vector from the fourth, first, first, and second
499 /// lanes in this vector, respectively.
500 #[inline]
501 pub fn wxxy(self) -> I32x4 {
502 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 0, 1])) }
503 }
504
505 /// Constructs a new vector from the first, second, first, and second
506 /// lanes in this vector, respectively.
507 #[inline]
508 pub fn xyxy(self) -> I32x4 {
509 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 0, 1])) }
510 }
511
512 /// Constructs a new vector from the second, second, first, and second
513 /// lanes in this vector, respectively.
514 #[inline]
515 pub fn yyxy(self) -> I32x4 {
516 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 0, 1])) }
517 }
518
519 /// Constructs a new vector from the third, second, first, and second
520 /// lanes in this vector, respectively.
521 #[inline]
522 pub fn zyxy(self) -> I32x4 {
523 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 0, 1])) }
524 }
525
526 /// Constructs a new vector from the fourth, second, first, and second
527 /// lanes in this vector, respectively.
528 #[inline]
529 pub fn wyxy(self) -> I32x4 {
530 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 0, 1])) }
531 }
532
533 /// Constructs a new vector from the first, third, first, and second
534 /// lanes in this vector, respectively.
535 #[inline]
536 pub fn xzxy(self) -> I32x4 {
537 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 0, 1])) }
538 }
539
540 /// Constructs a new vector from the second, third, first, and second
541 /// lanes in this vector, respectively.
542 #[inline]
543 pub fn yzxy(self) -> I32x4 {
544 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 0, 1])) }
545 }
546
547 /// Constructs a new vector from the third, third, first, and second
548 /// lanes in this vector, respectively.
549 #[inline]
550 pub fn zzxy(self) -> I32x4 {
551 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 0, 1])) }
552 }
553
554 /// Constructs a new vector from the fourth, third, first, and second
555 /// lanes in this vector, respectively.
556 #[inline]
557 pub fn wzxy(self) -> I32x4 {
558 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 0, 1])) }
559 }
560
561 /// Constructs a new vector from the first, fourth, first, and second
562 /// lanes in this vector, respectively.
563 #[inline]
564 pub fn xwxy(self) -> I32x4 {
565 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 0, 1])) }
566 }
567
568 /// Constructs a new vector from the second, fourth, first, and second
569 /// lanes in this vector, respectively.
570 #[inline]
571 pub fn ywxy(self) -> I32x4 {
572 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 0, 1])) }
573 }
574
575 /// Constructs a new vector from the third, fourth, first, and second
576 /// lanes in this vector, respectively.
577 #[inline]
578 pub fn zwxy(self) -> I32x4 {
579 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 0, 1])) }
580 }
581
582 /// Constructs a new vector from the fourth, fourth, first, and second
583 /// lanes in this vector, respectively.
584 #[inline]
585 pub fn wwxy(self) -> I32x4 {
586 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 0, 1])) }
587 }
588
589 /// Constructs a new vector from the first, first, second, and second
590 /// lanes in this vector, respectively.
591 #[inline]
592 pub fn xxyy(self) -> I32x4 {
593 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 1, 1])) }
594 }
595
596 /// Constructs a new vector from the second, first, second, and second
597 /// lanes in this vector, respectively.
598 #[inline]
599 pub fn yxyy(self) -> I32x4 {
600 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 1, 1])) }
601 }
602
603 /// Constructs a new vector from the third, first, second, and second
604 /// lanes in this vector, respectively.
605 #[inline]
606 pub fn zxyy(self) -> I32x4 {
607 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 1, 1])) }
608 }
609
610 /// Constructs a new vector from the fourth, first, second, and second
611 /// lanes in this vector, respectively.
612 #[inline]
613 pub fn wxyy(self) -> I32x4 {
614 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 1, 1])) }
615 }
616
617 /// Constructs a new vector from the first, second, second, and second
618 /// lanes in this vector, respectively.
619 #[inline]
620 pub fn xyyy(self) -> I32x4 {
621 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 1, 1])) }
622 }
623
624 /// Constructs a new vector from the second, second, second, and second
625 /// lanes in this vector, respectively.
626 #[inline]
627 pub fn yyyy(self) -> I32x4 {
628 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 1, 1])) }
629 }
630
631 /// Constructs a new vector from the third, second, second, and second
632 /// lanes in this vector, respectively.
633 #[inline]
634 pub fn zyyy(self) -> I32x4 {
635 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 1, 1])) }
636 }
637
638 /// Constructs a new vector from the fourth, second, second, and second
639 /// lanes in this vector, respectively.
640 #[inline]
641 pub fn wyyy(self) -> I32x4 {
642 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 1, 1])) }
643 }
644
645 /// Constructs a new vector from the first, third, second, and second
646 /// lanes in this vector, respectively.
647 #[inline]
648 pub fn xzyy(self) -> I32x4 {
649 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 1, 1])) }
650 }
651
652 /// Constructs a new vector from the second, third, second, and second
653 /// lanes in this vector, respectively.
654 #[inline]
655 pub fn yzyy(self) -> I32x4 {
656 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 1, 1])) }
657 }
658
659 /// Constructs a new vector from the third, third, second, and second
660 /// lanes in this vector, respectively.
661 #[inline]
662 pub fn zzyy(self) -> I32x4 {
663 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 1, 1])) }
664 }
665
666 /// Constructs a new vector from the fourth, third, second, and second
667 /// lanes in this vector, respectively.
668 #[inline]
669 pub fn wzyy(self) -> I32x4 {
670 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 1, 1])) }
671 }
672
673 /// Constructs a new vector from the first, fourth, second, and second
674 /// lanes in this vector, respectively.
675 #[inline]
676 pub fn xwyy(self) -> I32x4 {
677 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 1, 1])) }
678 }
679
680 /// Constructs a new vector from the second, fourth, second, and second
681 /// lanes in this vector, respectively.
682 #[inline]
683 pub fn ywyy(self) -> I32x4 {
684 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 1, 1])) }
685 }
686
687 /// Constructs a new vector from the third, fourth, second, and second
688 /// lanes in this vector, respectively.
689 #[inline]
690 pub fn zwyy(self) -> I32x4 {
691 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 1, 1])) }
692 }
693
694 /// Constructs a new vector from the fourth, fourth, second, and second
695 /// lanes in this vector, respectively.
696 #[inline]
697 pub fn wwyy(self) -> I32x4 {
698 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 1, 1])) }
699 }
700
701 /// Constructs a new vector from the first, first, third, and second
702 /// lanes in this vector, respectively.
703 #[inline]
704 pub fn xxzy(self) -> I32x4 {
705 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 2, 1])) }
706 }
707
708 /// Constructs a new vector from the second, first, third, and second
709 /// lanes in this vector, respectively.
710 #[inline]
711 pub fn yxzy(self) -> I32x4 {
712 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 2, 1])) }
713 }
714
715 /// Constructs a new vector from the third, first, third, and second
716 /// lanes in this vector, respectively.
717 #[inline]
718 pub fn zxzy(self) -> I32x4 {
719 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 2, 1])) }
720 }
721
722 /// Constructs a new vector from the fourth, first, third, and second
723 /// lanes in this vector, respectively.
724 #[inline]
725 pub fn wxzy(self) -> I32x4 {
726 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 2, 1])) }
727 }
728
729 /// Constructs a new vector from the first, second, third, and second
730 /// lanes in this vector, respectively.
731 #[inline]
732 pub fn xyzy(self) -> I32x4 {
733 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 2, 1])) }
734 }
735
736 /// Constructs a new vector from the second, second, third, and second
737 /// lanes in this vector, respectively.
738 #[inline]
739 pub fn yyzy(self) -> I32x4 {
740 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 2, 1])) }
741 }
742
743 /// Constructs a new vector from the third, second, third, and second
744 /// lanes in this vector, respectively.
745 #[inline]
746 pub fn zyzy(self) -> I32x4 {
747 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 2, 1])) }
748 }
749
750 /// Constructs a new vector from the fourth, second, third, and second
751 /// lanes in this vector, respectively.
752 #[inline]
753 pub fn wyzy(self) -> I32x4 {
754 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 2, 1])) }
755 }
756
757 /// Constructs a new vector from the first, third, third, and second
758 /// lanes in this vector, respectively.
759 #[inline]
760 pub fn xzzy(self) -> I32x4 {
761 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 2, 1])) }
762 }
763
764 /// Constructs a new vector from the second, third, third, and second
765 /// lanes in this vector, respectively.
766 #[inline]
767 pub fn yzzy(self) -> I32x4 {
768 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 2, 1])) }
769 }
770
771 /// Constructs a new vector from the third, third, third, and second
772 /// lanes in this vector, respectively.
773 #[inline]
774 pub fn zzzy(self) -> I32x4 {
775 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 2, 1])) }
776 }
777
778 /// Constructs a new vector from the fourth, third, third, and second
779 /// lanes in this vector, respectively.
780 #[inline]
781 pub fn wzzy(self) -> I32x4 {
782 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 2, 1])) }
783 }
784
785 /// Constructs a new vector from the first, fourth, third, and second
786 /// lanes in this vector, respectively.
787 #[inline]
788 pub fn xwzy(self) -> I32x4 {
789 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 2, 1])) }
790 }
791
792 /// Constructs a new vector from the second, fourth, third, and second
793 /// lanes in this vector, respectively.
794 #[inline]
795 pub fn ywzy(self) -> I32x4 {
796 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 2, 1])) }
797 }
798
799 /// Constructs a new vector from the third, fourth, third, and second
800 /// lanes in this vector, respectively.
801 #[inline]
802 pub fn zwzy(self) -> I32x4 {
803 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 2, 1])) }
804 }
805
806 /// Constructs a new vector from the fourth, fourth, third, and second
807 /// lanes in this vector, respectively.
808 #[inline]
809 pub fn wwzy(self) -> I32x4 {
810 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 2, 1])) }
811 }
812
813 /// Constructs a new vector from the first, first, fourth, and second
814 /// lanes in this vector, respectively.
815 #[inline]
816 pub fn xxwy(self) -> I32x4 {
817 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 3, 1])) }
818 }
819
820 /// Constructs a new vector from the second, first, fourth, and second
821 /// lanes in this vector, respectively.
822 #[inline]
823 pub fn yxwy(self) -> I32x4 {
824 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 3, 1])) }
825 }
826
827 /// Constructs a new vector from the third, first, fourth, and second
828 /// lanes in this vector, respectively.
829 #[inline]
830 pub fn zxwy(self) -> I32x4 {
831 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 3, 1])) }
832 }
833
834 /// Constructs a new vector from the fourth, first, fourth, and second
835 /// lanes in this vector, respectively.
836 #[inline]
837 pub fn wxwy(self) -> I32x4 {
838 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 3, 1])) }
839 }
840
841 /// Constructs a new vector from the first, second, fourth, and second
842 /// lanes in this vector, respectively.
843 #[inline]
844 pub fn xywy(self) -> I32x4 {
845 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 3, 1])) }
846 }
847
848 /// Constructs a new vector from the second, second, fourth, and second
849 /// lanes in this vector, respectively.
850 #[inline]
851 pub fn yywy(self) -> I32x4 {
852 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 3, 1])) }
853 }
854
855 /// Constructs a new vector from the third, second, fourth, and second
856 /// lanes in this vector, respectively.
857 #[inline]
858 pub fn zywy(self) -> I32x4 {
859 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 3, 1])) }
860 }
861
862 /// Constructs a new vector from the fourth, second, fourth, and second
863 /// lanes in this vector, respectively.
864 #[inline]
865 pub fn wywy(self) -> I32x4 {
866 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 3, 1])) }
867 }
868
869 /// Constructs a new vector from the first, third, fourth, and second
870 /// lanes in this vector, respectively.
871 #[inline]
872 pub fn xzwy(self) -> I32x4 {
873 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 3, 1])) }
874 }
875
876 /// Constructs a new vector from the second, third, fourth, and second
877 /// lanes in this vector, respectively.
878 #[inline]
879 pub fn yzwy(self) -> I32x4 {
880 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 3, 1])) }
881 }
882
883 /// Constructs a new vector from the third, third, fourth, and second
884 /// lanes in this vector, respectively.
885 #[inline]
886 pub fn zzwy(self) -> I32x4 {
887 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 3, 1])) }
888 }
889
890 /// Constructs a new vector from the fourth, third, fourth, and second
891 /// lanes in this vector, respectively.
892 #[inline]
893 pub fn wzwy(self) -> I32x4 {
894 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 3, 1])) }
895 }
896
897 /// Constructs a new vector from the first, fourth, fourth, and second
898 /// lanes in this vector, respectively.
899 #[inline]
900 pub fn xwwy(self) -> I32x4 {
901 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 3, 1])) }
902 }
903
904 /// Constructs a new vector from the second, fourth, fourth, and second
905 /// lanes in this vector, respectively.
906 #[inline]
907 pub fn ywwy(self) -> I32x4 {
908 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 3, 1])) }
909 }
910
911 /// Constructs a new vector from the third, fourth, fourth, and second
912 /// lanes in this vector, respectively.
913 #[inline]
914 pub fn zwwy(self) -> I32x4 {
915 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 3, 1])) }
916 }
917
918 /// Constructs a new vector from the fourth, fourth, fourth, and second
919 /// lanes in this vector, respectively.
920 #[inline]
921 pub fn wwwy(self) -> I32x4 {
922 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 3, 1])) }
923 }
924
925 /// Constructs a new vector from the first, first, first, and third
926 /// lanes in this vector, respectively.
927 #[inline]
928 pub fn xxxz(self) -> I32x4 {
929 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 0, 2])) }
930 }
931
932 /// Constructs a new vector from the second, first, first, and third
933 /// lanes in this vector, respectively.
934 #[inline]
935 pub fn yxxz(self) -> I32x4 {
936 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 0, 2])) }
937 }
938
939 /// Constructs a new vector from the third, first, first, and third
940 /// lanes in this vector, respectively.
941 #[inline]
942 pub fn zxxz(self) -> I32x4 {
943 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 0, 2])) }
944 }
945
946 /// Constructs a new vector from the fourth, first, first, and third
947 /// lanes in this vector, respectively.
948 #[inline]
949 pub fn wxxz(self) -> I32x4 {
950 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 0, 2])) }
951 }
952
953 /// Constructs a new vector from the first, second, first, and third
954 /// lanes in this vector, respectively.
955 #[inline]
956 pub fn xyxz(self) -> I32x4 {
957 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 0, 2])) }
958 }
959
960 /// Constructs a new vector from the second, second, first, and third
961 /// lanes in this vector, respectively.
962 #[inline]
963 pub fn yyxz(self) -> I32x4 {
964 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 0, 2])) }
965 }
966
967 /// Constructs a new vector from the third, second, first, and third
968 /// lanes in this vector, respectively.
969 #[inline]
970 pub fn zyxz(self) -> I32x4 {
971 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 0, 2])) }
972 }
973
974 /// Constructs a new vector from the fourth, second, first, and third
975 /// lanes in this vector, respectively.
976 #[inline]
977 pub fn wyxz(self) -> I32x4 {
978 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 0, 2])) }
979 }
980
981 /// Constructs a new vector from the first, third, first, and third
982 /// lanes in this vector, respectively.
983 #[inline]
984 pub fn xzxz(self) -> I32x4 {
985 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 0, 2])) }
986 }
987
988 /// Constructs a new vector from the second, third, first, and third
989 /// lanes in this vector, respectively.
990 #[inline]
991 pub fn yzxz(self) -> I32x4 {
992 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 0, 2])) }
993 }
994
995 /// Constructs a new vector from the third, third, first, and third
996 /// lanes in this vector, respectively.
997 #[inline]
998 pub fn zzxz(self) -> I32x4 {
999 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 0, 2])) }
1000 }
1001
1002 /// Constructs a new vector from the fourth, third, first, and third
1003 /// lanes in this vector, respectively.
1004 #[inline]
1005 pub fn wzxz(self) -> I32x4 {
1006 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 0, 2])) }
1007 }
1008
1009 /// Constructs a new vector from the first, fourth, first, and third
1010 /// lanes in this vector, respectively.
1011 #[inline]
1012 pub fn xwxz(self) -> I32x4 {
1013 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 0, 2])) }
1014 }
1015
1016 /// Constructs a new vector from the second, fourth, first, and third
1017 /// lanes in this vector, respectively.
1018 #[inline]
1019 pub fn ywxz(self) -> I32x4 {
1020 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 0, 2])) }
1021 }
1022
1023 /// Constructs a new vector from the third, fourth, first, and third
1024 /// lanes in this vector, respectively.
1025 #[inline]
1026 pub fn zwxz(self) -> I32x4 {
1027 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 0, 2])) }
1028 }
1029
1030 /// Constructs a new vector from the fourth, fourth, first, and third
1031 /// lanes in this vector, respectively.
1032 #[inline]
1033 pub fn wwxz(self) -> I32x4 {
1034 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 0, 2])) }
1035 }
1036
1037 /// Constructs a new vector from the first, first, second, and third
1038 /// lanes in this vector, respectively.
1039 #[inline]
1040 pub fn xxyz(self) -> I32x4 {
1041 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 1, 2])) }
1042 }
1043
1044 /// Constructs a new vector from the second, first, second, and third
1045 /// lanes in this vector, respectively.
1046 #[inline]
1047 pub fn yxyz(self) -> I32x4 {
1048 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 1, 2])) }
1049 }
1050
1051 /// Constructs a new vector from the third, first, second, and third
1052 /// lanes in this vector, respectively.
1053 #[inline]
1054 pub fn zxyz(self) -> I32x4 {
1055 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 1, 2])) }
1056 }
1057
1058 /// Constructs a new vector from the fourth, first, second, and third
1059 /// lanes in this vector, respectively.
1060 #[inline]
1061 pub fn wxyz(self) -> I32x4 {
1062 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 1, 2])) }
1063 }
1064
1065 /// Constructs a new vector from the first, second, second, and third
1066 /// lanes in this vector, respectively.
1067 #[inline]
1068 pub fn xyyz(self) -> I32x4 {
1069 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 1, 2])) }
1070 }
1071
1072 /// Constructs a new vector from the second, second, second, and third
1073 /// lanes in this vector, respectively.
1074 #[inline]
1075 pub fn yyyz(self) -> I32x4 {
1076 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 1, 2])) }
1077 }
1078
1079 /// Constructs a new vector from the third, second, second, and third
1080 /// lanes in this vector, respectively.
1081 #[inline]
1082 pub fn zyyz(self) -> I32x4 {
1083 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 1, 2])) }
1084 }
1085
1086 /// Constructs a new vector from the fourth, second, second, and third
1087 /// lanes in this vector, respectively.
1088 #[inline]
1089 pub fn wyyz(self) -> I32x4 {
1090 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 1, 2])) }
1091 }
1092
1093 /// Constructs a new vector from the first, third, second, and third
1094 /// lanes in this vector, respectively.
1095 #[inline]
1096 pub fn xzyz(self) -> I32x4 {
1097 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 1, 2])) }
1098 }
1099
1100 /// Constructs a new vector from the second, third, second, and third
1101 /// lanes in this vector, respectively.
1102 #[inline]
1103 pub fn yzyz(self) -> I32x4 {
1104 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 1, 2])) }
1105 }
1106
1107 /// Constructs a new vector from the third, third, second, and third
1108 /// lanes in this vector, respectively.
1109 #[inline]
1110 pub fn zzyz(self) -> I32x4 {
1111 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 1, 2])) }
1112 }
1113
1114 /// Constructs a new vector from the fourth, third, second, and third
1115 /// lanes in this vector, respectively.
1116 #[inline]
1117 pub fn wzyz(self) -> I32x4 {
1118 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 1, 2])) }
1119 }
1120
1121 /// Constructs a new vector from the first, fourth, second, and third
1122 /// lanes in this vector, respectively.
1123 #[inline]
1124 pub fn xwyz(self) -> I32x4 {
1125 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 1, 2])) }
1126 }
1127
1128 /// Constructs a new vector from the second, fourth, second, and third
1129 /// lanes in this vector, respectively.
1130 #[inline]
1131 pub fn ywyz(self) -> I32x4 {
1132 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 1, 2])) }
1133 }
1134
1135 /// Constructs a new vector from the third, fourth, second, and third
1136 /// lanes in this vector, respectively.
1137 #[inline]
1138 pub fn zwyz(self) -> I32x4 {
1139 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 1, 2])) }
1140 }
1141
1142 /// Constructs a new vector from the fourth, fourth, second, and third
1143 /// lanes in this vector, respectively.
1144 #[inline]
1145 pub fn wwyz(self) -> I32x4 {
1146 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 1, 2])) }
1147 }
1148
1149 /// Constructs a new vector from the first, first, third, and third
1150 /// lanes in this vector, respectively.
1151 #[inline]
1152 pub fn xxzz(self) -> I32x4 {
1153 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 2, 2])) }
1154 }
1155
1156 /// Constructs a new vector from the second, first, third, and third
1157 /// lanes in this vector, respectively.
1158 #[inline]
1159 pub fn yxzz(self) -> I32x4 {
1160 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 2, 2])) }
1161 }
1162
1163 /// Constructs a new vector from the third, first, third, and third
1164 /// lanes in this vector, respectively.
1165 #[inline]
1166 pub fn zxzz(self) -> I32x4 {
1167 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 2, 2])) }
1168 }
1169
1170 /// Constructs a new vector from the fourth, first, third, and third
1171 /// lanes in this vector, respectively.
1172 #[inline]
1173 pub fn wxzz(self) -> I32x4 {
1174 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 2, 2])) }
1175 }
1176
1177 /// Constructs a new vector from the first, second, third, and third
1178 /// lanes in this vector, respectively.
1179 #[inline]
1180 pub fn xyzz(self) -> I32x4 {
1181 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 2, 2])) }
1182 }
1183
1184 /// Constructs a new vector from the second, second, third, and third
1185 /// lanes in this vector, respectively.
1186 #[inline]
1187 pub fn yyzz(self) -> I32x4 {
1188 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 2, 2])) }
1189 }
1190
1191 /// Constructs a new vector from the third, second, third, and third
1192 /// lanes in this vector, respectively.
1193 #[inline]
1194 pub fn zyzz(self) -> I32x4 {
1195 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 2, 2])) }
1196 }
1197
1198 /// Constructs a new vector from the fourth, second, third, and third
1199 /// lanes in this vector, respectively.
1200 #[inline]
1201 pub fn wyzz(self) -> I32x4 {
1202 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 2, 2])) }
1203 }
1204
1205 /// Constructs a new vector from the first, third, third, and third
1206 /// lanes in this vector, respectively.
1207 #[inline]
1208 pub fn xzzz(self) -> I32x4 {
1209 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 2, 2])) }
1210 }
1211
1212 /// Constructs a new vector from the second, third, third, and third
1213 /// lanes in this vector, respectively.
1214 #[inline]
1215 pub fn yzzz(self) -> I32x4 {
1216 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 2, 2])) }
1217 }
1218
1219 /// Constructs a new vector from the third, third, third, and third
1220 /// lanes in this vector, respectively.
1221 #[inline]
1222 pub fn zzzz(self) -> I32x4 {
1223 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 2, 2])) }
1224 }
1225
1226 /// Constructs a new vector from the fourth, third, third, and third
1227 /// lanes in this vector, respectively.
1228 #[inline]
1229 pub fn wzzz(self) -> I32x4 {
1230 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 2, 2])) }
1231 }
1232
1233 /// Constructs a new vector from the first, fourth, third, and third
1234 /// lanes in this vector, respectively.
1235 #[inline]
1236 pub fn xwzz(self) -> I32x4 {
1237 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 2, 2])) }
1238 }
1239
1240 /// Constructs a new vector from the second, fourth, third, and third
1241 /// lanes in this vector, respectively.
1242 #[inline]
1243 pub fn ywzz(self) -> I32x4 {
1244 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 2, 2])) }
1245 }
1246
1247 /// Constructs a new vector from the third, fourth, third, and third
1248 /// lanes in this vector, respectively.
1249 #[inline]
1250 pub fn zwzz(self) -> I32x4 {
1251 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 2, 2])) }
1252 }
1253
1254 /// Constructs a new vector from the fourth, fourth, third, and third
1255 /// lanes in this vector, respectively.
1256 #[inline]
1257 pub fn wwzz(self) -> I32x4 {
1258 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 2, 2])) }
1259 }
1260
1261 /// Constructs a new vector from the first, first, fourth, and third
1262 /// lanes in this vector, respectively.
1263 #[inline]
1264 pub fn xxwz(self) -> I32x4 {
1265 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 3, 2])) }
1266 }
1267
1268 /// Constructs a new vector from the second, first, fourth, and third
1269 /// lanes in this vector, respectively.
1270 #[inline]
1271 pub fn yxwz(self) -> I32x4 {
1272 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 3, 2])) }
1273 }
1274
1275 /// Constructs a new vector from the third, first, fourth, and third
1276 /// lanes in this vector, respectively.
1277 #[inline]
1278 pub fn zxwz(self) -> I32x4 {
1279 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 3, 2])) }
1280 }
1281
1282 /// Constructs a new vector from the fourth, first, fourth, and third
1283 /// lanes in this vector, respectively.
1284 #[inline]
1285 pub fn wxwz(self) -> I32x4 {
1286 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 3, 2])) }
1287 }
1288
1289 /// Constructs a new vector from the first, second, fourth, and third
1290 /// lanes in this vector, respectively.
1291 #[inline]
1292 pub fn xywz(self) -> I32x4 {
1293 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 3, 2])) }
1294 }
1295
1296 /// Constructs a new vector from the second, second, fourth, and third
1297 /// lanes in this vector, respectively.
1298 #[inline]
1299 pub fn yywz(self) -> I32x4 {
1300 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 3, 2])) }
1301 }
1302
1303 /// Constructs a new vector from the third, second, fourth, and third
1304 /// lanes in this vector, respectively.
1305 #[inline]
1306 pub fn zywz(self) -> I32x4 {
1307 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 3, 2])) }
1308 }
1309
1310 /// Constructs a new vector from the fourth, second, fourth, and third
1311 /// lanes in this vector, respectively.
1312 #[inline]
1313 pub fn wywz(self) -> I32x4 {
1314 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 3, 2])) }
1315 }
1316
1317 /// Constructs a new vector from the first, third, fourth, and third
1318 /// lanes in this vector, respectively.
1319 #[inline]
1320 pub fn xzwz(self) -> I32x4 {
1321 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 3, 2])) }
1322 }
1323
1324 /// Constructs a new vector from the second, third, fourth, and third
1325 /// lanes in this vector, respectively.
1326 #[inline]
1327 pub fn yzwz(self) -> I32x4 {
1328 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 3, 2])) }
1329 }
1330
1331 /// Constructs a new vector from the third, third, fourth, and third
1332 /// lanes in this vector, respectively.
1333 #[inline]
1334 pub fn zzwz(self) -> I32x4 {
1335 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 3, 2])) }
1336 }
1337
1338 /// Constructs a new vector from the fourth, third, fourth, and third
1339 /// lanes in this vector, respectively.
1340 #[inline]
1341 pub fn wzwz(self) -> I32x4 {
1342 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 3, 2])) }
1343 }
1344
1345 /// Constructs a new vector from the first, fourth, fourth, and third
1346 /// lanes in this vector, respectively.
1347 #[inline]
1348 pub fn xwwz(self) -> I32x4 {
1349 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 3, 2])) }
1350 }
1351
1352 /// Constructs a new vector from the second, fourth, fourth, and third
1353 /// lanes in this vector, respectively.
1354 #[inline]
1355 pub fn ywwz(self) -> I32x4 {
1356 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 3, 2])) }
1357 }
1358
1359 /// Constructs a new vector from the third, fourth, fourth, and third
1360 /// lanes in this vector, respectively.
1361 #[inline]
1362 pub fn zwwz(self) -> I32x4 {
1363 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 3, 2])) }
1364 }
1365
1366 /// Constructs a new vector from the fourth, fourth, fourth, and third
1367 /// lanes in this vector, respectively.
1368 #[inline]
1369 pub fn wwwz(self) -> I32x4 {
1370 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 3, 2])) }
1371 }
1372
1373 /// Constructs a new vector from the first, first, first, and fourth
1374 /// lanes in this vector, respectively.
1375 #[inline]
1376 pub fn xxxw(self) -> I32x4 {
1377 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 0, 3])) }
1378 }
1379
1380 /// Constructs a new vector from the second, first, first, and fourth
1381 /// lanes in this vector, respectively.
1382 #[inline]
1383 pub fn yxxw(self) -> I32x4 {
1384 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 0, 3])) }
1385 }
1386
1387 /// Constructs a new vector from the third, first, first, and fourth
1388 /// lanes in this vector, respectively.
1389 #[inline]
1390 pub fn zxxw(self) -> I32x4 {
1391 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 0, 3])) }
1392 }
1393
1394 /// Constructs a new vector from the fourth, first, first, and fourth
1395 /// lanes in this vector, respectively.
1396 #[inline]
1397 pub fn wxxw(self) -> I32x4 {
1398 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 0, 3])) }
1399 }
1400
1401 /// Constructs a new vector from the first, second, first, and fourth
1402 /// lanes in this vector, respectively.
1403 #[inline]
1404 pub fn xyxw(self) -> I32x4 {
1405 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 0, 3])) }
1406 }
1407
1408 /// Constructs a new vector from the second, second, first, and fourth
1409 /// lanes in this vector, respectively.
1410 #[inline]
1411 pub fn yyxw(self) -> I32x4 {
1412 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 0, 3])) }
1413 }
1414
1415 /// Constructs a new vector from the third, second, first, and fourth
1416 /// lanes in this vector, respectively.
1417 #[inline]
1418 pub fn zyxw(self) -> I32x4 {
1419 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 0, 3])) }
1420 }
1421
1422 /// Constructs a new vector from the fourth, second, first, and fourth
1423 /// lanes in this vector, respectively.
1424 #[inline]
1425 pub fn wyxw(self) -> I32x4 {
1426 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 0, 3])) }
1427 }
1428
1429 /// Constructs a new vector from the first, third, first, and fourth
1430 /// lanes in this vector, respectively.
1431 #[inline]
1432 pub fn xzxw(self) -> I32x4 {
1433 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 0, 3])) }
1434 }
1435
1436 /// Constructs a new vector from the second, third, first, and fourth
1437 /// lanes in this vector, respectively.
1438 #[inline]
1439 pub fn yzxw(self) -> I32x4 {
1440 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 0, 3])) }
1441 }
1442
1443 /// Constructs a new vector from the third, third, first, and fourth
1444 /// lanes in this vector, respectively.
1445 #[inline]
1446 pub fn zzxw(self) -> I32x4 {
1447 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 0, 3])) }
1448 }
1449
1450 /// Constructs a new vector from the fourth, third, first, and fourth
1451 /// lanes in this vector, respectively.
1452 #[inline]
1453 pub fn wzxw(self) -> I32x4 {
1454 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 0, 3])) }
1455 }
1456
1457 /// Constructs a new vector from the first, fourth, first, and fourth
1458 /// lanes in this vector, respectively.
1459 #[inline]
1460 pub fn xwxw(self) -> I32x4 {
1461 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 0, 3])) }
1462 }
1463
1464 /// Constructs a new vector from the second, fourth, first, and fourth
1465 /// lanes in this vector, respectively.
1466 #[inline]
1467 pub fn ywxw(self) -> I32x4 {
1468 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 0, 3])) }
1469 }
1470
1471 /// Constructs a new vector from the third, fourth, first, and fourth
1472 /// lanes in this vector, respectively.
1473 #[inline]
1474 pub fn zwxw(self) -> I32x4 {
1475 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 0, 3])) }
1476 }
1477
1478 /// Constructs a new vector from the fourth, fourth, first, and fourth
1479 /// lanes in this vector, respectively.
1480 #[inline]
1481 pub fn wwxw(self) -> I32x4 {
1482 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 0, 3])) }
1483 }
1484
1485 /// Constructs a new vector from the first, first, second, and fourth
1486 /// lanes in this vector, respectively.
1487 #[inline]
1488 pub fn xxyw(self) -> I32x4 {
1489 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 1, 3])) }
1490 }
1491
1492 /// Constructs a new vector from the second, first, second, and fourth
1493 /// lanes in this vector, respectively.
1494 #[inline]
1495 pub fn yxyw(self) -> I32x4 {
1496 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 1, 3])) }
1497 }
1498
1499 /// Constructs a new vector from the third, first, second, and fourth
1500 /// lanes in this vector, respectively.
1501 #[inline]
1502 pub fn zxyw(self) -> I32x4 {
1503 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 1, 3])) }
1504 }
1505
1506 /// Constructs a new vector from the fourth, first, second, and fourth
1507 /// lanes in this vector, respectively.
1508 #[inline]
1509 pub fn wxyw(self) -> I32x4 {
1510 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 1, 3])) }
1511 }
1512
1513 /// Constructs a new vector from the first, second, second, and fourth
1514 /// lanes in this vector, respectively.
1515 #[inline]
1516 pub fn xyyw(self) -> I32x4 {
1517 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 1, 3])) }
1518 }
1519
1520 /// Constructs a new vector from the second, second, second, and fourth
1521 /// lanes in this vector, respectively.
1522 #[inline]
1523 pub fn yyyw(self) -> I32x4 {
1524 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 1, 3])) }
1525 }
1526
1527 /// Constructs a new vector from the third, second, second, and fourth
1528 /// lanes in this vector, respectively.
1529 #[inline]
1530 pub fn zyyw(self) -> I32x4 {
1531 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 1, 3])) }
1532 }
1533
1534 /// Constructs a new vector from the fourth, second, second, and fourth
1535 /// lanes in this vector, respectively.
1536 #[inline]
1537 pub fn wyyw(self) -> I32x4 {
1538 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 1, 3])) }
1539 }
1540
1541 /// Constructs a new vector from the first, third, second, and fourth
1542 /// lanes in this vector, respectively.
1543 #[inline]
1544 pub fn xzyw(self) -> I32x4 {
1545 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 1, 3])) }
1546 }
1547
1548 /// Constructs a new vector from the second, third, second, and fourth
1549 /// lanes in this vector, respectively.
1550 #[inline]
1551 pub fn yzyw(self) -> I32x4 {
1552 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 1, 3])) }
1553 }
1554
1555 /// Constructs a new vector from the third, third, second, and fourth
1556 /// lanes in this vector, respectively.
1557 #[inline]
1558 pub fn zzyw(self) -> I32x4 {
1559 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 1, 3])) }
1560 }
1561
1562 /// Constructs a new vector from the fourth, third, second, and fourth
1563 /// lanes in this vector, respectively.
1564 #[inline]
1565 pub fn wzyw(self) -> I32x4 {
1566 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 1, 3])) }
1567 }
1568
1569 /// Constructs a new vector from the first, fourth, second, and fourth
1570 /// lanes in this vector, respectively.
1571 #[inline]
1572 pub fn xwyw(self) -> I32x4 {
1573 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 1, 3])) }
1574 }
1575
1576 /// Constructs a new vector from the second, fourth, second, and fourth
1577 /// lanes in this vector, respectively.
1578 #[inline]
1579 pub fn ywyw(self) -> I32x4 {
1580 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 1, 3])) }
1581 }
1582
1583 /// Constructs a new vector from the third, fourth, second, and fourth
1584 /// lanes in this vector, respectively.
1585 #[inline]
1586 pub fn zwyw(self) -> I32x4 {
1587 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 1, 3])) }
1588 }
1589
1590 /// Constructs a new vector from the fourth, fourth, second, and fourth
1591 /// lanes in this vector, respectively.
1592 #[inline]
1593 pub fn wwyw(self) -> I32x4 {
1594 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 1, 3])) }
1595 }
1596
1597 /// Constructs a new vector from the first, first, third, and fourth
1598 /// lanes in this vector, respectively.
1599 #[inline]
1600 pub fn xxzw(self) -> I32x4 {
1601 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 2, 3])) }
1602 }
1603
1604 /// Constructs a new vector from the second, first, third, and fourth
1605 /// lanes in this vector, respectively.
1606 #[inline]
1607 pub fn yxzw(self) -> I32x4 {
1608 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 2, 3])) }
1609 }
1610
1611 /// Constructs a new vector from the third, first, third, and fourth
1612 /// lanes in this vector, respectively.
1613 #[inline]
1614 pub fn zxzw(self) -> I32x4 {
1615 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 2, 3])) }
1616 }
1617
1618 /// Constructs a new vector from the fourth, first, third, and fourth
1619 /// lanes in this vector, respectively.
1620 #[inline]
1621 pub fn wxzw(self) -> I32x4 {
1622 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 2, 3])) }
1623 }
1624
1625 /// Constructs a new vector from the first, second, third, and fourth
1626 /// lanes in this vector, respectively.
1627 #[inline]
1628 pub fn xyzw(self) -> I32x4 {
1629 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 2, 3])) }
1630 }
1631
1632 /// Constructs a new vector from the second, second, third, and fourth
1633 /// lanes in this vector, respectively.
1634 #[inline]
1635 pub fn yyzw(self) -> I32x4 {
1636 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 2, 3])) }
1637 }
1638
1639 /// Constructs a new vector from the third, second, third, and fourth
1640 /// lanes in this vector, respectively.
1641 #[inline]
1642 pub fn zyzw(self) -> I32x4 {
1643 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 2, 3])) }
1644 }
1645
1646 /// Constructs a new vector from the fourth, second, third, and fourth
1647 /// lanes in this vector, respectively.
1648 #[inline]
1649 pub fn wyzw(self) -> I32x4 {
1650 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 2, 3])) }
1651 }
1652
1653 /// Constructs a new vector from the first, third, third, and fourth
1654 /// lanes in this vector, respectively.
1655 #[inline]
1656 pub fn xzzw(self) -> I32x4 {
1657 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 2, 3])) }
1658 }
1659
1660 /// Constructs a new vector from the second, third, third, and fourth
1661 /// lanes in this vector, respectively.
1662 #[inline]
1663 pub fn yzzw(self) -> I32x4 {
1664 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 2, 3])) }
1665 }
1666
1667 /// Constructs a new vector from the third, third, third, and fourth
1668 /// lanes in this vector, respectively.
1669 #[inline]
1670 pub fn zzzw(self) -> I32x4 {
1671 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 2, 3])) }
1672 }
1673
1674 /// Constructs a new vector from the fourth, third, third, and fourth
1675 /// lanes in this vector, respectively.
1676 #[inline]
1677 pub fn wzzw(self) -> I32x4 {
1678 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 2, 3])) }
1679 }
1680
1681 /// Constructs a new vector from the first, fourth, third, and fourth
1682 /// lanes in this vector, respectively.
1683 #[inline]
1684 pub fn xwzw(self) -> I32x4 {
1685 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 2, 3])) }
1686 }
1687
1688 /// Constructs a new vector from the second, fourth, third, and fourth
1689 /// lanes in this vector, respectively.
1690 #[inline]
1691 pub fn ywzw(self) -> I32x4 {
1692 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 2, 3])) }
1693 }
1694
1695 /// Constructs a new vector from the third, fourth, third, and fourth
1696 /// lanes in this vector, respectively.
1697 #[inline]
1698 pub fn zwzw(self) -> I32x4 {
1699 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 2, 3])) }
1700 }
1701
1702 /// Constructs a new vector from the fourth, fourth, third, and fourth
1703 /// lanes in this vector, respectively.
1704 #[inline]
1705 pub fn wwzw(self) -> I32x4 {
1706 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 2, 3])) }
1707 }
1708
1709 /// Constructs a new vector from the first, first, fourth, and fourth
1710 /// lanes in this vector, respectively.
1711 #[inline]
1712 pub fn xxww(self) -> I32x4 {
1713 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 0, 3, 3])) }
1714 }
1715
1716 /// Constructs a new vector from the second, first, fourth, and fourth
1717 /// lanes in this vector, respectively.
1718 #[inline]
1719 pub fn yxww(self) -> I32x4 {
1720 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 0, 3, 3])) }
1721 }
1722
1723 /// Constructs a new vector from the third, first, fourth, and fourth
1724 /// lanes in this vector, respectively.
1725 #[inline]
1726 pub fn zxww(self) -> I32x4 {
1727 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 0, 3, 3])) }
1728 }
1729
1730 /// Constructs a new vector from the fourth, first, fourth, and fourth
1731 /// lanes in this vector, respectively.
1732 #[inline]
1733 pub fn wxww(self) -> I32x4 {
1734 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 0, 3, 3])) }
1735 }
1736
1737 /// Constructs a new vector from the first, second, fourth, and fourth
1738 /// lanes in this vector, respectively.
1739 #[inline]
1740 pub fn xyww(self) -> I32x4 {
1741 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 1, 3, 3])) }
1742 }
1743
1744 /// Constructs a new vector from the second, second, fourth, and fourth
1745 /// lanes in this vector, respectively.
1746 #[inline]
1747 pub fn yyww(self) -> I32x4 {
1748 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 1, 3, 3])) }
1749 }
1750
1751 /// Constructs a new vector from the third, second, fourth, and fourth
1752 /// lanes in this vector, respectively.
1753 #[inline]
1754 pub fn zyww(self) -> I32x4 {
1755 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 1, 3, 3])) }
1756 }
1757
1758 /// Constructs a new vector from the fourth, second, fourth, and fourth
1759 /// lanes in this vector, respectively.
1760 #[inline]
1761 pub fn wyww(self) -> I32x4 {
1762 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 1, 3, 3])) }
1763 }
1764
1765 /// Constructs a new vector from the first, third, fourth, and fourth
1766 /// lanes in this vector, respectively.
1767 #[inline]
1768 pub fn xzww(self) -> I32x4 {
1769 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 2, 3, 3])) }
1770 }
1771
1772 /// Constructs a new vector from the second, third, fourth, and fourth
1773 /// lanes in this vector, respectively.
1774 #[inline]
1775 pub fn yzww(self) -> I32x4 {
1776 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 2, 3, 3])) }
1777 }
1778
1779 /// Constructs a new vector from the third, third, fourth, and fourth
1780 /// lanes in this vector, respectively.
1781 #[inline]
1782 pub fn zzww(self) -> I32x4 {
1783 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 2, 3, 3])) }
1784 }
1785
1786 /// Constructs a new vector from the fourth, third, fourth, and fourth
1787 /// lanes in this vector, respectively.
1788 #[inline]
1789 pub fn wzww(self) -> I32x4 {
1790 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 2, 3, 3])) }
1791 }
1792
1793 /// Constructs a new vector from the first, fourth, fourth, and fourth
1794 /// lanes in this vector, respectively.
1795 #[inline]
1796 pub fn xwww(self) -> I32x4 {
1797 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [0, 3, 3, 3])) }
1798 }
1799
1800 /// Constructs a new vector from the second, fourth, fourth, and fourth
1801 /// lanes in this vector, respectively.
1802 #[inline]
1803 pub fn ywww(self) -> I32x4 {
1804 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [1, 3, 3, 3])) }
1805 }
1806
1807 /// Constructs a new vector from the third, fourth, fourth, and fourth
1808 /// lanes in this vector, respectively.
1809 #[inline]
1810 pub fn zwww(self) -> I32x4 {
1811 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [2, 3, 3, 3])) }
1812 }
1813
1814 /// Constructs a new vector from the fourth, fourth, fourth, and fourth
1815 /// lanes in this vector, respectively.
1816 #[inline]
1817 pub fn wwww(self) -> I32x4 {
1818 unsafe { I32x4(simd_shuffle4!(self.0, self.0, [3, 3, 3, 3])) }
1819 }
1820 }