| ... | ... | @@ -1,13 +1,12 @@ |
| 1 | | // SPDX-License-Identifier: MIT |
| 2 | | // Copyright (c) 2015-2021 Zig Contributors |
| 3 | | // This file is part of [zig](https://ziglang.org/), which is MIT licensed. |
| 4 | | // The MIT license requires this copyright notice to be included in all copies |
| 5 | | // and substantial portions of the software. |
| 1 | //! This file is auto-generated by tools/update_cpu_features.zig. |
| 2 | |
| 6 | 3 | const std = @import("../std.zig"); |
| 7 | 4 | const CpuFeature = std.Target.Cpu.Feature; |
| 8 | 5 | const CpuModel = std.Target.Cpu.Model; |
| 9 | 6 | |
| 10 | 7 | pub const Feature = enum { |
| 8 | @"16bit_mode", |
| 9 | @"32bit_mode", |
| 11 | 10 | @"3dnow", |
| 12 | 11 | @"3dnowa", |
| 13 | 12 | @"64bit", |
| ... | ... | @@ -154,6 +153,16 @@ pub const all_features = blk: { |
| 154 | 153 | const len = @typeInfo(Feature).Enum.fields.len; |
| 155 | 154 | std.debug.assert(len <= CpuFeature.Set.needed_bit_count); |
| 156 | 155 | var result: [len]CpuFeature = undefined; |
| 156 | result[@enumToInt(Feature.@"16bit_mode")] = .{ |
| 157 | .llvm_name = "16bit-mode", |
| 158 | .description = "16-bit mode (i8086)", |
| 159 | .dependencies = featureSet(&[_]Feature{}), |
| 160 | }; |
| 161 | result[@enumToInt(Feature.@"32bit_mode")] = .{ |
| 162 | .llvm_name = "32bit-mode", |
| 163 | .description = "32-bit mode (80386)", |
| 164 | .dependencies = featureSet(&[_]Feature{}), |
| 165 | }; |
| 157 | 166 | result[@enumToInt(Feature.@"3dnow")] = .{ |
| 158 | 167 | .llvm_name = "3dnow", |
| 159 | 168 | .description = "Enable 3DNow! instructions", |
| ... | ... | @@ -960,8 +969,6 @@ pub const cpu = struct { |
| 960 | 969 | .@"64bit", |
| 961 | 970 | .adx, |
| 962 | 971 | .aes, |
| 963 | | .avx, |
| 964 | | .avx2, |
| 965 | 972 | .avxvnni, |
| 966 | 973 | .bmi, |
| 967 | 974 | .bmi2, |
| ... | ... | @@ -969,15 +976,23 @@ pub const cpu = struct { |
| 969 | 976 | .clflushopt, |
| 970 | 977 | .cmov, |
| 971 | 978 | .cx16, |
| 972 | | .cx8, |
| 973 | 979 | .ermsb, |
| 974 | 980 | .f16c, |
| 981 | .false_deps_popcnt, |
| 982 | .fast_15bytenop, |
| 983 | .fast_gather, |
| 984 | .fast_scalar_fsqrt, |
| 985 | .fast_shld_rotate, |
| 986 | .fast_variable_shuffle, |
| 987 | .fast_vector_fsqrt, |
| 975 | 988 | .fma, |
| 976 | 989 | .fsgsbase, |
| 977 | 990 | .fxsr, |
| 978 | 991 | .hreset, |
| 992 | .idivq_to_divl, |
| 979 | 993 | .invpcid, |
| 980 | 994 | .lzcnt, |
| 995 | .macrofusion, |
| 981 | 996 | .mmx, |
| 982 | 997 | .movbe, |
| 983 | 998 | .nopl, |
| ... | ... | @@ -990,11 +1005,10 @@ pub const cpu = struct { |
| 990 | 1005 | .sahf, |
| 991 | 1006 | .serialize, |
| 992 | 1007 | .sgx, |
| 993 | | .sse2, |
| 994 | | .sse4_2, |
| 1008 | .slow_3ops_lea, |
| 1009 | .vzeroupper, |
| 995 | 1010 | .waitpkg, |
| 996 | 1011 | .x87, |
| 997 | | .xsave, |
| 998 | 1012 | .xsavec, |
| 999 | 1013 | .xsaveopt, |
| 1000 | 1014 | .xsaves, |
| ... | ... | @@ -1008,14 +1022,16 @@ pub const cpu = struct { |
| 1008 | 1022 | .@"64bit", |
| 1009 | 1023 | .cmov, |
| 1010 | 1024 | .cx16, |
| 1011 | | .cx8, |
| 1025 | .fast_scalar_shift_masks, |
| 1012 | 1026 | .fxsr, |
| 1013 | 1027 | .lzcnt, |
| 1014 | 1028 | .nopl, |
| 1015 | 1029 | .popcnt, |
| 1016 | 1030 | .prfchw, |
| 1017 | 1031 | .sahf, |
| 1032 | .slow_shld, |
| 1018 | 1033 | .sse4a, |
| 1034 | .vzeroupper, |
| 1019 | 1035 | .x87, |
| 1020 | 1036 | }), |
| 1021 | 1037 | }; |
| ... | ... | @@ -1027,6 +1043,9 @@ pub const cpu = struct { |
| 1027 | 1043 | .cmov, |
| 1028 | 1044 | .cx8, |
| 1029 | 1045 | .nopl, |
| 1046 | .slow_shld, |
| 1047 | .slow_unaligned_mem_16, |
| 1048 | .vzeroupper, |
| 1030 | 1049 | .x87, |
| 1031 | 1050 | }), |
| 1032 | 1051 | }; |
| ... | ... | @@ -1039,7 +1058,10 @@ pub const cpu = struct { |
| 1039 | 1058 | .cx8, |
| 1040 | 1059 | .fxsr, |
| 1041 | 1060 | .nopl, |
| 1061 | .slow_shld, |
| 1062 | .slow_unaligned_mem_16, |
| 1042 | 1063 | .sse, |
| 1064 | .vzeroupper, |
| 1043 | 1065 | .x87, |
| 1044 | 1066 | }), |
| 1045 | 1067 | }; |
| ... | ... | @@ -1051,9 +1073,13 @@ pub const cpu = struct { |
| 1051 | 1073 | .@"64bit", |
| 1052 | 1074 | .cmov, |
| 1053 | 1075 | .cx8, |
| 1076 | .fast_scalar_shift_masks, |
| 1054 | 1077 | .fxsr, |
| 1055 | 1078 | .nopl, |
| 1079 | .slow_shld, |
| 1080 | .slow_unaligned_mem_16, |
| 1056 | 1081 | .sse2, |
| 1082 | .vzeroupper, |
| 1057 | 1083 | .x87, |
| 1058 | 1084 | }), |
| 1059 | 1085 | }; |
| ... | ... | @@ -1066,7 +1092,10 @@ pub const cpu = struct { |
| 1066 | 1092 | .cx8, |
| 1067 | 1093 | .fxsr, |
| 1068 | 1094 | .nopl, |
| 1095 | .slow_shld, |
| 1096 | .slow_unaligned_mem_16, |
| 1069 | 1097 | .sse, |
| 1098 | .vzeroupper, |
| 1070 | 1099 | .x87, |
| 1071 | 1100 | }), |
| 1072 | 1101 | }; |
| ... | ... | @@ -1078,6 +1107,9 @@ pub const cpu = struct { |
| 1078 | 1107 | .cmov, |
| 1079 | 1108 | .cx8, |
| 1080 | 1109 | .nopl, |
| 1110 | .slow_shld, |
| 1111 | .slow_unaligned_mem_16, |
| 1112 | .vzeroupper, |
| 1081 | 1113 | .x87, |
| 1082 | 1114 | }), |
| 1083 | 1115 | }; |
| ... | ... | @@ -1090,7 +1122,10 @@ pub const cpu = struct { |
| 1090 | 1122 | .cx8, |
| 1091 | 1123 | .fxsr, |
| 1092 | 1124 | .nopl, |
| 1125 | .slow_shld, |
| 1126 | .slow_unaligned_mem_16, |
| 1093 | 1127 | .sse, |
| 1128 | .vzeroupper, |
| 1094 | 1129 | .x87, |
| 1095 | 1130 | }), |
| 1096 | 1131 | }; |
| ... | ... | @@ -1102,9 +1137,13 @@ pub const cpu = struct { |
| 1102 | 1137 | .@"64bit", |
| 1103 | 1138 | .cmov, |
| 1104 | 1139 | .cx8, |
| 1140 | .fast_scalar_shift_masks, |
| 1105 | 1141 | .fxsr, |
| 1106 | 1142 | .nopl, |
| 1143 | .slow_shld, |
| 1144 | .slow_unaligned_mem_16, |
| 1107 | 1145 | .sse2, |
| 1146 | .vzeroupper, |
| 1108 | 1147 | .x87, |
| 1109 | 1148 | }), |
| 1110 | 1149 | }; |
| ... | ... | @@ -1116,10 +1155,13 @@ pub const cpu = struct { |
| 1116 | 1155 | .@"64bit", |
| 1117 | 1156 | .cmov, |
| 1118 | 1157 | .cx16, |
| 1119 | | .cx8, |
| 1158 | .fast_scalar_shift_masks, |
| 1120 | 1159 | .fxsr, |
| 1121 | 1160 | .nopl, |
| 1161 | .slow_shld, |
| 1162 | .slow_unaligned_mem_16, |
| 1122 | 1163 | .sse3, |
| 1164 | .vzeroupper, |
| 1123 | 1165 | .x87, |
| 1124 | 1166 | }), |
| 1125 | 1167 | }; |
| ... | ... | @@ -1130,13 +1172,20 @@ pub const cpu = struct { |
| 1130 | 1172 | .@"64bit", |
| 1131 | 1173 | .cmov, |
| 1132 | 1174 | .cx16, |
| 1133 | | .cx8, |
| 1134 | 1175 | .fxsr, |
| 1176 | .idivl_to_divb, |
| 1177 | .idivq_to_divl, |
| 1178 | .lea_sp, |
| 1179 | .lea_uses_ag, |
| 1135 | 1180 | .mmx, |
| 1136 | 1181 | .movbe, |
| 1137 | 1182 | .nopl, |
| 1183 | .pad_short_functions, |
| 1138 | 1184 | .sahf, |
| 1185 | .slow_two_mem_ops, |
| 1186 | .slow_unaligned_mem_16, |
| 1139 | 1187 | .ssse3, |
| 1188 | .vzeroupper, |
| 1140 | 1189 | .x87, |
| 1141 | 1190 | }), |
| 1142 | 1191 | }; |
| ... | ... | @@ -1148,14 +1197,16 @@ pub const cpu = struct { |
| 1148 | 1197 | .@"64bit", |
| 1149 | 1198 | .cmov, |
| 1150 | 1199 | .cx16, |
| 1151 | | .cx8, |
| 1200 | .fast_scalar_shift_masks, |
| 1152 | 1201 | .fxsr, |
| 1153 | 1202 | .lzcnt, |
| 1154 | 1203 | .nopl, |
| 1155 | 1204 | .popcnt, |
| 1156 | 1205 | .prfchw, |
| 1157 | 1206 | .sahf, |
| 1207 | .slow_shld, |
| 1158 | 1208 | .sse4a, |
| 1209 | .vzeroupper, |
| 1159 | 1210 | .x87, |
| 1160 | 1211 | }), |
| 1161 | 1212 | }; |
| ... | ... | @@ -1165,9 +1216,11 @@ pub const cpu = struct { |
| 1165 | 1216 | .features = featureSet(&[_]Feature{ |
| 1166 | 1217 | .@"64bit", |
| 1167 | 1218 | .aes, |
| 1219 | .branchfusion, |
| 1168 | 1220 | .cmov, |
| 1169 | 1221 | .cx16, |
| 1170 | | .cx8, |
| 1222 | .fast_11bytenop, |
| 1223 | .fast_scalar_shift_masks, |
| 1171 | 1224 | .fxsr, |
| 1172 | 1225 | .lwp, |
| 1173 | 1226 | .lzcnt, |
| ... | ... | @@ -1177,6 +1230,8 @@ pub const cpu = struct { |
| 1177 | 1230 | .popcnt, |
| 1178 | 1231 | .prfchw, |
| 1179 | 1232 | .sahf, |
| 1233 | .slow_shld, |
| 1234 | .vzeroupper, |
| 1180 | 1235 | .x87, |
| 1181 | 1236 | .xop, |
| 1182 | 1237 | .xsave, |
| ... | ... | @@ -1189,11 +1244,13 @@ pub const cpu = struct { |
| 1189 | 1244 | .@"64bit", |
| 1190 | 1245 | .aes, |
| 1191 | 1246 | .bmi, |
| 1247 | .branchfusion, |
| 1192 | 1248 | .cmov, |
| 1193 | 1249 | .cx16, |
| 1194 | | .cx8, |
| 1195 | 1250 | .f16c, |
| 1251 | .fast_11bytenop, |
| 1196 | 1252 | .fast_bextr, |
| 1253 | .fast_scalar_shift_masks, |
| 1197 | 1254 | .fma, |
| 1198 | 1255 | .fxsr, |
| 1199 | 1256 | .lwp, |
| ... | ... | @@ -1204,7 +1261,9 @@ pub const cpu = struct { |
| 1204 | 1261 | .popcnt, |
| 1205 | 1262 | .prfchw, |
| 1206 | 1263 | .sahf, |
| 1264 | .slow_shld, |
| 1207 | 1265 | .tbm, |
| 1266 | .vzeroupper, |
| 1208 | 1267 | .x87, |
| 1209 | 1268 | .xop, |
| 1210 | 1269 | .xsave, |
| ... | ... | @@ -1217,11 +1276,13 @@ pub const cpu = struct { |
| 1217 | 1276 | .@"64bit", |
| 1218 | 1277 | .aes, |
| 1219 | 1278 | .bmi, |
| 1279 | .branchfusion, |
| 1220 | 1280 | .cmov, |
| 1221 | 1281 | .cx16, |
| 1222 | | .cx8, |
| 1223 | 1282 | .f16c, |
| 1283 | .fast_11bytenop, |
| 1224 | 1284 | .fast_bextr, |
| 1285 | .fast_scalar_shift_masks, |
| 1225 | 1286 | .fma, |
| 1226 | 1287 | .fsgsbase, |
| 1227 | 1288 | .fxsr, |
| ... | ... | @@ -1233,10 +1294,11 @@ pub const cpu = struct { |
| 1233 | 1294 | .popcnt, |
| 1234 | 1295 | .prfchw, |
| 1235 | 1296 | .sahf, |
| 1297 | .slow_shld, |
| 1236 | 1298 | .tbm, |
| 1299 | .vzeroupper, |
| 1237 | 1300 | .x87, |
| 1238 | 1301 | .xop, |
| 1239 | | .xsave, |
| 1240 | 1302 | .xsaveopt, |
| 1241 | 1303 | }), |
| 1242 | 1304 | }; |
| ... | ... | @@ -1249,11 +1311,13 @@ pub const cpu = struct { |
| 1249 | 1311 | .avx2, |
| 1250 | 1312 | .bmi, |
| 1251 | 1313 | .bmi2, |
| 1314 | .branchfusion, |
| 1252 | 1315 | .cmov, |
| 1253 | 1316 | .cx16, |
| 1254 | | .cx8, |
| 1255 | 1317 | .f16c, |
| 1318 | .fast_11bytenop, |
| 1256 | 1319 | .fast_bextr, |
| 1320 | .fast_scalar_shift_masks, |
| 1257 | 1321 | .fma, |
| 1258 | 1322 | .fsgsbase, |
| 1259 | 1323 | .fxsr, |
| ... | ... | @@ -1268,10 +1332,11 @@ pub const cpu = struct { |
| 1268 | 1332 | .prfchw, |
| 1269 | 1333 | .rdrnd, |
| 1270 | 1334 | .sahf, |
| 1335 | .slow_shld, |
| 1271 | 1336 | .tbm, |
| 1337 | .vzeroupper, |
| 1272 | 1338 | .x87, |
| 1273 | 1339 | .xop, |
| 1274 | | .xsave, |
| 1275 | 1340 | .xsaveopt, |
| 1276 | 1341 | }), |
| 1277 | 1342 | }; |
| ... | ... | @@ -1282,13 +1347,20 @@ pub const cpu = struct { |
| 1282 | 1347 | .@"64bit", |
| 1283 | 1348 | .cmov, |
| 1284 | 1349 | .cx16, |
| 1285 | | .cx8, |
| 1286 | 1350 | .fxsr, |
| 1351 | .idivl_to_divb, |
| 1352 | .idivq_to_divl, |
| 1353 | .lea_sp, |
| 1354 | .lea_uses_ag, |
| 1287 | 1355 | .mmx, |
| 1288 | 1356 | .movbe, |
| 1289 | 1357 | .nopl, |
| 1358 | .pad_short_functions, |
| 1290 | 1359 | .sahf, |
| 1360 | .slow_two_mem_ops, |
| 1361 | .slow_unaligned_mem_16, |
| 1291 | 1362 | .ssse3, |
| 1363 | .vzeroupper, |
| 1292 | 1364 | .x87, |
| 1293 | 1365 | }), |
| 1294 | 1366 | }; |
| ... | ... | @@ -1298,20 +1370,26 @@ pub const cpu = struct { |
| 1298 | 1370 | .features = featureSet(&[_]Feature{ |
| 1299 | 1371 | .@"64bit", |
| 1300 | 1372 | .adx, |
| 1301 | | .avx, |
| 1302 | 1373 | .avx2, |
| 1303 | 1374 | .bmi, |
| 1304 | 1375 | .bmi2, |
| 1305 | 1376 | .cmov, |
| 1306 | 1377 | .cx16, |
| 1307 | | .cx8, |
| 1308 | 1378 | .ermsb, |
| 1309 | 1379 | .f16c, |
| 1380 | .false_deps_lzcnt_tzcnt, |
| 1381 | .false_deps_popcnt, |
| 1382 | .fast_15bytenop, |
| 1383 | .fast_scalar_fsqrt, |
| 1384 | .fast_shld_rotate, |
| 1385 | .fast_variable_shuffle, |
| 1310 | 1386 | .fma, |
| 1311 | 1387 | .fsgsbase, |
| 1312 | 1388 | .fxsr, |
| 1389 | .idivq_to_divl, |
| 1313 | 1390 | .invpcid, |
| 1314 | 1391 | .lzcnt, |
| 1392 | .macrofusion, |
| 1315 | 1393 | .mmx, |
| 1316 | 1394 | .movbe, |
| 1317 | 1395 | .nopl, |
| ... | ... | @@ -1321,10 +1399,9 @@ pub const cpu = struct { |
| 1321 | 1399 | .rdrnd, |
| 1322 | 1400 | .rdseed, |
| 1323 | 1401 | .sahf, |
| 1324 | | .sse2, |
| 1325 | | .sse4_2, |
| 1402 | .slow_3ops_lea, |
| 1403 | .vzeroupper, |
| 1326 | 1404 | .x87, |
| 1327 | | .xsave, |
| 1328 | 1405 | .xsaveopt, |
| 1329 | 1406 | }), |
| 1330 | 1407 | }; |
| ... | ... | @@ -1335,7 +1412,9 @@ pub const cpu = struct { |
| 1335 | 1412 | .@"64bit", |
| 1336 | 1413 | .cmov, |
| 1337 | 1414 | .cx16, |
| 1338 | | .cx8, |
| 1415 | .fast_15bytenop, |
| 1416 | .fast_scalar_shift_masks, |
| 1417 | .fast_vector_shift_masks, |
| 1339 | 1418 | .fxsr, |
| 1340 | 1419 | .lzcnt, |
| 1341 | 1420 | .mmx, |
| ... | ... | @@ -1343,8 +1422,10 @@ pub const cpu = struct { |
| 1343 | 1422 | .popcnt, |
| 1344 | 1423 | .prfchw, |
| 1345 | 1424 | .sahf, |
| 1425 | .slow_shld, |
| 1346 | 1426 | .sse4a, |
| 1347 | 1427 | .ssse3, |
| 1428 | .vzeroupper, |
| 1348 | 1429 | .x87, |
| 1349 | 1430 | }), |
| 1350 | 1431 | }; |
| ... | ... | @@ -1354,12 +1435,16 @@ pub const cpu = struct { |
| 1354 | 1435 | .features = featureSet(&[_]Feature{ |
| 1355 | 1436 | .@"64bit", |
| 1356 | 1437 | .aes, |
| 1357 | | .avx, |
| 1358 | 1438 | .bmi, |
| 1359 | 1439 | .cmov, |
| 1360 | 1440 | .cx16, |
| 1361 | | .cx8, |
| 1362 | 1441 | .f16c, |
| 1442 | .fast_15bytenop, |
| 1443 | .fast_bextr, |
| 1444 | .fast_hops, |
| 1445 | .fast_lzcnt, |
| 1446 | .fast_scalar_shift_masks, |
| 1447 | .fast_vector_shift_masks, |
| 1363 | 1448 | .fxsr, |
| 1364 | 1449 | .lzcnt, |
| 1365 | 1450 | .mmx, |
| ... | ... | @@ -1369,10 +1454,9 @@ pub const cpu = struct { |
| 1369 | 1454 | .popcnt, |
| 1370 | 1455 | .prfchw, |
| 1371 | 1456 | .sahf, |
| 1457 | .slow_shld, |
| 1372 | 1458 | .sse4a, |
| 1373 | | .ssse3, |
| 1374 | 1459 | .x87, |
| 1375 | | .xsave, |
| 1376 | 1460 | .xsaveopt, |
| 1377 | 1461 | }), |
| 1378 | 1462 | }; |
| ... | ... | @@ -1381,6 +1465,8 @@ pub const cpu = struct { |
| 1381 | 1465 | .llvm_name = "c3", |
| 1382 | 1466 | .features = featureSet(&[_]Feature{ |
| 1383 | 1467 | .@"3dnow", |
| 1468 | .slow_unaligned_mem_16, |
| 1469 | .vzeroupper, |
| 1384 | 1470 | .x87, |
| 1385 | 1471 | }), |
| 1386 | 1472 | }; |
| ... | ... | @@ -1392,7 +1478,9 @@ pub const cpu = struct { |
| 1392 | 1478 | .cx8, |
| 1393 | 1479 | .fxsr, |
| 1394 | 1480 | .mmx, |
| 1481 | .slow_unaligned_mem_16, |
| 1395 | 1482 | .sse, |
| 1483 | .vzeroupper, |
| 1396 | 1484 | .x87, |
| 1397 | 1485 | }), |
| 1398 | 1486 | }; |
| ... | ... | @@ -1403,12 +1491,8 @@ pub const cpu = struct { |
| 1403 | 1491 | .@"64bit", |
| 1404 | 1492 | .adx, |
| 1405 | 1493 | .aes, |
| 1406 | | .avx, |
| 1407 | | .avx2, |
| 1408 | | .avx512bw, |
| 1409 | 1494 | .avx512cd, |
| 1410 | 1495 | .avx512dq, |
| 1411 | | .avx512f, |
| 1412 | 1496 | .avx512ifma, |
| 1413 | 1497 | .avx512vbmi, |
| 1414 | 1498 | .avx512vl, |
| ... | ... | @@ -1417,30 +1501,35 @@ pub const cpu = struct { |
| 1417 | 1501 | .clflushopt, |
| 1418 | 1502 | .cmov, |
| 1419 | 1503 | .cx16, |
| 1420 | | .cx8, |
| 1421 | 1504 | .ermsb, |
| 1422 | | .f16c, |
| 1423 | | .fma, |
| 1505 | .fast_15bytenop, |
| 1506 | .fast_gather, |
| 1507 | .fast_scalar_fsqrt, |
| 1508 | .fast_shld_rotate, |
| 1509 | .fast_variable_shuffle, |
| 1510 | .fast_vector_fsqrt, |
| 1424 | 1511 | .fsgsbase, |
| 1425 | 1512 | .fxsr, |
| 1513 | .idivq_to_divl, |
| 1426 | 1514 | .invpcid, |
| 1427 | 1515 | .lzcnt, |
| 1516 | .macrofusion, |
| 1428 | 1517 | .mmx, |
| 1429 | 1518 | .movbe, |
| 1430 | 1519 | .nopl, |
| 1431 | 1520 | .pclmul, |
| 1432 | 1521 | .pku, |
| 1433 | 1522 | .popcnt, |
| 1523 | .prefer_256_bit, |
| 1434 | 1524 | .prfchw, |
| 1435 | 1525 | .rdrnd, |
| 1436 | 1526 | .rdseed, |
| 1437 | 1527 | .sahf, |
| 1438 | 1528 | .sgx, |
| 1439 | 1529 | .sha, |
| 1440 | | .sse2, |
| 1441 | | .sse4_2, |
| 1530 | .slow_3ops_lea, |
| 1531 | .vzeroupper, |
| 1442 | 1532 | .x87, |
| 1443 | | .xsave, |
| 1444 | 1533 | .xsavec, |
| 1445 | 1534 | .xsaveopt, |
| 1446 | 1535 | .xsaves, |
| ... | ... | @@ -1453,12 +1542,9 @@ pub const cpu = struct { |
| 1453 | 1542 | .@"64bit", |
| 1454 | 1543 | .adx, |
| 1455 | 1544 | .aes, |
| 1456 | | .avx, |
| 1457 | | .avx2, |
| 1458 | 1545 | .avx512bw, |
| 1459 | 1546 | .avx512cd, |
| 1460 | 1547 | .avx512dq, |
| 1461 | | .avx512f, |
| 1462 | 1548 | .avx512vl, |
| 1463 | 1549 | .avx512vnni, |
| 1464 | 1550 | .bmi, |
| ... | ... | @@ -1467,28 +1553,34 @@ pub const cpu = struct { |
| 1467 | 1553 | .clwb, |
| 1468 | 1554 | .cmov, |
| 1469 | 1555 | .cx16, |
| 1470 | | .cx8, |
| 1471 | 1556 | .ermsb, |
| 1472 | | .f16c, |
| 1473 | | .fma, |
| 1557 | .false_deps_popcnt, |
| 1558 | .fast_15bytenop, |
| 1559 | .fast_gather, |
| 1560 | .fast_scalar_fsqrt, |
| 1561 | .fast_shld_rotate, |
| 1562 | .fast_variable_shuffle, |
| 1563 | .fast_vector_fsqrt, |
| 1474 | 1564 | .fsgsbase, |
| 1475 | 1565 | .fxsr, |
| 1566 | .idivq_to_divl, |
| 1476 | 1567 | .invpcid, |
| 1477 | 1568 | .lzcnt, |
| 1569 | .macrofusion, |
| 1478 | 1570 | .mmx, |
| 1479 | 1571 | .movbe, |
| 1480 | 1572 | .nopl, |
| 1481 | 1573 | .pclmul, |
| 1482 | 1574 | .pku, |
| 1483 | 1575 | .popcnt, |
| 1576 | .prefer_256_bit, |
| 1484 | 1577 | .prfchw, |
| 1485 | 1578 | .rdrnd, |
| 1486 | 1579 | .rdseed, |
| 1487 | 1580 | .sahf, |
| 1488 | | .sse2, |
| 1489 | | .sse4_2, |
| 1581 | .slow_3ops_lea, |
| 1582 | .vzeroupper, |
| 1490 | 1583 | .x87, |
| 1491 | | .xsave, |
| 1492 | 1584 | .xsavec, |
| 1493 | 1585 | .xsaveopt, |
| 1494 | 1586 | .xsaves, |
| ... | ... | @@ -1501,13 +1593,9 @@ pub const cpu = struct { |
| 1501 | 1593 | .@"64bit", |
| 1502 | 1594 | .adx, |
| 1503 | 1595 | .aes, |
| 1504 | | .avx, |
| 1505 | | .avx2, |
| 1506 | 1596 | .avx512bf16, |
| 1507 | | .avx512bw, |
| 1508 | 1597 | .avx512cd, |
| 1509 | 1598 | .avx512dq, |
| 1510 | | .avx512f, |
| 1511 | 1599 | .avx512vl, |
| 1512 | 1600 | .avx512vnni, |
| 1513 | 1601 | .bmi, |
| ... | ... | @@ -1516,28 +1604,34 @@ pub const cpu = struct { |
| 1516 | 1604 | .clwb, |
| 1517 | 1605 | .cmov, |
| 1518 | 1606 | .cx16, |
| 1519 | | .cx8, |
| 1520 | 1607 | .ermsb, |
| 1521 | | .f16c, |
| 1522 | | .fma, |
| 1608 | .false_deps_popcnt, |
| 1609 | .fast_15bytenop, |
| 1610 | .fast_gather, |
| 1611 | .fast_scalar_fsqrt, |
| 1612 | .fast_shld_rotate, |
| 1613 | .fast_variable_shuffle, |
| 1614 | .fast_vector_fsqrt, |
| 1523 | 1615 | .fsgsbase, |
| 1524 | 1616 | .fxsr, |
| 1617 | .idivq_to_divl, |
| 1525 | 1618 | .invpcid, |
| 1526 | 1619 | .lzcnt, |
| 1620 | .macrofusion, |
| 1527 | 1621 | .mmx, |
| 1528 | 1622 | .movbe, |
| 1529 | 1623 | .nopl, |
| 1530 | 1624 | .pclmul, |
| 1531 | 1625 | .pku, |
| 1532 | 1626 | .popcnt, |
| 1627 | .prefer_256_bit, |
| 1533 | 1628 | .prfchw, |
| 1534 | 1629 | .rdrnd, |
| 1535 | 1630 | .rdseed, |
| 1536 | 1631 | .sahf, |
| 1537 | | .sse2, |
| 1538 | | .sse4_2, |
| 1632 | .slow_3ops_lea, |
| 1633 | .vzeroupper, |
| 1539 | 1634 | .x87, |
| 1540 | | .xsave, |
| 1541 | 1635 | .xsavec, |
| 1542 | 1636 | .xsaveopt, |
| 1543 | 1637 | .xsaves, |
| ... | ... | @@ -1548,23 +1642,27 @@ pub const cpu = struct { |
| 1548 | 1642 | .llvm_name = "core-avx-i", |
| 1549 | 1643 | .features = featureSet(&[_]Feature{ |
| 1550 | 1644 | .@"64bit", |
| 1551 | | .avx, |
| 1552 | 1645 | .cmov, |
| 1553 | 1646 | .cx16, |
| 1554 | | .cx8, |
| 1555 | 1647 | .f16c, |
| 1648 | .false_deps_popcnt, |
| 1649 | .fast_15bytenop, |
| 1650 | .fast_scalar_fsqrt, |
| 1651 | .fast_shld_rotate, |
| 1556 | 1652 | .fsgsbase, |
| 1557 | 1653 | .fxsr, |
| 1654 | .idivq_to_divl, |
| 1655 | .macrofusion, |
| 1558 | 1656 | .mmx, |
| 1559 | 1657 | .nopl, |
| 1560 | 1658 | .pclmul, |
| 1561 | 1659 | .popcnt, |
| 1562 | 1660 | .rdrnd, |
| 1563 | 1661 | .sahf, |
| 1564 | | .sse2, |
| 1565 | | .sse4_2, |
| 1662 | .slow_3ops_lea, |
| 1663 | .slow_unaligned_mem_32, |
| 1664 | .vzeroupper, |
| 1566 | 1665 | .x87, |
| 1567 | | .xsave, |
| 1568 | 1666 | .xsaveopt, |
| 1569 | 1667 | }), |
| 1570 | 1668 | }; |
| ... | ... | @@ -1573,20 +1671,26 @@ pub const cpu = struct { |
| 1573 | 1671 | .llvm_name = "core-avx2", |
| 1574 | 1672 | .features = featureSet(&[_]Feature{ |
| 1575 | 1673 | .@"64bit", |
| 1576 | | .avx, |
| 1577 | 1674 | .avx2, |
| 1578 | 1675 | .bmi, |
| 1579 | 1676 | .bmi2, |
| 1580 | 1677 | .cmov, |
| 1581 | 1678 | .cx16, |
| 1582 | | .cx8, |
| 1583 | 1679 | .ermsb, |
| 1584 | 1680 | .f16c, |
| 1681 | .false_deps_lzcnt_tzcnt, |
| 1682 | .false_deps_popcnt, |
| 1683 | .fast_15bytenop, |
| 1684 | .fast_scalar_fsqrt, |
| 1685 | .fast_shld_rotate, |
| 1686 | .fast_variable_shuffle, |
| 1585 | 1687 | .fma, |
| 1586 | 1688 | .fsgsbase, |
| 1587 | 1689 | .fxsr, |
| 1690 | .idivq_to_divl, |
| 1588 | 1691 | .invpcid, |
| 1589 | 1692 | .lzcnt, |
| 1693 | .macrofusion, |
| 1590 | 1694 | .mmx, |
| 1591 | 1695 | .movbe, |
| 1592 | 1696 | .nopl, |
| ... | ... | @@ -1594,10 +1698,9 @@ pub const cpu = struct { |
| 1594 | 1698 | .popcnt, |
| 1595 | 1699 | .rdrnd, |
| 1596 | 1700 | .sahf, |
| 1597 | | .sse2, |
| 1598 | | .sse4_2, |
| 1701 | .slow_3ops_lea, |
| 1702 | .vzeroupper, |
| 1599 | 1703 | .x87, |
| 1600 | | .xsave, |
| 1601 | 1704 | .xsaveopt, |
| 1602 | 1705 | }), |
| 1603 | 1706 | }; |
| ... | ... | @@ -1608,12 +1711,14 @@ pub const cpu = struct { |
| 1608 | 1711 | .@"64bit", |
| 1609 | 1712 | .cmov, |
| 1610 | 1713 | .cx16, |
| 1611 | | .cx8, |
| 1612 | 1714 | .fxsr, |
| 1715 | .macrofusion, |
| 1613 | 1716 | .mmx, |
| 1614 | 1717 | .nopl, |
| 1615 | 1718 | .sahf, |
| 1719 | .slow_unaligned_mem_16, |
| 1616 | 1720 | .ssse3, |
| 1721 | .vzeroupper, |
| 1617 | 1722 | .x87, |
| 1618 | 1723 | }), |
| 1619 | 1724 | }; |
| ... | ... | @@ -1624,14 +1729,14 @@ pub const cpu = struct { |
| 1624 | 1729 | .@"64bit", |
| 1625 | 1730 | .cmov, |
| 1626 | 1731 | .cx16, |
| 1627 | | .cx8, |
| 1628 | 1732 | .fxsr, |
| 1733 | .macrofusion, |
| 1629 | 1734 | .mmx, |
| 1630 | 1735 | .nopl, |
| 1631 | 1736 | .popcnt, |
| 1632 | 1737 | .sahf, |
| 1633 | | .sse2, |
| 1634 | 1738 | .sse4_2, |
| 1739 | .vzeroupper, |
| 1635 | 1740 | .x87, |
| 1636 | 1741 | }), |
| 1637 | 1742 | }; |
| ... | ... | @@ -1643,17 +1748,22 @@ pub const cpu = struct { |
| 1643 | 1748 | .avx, |
| 1644 | 1749 | .cmov, |
| 1645 | 1750 | .cx16, |
| 1646 | | .cx8, |
| 1751 | .false_deps_popcnt, |
| 1752 | .fast_15bytenop, |
| 1753 | .fast_scalar_fsqrt, |
| 1754 | .fast_shld_rotate, |
| 1647 | 1755 | .fxsr, |
| 1756 | .idivq_to_divl, |
| 1757 | .macrofusion, |
| 1648 | 1758 | .mmx, |
| 1649 | 1759 | .nopl, |
| 1650 | 1760 | .pclmul, |
| 1651 | 1761 | .popcnt, |
| 1652 | 1762 | .sahf, |
| 1653 | | .sse2, |
| 1654 | | .sse4_2, |
| 1763 | .slow_3ops_lea, |
| 1764 | .slow_unaligned_mem_32, |
| 1765 | .vzeroupper, |
| 1655 | 1766 | .x87, |
| 1656 | | .xsave, |
| 1657 | 1767 | .xsaveopt, |
| 1658 | 1768 | }), |
| 1659 | 1769 | }; |
| ... | ... | @@ -1661,7 +1771,13 @@ pub const cpu = struct { |
| 1661 | 1771 | .name = "generic", |
| 1662 | 1772 | .llvm_name = "generic", |
| 1663 | 1773 | .features = featureSet(&[_]Feature{ |
| 1774 | .@"64bit", |
| 1664 | 1775 | .cx8, |
| 1776 | .idivq_to_divl, |
| 1777 | .macrofusion, |
| 1778 | .slow_3ops_lea, |
| 1779 | .slow_incdec, |
| 1780 | .vzeroupper, |
| 1665 | 1781 | .x87, |
| 1666 | 1782 | }), |
| 1667 | 1783 | }; |
| ... | ... | @@ -1671,6 +1787,8 @@ pub const cpu = struct { |
| 1671 | 1787 | .features = featureSet(&[_]Feature{ |
| 1672 | 1788 | .@"3dnowa", |
| 1673 | 1789 | .cx8, |
| 1790 | .slow_unaligned_mem_16, |
| 1791 | .vzeroupper, |
| 1674 | 1792 | .x87, |
| 1675 | 1793 | }), |
| 1676 | 1794 | }; |
| ... | ... | @@ -1683,7 +1801,7 @@ pub const cpu = struct { |
| 1683 | 1801 | .clflushopt, |
| 1684 | 1802 | .cmov, |
| 1685 | 1803 | .cx16, |
| 1686 | | .cx8, |
| 1804 | .false_deps_popcnt, |
| 1687 | 1805 | .fsgsbase, |
| 1688 | 1806 | .fxsr, |
| 1689 | 1807 | .mmx, |
| ... | ... | @@ -1696,10 +1814,13 @@ pub const cpu = struct { |
| 1696 | 1814 | .rdseed, |
| 1697 | 1815 | .sahf, |
| 1698 | 1816 | .sha, |
| 1817 | .slow_incdec, |
| 1818 | .slow_lea, |
| 1819 | .slow_two_mem_ops, |
| 1699 | 1820 | .sse4_2, |
| 1700 | | .ssse3, |
| 1821 | .use_glm_div_sqrt_costs, |
| 1822 | .vzeroupper, |
| 1701 | 1823 | .x87, |
| 1702 | | .xsave, |
| 1703 | 1824 | .xsavec, |
| 1704 | 1825 | .xsaveopt, |
| 1705 | 1826 | .xsaves, |
| ... | ... | @@ -1714,7 +1835,6 @@ pub const cpu = struct { |
| 1714 | 1835 | .clflushopt, |
| 1715 | 1836 | .cmov, |
| 1716 | 1837 | .cx16, |
| 1717 | | .cx8, |
| 1718 | 1838 | .fsgsbase, |
| 1719 | 1839 | .fxsr, |
| 1720 | 1840 | .mmx, |
| ... | ... | @@ -1730,10 +1850,13 @@ pub const cpu = struct { |
| 1730 | 1850 | .sahf, |
| 1731 | 1851 | .sgx, |
| 1732 | 1852 | .sha, |
| 1853 | .slow_incdec, |
| 1854 | .slow_lea, |
| 1855 | .slow_two_mem_ops, |
| 1733 | 1856 | .sse4_2, |
| 1734 | | .ssse3, |
| 1857 | .use_glm_div_sqrt_costs, |
| 1858 | .vzeroupper, |
| 1735 | 1859 | .x87, |
| 1736 | | .xsave, |
| 1737 | 1860 | .xsavec, |
| 1738 | 1861 | .xsaveopt, |
| 1739 | 1862 | .xsaves, |
| ... | ... | @@ -1744,20 +1867,26 @@ pub const cpu = struct { |
| 1744 | 1867 | .llvm_name = "haswell", |
| 1745 | 1868 | .features = featureSet(&[_]Feature{ |
| 1746 | 1869 | .@"64bit", |
| 1747 | | .avx, |
| 1748 | 1870 | .avx2, |
| 1749 | 1871 | .bmi, |
| 1750 | 1872 | .bmi2, |
| 1751 | 1873 | .cmov, |
| 1752 | 1874 | .cx16, |
| 1753 | | .cx8, |
| 1754 | 1875 | .ermsb, |
| 1755 | 1876 | .f16c, |
| 1877 | .false_deps_lzcnt_tzcnt, |
| 1878 | .false_deps_popcnt, |
| 1879 | .fast_15bytenop, |
| 1880 | .fast_scalar_fsqrt, |
| 1881 | .fast_shld_rotate, |
| 1882 | .fast_variable_shuffle, |
| 1756 | 1883 | .fma, |
| 1757 | 1884 | .fsgsbase, |
| 1758 | 1885 | .fxsr, |
| 1886 | .idivq_to_divl, |
| 1759 | 1887 | .invpcid, |
| 1760 | 1888 | .lzcnt, |
| 1889 | .macrofusion, |
| 1761 | 1890 | .mmx, |
| 1762 | 1891 | .movbe, |
| 1763 | 1892 | .nopl, |
| ... | ... | @@ -1765,10 +1894,9 @@ pub const cpu = struct { |
| 1765 | 1894 | .popcnt, |
| 1766 | 1895 | .rdrnd, |
| 1767 | 1896 | .sahf, |
| 1768 | | .sse2, |
| 1769 | | .sse4_2, |
| 1897 | .slow_3ops_lea, |
| 1898 | .vzeroupper, |
| 1770 | 1899 | .x87, |
| 1771 | | .xsave, |
| 1772 | 1900 | .xsaveopt, |
| 1773 | 1901 | }), |
| 1774 | 1902 | }; |
| ... | ... | @@ -1776,6 +1904,8 @@ pub const cpu = struct { |
| 1776 | 1904 | .name = "_i386", |
| 1777 | 1905 | .llvm_name = "i386", |
| 1778 | 1906 | .features = featureSet(&[_]Feature{ |
| 1907 | .slow_unaligned_mem_16, |
| 1908 | .vzeroupper, |
| 1779 | 1909 | .x87, |
| 1780 | 1910 | }), |
| 1781 | 1911 | }; |
| ... | ... | @@ -1783,6 +1913,8 @@ pub const cpu = struct { |
| 1783 | 1913 | .name = "_i486", |
| 1784 | 1914 | .llvm_name = "i486", |
| 1785 | 1915 | .features = featureSet(&[_]Feature{ |
| 1916 | .slow_unaligned_mem_16, |
| 1917 | .vzeroupper, |
| 1786 | 1918 | .x87, |
| 1787 | 1919 | }), |
| 1788 | 1920 | }; |
| ... | ... | @@ -1791,6 +1923,8 @@ pub const cpu = struct { |
| 1791 | 1923 | .llvm_name = "i586", |
| 1792 | 1924 | .features = featureSet(&[_]Feature{ |
| 1793 | 1925 | .cx8, |
| 1926 | .slow_unaligned_mem_16, |
| 1927 | .vzeroupper, |
| 1794 | 1928 | .x87, |
| 1795 | 1929 | }), |
| 1796 | 1930 | }; |
| ... | ... | @@ -1800,6 +1934,8 @@ pub const cpu = struct { |
| 1800 | 1934 | .features = featureSet(&[_]Feature{ |
| 1801 | 1935 | .cmov, |
| 1802 | 1936 | .cx8, |
| 1937 | .slow_unaligned_mem_16, |
| 1938 | .vzeroupper, |
| 1803 | 1939 | .x87, |
| 1804 | 1940 | }), |
| 1805 | 1941 | }; |
| ... | ... | @@ -1809,14 +1945,9 @@ pub const cpu = struct { |
| 1809 | 1945 | .features = featureSet(&[_]Feature{ |
| 1810 | 1946 | .@"64bit", |
| 1811 | 1947 | .adx, |
| 1812 | | .aes, |
| 1813 | | .avx, |
| 1814 | | .avx2, |
| 1815 | 1948 | .avx512bitalg, |
| 1816 | | .avx512bw, |
| 1817 | 1949 | .avx512cd, |
| 1818 | 1950 | .avx512dq, |
| 1819 | | .avx512f, |
| 1820 | 1951 | .avx512ifma, |
| 1821 | 1952 | .avx512vbmi, |
| 1822 | 1953 | .avx512vbmi2, |
| ... | ... | @@ -1829,22 +1960,27 @@ pub const cpu = struct { |
| 1829 | 1960 | .clwb, |
| 1830 | 1961 | .cmov, |
| 1831 | 1962 | .cx16, |
| 1832 | | .cx8, |
| 1833 | 1963 | .ermsb, |
| 1834 | | .f16c, |
| 1835 | | .fma, |
| 1964 | .fast_15bytenop, |
| 1965 | .fast_gather, |
| 1966 | .fast_scalar_fsqrt, |
| 1967 | .fast_shld_rotate, |
| 1968 | .fast_variable_shuffle, |
| 1969 | .fast_vector_fsqrt, |
| 1836 | 1970 | .fsgsbase, |
| 1837 | 1971 | .fsrm, |
| 1838 | 1972 | .fxsr, |
| 1839 | 1973 | .gfni, |
| 1974 | .idivq_to_divl, |
| 1840 | 1975 | .invpcid, |
| 1841 | 1976 | .lzcnt, |
| 1977 | .macrofusion, |
| 1842 | 1978 | .mmx, |
| 1843 | 1979 | .movbe, |
| 1844 | 1980 | .nopl, |
| 1845 | | .pclmul, |
| 1846 | 1981 | .pku, |
| 1847 | 1982 | .popcnt, |
| 1983 | .prefer_256_bit, |
| 1848 | 1984 | .prfchw, |
| 1849 | 1985 | .rdpid, |
| 1850 | 1986 | .rdrnd, |
| ... | ... | @@ -1852,12 +1988,11 @@ pub const cpu = struct { |
| 1852 | 1988 | .sahf, |
| 1853 | 1989 | .sgx, |
| 1854 | 1990 | .sha, |
| 1855 | | .sse2, |
| 1856 | | .sse4_2, |
| 1991 | .slow_3ops_lea, |
| 1857 | 1992 | .vaes, |
| 1858 | 1993 | .vpclmulqdq, |
| 1994 | .vzeroupper, |
| 1859 | 1995 | .x87, |
| 1860 | | .xsave, |
| 1861 | 1996 | .xsavec, |
| 1862 | 1997 | .xsaveopt, |
| 1863 | 1998 | .xsaves, |
| ... | ... | @@ -1869,14 +2004,9 @@ pub const cpu = struct { |
| 1869 | 2004 | .features = featureSet(&[_]Feature{ |
| 1870 | 2005 | .@"64bit", |
| 1871 | 2006 | .adx, |
| 1872 | | .aes, |
| 1873 | | .avx, |
| 1874 | | .avx2, |
| 1875 | 2007 | .avx512bitalg, |
| 1876 | | .avx512bw, |
| 1877 | 2008 | .avx512cd, |
| 1878 | 2009 | .avx512dq, |
| 1879 | | .avx512f, |
| 1880 | 2010 | .avx512ifma, |
| 1881 | 2011 | .avx512vbmi, |
| 1882 | 2012 | .avx512vbmi2, |
| ... | ... | @@ -1889,23 +2019,28 @@ pub const cpu = struct { |
| 1889 | 2019 | .clwb, |
| 1890 | 2020 | .cmov, |
| 1891 | 2021 | .cx16, |
| 1892 | | .cx8, |
| 1893 | 2022 | .ermsb, |
| 1894 | | .f16c, |
| 1895 | | .fma, |
| 2023 | .fast_15bytenop, |
| 2024 | .fast_gather, |
| 2025 | .fast_scalar_fsqrt, |
| 2026 | .fast_shld_rotate, |
| 2027 | .fast_variable_shuffle, |
| 2028 | .fast_vector_fsqrt, |
| 1896 | 2029 | .fsgsbase, |
| 1897 | 2030 | .fsrm, |
| 1898 | 2031 | .fxsr, |
| 1899 | 2032 | .gfni, |
| 2033 | .idivq_to_divl, |
| 1900 | 2034 | .invpcid, |
| 1901 | 2035 | .lzcnt, |
| 2036 | .macrofusion, |
| 1902 | 2037 | .mmx, |
| 1903 | 2038 | .movbe, |
| 1904 | 2039 | .nopl, |
| 1905 | | .pclmul, |
| 1906 | 2040 | .pconfig, |
| 1907 | 2041 | .pku, |
| 1908 | 2042 | .popcnt, |
| 2043 | .prefer_256_bit, |
| 1909 | 2044 | .prfchw, |
| 1910 | 2045 | .rdpid, |
| 1911 | 2046 | .rdrnd, |
| ... | ... | @@ -1913,13 +2048,12 @@ pub const cpu = struct { |
| 1913 | 2048 | .sahf, |
| 1914 | 2049 | .sgx, |
| 1915 | 2050 | .sha, |
| 1916 | | .sse2, |
| 1917 | | .sse4_2, |
| 2051 | .slow_3ops_lea, |
| 1918 | 2052 | .vaes, |
| 1919 | 2053 | .vpclmulqdq, |
| 2054 | .vzeroupper, |
| 1920 | 2055 | .wbnoinvd, |
| 1921 | 2056 | .x87, |
| 1922 | | .xsave, |
| 1923 | 2057 | .xsavec, |
| 1924 | 2058 | .xsaveopt, |
| 1925 | 2059 | .xsaves, |
| ... | ... | @@ -1930,23 +2064,27 @@ pub const cpu = struct { |
| 1930 | 2064 | .llvm_name = "ivybridge", |
| 1931 | 2065 | .features = featureSet(&[_]Feature{ |
| 1932 | 2066 | .@"64bit", |
| 1933 | | .avx, |
| 1934 | 2067 | .cmov, |
| 1935 | 2068 | .cx16, |
| 1936 | | .cx8, |
| 1937 | 2069 | .f16c, |
| 2070 | .false_deps_popcnt, |
| 2071 | .fast_15bytenop, |
| 2072 | .fast_scalar_fsqrt, |
| 2073 | .fast_shld_rotate, |
| 1938 | 2074 | .fsgsbase, |
| 1939 | 2075 | .fxsr, |
| 2076 | .idivq_to_divl, |
| 2077 | .macrofusion, |
| 1940 | 2078 | .mmx, |
| 1941 | 2079 | .nopl, |
| 1942 | 2080 | .pclmul, |
| 1943 | 2081 | .popcnt, |
| 1944 | 2082 | .rdrnd, |
| 1945 | 2083 | .sahf, |
| 1946 | | .sse2, |
| 1947 | | .sse4_2, |
| 2084 | .slow_3ops_lea, |
| 2085 | .slow_unaligned_mem_32, |
| 2086 | .vzeroupper, |
| 1948 | 2087 | .x87, |
| 1949 | | .xsave, |
| 1950 | 2088 | .xsaveopt, |
| 1951 | 2089 | }), |
| 1952 | 2090 | }; |
| ... | ... | @@ -1956,6 +2094,8 @@ pub const cpu = struct { |
| 1956 | 2094 | .features = featureSet(&[_]Feature{ |
| 1957 | 2095 | .cx8, |
| 1958 | 2096 | .mmx, |
| 2097 | .slow_unaligned_mem_16, |
| 2098 | .vzeroupper, |
| 1959 | 2099 | .x87, |
| 1960 | 2100 | }), |
| 1961 | 2101 | }; |
| ... | ... | @@ -1965,6 +2105,8 @@ pub const cpu = struct { |
| 1965 | 2105 | .features = featureSet(&[_]Feature{ |
| 1966 | 2106 | .@"3dnow", |
| 1967 | 2107 | .cx8, |
| 2108 | .slow_unaligned_mem_16, |
| 2109 | .vzeroupper, |
| 1968 | 2110 | .x87, |
| 1969 | 2111 | }), |
| 1970 | 2112 | }; |
| ... | ... | @@ -1974,6 +2116,8 @@ pub const cpu = struct { |
| 1974 | 2116 | .features = featureSet(&[_]Feature{ |
| 1975 | 2117 | .@"3dnow", |
| 1976 | 2118 | .cx8, |
| 2119 | .slow_unaligned_mem_16, |
| 2120 | .vzeroupper, |
| 1977 | 2121 | .x87, |
| 1978 | 2122 | }), |
| 1979 | 2123 | }; |
| ... | ... | @@ -1985,9 +2129,13 @@ pub const cpu = struct { |
| 1985 | 2129 | .@"64bit", |
| 1986 | 2130 | .cmov, |
| 1987 | 2131 | .cx8, |
| 2132 | .fast_scalar_shift_masks, |
| 1988 | 2133 | .fxsr, |
| 1989 | 2134 | .nopl, |
| 2135 | .slow_shld, |
| 2136 | .slow_unaligned_mem_16, |
| 1990 | 2137 | .sse2, |
| 2138 | .vzeroupper, |
| 1991 | 2139 | .x87, |
| 1992 | 2140 | }), |
| 1993 | 2141 | }; |
| ... | ... | @@ -1999,10 +2147,13 @@ pub const cpu = struct { |
| 1999 | 2147 | .@"64bit", |
| 2000 | 2148 | .cmov, |
| 2001 | 2149 | .cx16, |
| 2002 | | .cx8, |
| 2150 | .fast_scalar_shift_masks, |
| 2003 | 2151 | .fxsr, |
| 2004 | 2152 | .nopl, |
| 2153 | .slow_shld, |
| 2154 | .slow_unaligned_mem_16, |
| 2005 | 2155 | .sse3, |
| 2156 | .vzeroupper, |
| 2006 | 2157 | .x87, |
| 2007 | 2158 | }), |
| 2008 | 2159 | }; |
| ... | ... | @@ -2015,30 +2166,32 @@ pub const cpu = struct { |
| 2015 | 2166 | .aes, |
| 2016 | 2167 | .avx512cd, |
| 2017 | 2168 | .avx512er, |
| 2018 | | .avx512f, |
| 2019 | 2169 | .avx512pf, |
| 2020 | 2170 | .bmi, |
| 2021 | 2171 | .bmi2, |
| 2022 | 2172 | .cmov, |
| 2023 | 2173 | .cx16, |
| 2024 | | .cx8, |
| 2025 | | .f16c, |
| 2026 | | .fma, |
| 2174 | .fast_gather, |
| 2027 | 2175 | .fsgsbase, |
| 2028 | 2176 | .fxsr, |
| 2177 | .idivq_to_divl, |
| 2029 | 2178 | .lzcnt, |
| 2030 | 2179 | .mmx, |
| 2031 | 2180 | .movbe, |
| 2032 | 2181 | .nopl, |
| 2033 | 2182 | .pclmul, |
| 2034 | 2183 | .popcnt, |
| 2184 | .prefer_mask_registers, |
| 2035 | 2185 | .prefetchwt1, |
| 2036 | 2186 | .prfchw, |
| 2037 | 2187 | .rdrnd, |
| 2038 | 2188 | .rdseed, |
| 2039 | 2189 | .sahf, |
| 2190 | .slow_3ops_lea, |
| 2191 | .slow_incdec, |
| 2192 | .slow_pmaddwd, |
| 2193 | .slow_two_mem_ops, |
| 2040 | 2194 | .x87, |
| 2041 | | .xsave, |
| 2042 | 2195 | .xsaveopt, |
| 2043 | 2196 | }), |
| 2044 | 2197 | }; |
| ... | ... | @@ -2051,31 +2204,33 @@ pub const cpu = struct { |
| 2051 | 2204 | .aes, |
| 2052 | 2205 | .avx512cd, |
| 2053 | 2206 | .avx512er, |
| 2054 | | .avx512f, |
| 2055 | 2207 | .avx512pf, |
| 2056 | 2208 | .avx512vpopcntdq, |
| 2057 | 2209 | .bmi, |
| 2058 | 2210 | .bmi2, |
| 2059 | 2211 | .cmov, |
| 2060 | 2212 | .cx16, |
| 2061 | | .cx8, |
| 2062 | | .f16c, |
| 2063 | | .fma, |
| 2213 | .fast_gather, |
| 2064 | 2214 | .fsgsbase, |
| 2065 | 2215 | .fxsr, |
| 2216 | .idivq_to_divl, |
| 2066 | 2217 | .lzcnt, |
| 2067 | 2218 | .mmx, |
| 2068 | 2219 | .movbe, |
| 2069 | 2220 | .nopl, |
| 2070 | 2221 | .pclmul, |
| 2071 | 2222 | .popcnt, |
| 2223 | .prefer_mask_registers, |
| 2072 | 2224 | .prefetchwt1, |
| 2073 | 2225 | .prfchw, |
| 2074 | 2226 | .rdrnd, |
| 2075 | 2227 | .rdseed, |
| 2076 | 2228 | .sahf, |
| 2229 | .slow_3ops_lea, |
| 2230 | .slow_incdec, |
| 2231 | .slow_pmaddwd, |
| 2232 | .slow_two_mem_ops, |
| 2077 | 2233 | .x87, |
| 2078 | | .xsave, |
| 2079 | 2234 | .xsaveopt, |
| 2080 | 2235 | }), |
| 2081 | 2236 | }; |
| ... | ... | @@ -2084,6 +2239,8 @@ pub const cpu = struct { |
| 2084 | 2239 | .llvm_name = "lakemont", |
| 2085 | 2240 | .features = featureSet(&[_]Feature{ |
| 2086 | 2241 | .cx8, |
| 2242 | .slow_unaligned_mem_16, |
| 2243 | .vzeroupper, |
| 2087 | 2244 | }), |
| 2088 | 2245 | }; |
| 2089 | 2246 | pub const nehalem = CpuModel{ |
| ... | ... | @@ -2093,14 +2250,14 @@ pub const cpu = struct { |
| 2093 | 2250 | .@"64bit", |
| 2094 | 2251 | .cmov, |
| 2095 | 2252 | .cx16, |
| 2096 | | .cx8, |
| 2097 | 2253 | .fxsr, |
| 2254 | .macrofusion, |
| 2098 | 2255 | .mmx, |
| 2099 | 2256 | .nopl, |
| 2100 | 2257 | .popcnt, |
| 2101 | 2258 | .sahf, |
| 2102 | | .sse2, |
| 2103 | 2259 | .sse4_2, |
| 2260 | .vzeroupper, |
| 2104 | 2261 | .x87, |
| 2105 | 2262 | }), |
| 2106 | 2263 | }; |
| ... | ... | @@ -2111,11 +2268,12 @@ pub const cpu = struct { |
| 2111 | 2268 | .@"64bit", |
| 2112 | 2269 | .cmov, |
| 2113 | 2270 | .cx16, |
| 2114 | | .cx8, |
| 2115 | 2271 | .fxsr, |
| 2116 | 2272 | .mmx, |
| 2117 | 2273 | .nopl, |
| 2274 | .slow_unaligned_mem_16, |
| 2118 | 2275 | .sse3, |
| 2276 | .vzeroupper, |
| 2119 | 2277 | .x87, |
| 2120 | 2278 | }), |
| 2121 | 2279 | }; |
| ... | ... | @@ -2127,9 +2285,13 @@ pub const cpu = struct { |
| 2127 | 2285 | .@"64bit", |
| 2128 | 2286 | .cmov, |
| 2129 | 2287 | .cx8, |
| 2288 | .fast_scalar_shift_masks, |
| 2130 | 2289 | .fxsr, |
| 2131 | 2290 | .nopl, |
| 2291 | .slow_shld, |
| 2292 | .slow_unaligned_mem_16, |
| 2132 | 2293 | .sse2, |
| 2294 | .vzeroupper, |
| 2133 | 2295 | .x87, |
| 2134 | 2296 | }), |
| 2135 | 2297 | }; |
| ... | ... | @@ -2141,10 +2303,13 @@ pub const cpu = struct { |
| 2141 | 2303 | .@"64bit", |
| 2142 | 2304 | .cmov, |
| 2143 | 2305 | .cx16, |
| 2144 | | .cx8, |
| 2306 | .fast_scalar_shift_masks, |
| 2145 | 2307 | .fxsr, |
| 2146 | 2308 | .nopl, |
| 2309 | .slow_shld, |
| 2310 | .slow_unaligned_mem_16, |
| 2147 | 2311 | .sse3, |
| 2312 | .vzeroupper, |
| 2148 | 2313 | .x87, |
| 2149 | 2314 | }), |
| 2150 | 2315 | }; |
| ... | ... | @@ -2155,12 +2320,14 @@ pub const cpu = struct { |
| 2155 | 2320 | .@"64bit", |
| 2156 | 2321 | .cmov, |
| 2157 | 2322 | .cx16, |
| 2158 | | .cx8, |
| 2159 | 2323 | .fxsr, |
| 2324 | .macrofusion, |
| 2160 | 2325 | .mmx, |
| 2161 | 2326 | .nopl, |
| 2162 | 2327 | .sahf, |
| 2328 | .slow_unaligned_mem_16, |
| 2163 | 2329 | .sse4_1, |
| 2330 | .vzeroupper, |
| 2164 | 2331 | .x87, |
| 2165 | 2332 | }), |
| 2166 | 2333 | }; |
| ... | ... | @@ -2169,6 +2336,8 @@ pub const cpu = struct { |
| 2169 | 2336 | .llvm_name = "pentium", |
| 2170 | 2337 | .features = featureSet(&[_]Feature{ |
| 2171 | 2338 | .cx8, |
| 2339 | .slow_unaligned_mem_16, |
| 2340 | .vzeroupper, |
| 2172 | 2341 | .x87, |
| 2173 | 2342 | }), |
| 2174 | 2343 | }; |
| ... | ... | @@ -2181,7 +2350,9 @@ pub const cpu = struct { |
| 2181 | 2350 | .fxsr, |
| 2182 | 2351 | .mmx, |
| 2183 | 2352 | .nopl, |
| 2353 | .slow_unaligned_mem_16, |
| 2184 | 2354 | .sse2, |
| 2355 | .vzeroupper, |
| 2185 | 2356 | .x87, |
| 2186 | 2357 | }), |
| 2187 | 2358 | }; |
| ... | ... | @@ -2191,6 +2362,8 @@ pub const cpu = struct { |
| 2191 | 2362 | .features = featureSet(&[_]Feature{ |
| 2192 | 2363 | .cx8, |
| 2193 | 2364 | .mmx, |
| 2365 | .slow_unaligned_mem_16, |
| 2366 | .vzeroupper, |
| 2194 | 2367 | .x87, |
| 2195 | 2368 | }), |
| 2196 | 2369 | }; |
| ... | ... | @@ -2203,6 +2376,8 @@ pub const cpu = struct { |
| 2203 | 2376 | .fxsr, |
| 2204 | 2377 | .mmx, |
| 2205 | 2378 | .nopl, |
| 2379 | .slow_unaligned_mem_16, |
| 2380 | .vzeroupper, |
| 2206 | 2381 | .x87, |
| 2207 | 2382 | }), |
| 2208 | 2383 | }; |
| ... | ... | @@ -2215,7 +2390,9 @@ pub const cpu = struct { |
| 2215 | 2390 | .fxsr, |
| 2216 | 2391 | .mmx, |
| 2217 | 2392 | .nopl, |
| 2393 | .slow_unaligned_mem_16, |
| 2218 | 2394 | .sse, |
| 2395 | .vzeroupper, |
| 2219 | 2396 | .x87, |
| 2220 | 2397 | }), |
| 2221 | 2398 | }; |
| ... | ... | @@ -2228,7 +2405,9 @@ pub const cpu = struct { |
| 2228 | 2405 | .fxsr, |
| 2229 | 2406 | .mmx, |
| 2230 | 2407 | .nopl, |
| 2408 | .slow_unaligned_mem_16, |
| 2231 | 2409 | .sse, |
| 2410 | .vzeroupper, |
| 2232 | 2411 | .x87, |
| 2233 | 2412 | }), |
| 2234 | 2413 | }; |
| ... | ... | @@ -2241,7 +2420,9 @@ pub const cpu = struct { |
| 2241 | 2420 | .fxsr, |
| 2242 | 2421 | .mmx, |
| 2243 | 2422 | .nopl, |
| 2423 | .slow_unaligned_mem_16, |
| 2244 | 2424 | .sse2, |
| 2425 | .vzeroupper, |
| 2245 | 2426 | .x87, |
| 2246 | 2427 | }), |
| 2247 | 2428 | }; |
| ... | ... | @@ -2254,7 +2435,9 @@ pub const cpu = struct { |
| 2254 | 2435 | .fxsr, |
| 2255 | 2436 | .mmx, |
| 2256 | 2437 | .nopl, |
| 2438 | .slow_unaligned_mem_16, |
| 2257 | 2439 | .sse2, |
| 2440 | .vzeroupper, |
| 2258 | 2441 | .x87, |
| 2259 | 2442 | }), |
| 2260 | 2443 | }; |
| ... | ... | @@ -2265,6 +2448,8 @@ pub const cpu = struct { |
| 2265 | 2448 | .cmov, |
| 2266 | 2449 | .cx8, |
| 2267 | 2450 | .nopl, |
| 2451 | .slow_unaligned_mem_16, |
| 2452 | .vzeroupper, |
| 2268 | 2453 | .x87, |
| 2269 | 2454 | }), |
| 2270 | 2455 | }; |
| ... | ... | @@ -2277,7 +2462,9 @@ pub const cpu = struct { |
| 2277 | 2462 | .fxsr, |
| 2278 | 2463 | .mmx, |
| 2279 | 2464 | .nopl, |
| 2465 | .slow_unaligned_mem_16, |
| 2280 | 2466 | .sse3, |
| 2467 | .vzeroupper, |
| 2281 | 2468 | .x87, |
| 2282 | 2469 | }), |
| 2283 | 2470 | }; |
| ... | ... | @@ -2289,17 +2476,22 @@ pub const cpu = struct { |
| 2289 | 2476 | .avx, |
| 2290 | 2477 | .cmov, |
| 2291 | 2478 | .cx16, |
| 2292 | | .cx8, |
| 2479 | .false_deps_popcnt, |
| 2480 | .fast_15bytenop, |
| 2481 | .fast_scalar_fsqrt, |
| 2482 | .fast_shld_rotate, |
| 2293 | 2483 | .fxsr, |
| 2484 | .idivq_to_divl, |
| 2485 | .macrofusion, |
| 2294 | 2486 | .mmx, |
| 2295 | 2487 | .nopl, |
| 2296 | 2488 | .pclmul, |
| 2297 | 2489 | .popcnt, |
| 2298 | 2490 | .sahf, |
| 2299 | | .sse2, |
| 2300 | | .sse4_2, |
| 2491 | .slow_3ops_lea, |
| 2492 | .slow_unaligned_mem_32, |
| 2493 | .vzeroupper, |
| 2301 | 2494 | .x87, |
| 2302 | | .xsave, |
| 2303 | 2495 | .xsaveopt, |
| 2304 | 2496 | }), |
| 2305 | 2497 | }; |
| ... | ... | @@ -2309,18 +2501,12 @@ pub const cpu = struct { |
| 2309 | 2501 | .features = featureSet(&[_]Feature{ |
| 2310 | 2502 | .@"64bit", |
| 2311 | 2503 | .adx, |
| 2312 | | .aes, |
| 2313 | 2504 | .amx_bf16, |
| 2314 | 2505 | .amx_int8, |
| 2315 | | .amx_tile, |
| 2316 | | .avx, |
| 2317 | | .avx2, |
| 2318 | 2506 | .avx512bf16, |
| 2319 | 2507 | .avx512bitalg, |
| 2320 | | .avx512bw, |
| 2321 | 2508 | .avx512cd, |
| 2322 | 2509 | .avx512dq, |
| 2323 | | .avx512f, |
| 2324 | 2510 | .avx512ifma, |
| 2325 | 2511 | .avx512vbmi, |
| 2326 | 2512 | .avx512vbmi2, |
| ... | ... | @@ -2336,26 +2522,31 @@ pub const cpu = struct { |
| 2336 | 2522 | .clwb, |
| 2337 | 2523 | .cmov, |
| 2338 | 2524 | .cx16, |
| 2339 | | .cx8, |
| 2340 | 2525 | .enqcmd, |
| 2341 | 2526 | .ermsb, |
| 2342 | | .f16c, |
| 2343 | | .fma, |
| 2527 | .fast_15bytenop, |
| 2528 | .fast_gather, |
| 2529 | .fast_scalar_fsqrt, |
| 2530 | .fast_shld_rotate, |
| 2531 | .fast_variable_shuffle, |
| 2532 | .fast_vector_fsqrt, |
| 2344 | 2533 | .fsgsbase, |
| 2345 | 2534 | .fsrm, |
| 2346 | 2535 | .fxsr, |
| 2347 | 2536 | .gfni, |
| 2537 | .idivq_to_divl, |
| 2348 | 2538 | .invpcid, |
| 2349 | 2539 | .lzcnt, |
| 2540 | .macrofusion, |
| 2350 | 2541 | .mmx, |
| 2351 | 2542 | .movbe, |
| 2352 | 2543 | .movdir64b, |
| 2353 | 2544 | .movdiri, |
| 2354 | 2545 | .nopl, |
| 2355 | | .pclmul, |
| 2356 | 2546 | .pconfig, |
| 2357 | 2547 | .pku, |
| 2358 | 2548 | .popcnt, |
| 2549 | .prefer_256_bit, |
| 2359 | 2550 | .prfchw, |
| 2360 | 2551 | .ptwrite, |
| 2361 | 2552 | .rdpid, |
| ... | ... | @@ -2366,16 +2557,15 @@ pub const cpu = struct { |
| 2366 | 2557 | .sgx, |
| 2367 | 2558 | .sha, |
| 2368 | 2559 | .shstk, |
| 2369 | | .sse2, |
| 2370 | | .sse4_2, |
| 2560 | .slow_3ops_lea, |
| 2371 | 2561 | .tsxldtrk, |
| 2372 | 2562 | .uintr, |
| 2373 | 2563 | .vaes, |
| 2374 | 2564 | .vpclmulqdq, |
| 2565 | .vzeroupper, |
| 2375 | 2566 | .waitpkg, |
| 2376 | 2567 | .wbnoinvd, |
| 2377 | 2568 | .x87, |
| 2378 | | .xsave, |
| 2379 | 2569 | .xsavec, |
| 2380 | 2570 | .xsaveopt, |
| 2381 | 2571 | .xsaves, |
| ... | ... | @@ -2388,8 +2578,10 @@ pub const cpu = struct { |
| 2388 | 2578 | .@"64bit", |
| 2389 | 2579 | .cmov, |
| 2390 | 2580 | .cx16, |
| 2391 | | .cx8, |
| 2581 | .false_deps_popcnt, |
| 2582 | .fast_7bytenop, |
| 2392 | 2583 | .fxsr, |
| 2584 | .idivq_to_divl, |
| 2393 | 2585 | .mmx, |
| 2394 | 2586 | .movbe, |
| 2395 | 2587 | .nopl, |
| ... | ... | @@ -2398,8 +2590,12 @@ pub const cpu = struct { |
| 2398 | 2590 | .prfchw, |
| 2399 | 2591 | .rdrnd, |
| 2400 | 2592 | .sahf, |
| 2593 | .slow_incdec, |
| 2594 | .slow_lea, |
| 2595 | .slow_pmulld, |
| 2596 | .slow_two_mem_ops, |
| 2401 | 2597 | .sse4_2, |
| 2402 | | .ssse3, |
| 2598 | .vzeroupper, |
| 2403 | 2599 | .x87, |
| 2404 | 2600 | }), |
| 2405 | 2601 | }; |
| ... | ... | @@ -2410,12 +2606,9 @@ pub const cpu = struct { |
| 2410 | 2606 | .@"64bit", |
| 2411 | 2607 | .adx, |
| 2412 | 2608 | .aes, |
| 2413 | | .avx, |
| 2414 | | .avx2, |
| 2415 | 2609 | .avx512bw, |
| 2416 | 2610 | .avx512cd, |
| 2417 | 2611 | .avx512dq, |
| 2418 | | .avx512f, |
| 2419 | 2612 | .avx512vl, |
| 2420 | 2613 | .bmi, |
| 2421 | 2614 | .bmi2, |
| ... | ... | @@ -2423,28 +2616,34 @@ pub const cpu = struct { |
| 2423 | 2616 | .clwb, |
| 2424 | 2617 | .cmov, |
| 2425 | 2618 | .cx16, |
| 2426 | | .cx8, |
| 2427 | 2619 | .ermsb, |
| 2428 | | .f16c, |
| 2429 | | .fma, |
| 2620 | .false_deps_popcnt, |
| 2621 | .fast_15bytenop, |
| 2622 | .fast_gather, |
| 2623 | .fast_scalar_fsqrt, |
| 2624 | .fast_shld_rotate, |
| 2625 | .fast_variable_shuffle, |
| 2626 | .fast_vector_fsqrt, |
| 2430 | 2627 | .fsgsbase, |
| 2431 | 2628 | .fxsr, |
| 2629 | .idivq_to_divl, |
| 2432 | 2630 | .invpcid, |
| 2433 | 2631 | .lzcnt, |
| 2632 | .macrofusion, |
| 2434 | 2633 | .mmx, |
| 2435 | 2634 | .movbe, |
| 2436 | 2635 | .nopl, |
| 2437 | 2636 | .pclmul, |
| 2438 | 2637 | .pku, |
| 2439 | 2638 | .popcnt, |
| 2639 | .prefer_256_bit, |
| 2440 | 2640 | .prfchw, |
| 2441 | 2641 | .rdrnd, |
| 2442 | 2642 | .rdseed, |
| 2443 | 2643 | .sahf, |
| 2444 | | .sse2, |
| 2445 | | .sse4_2, |
| 2644 | .slow_3ops_lea, |
| 2645 | .vzeroupper, |
| 2446 | 2646 | .x87, |
| 2447 | | .xsave, |
| 2448 | 2647 | .xsavec, |
| 2449 | 2648 | .xsaveopt, |
| 2450 | 2649 | .xsaves, |
| ... | ... | @@ -2457,21 +2656,28 @@ pub const cpu = struct { |
| 2457 | 2656 | .@"64bit", |
| 2458 | 2657 | .adx, |
| 2459 | 2658 | .aes, |
| 2460 | | .avx, |
| 2461 | 2659 | .avx2, |
| 2462 | 2660 | .bmi, |
| 2463 | 2661 | .bmi2, |
| 2464 | 2662 | .clflushopt, |
| 2465 | 2663 | .cmov, |
| 2466 | 2664 | .cx16, |
| 2467 | | .cx8, |
| 2468 | 2665 | .ermsb, |
| 2469 | 2666 | .f16c, |
| 2667 | .false_deps_popcnt, |
| 2668 | .fast_15bytenop, |
| 2669 | .fast_gather, |
| 2670 | .fast_scalar_fsqrt, |
| 2671 | .fast_shld_rotate, |
| 2672 | .fast_variable_shuffle, |
| 2673 | .fast_vector_fsqrt, |
| 2470 | 2674 | .fma, |
| 2471 | 2675 | .fsgsbase, |
| 2472 | 2676 | .fxsr, |
| 2677 | .idivq_to_divl, |
| 2473 | 2678 | .invpcid, |
| 2474 | 2679 | .lzcnt, |
| 2680 | .macrofusion, |
| 2475 | 2681 | .mmx, |
| 2476 | 2682 | .movbe, |
| 2477 | 2683 | .nopl, |
| ... | ... | @@ -2482,10 +2688,9 @@ pub const cpu = struct { |
| 2482 | 2688 | .rdseed, |
| 2483 | 2689 | .sahf, |
| 2484 | 2690 | .sgx, |
| 2485 | | .sse2, |
| 2486 | | .sse4_2, |
| 2691 | .slow_3ops_lea, |
| 2692 | .vzeroupper, |
| 2487 | 2693 | .x87, |
| 2488 | | .xsave, |
| 2489 | 2694 | .xsavec, |
| 2490 | 2695 | .xsaveopt, |
| 2491 | 2696 | .xsaves, |
| ... | ... | @@ -2498,12 +2703,9 @@ pub const cpu = struct { |
| 2498 | 2703 | .@"64bit", |
| 2499 | 2704 | .adx, |
| 2500 | 2705 | .aes, |
| 2501 | | .avx, |
| 2502 | | .avx2, |
| 2503 | 2706 | .avx512bw, |
| 2504 | 2707 | .avx512cd, |
| 2505 | 2708 | .avx512dq, |
| 2506 | | .avx512f, |
| 2507 | 2709 | .avx512vl, |
| 2508 | 2710 | .bmi, |
| 2509 | 2711 | .bmi2, |
| ... | ... | @@ -2511,28 +2713,34 @@ pub const cpu = struct { |
| 2511 | 2713 | .clwb, |
| 2512 | 2714 | .cmov, |
| 2513 | 2715 | .cx16, |
| 2514 | | .cx8, |
| 2515 | 2716 | .ermsb, |
| 2516 | | .f16c, |
| 2517 | | .fma, |
| 2717 | .false_deps_popcnt, |
| 2718 | .fast_15bytenop, |
| 2719 | .fast_gather, |
| 2720 | .fast_scalar_fsqrt, |
| 2721 | .fast_shld_rotate, |
| 2722 | .fast_variable_shuffle, |
| 2723 | .fast_vector_fsqrt, |
| 2518 | 2724 | .fsgsbase, |
| 2519 | 2725 | .fxsr, |
| 2726 | .idivq_to_divl, |
| 2520 | 2727 | .invpcid, |
| 2521 | 2728 | .lzcnt, |
| 2729 | .macrofusion, |
| 2522 | 2730 | .mmx, |
| 2523 | 2731 | .movbe, |
| 2524 | 2732 | .nopl, |
| 2525 | 2733 | .pclmul, |
| 2526 | 2734 | .pku, |
| 2527 | 2735 | .popcnt, |
| 2736 | .prefer_256_bit, |
| 2528 | 2737 | .prfchw, |
| 2529 | 2738 | .rdrnd, |
| 2530 | 2739 | .rdseed, |
| 2531 | 2740 | .sahf, |
| 2532 | | .sse2, |
| 2533 | | .sse4_2, |
| 2741 | .slow_3ops_lea, |
| 2742 | .vzeroupper, |
| 2534 | 2743 | .x87, |
| 2535 | | .xsave, |
| 2536 | 2744 | .xsavec, |
| 2537 | 2745 | .xsaveopt, |
| 2538 | 2746 | .xsaves, |
| ... | ... | @@ -2545,8 +2753,10 @@ pub const cpu = struct { |
| 2545 | 2753 | .@"64bit", |
| 2546 | 2754 | .cmov, |
| 2547 | 2755 | .cx16, |
| 2548 | | .cx8, |
| 2756 | .false_deps_popcnt, |
| 2757 | .fast_7bytenop, |
| 2549 | 2758 | .fxsr, |
| 2759 | .idivq_to_divl, |
| 2550 | 2760 | .mmx, |
| 2551 | 2761 | .movbe, |
| 2552 | 2762 | .nopl, |
| ... | ... | @@ -2555,8 +2765,12 @@ pub const cpu = struct { |
| 2555 | 2765 | .prfchw, |
| 2556 | 2766 | .rdrnd, |
| 2557 | 2767 | .sahf, |
| 2768 | .slow_incdec, |
| 2769 | .slow_lea, |
| 2770 | .slow_pmulld, |
| 2771 | .slow_two_mem_ops, |
| 2558 | 2772 | .sse4_2, |
| 2559 | | .ssse3, |
| 2773 | .vzeroupper, |
| 2560 | 2774 | .x87, |
| 2561 | 2775 | }), |
| 2562 | 2776 | }; |
| ... | ... | @@ -2566,14 +2780,9 @@ pub const cpu = struct { |
| 2566 | 2780 | .features = featureSet(&[_]Feature{ |
| 2567 | 2781 | .@"64bit", |
| 2568 | 2782 | .adx, |
| 2569 | | .aes, |
| 2570 | | .avx, |
| 2571 | | .avx2, |
| 2572 | 2783 | .avx512bitalg, |
| 2573 | | .avx512bw, |
| 2574 | 2784 | .avx512cd, |
| 2575 | 2785 | .avx512dq, |
| 2576 | | .avx512f, |
| 2577 | 2786 | .avx512ifma, |
| 2578 | 2787 | .avx512vbmi, |
| 2579 | 2788 | .avx512vbmi2, |
| ... | ... | @@ -2587,24 +2796,29 @@ pub const cpu = struct { |
| 2587 | 2796 | .clwb, |
| 2588 | 2797 | .cmov, |
| 2589 | 2798 | .cx16, |
| 2590 | | .cx8, |
| 2591 | 2799 | .ermsb, |
| 2592 | | .f16c, |
| 2593 | | .fma, |
| 2800 | .fast_15bytenop, |
| 2801 | .fast_gather, |
| 2802 | .fast_scalar_fsqrt, |
| 2803 | .fast_shld_rotate, |
| 2804 | .fast_variable_shuffle, |
| 2805 | .fast_vector_fsqrt, |
| 2594 | 2806 | .fsgsbase, |
| 2595 | 2807 | .fsrm, |
| 2596 | 2808 | .fxsr, |
| 2597 | 2809 | .gfni, |
| 2810 | .idivq_to_divl, |
| 2598 | 2811 | .invpcid, |
| 2599 | 2812 | .lzcnt, |
| 2813 | .macrofusion, |
| 2600 | 2814 | .mmx, |
| 2601 | 2815 | .movbe, |
| 2602 | 2816 | .movdir64b, |
| 2603 | 2817 | .movdiri, |
| 2604 | 2818 | .nopl, |
| 2605 | | .pclmul, |
| 2606 | 2819 | .pku, |
| 2607 | 2820 | .popcnt, |
| 2821 | .prefer_256_bit, |
| 2608 | 2822 | .prfchw, |
| 2609 | 2823 | .rdpid, |
| 2610 | 2824 | .rdrnd, |
| ... | ... | @@ -2613,12 +2827,11 @@ pub const cpu = struct { |
| 2613 | 2827 | .sgx, |
| 2614 | 2828 | .sha, |
| 2615 | 2829 | .shstk, |
| 2616 | | .sse2, |
| 2617 | | .sse4_2, |
| 2830 | .slow_3ops_lea, |
| 2618 | 2831 | .vaes, |
| 2619 | 2832 | .vpclmulqdq, |
| 2833 | .vzeroupper, |
| 2620 | 2834 | .x87, |
| 2621 | | .xsave, |
| 2622 | 2835 | .xsavec, |
| 2623 | 2836 | .xsaveopt, |
| 2624 | 2837 | .xsaves, |
| ... | ... | @@ -2634,7 +2847,6 @@ pub const cpu = struct { |
| 2634 | 2847 | .clwb, |
| 2635 | 2848 | .cmov, |
| 2636 | 2849 | .cx16, |
| 2637 | | .cx8, |
| 2638 | 2850 | .fsgsbase, |
| 2639 | 2851 | .fxsr, |
| 2640 | 2852 | .gfni, |
| ... | ... | @@ -2651,10 +2863,13 @@ pub const cpu = struct { |
| 2651 | 2863 | .sahf, |
| 2652 | 2864 | .sgx, |
| 2653 | 2865 | .sha, |
| 2866 | .slow_incdec, |
| 2867 | .slow_lea, |
| 2868 | .slow_two_mem_ops, |
| 2654 | 2869 | .sse4_2, |
| 2655 | | .ssse3, |
| 2870 | .use_glm_div_sqrt_costs, |
| 2871 | .vzeroupper, |
| 2656 | 2872 | .x87, |
| 2657 | | .xsave, |
| 2658 | 2873 | .xsavec, |
| 2659 | 2874 | .xsaveopt, |
| 2660 | 2875 | .xsaves, |
| ... | ... | @@ -2667,15 +2882,15 @@ pub const cpu = struct { |
| 2667 | 2882 | .@"64bit", |
| 2668 | 2883 | .cmov, |
| 2669 | 2884 | .cx16, |
| 2670 | | .cx8, |
| 2671 | 2885 | .fxsr, |
| 2886 | .macrofusion, |
| 2672 | 2887 | .mmx, |
| 2673 | 2888 | .nopl, |
| 2674 | 2889 | .pclmul, |
| 2675 | 2890 | .popcnt, |
| 2676 | 2891 | .sahf, |
| 2677 | | .sse2, |
| 2678 | 2892 | .sse4_2, |
| 2893 | .vzeroupper, |
| 2679 | 2894 | .x87, |
| 2680 | 2895 | }), |
| 2681 | 2896 | }; |
| ... | ... | @@ -2684,6 +2899,8 @@ pub const cpu = struct { |
| 2684 | 2899 | .llvm_name = "winchip-c6", |
| 2685 | 2900 | .features = featureSet(&[_]Feature{ |
| 2686 | 2901 | .mmx, |
| 2902 | .slow_unaligned_mem_16, |
| 2903 | .vzeroupper, |
| 2687 | 2904 | .x87, |
| 2688 | 2905 | }), |
| 2689 | 2906 | }; |
| ... | ... | @@ -2692,6 +2909,8 @@ pub const cpu = struct { |
| 2692 | 2909 | .llvm_name = "winchip2", |
| 2693 | 2910 | .features = featureSet(&[_]Feature{ |
| 2694 | 2911 | .@"3dnow", |
| 2912 | .slow_unaligned_mem_16, |
| 2913 | .vzeroupper, |
| 2695 | 2914 | .x87, |
| 2696 | 2915 | }), |
| 2697 | 2916 | }; |
| ... | ... | @@ -2703,9 +2922,14 @@ pub const cpu = struct { |
| 2703 | 2922 | .cmov, |
| 2704 | 2923 | .cx8, |
| 2705 | 2924 | .fxsr, |
| 2925 | .idivq_to_divl, |
| 2926 | .macrofusion, |
| 2706 | 2927 | .mmx, |
| 2707 | 2928 | .nopl, |
| 2929 | .slow_3ops_lea, |
| 2930 | .slow_incdec, |
| 2708 | 2931 | .sse2, |
| 2932 | .vzeroupper, |
| 2709 | 2933 | .x87, |
| 2710 | 2934 | }), |
| 2711 | 2935 | }; |
| ... | ... | @@ -2716,14 +2940,21 @@ pub const cpu = struct { |
| 2716 | 2940 | .@"64bit", |
| 2717 | 2941 | .cmov, |
| 2718 | 2942 | .cx16, |
| 2719 | | .cx8, |
| 2943 | .false_deps_popcnt, |
| 2944 | .fast_15bytenop, |
| 2945 | .fast_scalar_fsqrt, |
| 2946 | .fast_shld_rotate, |
| 2720 | 2947 | .fxsr, |
| 2948 | .idivq_to_divl, |
| 2949 | .macrofusion, |
| 2721 | 2950 | .mmx, |
| 2722 | 2951 | .nopl, |
| 2723 | 2952 | .popcnt, |
| 2724 | 2953 | .sahf, |
| 2725 | | .sse2, |
| 2954 | .slow_3ops_lea, |
| 2955 | .slow_unaligned_mem_32, |
| 2726 | 2956 | .sse4_2, |
| 2957 | .vzeroupper, |
| 2727 | 2958 | .x87, |
| 2728 | 2959 | }), |
| 2729 | 2960 | }; |
| ... | ... | @@ -2737,18 +2968,25 @@ pub const cpu = struct { |
| 2737 | 2968 | .bmi2, |
| 2738 | 2969 | .cmov, |
| 2739 | 2970 | .cx16, |
| 2740 | | .cx8, |
| 2741 | 2971 | .f16c, |
| 2972 | .false_deps_lzcnt_tzcnt, |
| 2973 | .false_deps_popcnt, |
| 2974 | .fast_15bytenop, |
| 2975 | .fast_scalar_fsqrt, |
| 2976 | .fast_shld_rotate, |
| 2977 | .fast_variable_shuffle, |
| 2742 | 2978 | .fma, |
| 2743 | 2979 | .fxsr, |
| 2980 | .idivq_to_divl, |
| 2744 | 2981 | .lzcnt, |
| 2982 | .macrofusion, |
| 2745 | 2983 | .mmx, |
| 2746 | 2984 | .movbe, |
| 2747 | 2985 | .nopl, |
| 2748 | 2986 | .popcnt, |
| 2749 | 2987 | .sahf, |
| 2750 | | .sse2, |
| 2751 | | .sse4_2, |
| 2988 | .slow_3ops_lea, |
| 2989 | .vzeroupper, |
| 2752 | 2990 | .x87, |
| 2753 | 2991 | .xsave, |
| 2754 | 2992 | }), |
| ... | ... | @@ -2758,7 +2996,6 @@ pub const cpu = struct { |
| 2758 | 2996 | .llvm_name = "x86-64-v4", |
| 2759 | 2997 | .features = featureSet(&[_]Feature{ |
| 2760 | 2998 | .@"64bit", |
| 2761 | | .avx2, |
| 2762 | 2999 | .avx512bw, |
| 2763 | 3000 | .avx512cd, |
| 2764 | 3001 | .avx512dq, |
| ... | ... | @@ -2767,18 +3004,25 @@ pub const cpu = struct { |
| 2767 | 3004 | .bmi2, |
| 2768 | 3005 | .cmov, |
| 2769 | 3006 | .cx16, |
| 2770 | | .cx8, |
| 2771 | | .f16c, |
| 2772 | | .fma, |
| 2773 | | .fxsr, |
| 3007 | .false_deps_popcnt, |
| 3008 | .fast_15bytenop, |
| 3009 | .fast_gather, |
| 3010 | .fast_scalar_fsqrt, |
| 3011 | .fast_shld_rotate, |
| 3012 | .fast_variable_shuffle, |
| 3013 | .fast_vector_fsqrt, |
| 3014 | .fxsr, |
| 3015 | .idivq_to_divl, |
| 2774 | 3016 | .lzcnt, |
| 3017 | .macrofusion, |
| 2775 | 3018 | .mmx, |
| 2776 | 3019 | .movbe, |
| 2777 | 3020 | .nopl, |
| 2778 | 3021 | .popcnt, |
| 3022 | .prefer_256_bit, |
| 2779 | 3023 | .sahf, |
| 2780 | | .sse2, |
| 2781 | | .sse4_2, |
| 3024 | .slow_3ops_lea, |
| 3025 | .vzeroupper, |
| 2782 | 3026 | .x87, |
| 2783 | 3027 | .xsave, |
| 2784 | 3028 | }), |
| ... | ... | @@ -2792,7 +3036,9 @@ pub const cpu = struct { |
| 2792 | 3036 | .fxsr, |
| 2793 | 3037 | .mmx, |
| 2794 | 3038 | .nopl, |
| 3039 | .slow_unaligned_mem_16, |
| 2795 | 3040 | .sse3, |
| 3041 | .vzeroupper, |
| 2796 | 3042 | .x87, |
| 2797 | 3043 | }), |
| 2798 | 3044 | }; |
| ... | ... | @@ -2806,11 +3052,16 @@ pub const cpu = struct { |
| 2806 | 3052 | .avx2, |
| 2807 | 3053 | .bmi, |
| 2808 | 3054 | .bmi2, |
| 3055 | .branchfusion, |
| 2809 | 3056 | .clflushopt, |
| 2810 | 3057 | .clzero, |
| 2811 | 3058 | .cmov, |
| 2812 | 3059 | .cx16, |
| 2813 | 3060 | .f16c, |
| 3061 | .fast_15bytenop, |
| 3062 | .fast_bextr, |
| 3063 | .fast_lzcnt, |
| 3064 | .fast_scalar_shift_masks, |
| 2814 | 3065 | .fma, |
| 2815 | 3066 | .fsgsbase, |
| 2816 | 3067 | .fxsr, |
| ... | ... | @@ -2826,9 +3077,10 @@ pub const cpu = struct { |
| 2826 | 3077 | .rdseed, |
| 2827 | 3078 | .sahf, |
| 2828 | 3079 | .sha, |
| 3080 | .slow_shld, |
| 2829 | 3081 | .sse4a, |
| 3082 | .vzeroupper, |
| 2830 | 3083 | .x87, |
| 2831 | | .xsave, |
| 2832 | 3084 | .xsavec, |
| 2833 | 3085 | .xsaveopt, |
| 2834 | 3086 | .xsaves, |
| ... | ... | @@ -2844,12 +3096,17 @@ pub const cpu = struct { |
| 2844 | 3096 | .avx2, |
| 2845 | 3097 | .bmi, |
| 2846 | 3098 | .bmi2, |
| 3099 | .branchfusion, |
| 2847 | 3100 | .clflushopt, |
| 2848 | 3101 | .clwb, |
| 2849 | 3102 | .clzero, |
| 2850 | 3103 | .cmov, |
| 2851 | 3104 | .cx16, |
| 2852 | 3105 | .f16c, |
| 3106 | .fast_15bytenop, |
| 3107 | .fast_bextr, |
| 3108 | .fast_lzcnt, |
| 3109 | .fast_scalar_shift_masks, |
| 2853 | 3110 | .fma, |
| 2854 | 3111 | .fsgsbase, |
| 2855 | 3112 | .fxsr, |
| ... | ... | @@ -2866,10 +3123,11 @@ pub const cpu = struct { |
| 2866 | 3123 | .rdseed, |
| 2867 | 3124 | .sahf, |
| 2868 | 3125 | .sha, |
| 3126 | .slow_shld, |
| 2869 | 3127 | .sse4a, |
| 3128 | .vzeroupper, |
| 2870 | 3129 | .wbnoinvd, |
| 2871 | 3130 | .x87, |
| 2872 | | .xsave, |
| 2873 | 3131 | .xsavec, |
| 2874 | 3132 | .xsaveopt, |
| 2875 | 3133 | .xsaves, |
| ... | ... | @@ -2881,18 +3139,23 @@ pub const cpu = struct { |
| 2881 | 3139 | .features = featureSet(&[_]Feature{ |
| 2882 | 3140 | .@"64bit", |
| 2883 | 3141 | .adx, |
| 2884 | | .aes, |
| 2885 | 3142 | .avx2, |
| 2886 | 3143 | .bmi, |
| 2887 | 3144 | .bmi2, |
| 3145 | .branchfusion, |
| 2888 | 3146 | .clflushopt, |
| 2889 | 3147 | .clwb, |
| 2890 | 3148 | .clzero, |
| 2891 | 3149 | .cmov, |
| 2892 | 3150 | .cx16, |
| 2893 | 3151 | .f16c, |
| 3152 | .fast_15bytenop, |
| 3153 | .fast_bextr, |
| 3154 | .fast_lzcnt, |
| 3155 | .fast_scalar_shift_masks, |
| 2894 | 3156 | .fma, |
| 2895 | 3157 | .fsgsbase, |
| 3158 | .fsrm, |
| 2896 | 3159 | .fxsr, |
| 2897 | 3160 | .invpcid, |
| 2898 | 3161 | .lzcnt, |
| ... | ... | @@ -2900,7 +3163,6 @@ pub const cpu = struct { |
| 2900 | 3163 | .movbe, |
| 2901 | 3164 | .mwaitx, |
| 2902 | 3165 | .nopl, |
| 2903 | | .pclmul, |
| 2904 | 3166 | .pku, |
| 2905 | 3167 | .popcnt, |
| 2906 | 3168 | .prfchw, |
| ... | ... | @@ -2909,12 +3171,13 @@ pub const cpu = struct { |
| 2909 | 3171 | .rdseed, |
| 2910 | 3172 | .sahf, |
| 2911 | 3173 | .sha, |
| 3174 | .slow_shld, |
| 2912 | 3175 | .sse4a, |
| 2913 | 3176 | .vaes, |
| 2914 | 3177 | .vpclmulqdq, |
| 3178 | .vzeroupper, |
| 2915 | 3179 | .wbnoinvd, |
| 2916 | 3180 | .x87, |
| 2917 | | .xsave, |
| 2918 | 3181 | .xsavec, |
| 2919 | 3182 | .xsaveopt, |
| 2920 | 3183 | .xsaves, |