Skip to content

Commit

Permalink
Merge pull request #103 from mitsuhiko/feature/arm64e
Browse files Browse the repository at this point in the history
Added arm64e architecture
  • Loading branch information
m4b authored Sep 29, 2018
2 parents dd3a923 + 80cc9fc commit 36becc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mach/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ pub mod cputype {
pub const CPU_SUBTYPE_ARM_V8: CpuSubType = 13;
pub const CPU_SUBTYPE_ARM64_ALL: CpuSubType = 0;
pub const CPU_SUBTYPE_ARM64_V8: CpuSubType = 1;
pub const CPU_SUBTYPE_ARM64_E: CpuSubType = 2;

macro_rules! cpu_flag_mapping {
(
Expand Down Expand Up @@ -415,6 +416,7 @@ pub mod cputype {
("armv7m", CPU_TYPE_ARM, CPU_SUBTYPE_ARM_V7M),
("armv7em", CPU_TYPE_ARM, CPU_SUBTYPE_ARM_V7EM),
("arm64v8", CPU_TYPE_ARM64, CPU_SUBTYPE_ARM64_V8),
("arm64e", CPU_TYPE_ARM64, CPU_SUBTYPE_ARM64_E),
}
}

Expand Down

0 comments on commit 36becc9

Please sign in to comment.