diff options
Diffstat (limited to 'absl/crc/internal')
-rw-r--r-- | absl/crc/internal/cpu_detect.cc | 3 | ||||
-rw-r--r-- | absl/crc/internal/cpu_detect.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/absl/crc/internal/cpu_detect.cc b/absl/crc/internal/cpu_detect.cc index 8f668e3a..b3078137 100644 --- a/absl/crc/internal/cpu_detect.cc +++ b/absl/crc/internal/cpu_detect.cc @@ -246,6 +246,9 @@ CpuType GetCpuType() { if (implementer == 0x41 && part_number == 0xd0c) { return CpuType::kArmNeoverseN1; } + if (implementer == 0xc0 && part_number == 0xac3) { + return CpuType::kAmpereSiryn; + } } return CpuType::kUnknown; } diff --git a/absl/crc/internal/cpu_detect.h b/absl/crc/internal/cpu_detect.h index 945379f5..8d09dc27 100644 --- a/absl/crc/internal/cpu_detect.h +++ b/absl/crc/internal/cpu_detect.h @@ -39,6 +39,7 @@ enum class CpuType { kIntelSandybridge, kIntelWestmere, kArmNeoverseN1, + kAmpereSiryn, }; // Returns the type of host CPU this code is running on. Returns kUnknown if |