1 // Generated from swizzle_impl.rs.tera template. Edit the template, not the generated file. 2 3 #![allow(clippy::useless_conversion)] 4 5 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles}; 6 7 #[cfg(target_arch = "x86")] 8 use core::arch::x86::*; 9 #[cfg(target_arch = "x86_64")] 10 use core::arch::x86_64::*; 11 12 impl Vec4Swizzles for Vec4 { 13 type Vec2 = Vec2; 14 15 type Vec3 = Vec3; 16 17 #[inline] 18 #[must_use] xx(self) -> Vec219 fn xx(self) -> Vec2 { 20 Vec2 { 21 x: self.x, 22 y: self.x, 23 } 24 } 25 26 #[inline] 27 #[must_use] xy(self) -> Vec228 fn xy(self) -> Vec2 { 29 Vec2 { 30 x: self.x, 31 y: self.y, 32 } 33 } 34 35 #[inline] 36 #[must_use] xz(self) -> Vec237 fn xz(self) -> Vec2 { 38 Vec2 { 39 x: self.x, 40 y: self.z, 41 } 42 } 43 44 #[inline] 45 #[must_use] xw(self) -> Vec246 fn xw(self) -> Vec2 { 47 Vec2 { 48 x: self.x, 49 y: self.w, 50 } 51 } 52 53 #[inline] 54 #[must_use] yx(self) -> Vec255 fn yx(self) -> Vec2 { 56 Vec2 { 57 x: self.y, 58 y: self.x, 59 } 60 } 61 62 #[inline] 63 #[must_use] yy(self) -> Vec264 fn yy(self) -> Vec2 { 65 Vec2 { 66 x: self.y, 67 y: self.y, 68 } 69 } 70 71 #[inline] 72 #[must_use] yz(self) -> Vec273 fn yz(self) -> Vec2 { 74 Vec2 { 75 x: self.y, 76 y: self.z, 77 } 78 } 79 80 #[inline] 81 #[must_use] yw(self) -> Vec282 fn yw(self) -> Vec2 { 83 Vec2 { 84 x: self.y, 85 y: self.w, 86 } 87 } 88 89 #[inline] 90 #[must_use] zx(self) -> Vec291 fn zx(self) -> Vec2 { 92 Vec2 { 93 x: self.z, 94 y: self.x, 95 } 96 } 97 98 #[inline] 99 #[must_use] zy(self) -> Vec2100 fn zy(self) -> Vec2 { 101 Vec2 { 102 x: self.z, 103 y: self.y, 104 } 105 } 106 107 #[inline] 108 #[must_use] zz(self) -> Vec2109 fn zz(self) -> Vec2 { 110 Vec2 { 111 x: self.z, 112 y: self.z, 113 } 114 } 115 116 #[inline] 117 #[must_use] zw(self) -> Vec2118 fn zw(self) -> Vec2 { 119 Vec2 { 120 x: self.z, 121 y: self.w, 122 } 123 } 124 125 #[inline] 126 #[must_use] wx(self) -> Vec2127 fn wx(self) -> Vec2 { 128 Vec2 { 129 x: self.w, 130 y: self.x, 131 } 132 } 133 134 #[inline] 135 #[must_use] wy(self) -> Vec2136 fn wy(self) -> Vec2 { 137 Vec2 { 138 x: self.w, 139 y: self.y, 140 } 141 } 142 143 #[inline] 144 #[must_use] wz(self) -> Vec2145 fn wz(self) -> Vec2 { 146 Vec2 { 147 x: self.w, 148 y: self.z, 149 } 150 } 151 152 #[inline] 153 #[must_use] ww(self) -> Vec2154 fn ww(self) -> Vec2 { 155 Vec2 { 156 x: self.w, 157 y: self.w, 158 } 159 } 160 161 #[inline] 162 #[must_use] xxx(self) -> Vec3163 fn xxx(self) -> Vec3 { 164 Vec3 { 165 x: self.x, 166 y: self.x, 167 z: self.x, 168 } 169 } 170 171 #[inline] 172 #[must_use] xxy(self) -> Vec3173 fn xxy(self) -> Vec3 { 174 Vec3 { 175 x: self.x, 176 y: self.x, 177 z: self.y, 178 } 179 } 180 181 #[inline] 182 #[must_use] xxz(self) -> Vec3183 fn xxz(self) -> Vec3 { 184 Vec3 { 185 x: self.x, 186 y: self.x, 187 z: self.z, 188 } 189 } 190 191 #[inline] 192 #[must_use] xxw(self) -> Vec3193 fn xxw(self) -> Vec3 { 194 Vec3 { 195 x: self.x, 196 y: self.x, 197 z: self.w, 198 } 199 } 200 201 #[inline] 202 #[must_use] xyx(self) -> Vec3203 fn xyx(self) -> Vec3 { 204 Vec3 { 205 x: self.x, 206 y: self.y, 207 z: self.x, 208 } 209 } 210 211 #[inline] 212 #[must_use] xyy(self) -> Vec3213 fn xyy(self) -> Vec3 { 214 Vec3 { 215 x: self.x, 216 y: self.y, 217 z: self.y, 218 } 219 } 220 221 #[inline] 222 #[must_use] xyz(self) -> Vec3223 fn xyz(self) -> Vec3 { 224 Vec3 { 225 x: self.x, 226 y: self.y, 227 z: self.z, 228 } 229 } 230 231 #[inline] 232 #[must_use] xyw(self) -> Vec3233 fn xyw(self) -> Vec3 { 234 Vec3 { 235 x: self.x, 236 y: self.y, 237 z: self.w, 238 } 239 } 240 241 #[inline] 242 #[must_use] xzx(self) -> Vec3243 fn xzx(self) -> Vec3 { 244 Vec3 { 245 x: self.x, 246 y: self.z, 247 z: self.x, 248 } 249 } 250 251 #[inline] 252 #[must_use] xzy(self) -> Vec3253 fn xzy(self) -> Vec3 { 254 Vec3 { 255 x: self.x, 256 y: self.z, 257 z: self.y, 258 } 259 } 260 261 #[inline] 262 #[must_use] xzz(self) -> Vec3263 fn xzz(self) -> Vec3 { 264 Vec3 { 265 x: self.x, 266 y: self.z, 267 z: self.z, 268 } 269 } 270 271 #[inline] 272 #[must_use] xzw(self) -> Vec3273 fn xzw(self) -> Vec3 { 274 Vec3 { 275 x: self.x, 276 y: self.z, 277 z: self.w, 278 } 279 } 280 281 #[inline] 282 #[must_use] xwx(self) -> Vec3283 fn xwx(self) -> Vec3 { 284 Vec3 { 285 x: self.x, 286 y: self.w, 287 z: self.x, 288 } 289 } 290 291 #[inline] 292 #[must_use] xwy(self) -> Vec3293 fn xwy(self) -> Vec3 { 294 Vec3 { 295 x: self.x, 296 y: self.w, 297 z: self.y, 298 } 299 } 300 301 #[inline] 302 #[must_use] xwz(self) -> Vec3303 fn xwz(self) -> Vec3 { 304 Vec3 { 305 x: self.x, 306 y: self.w, 307 z: self.z, 308 } 309 } 310 311 #[inline] 312 #[must_use] xww(self) -> Vec3313 fn xww(self) -> Vec3 { 314 Vec3 { 315 x: self.x, 316 y: self.w, 317 z: self.w, 318 } 319 } 320 321 #[inline] 322 #[must_use] yxx(self) -> Vec3323 fn yxx(self) -> Vec3 { 324 Vec3 { 325 x: self.y, 326 y: self.x, 327 z: self.x, 328 } 329 } 330 331 #[inline] 332 #[must_use] yxy(self) -> Vec3333 fn yxy(self) -> Vec3 { 334 Vec3 { 335 x: self.y, 336 y: self.x, 337 z: self.y, 338 } 339 } 340 341 #[inline] 342 #[must_use] yxz(self) -> Vec3343 fn yxz(self) -> Vec3 { 344 Vec3 { 345 x: self.y, 346 y: self.x, 347 z: self.z, 348 } 349 } 350 351 #[inline] 352 #[must_use] yxw(self) -> Vec3353 fn yxw(self) -> Vec3 { 354 Vec3 { 355 x: self.y, 356 y: self.x, 357 z: self.w, 358 } 359 } 360 361 #[inline] 362 #[must_use] yyx(self) -> Vec3363 fn yyx(self) -> Vec3 { 364 Vec3 { 365 x: self.y, 366 y: self.y, 367 z: self.x, 368 } 369 } 370 371 #[inline] 372 #[must_use] yyy(self) -> Vec3373 fn yyy(self) -> Vec3 { 374 Vec3 { 375 x: self.y, 376 y: self.y, 377 z: self.y, 378 } 379 } 380 381 #[inline] 382 #[must_use] yyz(self) -> Vec3383 fn yyz(self) -> Vec3 { 384 Vec3 { 385 x: self.y, 386 y: self.y, 387 z: self.z, 388 } 389 } 390 391 #[inline] 392 #[must_use] yyw(self) -> Vec3393 fn yyw(self) -> Vec3 { 394 Vec3 { 395 x: self.y, 396 y: self.y, 397 z: self.w, 398 } 399 } 400 401 #[inline] 402 #[must_use] yzx(self) -> Vec3403 fn yzx(self) -> Vec3 { 404 Vec3 { 405 x: self.y, 406 y: self.z, 407 z: self.x, 408 } 409 } 410 411 #[inline] 412 #[must_use] yzy(self) -> Vec3413 fn yzy(self) -> Vec3 { 414 Vec3 { 415 x: self.y, 416 y: self.z, 417 z: self.y, 418 } 419 } 420 421 #[inline] 422 #[must_use] yzz(self) -> Vec3423 fn yzz(self) -> Vec3 { 424 Vec3 { 425 x: self.y, 426 y: self.z, 427 z: self.z, 428 } 429 } 430 431 #[inline] 432 #[must_use] yzw(self) -> Vec3433 fn yzw(self) -> Vec3 { 434 Vec3 { 435 x: self.y, 436 y: self.z, 437 z: self.w, 438 } 439 } 440 441 #[inline] 442 #[must_use] ywx(self) -> Vec3443 fn ywx(self) -> Vec3 { 444 Vec3 { 445 x: self.y, 446 y: self.w, 447 z: self.x, 448 } 449 } 450 451 #[inline] 452 #[must_use] ywy(self) -> Vec3453 fn ywy(self) -> Vec3 { 454 Vec3 { 455 x: self.y, 456 y: self.w, 457 z: self.y, 458 } 459 } 460 461 #[inline] 462 #[must_use] ywz(self) -> Vec3463 fn ywz(self) -> Vec3 { 464 Vec3 { 465 x: self.y, 466 y: self.w, 467 z: self.z, 468 } 469 } 470 471 #[inline] 472 #[must_use] yww(self) -> Vec3473 fn yww(self) -> Vec3 { 474 Vec3 { 475 x: self.y, 476 y: self.w, 477 z: self.w, 478 } 479 } 480 481 #[inline] 482 #[must_use] zxx(self) -> Vec3483 fn zxx(self) -> Vec3 { 484 Vec3 { 485 x: self.z, 486 y: self.x, 487 z: self.x, 488 } 489 } 490 491 #[inline] 492 #[must_use] zxy(self) -> Vec3493 fn zxy(self) -> Vec3 { 494 Vec3 { 495 x: self.z, 496 y: self.x, 497 z: self.y, 498 } 499 } 500 501 #[inline] 502 #[must_use] zxz(self) -> Vec3503 fn zxz(self) -> Vec3 { 504 Vec3 { 505 x: self.z, 506 y: self.x, 507 z: self.z, 508 } 509 } 510 511 #[inline] 512 #[must_use] zxw(self) -> Vec3513 fn zxw(self) -> Vec3 { 514 Vec3 { 515 x: self.z, 516 y: self.x, 517 z: self.w, 518 } 519 } 520 521 #[inline] 522 #[must_use] zyx(self) -> Vec3523 fn zyx(self) -> Vec3 { 524 Vec3 { 525 x: self.z, 526 y: self.y, 527 z: self.x, 528 } 529 } 530 531 #[inline] 532 #[must_use] zyy(self) -> Vec3533 fn zyy(self) -> Vec3 { 534 Vec3 { 535 x: self.z, 536 y: self.y, 537 z: self.y, 538 } 539 } 540 541 #[inline] 542 #[must_use] zyz(self) -> Vec3543 fn zyz(self) -> Vec3 { 544 Vec3 { 545 x: self.z, 546 y: self.y, 547 z: self.z, 548 } 549 } 550 551 #[inline] 552 #[must_use] zyw(self) -> Vec3553 fn zyw(self) -> Vec3 { 554 Vec3 { 555 x: self.z, 556 y: self.y, 557 z: self.w, 558 } 559 } 560 561 #[inline] 562 #[must_use] zzx(self) -> Vec3563 fn zzx(self) -> Vec3 { 564 Vec3 { 565 x: self.z, 566 y: self.z, 567 z: self.x, 568 } 569 } 570 571 #[inline] 572 #[must_use] zzy(self) -> Vec3573 fn zzy(self) -> Vec3 { 574 Vec3 { 575 x: self.z, 576 y: self.z, 577 z: self.y, 578 } 579 } 580 581 #[inline] 582 #[must_use] zzz(self) -> Vec3583 fn zzz(self) -> Vec3 { 584 Vec3 { 585 x: self.z, 586 y: self.z, 587 z: self.z, 588 } 589 } 590 591 #[inline] 592 #[must_use] zzw(self) -> Vec3593 fn zzw(self) -> Vec3 { 594 Vec3 { 595 x: self.z, 596 y: self.z, 597 z: self.w, 598 } 599 } 600 601 #[inline] 602 #[must_use] zwx(self) -> Vec3603 fn zwx(self) -> Vec3 { 604 Vec3 { 605 x: self.z, 606 y: self.w, 607 z: self.x, 608 } 609 } 610 611 #[inline] 612 #[must_use] zwy(self) -> Vec3613 fn zwy(self) -> Vec3 { 614 Vec3 { 615 x: self.z, 616 y: self.w, 617 z: self.y, 618 } 619 } 620 621 #[inline] 622 #[must_use] zwz(self) -> Vec3623 fn zwz(self) -> Vec3 { 624 Vec3 { 625 x: self.z, 626 y: self.w, 627 z: self.z, 628 } 629 } 630 631 #[inline] 632 #[must_use] zww(self) -> Vec3633 fn zww(self) -> Vec3 { 634 Vec3 { 635 x: self.z, 636 y: self.w, 637 z: self.w, 638 } 639 } 640 641 #[inline] 642 #[must_use] wxx(self) -> Vec3643 fn wxx(self) -> Vec3 { 644 Vec3 { 645 x: self.w, 646 y: self.x, 647 z: self.x, 648 } 649 } 650 651 #[inline] 652 #[must_use] wxy(self) -> Vec3653 fn wxy(self) -> Vec3 { 654 Vec3 { 655 x: self.w, 656 y: self.x, 657 z: self.y, 658 } 659 } 660 661 #[inline] 662 #[must_use] wxz(self) -> Vec3663 fn wxz(self) -> Vec3 { 664 Vec3 { 665 x: self.w, 666 y: self.x, 667 z: self.z, 668 } 669 } 670 671 #[inline] 672 #[must_use] wxw(self) -> Vec3673 fn wxw(self) -> Vec3 { 674 Vec3 { 675 x: self.w, 676 y: self.x, 677 z: self.w, 678 } 679 } 680 681 #[inline] 682 #[must_use] wyx(self) -> Vec3683 fn wyx(self) -> Vec3 { 684 Vec3 { 685 x: self.w, 686 y: self.y, 687 z: self.x, 688 } 689 } 690 691 #[inline] 692 #[must_use] wyy(self) -> Vec3693 fn wyy(self) -> Vec3 { 694 Vec3 { 695 x: self.w, 696 y: self.y, 697 z: self.y, 698 } 699 } 700 701 #[inline] 702 #[must_use] wyz(self) -> Vec3703 fn wyz(self) -> Vec3 { 704 Vec3 { 705 x: self.w, 706 y: self.y, 707 z: self.z, 708 } 709 } 710 711 #[inline] 712 #[must_use] wyw(self) -> Vec3713 fn wyw(self) -> Vec3 { 714 Vec3 { 715 x: self.w, 716 y: self.y, 717 z: self.w, 718 } 719 } 720 721 #[inline] 722 #[must_use] wzx(self) -> Vec3723 fn wzx(self) -> Vec3 { 724 Vec3 { 725 x: self.w, 726 y: self.z, 727 z: self.x, 728 } 729 } 730 731 #[inline] 732 #[must_use] wzy(self) -> Vec3733 fn wzy(self) -> Vec3 { 734 Vec3 { 735 x: self.w, 736 y: self.z, 737 z: self.y, 738 } 739 } 740 741 #[inline] 742 #[must_use] wzz(self) -> Vec3743 fn wzz(self) -> Vec3 { 744 Vec3 { 745 x: self.w, 746 y: self.z, 747 z: self.z, 748 } 749 } 750 751 #[inline] 752 #[must_use] wzw(self) -> Vec3753 fn wzw(self) -> Vec3 { 754 Vec3 { 755 x: self.w, 756 y: self.z, 757 z: self.w, 758 } 759 } 760 761 #[inline] 762 #[must_use] wwx(self) -> Vec3763 fn wwx(self) -> Vec3 { 764 Vec3 { 765 x: self.w, 766 y: self.w, 767 z: self.x, 768 } 769 } 770 771 #[inline] 772 #[must_use] wwy(self) -> Vec3773 fn wwy(self) -> Vec3 { 774 Vec3 { 775 x: self.w, 776 y: self.w, 777 z: self.y, 778 } 779 } 780 781 #[inline] 782 #[must_use] wwz(self) -> Vec3783 fn wwz(self) -> Vec3 { 784 Vec3 { 785 x: self.w, 786 y: self.w, 787 z: self.z, 788 } 789 } 790 791 #[inline] 792 #[must_use] www(self) -> Vec3793 fn www(self) -> Vec3 { 794 Vec3 { 795 x: self.w, 796 y: self.w, 797 z: self.w, 798 } 799 } 800 801 #[inline] 802 #[must_use] xxxx(self) -> Vec4803 fn xxxx(self) -> Vec4 { 804 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_00_00) }) 805 } 806 807 #[inline] 808 #[must_use] xxxy(self) -> Vec4809 fn xxxy(self) -> Vec4 { 810 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_00_00) }) 811 } 812 813 #[inline] 814 #[must_use] xxxz(self) -> Vec4815 fn xxxz(self) -> Vec4 { 816 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_00_00) }) 817 } 818 819 #[inline] 820 #[must_use] xxxw(self) -> Vec4821 fn xxxw(self) -> Vec4 { 822 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_00_00) }) 823 } 824 825 #[inline] 826 #[must_use] xxyx(self) -> Vec4827 fn xxyx(self) -> Vec4 { 828 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_00_00) }) 829 } 830 831 #[inline] 832 #[must_use] xxyy(self) -> Vec4833 fn xxyy(self) -> Vec4 { 834 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_00_00) }) 835 } 836 837 #[inline] 838 #[must_use] xxyz(self) -> Vec4839 fn xxyz(self) -> Vec4 { 840 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_00_00) }) 841 } 842 843 #[inline] 844 #[must_use] xxyw(self) -> Vec4845 fn xxyw(self) -> Vec4 { 846 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_00_00) }) 847 } 848 849 #[inline] 850 #[must_use] xxzx(self) -> Vec4851 fn xxzx(self) -> Vec4 { 852 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_00_00) }) 853 } 854 855 #[inline] 856 #[must_use] xxzy(self) -> Vec4857 fn xxzy(self) -> Vec4 { 858 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_00_00) }) 859 } 860 861 #[inline] 862 #[must_use] xxzz(self) -> Vec4863 fn xxzz(self) -> Vec4 { 864 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_00_00) }) 865 } 866 867 #[inline] 868 #[must_use] xxzw(self) -> Vec4869 fn xxzw(self) -> Vec4 { 870 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_00_00) }) 871 } 872 873 #[inline] 874 #[must_use] xxwx(self) -> Vec4875 fn xxwx(self) -> Vec4 { 876 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_00_00) }) 877 } 878 879 #[inline] 880 #[must_use] xxwy(self) -> Vec4881 fn xxwy(self) -> Vec4 { 882 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_00_00) }) 883 } 884 885 #[inline] 886 #[must_use] xxwz(self) -> Vec4887 fn xxwz(self) -> Vec4 { 888 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_00_00) }) 889 } 890 891 #[inline] 892 #[must_use] xxww(self) -> Vec4893 fn xxww(self) -> Vec4 { 894 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_00_00) }) 895 } 896 897 #[inline] 898 #[must_use] xyxx(self) -> Vec4899 fn xyxx(self) -> Vec4 { 900 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_01_00) }) 901 } 902 903 #[inline] 904 #[must_use] xyxy(self) -> Vec4905 fn xyxy(self) -> Vec4 { 906 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_01_00) }) 907 } 908 909 #[inline] 910 #[must_use] xyxz(self) -> Vec4911 fn xyxz(self) -> Vec4 { 912 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_01_00) }) 913 } 914 915 #[inline] 916 #[must_use] xyxw(self) -> Vec4917 fn xyxw(self) -> Vec4 { 918 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_01_00) }) 919 } 920 921 #[inline] 922 #[must_use] xyyx(self) -> Vec4923 fn xyyx(self) -> Vec4 { 924 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_01_00) }) 925 } 926 927 #[inline] 928 #[must_use] xyyy(self) -> Vec4929 fn xyyy(self) -> Vec4 { 930 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_01_00) }) 931 } 932 933 #[inline] 934 #[must_use] xyyz(self) -> Vec4935 fn xyyz(self) -> Vec4 { 936 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_01_00) }) 937 } 938 939 #[inline] 940 #[must_use] xyyw(self) -> Vec4941 fn xyyw(self) -> Vec4 { 942 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_01_00) }) 943 } 944 945 #[inline] 946 #[must_use] xyzx(self) -> Vec4947 fn xyzx(self) -> Vec4 { 948 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_01_00) }) 949 } 950 951 #[inline] 952 #[must_use] xyzy(self) -> Vec4953 fn xyzy(self) -> Vec4 { 954 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_01_00) }) 955 } 956 957 #[inline] 958 #[must_use] xyzz(self) -> Vec4959 fn xyzz(self) -> Vec4 { 960 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_01_00) }) 961 } 962 963 #[inline] 964 #[must_use] xyzw(self) -> Vec4965 fn xyzw(self) -> Vec4 { 966 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_01_00) }) 967 } 968 969 #[inline] 970 #[must_use] xywx(self) -> Vec4971 fn xywx(self) -> Vec4 { 972 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_01_00) }) 973 } 974 975 #[inline] 976 #[must_use] xywy(self) -> Vec4977 fn xywy(self) -> Vec4 { 978 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_01_00) }) 979 } 980 981 #[inline] 982 #[must_use] xywz(self) -> Vec4983 fn xywz(self) -> Vec4 { 984 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_01_00) }) 985 } 986 987 #[inline] 988 #[must_use] xyww(self) -> Vec4989 fn xyww(self) -> Vec4 { 990 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_01_00) }) 991 } 992 993 #[inline] 994 #[must_use] xzxx(self) -> Vec4995 fn xzxx(self) -> Vec4 { 996 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_10_00) }) 997 } 998 999 #[inline] 1000 #[must_use] xzxy(self) -> Vec41001 fn xzxy(self) -> Vec4 { 1002 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_10_00) }) 1003 } 1004 1005 #[inline] 1006 #[must_use] xzxz(self) -> Vec41007 fn xzxz(self) -> Vec4 { 1008 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_10_00) }) 1009 } 1010 1011 #[inline] 1012 #[must_use] xzxw(self) -> Vec41013 fn xzxw(self) -> Vec4 { 1014 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_10_00) }) 1015 } 1016 1017 #[inline] 1018 #[must_use] xzyx(self) -> Vec41019 fn xzyx(self) -> Vec4 { 1020 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_10_00) }) 1021 } 1022 1023 #[inline] 1024 #[must_use] xzyy(self) -> Vec41025 fn xzyy(self) -> Vec4 { 1026 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_10_00) }) 1027 } 1028 1029 #[inline] 1030 #[must_use] xzyz(self) -> Vec41031 fn xzyz(self) -> Vec4 { 1032 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_10_00) }) 1033 } 1034 1035 #[inline] 1036 #[must_use] xzyw(self) -> Vec41037 fn xzyw(self) -> Vec4 { 1038 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_10_00) }) 1039 } 1040 1041 #[inline] 1042 #[must_use] xzzx(self) -> Vec41043 fn xzzx(self) -> Vec4 { 1044 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_10_00) }) 1045 } 1046 1047 #[inline] 1048 #[must_use] xzzy(self) -> Vec41049 fn xzzy(self) -> Vec4 { 1050 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_10_00) }) 1051 } 1052 1053 #[inline] 1054 #[must_use] xzzz(self) -> Vec41055 fn xzzz(self) -> Vec4 { 1056 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_10_00) }) 1057 } 1058 1059 #[inline] 1060 #[must_use] xzzw(self) -> Vec41061 fn xzzw(self) -> Vec4 { 1062 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_10_00) }) 1063 } 1064 1065 #[inline] 1066 #[must_use] xzwx(self) -> Vec41067 fn xzwx(self) -> Vec4 { 1068 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_10_00) }) 1069 } 1070 1071 #[inline] 1072 #[must_use] xzwy(self) -> Vec41073 fn xzwy(self) -> Vec4 { 1074 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_10_00) }) 1075 } 1076 1077 #[inline] 1078 #[must_use] xzwz(self) -> Vec41079 fn xzwz(self) -> Vec4 { 1080 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_10_00) }) 1081 } 1082 1083 #[inline] 1084 #[must_use] xzww(self) -> Vec41085 fn xzww(self) -> Vec4 { 1086 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_10_00) }) 1087 } 1088 1089 #[inline] 1090 #[must_use] xwxx(self) -> Vec41091 fn xwxx(self) -> Vec4 { 1092 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_11_00) }) 1093 } 1094 1095 #[inline] 1096 #[must_use] xwxy(self) -> Vec41097 fn xwxy(self) -> Vec4 { 1098 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_11_00) }) 1099 } 1100 1101 #[inline] 1102 #[must_use] xwxz(self) -> Vec41103 fn xwxz(self) -> Vec4 { 1104 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_11_00) }) 1105 } 1106 1107 #[inline] 1108 #[must_use] xwxw(self) -> Vec41109 fn xwxw(self) -> Vec4 { 1110 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_11_00) }) 1111 } 1112 1113 #[inline] 1114 #[must_use] xwyx(self) -> Vec41115 fn xwyx(self) -> Vec4 { 1116 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_11_00) }) 1117 } 1118 1119 #[inline] 1120 #[must_use] xwyy(self) -> Vec41121 fn xwyy(self) -> Vec4 { 1122 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_11_00) }) 1123 } 1124 1125 #[inline] 1126 #[must_use] xwyz(self) -> Vec41127 fn xwyz(self) -> Vec4 { 1128 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_11_00) }) 1129 } 1130 1131 #[inline] 1132 #[must_use] xwyw(self) -> Vec41133 fn xwyw(self) -> Vec4 { 1134 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_11_00) }) 1135 } 1136 1137 #[inline] 1138 #[must_use] xwzx(self) -> Vec41139 fn xwzx(self) -> Vec4 { 1140 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_11_00) }) 1141 } 1142 1143 #[inline] 1144 #[must_use] xwzy(self) -> Vec41145 fn xwzy(self) -> Vec4 { 1146 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_11_00) }) 1147 } 1148 1149 #[inline] 1150 #[must_use] xwzz(self) -> Vec41151 fn xwzz(self) -> Vec4 { 1152 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_11_00) }) 1153 } 1154 1155 #[inline] 1156 #[must_use] xwzw(self) -> Vec41157 fn xwzw(self) -> Vec4 { 1158 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_11_00) }) 1159 } 1160 1161 #[inline] 1162 #[must_use] xwwx(self) -> Vec41163 fn xwwx(self) -> Vec4 { 1164 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_11_00) }) 1165 } 1166 1167 #[inline] 1168 #[must_use] xwwy(self) -> Vec41169 fn xwwy(self) -> Vec4 { 1170 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_11_00) }) 1171 } 1172 1173 #[inline] 1174 #[must_use] xwwz(self) -> Vec41175 fn xwwz(self) -> Vec4 { 1176 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_11_00) }) 1177 } 1178 1179 #[inline] 1180 #[must_use] xwww(self) -> Vec41181 fn xwww(self) -> Vec4 { 1182 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_11_00) }) 1183 } 1184 1185 #[inline] 1186 #[must_use] yxxx(self) -> Vec41187 fn yxxx(self) -> Vec4 { 1188 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_00_01) }) 1189 } 1190 1191 #[inline] 1192 #[must_use] yxxy(self) -> Vec41193 fn yxxy(self) -> Vec4 { 1194 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_00_01) }) 1195 } 1196 1197 #[inline] 1198 #[must_use] yxxz(self) -> Vec41199 fn yxxz(self) -> Vec4 { 1200 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_00_01) }) 1201 } 1202 1203 #[inline] 1204 #[must_use] yxxw(self) -> Vec41205 fn yxxw(self) -> Vec4 { 1206 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_00_01) }) 1207 } 1208 1209 #[inline] 1210 #[must_use] yxyx(self) -> Vec41211 fn yxyx(self) -> Vec4 { 1212 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_00_01) }) 1213 } 1214 1215 #[inline] 1216 #[must_use] yxyy(self) -> Vec41217 fn yxyy(self) -> Vec4 { 1218 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_00_01) }) 1219 } 1220 1221 #[inline] 1222 #[must_use] yxyz(self) -> Vec41223 fn yxyz(self) -> Vec4 { 1224 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_00_01) }) 1225 } 1226 1227 #[inline] 1228 #[must_use] yxyw(self) -> Vec41229 fn yxyw(self) -> Vec4 { 1230 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_00_01) }) 1231 } 1232 1233 #[inline] 1234 #[must_use] yxzx(self) -> Vec41235 fn yxzx(self) -> Vec4 { 1236 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_00_01) }) 1237 } 1238 1239 #[inline] 1240 #[must_use] yxzy(self) -> Vec41241 fn yxzy(self) -> Vec4 { 1242 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_00_01) }) 1243 } 1244 1245 #[inline] 1246 #[must_use] yxzz(self) -> Vec41247 fn yxzz(self) -> Vec4 { 1248 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_00_01) }) 1249 } 1250 1251 #[inline] 1252 #[must_use] yxzw(self) -> Vec41253 fn yxzw(self) -> Vec4 { 1254 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_00_01) }) 1255 } 1256 1257 #[inline] 1258 #[must_use] yxwx(self) -> Vec41259 fn yxwx(self) -> Vec4 { 1260 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_00_01) }) 1261 } 1262 1263 #[inline] 1264 #[must_use] yxwy(self) -> Vec41265 fn yxwy(self) -> Vec4 { 1266 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_00_01) }) 1267 } 1268 1269 #[inline] 1270 #[must_use] yxwz(self) -> Vec41271 fn yxwz(self) -> Vec4 { 1272 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_00_01) }) 1273 } 1274 1275 #[inline] 1276 #[must_use] yxww(self) -> Vec41277 fn yxww(self) -> Vec4 { 1278 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_00_01) }) 1279 } 1280 1281 #[inline] 1282 #[must_use] yyxx(self) -> Vec41283 fn yyxx(self) -> Vec4 { 1284 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_01_01) }) 1285 } 1286 1287 #[inline] 1288 #[must_use] yyxy(self) -> Vec41289 fn yyxy(self) -> Vec4 { 1290 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_01_01) }) 1291 } 1292 1293 #[inline] 1294 #[must_use] yyxz(self) -> Vec41295 fn yyxz(self) -> Vec4 { 1296 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_01_01) }) 1297 } 1298 1299 #[inline] 1300 #[must_use] yyxw(self) -> Vec41301 fn yyxw(self) -> Vec4 { 1302 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_01_01) }) 1303 } 1304 1305 #[inline] 1306 #[must_use] yyyx(self) -> Vec41307 fn yyyx(self) -> Vec4 { 1308 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_01_01) }) 1309 } 1310 1311 #[inline] 1312 #[must_use] yyyy(self) -> Vec41313 fn yyyy(self) -> Vec4 { 1314 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_01_01) }) 1315 } 1316 1317 #[inline] 1318 #[must_use] yyyz(self) -> Vec41319 fn yyyz(self) -> Vec4 { 1320 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_01_01) }) 1321 } 1322 1323 #[inline] 1324 #[must_use] yyyw(self) -> Vec41325 fn yyyw(self) -> Vec4 { 1326 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_01_01) }) 1327 } 1328 1329 #[inline] 1330 #[must_use] yyzx(self) -> Vec41331 fn yyzx(self) -> Vec4 { 1332 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_01_01) }) 1333 } 1334 1335 #[inline] 1336 #[must_use] yyzy(self) -> Vec41337 fn yyzy(self) -> Vec4 { 1338 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_01_01) }) 1339 } 1340 1341 #[inline] 1342 #[must_use] yyzz(self) -> Vec41343 fn yyzz(self) -> Vec4 { 1344 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_01_01) }) 1345 } 1346 1347 #[inline] 1348 #[must_use] yyzw(self) -> Vec41349 fn yyzw(self) -> Vec4 { 1350 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_01_01) }) 1351 } 1352 1353 #[inline] 1354 #[must_use] yywx(self) -> Vec41355 fn yywx(self) -> Vec4 { 1356 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_01_01) }) 1357 } 1358 1359 #[inline] 1360 #[must_use] yywy(self) -> Vec41361 fn yywy(self) -> Vec4 { 1362 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_01_01) }) 1363 } 1364 1365 #[inline] 1366 #[must_use] yywz(self) -> Vec41367 fn yywz(self) -> Vec4 { 1368 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_01_01) }) 1369 } 1370 1371 #[inline] 1372 #[must_use] yyww(self) -> Vec41373 fn yyww(self) -> Vec4 { 1374 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_01_01) }) 1375 } 1376 1377 #[inline] 1378 #[must_use] yzxx(self) -> Vec41379 fn yzxx(self) -> Vec4 { 1380 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_10_01) }) 1381 } 1382 1383 #[inline] 1384 #[must_use] yzxy(self) -> Vec41385 fn yzxy(self) -> Vec4 { 1386 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_10_01) }) 1387 } 1388 1389 #[inline] 1390 #[must_use] yzxz(self) -> Vec41391 fn yzxz(self) -> Vec4 { 1392 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_10_01) }) 1393 } 1394 1395 #[inline] 1396 #[must_use] yzxw(self) -> Vec41397 fn yzxw(self) -> Vec4 { 1398 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_10_01) }) 1399 } 1400 1401 #[inline] 1402 #[must_use] yzyx(self) -> Vec41403 fn yzyx(self) -> Vec4 { 1404 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_10_01) }) 1405 } 1406 1407 #[inline] 1408 #[must_use] yzyy(self) -> Vec41409 fn yzyy(self) -> Vec4 { 1410 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_10_01) }) 1411 } 1412 1413 #[inline] 1414 #[must_use] yzyz(self) -> Vec41415 fn yzyz(self) -> Vec4 { 1416 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_10_01) }) 1417 } 1418 1419 #[inline] 1420 #[must_use] yzyw(self) -> Vec41421 fn yzyw(self) -> Vec4 { 1422 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_10_01) }) 1423 } 1424 1425 #[inline] 1426 #[must_use] yzzx(self) -> Vec41427 fn yzzx(self) -> Vec4 { 1428 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_10_01) }) 1429 } 1430 1431 #[inline] 1432 #[must_use] yzzy(self) -> Vec41433 fn yzzy(self) -> Vec4 { 1434 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_10_01) }) 1435 } 1436 1437 #[inline] 1438 #[must_use] yzzz(self) -> Vec41439 fn yzzz(self) -> Vec4 { 1440 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_10_01) }) 1441 } 1442 1443 #[inline] 1444 #[must_use] yzzw(self) -> Vec41445 fn yzzw(self) -> Vec4 { 1446 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_10_01) }) 1447 } 1448 1449 #[inline] 1450 #[must_use] yzwx(self) -> Vec41451 fn yzwx(self) -> Vec4 { 1452 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_10_01) }) 1453 } 1454 1455 #[inline] 1456 #[must_use] yzwy(self) -> Vec41457 fn yzwy(self) -> Vec4 { 1458 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_10_01) }) 1459 } 1460 1461 #[inline] 1462 #[must_use] yzwz(self) -> Vec41463 fn yzwz(self) -> Vec4 { 1464 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_10_01) }) 1465 } 1466 1467 #[inline] 1468 #[must_use] yzww(self) -> Vec41469 fn yzww(self) -> Vec4 { 1470 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_10_01) }) 1471 } 1472 1473 #[inline] 1474 #[must_use] ywxx(self) -> Vec41475 fn ywxx(self) -> Vec4 { 1476 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_11_01) }) 1477 } 1478 1479 #[inline] 1480 #[must_use] ywxy(self) -> Vec41481 fn ywxy(self) -> Vec4 { 1482 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_11_01) }) 1483 } 1484 1485 #[inline] 1486 #[must_use] ywxz(self) -> Vec41487 fn ywxz(self) -> Vec4 { 1488 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_11_01) }) 1489 } 1490 1491 #[inline] 1492 #[must_use] ywxw(self) -> Vec41493 fn ywxw(self) -> Vec4 { 1494 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_11_01) }) 1495 } 1496 1497 #[inline] 1498 #[must_use] ywyx(self) -> Vec41499 fn ywyx(self) -> Vec4 { 1500 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_11_01) }) 1501 } 1502 1503 #[inline] 1504 #[must_use] ywyy(self) -> Vec41505 fn ywyy(self) -> Vec4 { 1506 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_11_01) }) 1507 } 1508 1509 #[inline] 1510 #[must_use] ywyz(self) -> Vec41511 fn ywyz(self) -> Vec4 { 1512 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_11_01) }) 1513 } 1514 1515 #[inline] 1516 #[must_use] ywyw(self) -> Vec41517 fn ywyw(self) -> Vec4 { 1518 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_11_01) }) 1519 } 1520 1521 #[inline] 1522 #[must_use] ywzx(self) -> Vec41523 fn ywzx(self) -> Vec4 { 1524 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_11_01) }) 1525 } 1526 1527 #[inline] 1528 #[must_use] ywzy(self) -> Vec41529 fn ywzy(self) -> Vec4 { 1530 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_11_01) }) 1531 } 1532 1533 #[inline] 1534 #[must_use] ywzz(self) -> Vec41535 fn ywzz(self) -> Vec4 { 1536 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_11_01) }) 1537 } 1538 1539 #[inline] 1540 #[must_use] ywzw(self) -> Vec41541 fn ywzw(self) -> Vec4 { 1542 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_11_01) }) 1543 } 1544 1545 #[inline] 1546 #[must_use] ywwx(self) -> Vec41547 fn ywwx(self) -> Vec4 { 1548 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_11_01) }) 1549 } 1550 1551 #[inline] 1552 #[must_use] ywwy(self) -> Vec41553 fn ywwy(self) -> Vec4 { 1554 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_11_01) }) 1555 } 1556 1557 #[inline] 1558 #[must_use] ywwz(self) -> Vec41559 fn ywwz(self) -> Vec4 { 1560 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_11_01) }) 1561 } 1562 1563 #[inline] 1564 #[must_use] ywww(self) -> Vec41565 fn ywww(self) -> Vec4 { 1566 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_11_01) }) 1567 } 1568 1569 #[inline] 1570 #[must_use] zxxx(self) -> Vec41571 fn zxxx(self) -> Vec4 { 1572 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_00_10) }) 1573 } 1574 1575 #[inline] 1576 #[must_use] zxxy(self) -> Vec41577 fn zxxy(self) -> Vec4 { 1578 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_00_10) }) 1579 } 1580 1581 #[inline] 1582 #[must_use] zxxz(self) -> Vec41583 fn zxxz(self) -> Vec4 { 1584 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_00_10) }) 1585 } 1586 1587 #[inline] 1588 #[must_use] zxxw(self) -> Vec41589 fn zxxw(self) -> Vec4 { 1590 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_00_10) }) 1591 } 1592 1593 #[inline] 1594 #[must_use] zxyx(self) -> Vec41595 fn zxyx(self) -> Vec4 { 1596 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_00_10) }) 1597 } 1598 1599 #[inline] 1600 #[must_use] zxyy(self) -> Vec41601 fn zxyy(self) -> Vec4 { 1602 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_00_10) }) 1603 } 1604 1605 #[inline] 1606 #[must_use] zxyz(self) -> Vec41607 fn zxyz(self) -> Vec4 { 1608 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_00_10) }) 1609 } 1610 1611 #[inline] 1612 #[must_use] zxyw(self) -> Vec41613 fn zxyw(self) -> Vec4 { 1614 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_00_10) }) 1615 } 1616 1617 #[inline] 1618 #[must_use] zxzx(self) -> Vec41619 fn zxzx(self) -> Vec4 { 1620 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_00_10) }) 1621 } 1622 1623 #[inline] 1624 #[must_use] zxzy(self) -> Vec41625 fn zxzy(self) -> Vec4 { 1626 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_00_10) }) 1627 } 1628 1629 #[inline] 1630 #[must_use] zxzz(self) -> Vec41631 fn zxzz(self) -> Vec4 { 1632 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_00_10) }) 1633 } 1634 1635 #[inline] 1636 #[must_use] zxzw(self) -> Vec41637 fn zxzw(self) -> Vec4 { 1638 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_00_10) }) 1639 } 1640 1641 #[inline] 1642 #[must_use] zxwx(self) -> Vec41643 fn zxwx(self) -> Vec4 { 1644 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_00_10) }) 1645 } 1646 1647 #[inline] 1648 #[must_use] zxwy(self) -> Vec41649 fn zxwy(self) -> Vec4 { 1650 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_00_10) }) 1651 } 1652 1653 #[inline] 1654 #[must_use] zxwz(self) -> Vec41655 fn zxwz(self) -> Vec4 { 1656 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_00_10) }) 1657 } 1658 1659 #[inline] 1660 #[must_use] zxww(self) -> Vec41661 fn zxww(self) -> Vec4 { 1662 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_00_10) }) 1663 } 1664 1665 #[inline] 1666 #[must_use] zyxx(self) -> Vec41667 fn zyxx(self) -> Vec4 { 1668 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_01_10) }) 1669 } 1670 1671 #[inline] 1672 #[must_use] zyxy(self) -> Vec41673 fn zyxy(self) -> Vec4 { 1674 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_01_10) }) 1675 } 1676 1677 #[inline] 1678 #[must_use] zyxz(self) -> Vec41679 fn zyxz(self) -> Vec4 { 1680 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_01_10) }) 1681 } 1682 1683 #[inline] 1684 #[must_use] zyxw(self) -> Vec41685 fn zyxw(self) -> Vec4 { 1686 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_01_10) }) 1687 } 1688 1689 #[inline] 1690 #[must_use] zyyx(self) -> Vec41691 fn zyyx(self) -> Vec4 { 1692 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_01_10) }) 1693 } 1694 1695 #[inline] 1696 #[must_use] zyyy(self) -> Vec41697 fn zyyy(self) -> Vec4 { 1698 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_01_10) }) 1699 } 1700 1701 #[inline] 1702 #[must_use] zyyz(self) -> Vec41703 fn zyyz(self) -> Vec4 { 1704 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_01_10) }) 1705 } 1706 1707 #[inline] 1708 #[must_use] zyyw(self) -> Vec41709 fn zyyw(self) -> Vec4 { 1710 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_01_10) }) 1711 } 1712 1713 #[inline] 1714 #[must_use] zyzx(self) -> Vec41715 fn zyzx(self) -> Vec4 { 1716 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_01_10) }) 1717 } 1718 1719 #[inline] 1720 #[must_use] zyzy(self) -> Vec41721 fn zyzy(self) -> Vec4 { 1722 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_01_10) }) 1723 } 1724 1725 #[inline] 1726 #[must_use] zyzz(self) -> Vec41727 fn zyzz(self) -> Vec4 { 1728 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_01_10) }) 1729 } 1730 1731 #[inline] 1732 #[must_use] zyzw(self) -> Vec41733 fn zyzw(self) -> Vec4 { 1734 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_01_10) }) 1735 } 1736 1737 #[inline] 1738 #[must_use] zywx(self) -> Vec41739 fn zywx(self) -> Vec4 { 1740 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_01_10) }) 1741 } 1742 1743 #[inline] 1744 #[must_use] zywy(self) -> Vec41745 fn zywy(self) -> Vec4 { 1746 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_01_10) }) 1747 } 1748 1749 #[inline] 1750 #[must_use] zywz(self) -> Vec41751 fn zywz(self) -> Vec4 { 1752 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_01_10) }) 1753 } 1754 1755 #[inline] 1756 #[must_use] zyww(self) -> Vec41757 fn zyww(self) -> Vec4 { 1758 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_01_10) }) 1759 } 1760 1761 #[inline] 1762 #[must_use] zzxx(self) -> Vec41763 fn zzxx(self) -> Vec4 { 1764 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_10_10) }) 1765 } 1766 1767 #[inline] 1768 #[must_use] zzxy(self) -> Vec41769 fn zzxy(self) -> Vec4 { 1770 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_10_10) }) 1771 } 1772 1773 #[inline] 1774 #[must_use] zzxz(self) -> Vec41775 fn zzxz(self) -> Vec4 { 1776 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_10_10) }) 1777 } 1778 1779 #[inline] 1780 #[must_use] zzxw(self) -> Vec41781 fn zzxw(self) -> Vec4 { 1782 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_10_10) }) 1783 } 1784 1785 #[inline] 1786 #[must_use] zzyx(self) -> Vec41787 fn zzyx(self) -> Vec4 { 1788 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_10_10) }) 1789 } 1790 1791 #[inline] 1792 #[must_use] zzyy(self) -> Vec41793 fn zzyy(self) -> Vec4 { 1794 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_10_10) }) 1795 } 1796 1797 #[inline] 1798 #[must_use] zzyz(self) -> Vec41799 fn zzyz(self) -> Vec4 { 1800 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_10_10) }) 1801 } 1802 1803 #[inline] 1804 #[must_use] zzyw(self) -> Vec41805 fn zzyw(self) -> Vec4 { 1806 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_10_10) }) 1807 } 1808 1809 #[inline] 1810 #[must_use] zzzx(self) -> Vec41811 fn zzzx(self) -> Vec4 { 1812 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_10_10) }) 1813 } 1814 1815 #[inline] 1816 #[must_use] zzzy(self) -> Vec41817 fn zzzy(self) -> Vec4 { 1818 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_10_10) }) 1819 } 1820 1821 #[inline] 1822 #[must_use] zzzz(self) -> Vec41823 fn zzzz(self) -> Vec4 { 1824 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_10_10) }) 1825 } 1826 1827 #[inline] 1828 #[must_use] zzzw(self) -> Vec41829 fn zzzw(self) -> Vec4 { 1830 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_10_10) }) 1831 } 1832 1833 #[inline] 1834 #[must_use] zzwx(self) -> Vec41835 fn zzwx(self) -> Vec4 { 1836 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_10_10) }) 1837 } 1838 1839 #[inline] 1840 #[must_use] zzwy(self) -> Vec41841 fn zzwy(self) -> Vec4 { 1842 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_10_10) }) 1843 } 1844 1845 #[inline] 1846 #[must_use] zzwz(self) -> Vec41847 fn zzwz(self) -> Vec4 { 1848 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_10_10) }) 1849 } 1850 1851 #[inline] 1852 #[must_use] zzww(self) -> Vec41853 fn zzww(self) -> Vec4 { 1854 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_10_10) }) 1855 } 1856 1857 #[inline] 1858 #[must_use] zwxx(self) -> Vec41859 fn zwxx(self) -> Vec4 { 1860 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_11_10) }) 1861 } 1862 1863 #[inline] 1864 #[must_use] zwxy(self) -> Vec41865 fn zwxy(self) -> Vec4 { 1866 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_11_10) }) 1867 } 1868 1869 #[inline] 1870 #[must_use] zwxz(self) -> Vec41871 fn zwxz(self) -> Vec4 { 1872 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_11_10) }) 1873 } 1874 1875 #[inline] 1876 #[must_use] zwxw(self) -> Vec41877 fn zwxw(self) -> Vec4 { 1878 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_11_10) }) 1879 } 1880 1881 #[inline] 1882 #[must_use] zwyx(self) -> Vec41883 fn zwyx(self) -> Vec4 { 1884 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_11_10) }) 1885 } 1886 1887 #[inline] 1888 #[must_use] zwyy(self) -> Vec41889 fn zwyy(self) -> Vec4 { 1890 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_11_10) }) 1891 } 1892 1893 #[inline] 1894 #[must_use] zwyz(self) -> Vec41895 fn zwyz(self) -> Vec4 { 1896 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_11_10) }) 1897 } 1898 1899 #[inline] 1900 #[must_use] zwyw(self) -> Vec41901 fn zwyw(self) -> Vec4 { 1902 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_11_10) }) 1903 } 1904 1905 #[inline] 1906 #[must_use] zwzx(self) -> Vec41907 fn zwzx(self) -> Vec4 { 1908 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_11_10) }) 1909 } 1910 1911 #[inline] 1912 #[must_use] zwzy(self) -> Vec41913 fn zwzy(self) -> Vec4 { 1914 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_11_10) }) 1915 } 1916 1917 #[inline] 1918 #[must_use] zwzz(self) -> Vec41919 fn zwzz(self) -> Vec4 { 1920 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_11_10) }) 1921 } 1922 1923 #[inline] 1924 #[must_use] zwzw(self) -> Vec41925 fn zwzw(self) -> Vec4 { 1926 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_11_10) }) 1927 } 1928 1929 #[inline] 1930 #[must_use] zwwx(self) -> Vec41931 fn zwwx(self) -> Vec4 { 1932 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_11_10) }) 1933 } 1934 1935 #[inline] 1936 #[must_use] zwwy(self) -> Vec41937 fn zwwy(self) -> Vec4 { 1938 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_11_10) }) 1939 } 1940 1941 #[inline] 1942 #[must_use] zwwz(self) -> Vec41943 fn zwwz(self) -> Vec4 { 1944 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_11_10) }) 1945 } 1946 1947 #[inline] 1948 #[must_use] zwww(self) -> Vec41949 fn zwww(self) -> Vec4 { 1950 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_11_10) }) 1951 } 1952 1953 #[inline] 1954 #[must_use] wxxx(self) -> Vec41955 fn wxxx(self) -> Vec4 { 1956 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_00_11) }) 1957 } 1958 1959 #[inline] 1960 #[must_use] wxxy(self) -> Vec41961 fn wxxy(self) -> Vec4 { 1962 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_00_11) }) 1963 } 1964 1965 #[inline] 1966 #[must_use] wxxz(self) -> Vec41967 fn wxxz(self) -> Vec4 { 1968 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_00_11) }) 1969 } 1970 1971 #[inline] 1972 #[must_use] wxxw(self) -> Vec41973 fn wxxw(self) -> Vec4 { 1974 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_00_11) }) 1975 } 1976 1977 #[inline] 1978 #[must_use] wxyx(self) -> Vec41979 fn wxyx(self) -> Vec4 { 1980 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_00_11) }) 1981 } 1982 1983 #[inline] 1984 #[must_use] wxyy(self) -> Vec41985 fn wxyy(self) -> Vec4 { 1986 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_00_11) }) 1987 } 1988 1989 #[inline] 1990 #[must_use] wxyz(self) -> Vec41991 fn wxyz(self) -> Vec4 { 1992 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_00_11) }) 1993 } 1994 1995 #[inline] 1996 #[must_use] wxyw(self) -> Vec41997 fn wxyw(self) -> Vec4 { 1998 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_00_11) }) 1999 } 2000 2001 #[inline] 2002 #[must_use] wxzx(self) -> Vec42003 fn wxzx(self) -> Vec4 { 2004 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_00_11) }) 2005 } 2006 2007 #[inline] 2008 #[must_use] wxzy(self) -> Vec42009 fn wxzy(self) -> Vec4 { 2010 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_00_11) }) 2011 } 2012 2013 #[inline] 2014 #[must_use] wxzz(self) -> Vec42015 fn wxzz(self) -> Vec4 { 2016 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_00_11) }) 2017 } 2018 2019 #[inline] 2020 #[must_use] wxzw(self) -> Vec42021 fn wxzw(self) -> Vec4 { 2022 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_00_11) }) 2023 } 2024 2025 #[inline] 2026 #[must_use] wxwx(self) -> Vec42027 fn wxwx(self) -> Vec4 { 2028 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_00_11) }) 2029 } 2030 2031 #[inline] 2032 #[must_use] wxwy(self) -> Vec42033 fn wxwy(self) -> Vec4 { 2034 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_00_11) }) 2035 } 2036 2037 #[inline] 2038 #[must_use] wxwz(self) -> Vec42039 fn wxwz(self) -> Vec4 { 2040 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_00_11) }) 2041 } 2042 2043 #[inline] 2044 #[must_use] wxww(self) -> Vec42045 fn wxww(self) -> Vec4 { 2046 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_00_11) }) 2047 } 2048 2049 #[inline] 2050 #[must_use] wyxx(self) -> Vec42051 fn wyxx(self) -> Vec4 { 2052 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_01_11) }) 2053 } 2054 2055 #[inline] 2056 #[must_use] wyxy(self) -> Vec42057 fn wyxy(self) -> Vec4 { 2058 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_01_11) }) 2059 } 2060 2061 #[inline] 2062 #[must_use] wyxz(self) -> Vec42063 fn wyxz(self) -> Vec4 { 2064 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_01_11) }) 2065 } 2066 2067 #[inline] 2068 #[must_use] wyxw(self) -> Vec42069 fn wyxw(self) -> Vec4 { 2070 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_01_11) }) 2071 } 2072 2073 #[inline] 2074 #[must_use] wyyx(self) -> Vec42075 fn wyyx(self) -> Vec4 { 2076 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_01_11) }) 2077 } 2078 2079 #[inline] 2080 #[must_use] wyyy(self) -> Vec42081 fn wyyy(self) -> Vec4 { 2082 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_01_11) }) 2083 } 2084 2085 #[inline] 2086 #[must_use] wyyz(self) -> Vec42087 fn wyyz(self) -> Vec4 { 2088 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_01_11) }) 2089 } 2090 2091 #[inline] 2092 #[must_use] wyyw(self) -> Vec42093 fn wyyw(self) -> Vec4 { 2094 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_01_11) }) 2095 } 2096 2097 #[inline] 2098 #[must_use] wyzx(self) -> Vec42099 fn wyzx(self) -> Vec4 { 2100 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_01_11) }) 2101 } 2102 2103 #[inline] 2104 #[must_use] wyzy(self) -> Vec42105 fn wyzy(self) -> Vec4 { 2106 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_01_11) }) 2107 } 2108 2109 #[inline] 2110 #[must_use] wyzz(self) -> Vec42111 fn wyzz(self) -> Vec4 { 2112 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_01_11) }) 2113 } 2114 2115 #[inline] 2116 #[must_use] wyzw(self) -> Vec42117 fn wyzw(self) -> Vec4 { 2118 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_01_11) }) 2119 } 2120 2121 #[inline] 2122 #[must_use] wywx(self) -> Vec42123 fn wywx(self) -> Vec4 { 2124 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_01_11) }) 2125 } 2126 2127 #[inline] 2128 #[must_use] wywy(self) -> Vec42129 fn wywy(self) -> Vec4 { 2130 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_01_11) }) 2131 } 2132 2133 #[inline] 2134 #[must_use] wywz(self) -> Vec42135 fn wywz(self) -> Vec4 { 2136 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_01_11) }) 2137 } 2138 2139 #[inline] 2140 #[must_use] wyww(self) -> Vec42141 fn wyww(self) -> Vec4 { 2142 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_01_11) }) 2143 } 2144 2145 #[inline] 2146 #[must_use] wzxx(self) -> Vec42147 fn wzxx(self) -> Vec4 { 2148 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_10_11) }) 2149 } 2150 2151 #[inline] 2152 #[must_use] wzxy(self) -> Vec42153 fn wzxy(self) -> Vec4 { 2154 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_10_11) }) 2155 } 2156 2157 #[inline] 2158 #[must_use] wzxz(self) -> Vec42159 fn wzxz(self) -> Vec4 { 2160 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_10_11) }) 2161 } 2162 2163 #[inline] 2164 #[must_use] wzxw(self) -> Vec42165 fn wzxw(self) -> Vec4 { 2166 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_10_11) }) 2167 } 2168 2169 #[inline] 2170 #[must_use] wzyx(self) -> Vec42171 fn wzyx(self) -> Vec4 { 2172 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_10_11) }) 2173 } 2174 2175 #[inline] 2176 #[must_use] wzyy(self) -> Vec42177 fn wzyy(self) -> Vec4 { 2178 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_10_11) }) 2179 } 2180 2181 #[inline] 2182 #[must_use] wzyz(self) -> Vec42183 fn wzyz(self) -> Vec4 { 2184 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_10_11) }) 2185 } 2186 2187 #[inline] 2188 #[must_use] wzyw(self) -> Vec42189 fn wzyw(self) -> Vec4 { 2190 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_10_11) }) 2191 } 2192 2193 #[inline] 2194 #[must_use] wzzx(self) -> Vec42195 fn wzzx(self) -> Vec4 { 2196 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_10_11) }) 2197 } 2198 2199 #[inline] 2200 #[must_use] wzzy(self) -> Vec42201 fn wzzy(self) -> Vec4 { 2202 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_10_11) }) 2203 } 2204 2205 #[inline] 2206 #[must_use] wzzz(self) -> Vec42207 fn wzzz(self) -> Vec4 { 2208 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_10_11) }) 2209 } 2210 2211 #[inline] 2212 #[must_use] wzzw(self) -> Vec42213 fn wzzw(self) -> Vec4 { 2214 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_10_11) }) 2215 } 2216 2217 #[inline] 2218 #[must_use] wzwx(self) -> Vec42219 fn wzwx(self) -> Vec4 { 2220 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_10_11) }) 2221 } 2222 2223 #[inline] 2224 #[must_use] wzwy(self) -> Vec42225 fn wzwy(self) -> Vec4 { 2226 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_10_11) }) 2227 } 2228 2229 #[inline] 2230 #[must_use] wzwz(self) -> Vec42231 fn wzwz(self) -> Vec4 { 2232 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_10_11) }) 2233 } 2234 2235 #[inline] 2236 #[must_use] wzww(self) -> Vec42237 fn wzww(self) -> Vec4 { 2238 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_10_11) }) 2239 } 2240 2241 #[inline] 2242 #[must_use] wwxx(self) -> Vec42243 fn wwxx(self) -> Vec4 { 2244 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_00_11_11) }) 2245 } 2246 2247 #[inline] 2248 #[must_use] wwxy(self) -> Vec42249 fn wwxy(self) -> Vec4 { 2250 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_00_11_11) }) 2251 } 2252 2253 #[inline] 2254 #[must_use] wwxz(self) -> Vec42255 fn wwxz(self) -> Vec4 { 2256 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_00_11_11) }) 2257 } 2258 2259 #[inline] 2260 #[must_use] wwxw(self) -> Vec42261 fn wwxw(self) -> Vec4 { 2262 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_00_11_11) }) 2263 } 2264 2265 #[inline] 2266 #[must_use] wwyx(self) -> Vec42267 fn wwyx(self) -> Vec4 { 2268 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_01_11_11) }) 2269 } 2270 2271 #[inline] 2272 #[must_use] wwyy(self) -> Vec42273 fn wwyy(self) -> Vec4 { 2274 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_01_11_11) }) 2275 } 2276 2277 #[inline] 2278 #[must_use] wwyz(self) -> Vec42279 fn wwyz(self) -> Vec4 { 2280 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_01_11_11) }) 2281 } 2282 2283 #[inline] 2284 #[must_use] wwyw(self) -> Vec42285 fn wwyw(self) -> Vec4 { 2286 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_01_11_11) }) 2287 } 2288 2289 #[inline] 2290 #[must_use] wwzx(self) -> Vec42291 fn wwzx(self) -> Vec4 { 2292 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_10_11_11) }) 2293 } 2294 2295 #[inline] 2296 #[must_use] wwzy(self) -> Vec42297 fn wwzy(self) -> Vec4 { 2298 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_10_11_11) }) 2299 } 2300 2301 #[inline] 2302 #[must_use] wwzz(self) -> Vec42303 fn wwzz(self) -> Vec4 { 2304 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_10_11_11) }) 2305 } 2306 2307 #[inline] 2308 #[must_use] wwzw(self) -> Vec42309 fn wwzw(self) -> Vec4 { 2310 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_10_11_11) }) 2311 } 2312 2313 #[inline] 2314 #[must_use] wwwx(self) -> Vec42315 fn wwwx(self) -> Vec4 { 2316 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b00_11_11_11) }) 2317 } 2318 2319 #[inline] 2320 #[must_use] wwwy(self) -> Vec42321 fn wwwy(self) -> Vec4 { 2322 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b01_11_11_11) }) 2323 } 2324 2325 #[inline] 2326 #[must_use] wwwz(self) -> Vec42327 fn wwwz(self) -> Vec4 { 2328 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b10_11_11_11) }) 2329 } 2330 2331 #[inline] 2332 #[must_use] wwww(self) -> Vec42333 fn wwww(self) -> Vec4 { 2334 Vec4(unsafe { _mm_shuffle_ps(self.0, self.0, 0b11_11_11_11) }) 2335 } 2336 } 2337