mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 10:45:48 +08:00
update_cpu_features: map some arm and aarch64 models to LLVM's generic
This commit is contained in:
3 files changed
+12
-12
No files matched your search
@@ -3361,7 +3361,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const emag: CpuModel = .{
|
||||
.name = "emag",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.crc,
|
||||
.crypto,
|
||||
@@ -3371,7 +3371,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const exynos_m1: CpuModel = .{
|
||||
.name = "exynos_m1",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.crc,
|
||||
.crypto,
|
||||
@@ -3384,7 +3384,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const exynos_m2: CpuModel = .{
|
||||
.name = "exynos_m2",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.crc,
|
||||
.crypto,
|
||||
@@ -3987,7 +3987,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const xgene1: CpuModel = .{
|
||||
.name = "xgene1",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.perfmon,
|
||||
.v8a,
|
||||
|
||||
@@ -2277,7 +2277,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const exynos_m1: CpuModel = .{
|
||||
.name = "exynos_m1",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.crypto,
|
||||
.expand_fp_mlx,
|
||||
@@ -2298,7 +2298,7 @@ pub const cpu = struct {
|
||||
};
|
||||
pub const exynos_m2: CpuModel = .{
|
||||
.name = "exynos_m2",
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.crypto,
|
||||
.expand_fp_mlx,
|
||||
|
||||
@@ -861,7 +861,7 @@ const targets = [_]ArchTarget{
|
||||
},
|
||||
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "exynos_m1",
|
||||
.features = &.{
|
||||
"crc",
|
||||
@@ -874,7 +874,7 @@ const targets = [_]ArchTarget{
|
||||
},
|
||||
},
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "exynos_m2",
|
||||
.features = &.{
|
||||
"crc",
|
||||
@@ -887,7 +887,7 @@ const targets = [_]ArchTarget{
|
||||
},
|
||||
},
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "xgene1",
|
||||
.features = &.{
|
||||
"perfmon",
|
||||
@@ -895,7 +895,7 @@ const targets = [_]ArchTarget{
|
||||
},
|
||||
},
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "emag",
|
||||
.features = &.{
|
||||
"crc",
|
||||
@@ -1970,12 +1970,12 @@ const targets = [_]ArchTarget{
|
||||
.features = &.{ "v7a", "vfp3d16" },
|
||||
},
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "exynos_m1",
|
||||
.features = &.{ "v8a", "exynos" },
|
||||
},
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.llvm_name = "generic",
|
||||
.zig_name = "exynos_m2",
|
||||
.features = &.{ "v8a", "exynos" },
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user