| ... | ... | @@ -1001,17 +1001,22 @@ pub const Cpu = struct { |
| 1001 | 1001 | }; |
| 1002 | 1002 | |
| 1003 | 1003 | pub const Arch = enum { |
| 1004 | amdgcn, |
| 1005 | arc, |
| 1004 | 1006 | arm, |
| 1005 | 1007 | armeb, |
| 1008 | thumb, |
| 1009 | thumbeb, |
| 1006 | 1010 | aarch64, |
| 1007 | 1011 | aarch64_be, |
| 1008 | | arc, |
| 1009 | 1012 | avr, |
| 1010 | 1013 | bpfel, |
| 1011 | 1014 | bpfeb, |
| 1012 | 1015 | csky, |
| 1013 | 1016 | dxil, |
| 1014 | 1017 | hexagon, |
| 1018 | kalimba, |
| 1019 | lanai, |
| 1015 | 1020 | loongarch32, |
| 1016 | 1021 | loongarch64, |
| 1017 | 1022 | m68k, |
| ... | ... | @@ -1020,51 +1025,46 @@ pub const Cpu = struct { |
| 1020 | 1025 | mips64, |
| 1021 | 1026 | mips64el, |
| 1022 | 1027 | msp430, |
| 1028 | nvptx, |
| 1029 | nvptx64, |
| 1023 | 1030 | powerpc, |
| 1024 | 1031 | powerpcle, |
| 1025 | 1032 | powerpc64, |
| 1026 | 1033 | powerpc64le, |
| 1027 | | amdgcn, |
| 1028 | 1034 | riscv32, |
| 1029 | 1035 | riscv64, |
| 1036 | s390x, |
| 1030 | 1037 | sparc, |
| 1031 | 1038 | sparc64, |
| 1032 | | s390x, |
| 1033 | | thumb, |
| 1034 | | thumbeb, |
| 1035 | | x86, |
| 1036 | | x86_64, |
| 1037 | | xcore, |
| 1038 | | xtensa, |
| 1039 | | nvptx, |
| 1040 | | nvptx64, |
| 1041 | 1039 | spirv, |
| 1042 | 1040 | spirv32, |
| 1043 | 1041 | spirv64, |
| 1044 | | kalimba, |
| 1045 | | lanai, |
| 1042 | spu_2, |
| 1043 | ve, |
| 1046 | 1044 | wasm32, |
| 1047 | 1045 | wasm64, |
| 1048 | | ve, |
| 1049 | | spu_2, |
| 1046 | x86, |
| 1047 | x86_64, |
| 1048 | xcore, |
| 1049 | xtensa, |
| 1050 | 1050 | |
| 1051 | 1051 | // LLVM tags deliberately omitted: |
| 1052 | 1052 | // - aarch64_32 |
| 1053 | | // - r600 |
| 1054 | | // - sparcel |
| 1055 | | // - tce |
| 1056 | | // - tcele |
| 1057 | | // - le32 |
| 1058 | | // - le64 |
| 1059 | 1053 | // - amdil |
| 1060 | 1054 | // - amdil64 |
| 1055 | // - le32 |
| 1056 | // - le64 |
| 1057 | // - r600 |
| 1061 | 1058 | // - hsail |
| 1062 | 1059 | // - hsail64 |
| 1063 | | // - spir |
| 1064 | | // - spir64 |
| 1065 | | // - shave |
| 1066 | 1060 | // - renderscript32 |
| 1067 | 1061 | // - renderscript64 |
| 1062 | // - shave |
| 1063 | // - sparcel |
| 1064 | // - spir |
| 1065 | // - spir64 |
| 1066 | // - tce |
| 1067 | // - tcele |
| 1068 | 1068 | |
| 1069 | 1069 | pub inline fn isX86(arch: Arch) bool { |
| 1070 | 1070 | return switch (arch) { |