| ... | ... | @@ -643,6 +643,22 @@ pub const HWCAP = switch (native_arch) { |
| 643 | 643 | pub const IDIV = IDIVA | IDIVT; |
| 644 | 644 | pub const LPAE = 1 << 20; |
| 645 | 645 | pub const EVTSTRM = 1 << 21; |
| 646 | pub const FPHP = 1 << 22; |
| 647 | pub const ASIMDHP = 1 << 23; |
| 648 | pub const ASIMDDP = 1 << 24; |
| 649 | pub const ASIMDFHM = 1 << 25; |
| 650 | pub const ASIMDBF16 = 1 << 26; |
| 651 | pub const I8MM = 1 << 27; |
| 652 | |
| 653 | pub const @"2" = struct { |
| 654 | pub const AES = 1 << 0; |
| 655 | pub const PMULL = 1 << 1; |
| 656 | pub const SHA1 = 1 << 2; |
| 657 | pub const SHA2 = 1 << 3; |
| 658 | pub const CRC32 = 1 << 4; |
| 659 | pub const SB = 1 << 5; |
| 660 | pub const SSBS = 1 << 6; |
| 661 | }; |
| 646 | 662 | }, |
| 647 | 663 | .loongarch32, .loongarch64 => struct { |
| 648 | 664 | pub const CPUCFG = 1 << 0; |