aboutsummaryrefslogtreecommitdiff
path: root/tools/update_cpu_features.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2021-05-03 12:30:18 +0200
committerLemonBoy <thatlemon@gmail.com>2021-05-03 12:32:13 +0200
commit3eed61340784af95a92e2035712eeaeab7cf0ad3 (patch)
tree763495c6a14e883ef9b0077561f3763b1680ebc1 /tools/update_cpu_features.zig
parente2d2295382164776d32997d5806b9829525d7875 (diff)
downloadzig-3eed61340784af95a92e2035712eeaeab7cf0ad3.tar.gz
zig-3eed61340784af95a92e2035712eeaeab7cf0ad3.zip
std: Add two more ARM CPUs to the known CPU list
Modeled after GCC's description.
Diffstat (limited to 'tools/update_cpu_features.zig')
-rw-r--r--tools/update_cpu_features.zig22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/update_cpu_features.zig b/tools/update_cpu_features.zig
index 15143dfca4..c2ddd87f7c 100644
--- a/tools/update_cpu_features.zig
+++ b/tools/update_cpu_features.zig
@@ -239,6 +239,28 @@ const llvm_targets = [_]LlvmTarget{
"zcz_fp",
},
},
+ .{
+ .llvm_name = null,
+ .zig_name = "xgene1",
+ .features = &.{
+ "fp_armv8",
+ "neon",
+ "perfmon",
+ "v8a",
+ },
+ },
+ .{
+ .llvm_name = null,
+ .zig_name = "emag",
+ .features = &.{
+ "crc",
+ "crypto",
+ "fp_armv8",
+ "neon",
+ "perfmon",
+ "v8a",
+ },
+ },
},
},
.{