authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2024-08-07 08:56:50-07:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2024-08-07 08:56:50-07:00
logcf2558e97103c0f8412cdf41c4120baa09775086
tree3868febbea9ed34a6d5121ecc8273ffd87594046
parentf9f894200891c8af6ce3a3ad222cd0bf1ee15587

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`

1 files changed, 5 insertions(+), 0 deletions(-)

tools/update_cpu_features.zig+5
......@@ -809,6 +809,10 @@ const llvm_targets = [_]LlvmTarget{
809809 .llvm_name = "v9.4a",
810810 .zig_name = "has_v9_4a",
811811 },
812 .{
813 .llvm_name = "v9.5a",
814 .zig_name = "has_v9_5a",
815 },
812816 },
813817 // LLVM removed support for v2 and v3 but zig wants to support targeting old hardware
814818 .extra_features = &.{
......@@ -990,6 +994,7 @@ const llvm_targets = [_]LlvmTarget{
990994 "icelake_client",
991995 "icelake_server",
992996 "graniterapids_d",
997 "arrowlake_s",
993998 },
994999 },
9951000 .{