mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
update_cpu_features: Add x86 alias and arm override
Before this commit, the name `v9.5a` was being used for two different features, and one was overwriting the other in the `all_features` array. `arrowlake_s` is an alias for `arrowlake-s`
This commit is contained in:
parent
f9f8942008
commit
cf2558e971
@ -809,6 +809,10 @@ const llvm_targets = [_]LlvmTarget{
|
|||||||
.llvm_name = "v9.4a",
|
.llvm_name = "v9.4a",
|
||||||
.zig_name = "has_v9_4a",
|
.zig_name = "has_v9_4a",
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.llvm_name = "v9.5a",
|
||||||
|
.zig_name = "has_v9_5a",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// LLVM removed support for v2 and v3 but zig wants to support targeting old hardware
|
// LLVM removed support for v2 and v3 but zig wants to support targeting old hardware
|
||||||
.extra_features = &.{
|
.extra_features = &.{
|
||||||
@ -990,6 +994,7 @@ const llvm_targets = [_]LlvmTarget{
|
|||||||
"icelake_client",
|
"icelake_client",
|
||||||
"icelake_server",
|
"icelake_server",
|
||||||
"graniterapids_d",
|
"graniterapids_d",
|
||||||
|
"arrowlake_s",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user