diff options
author | Jack Lloyd <[email protected]> | 2017-09-19 23:10:40 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-19 23:10:40 -0400 |
commit | 34662ad90420f924c086d3851595b5fcede12612 (patch) | |
tree | df96cf56fbcecb77ec2f821ea81943b23b1e53e9 /src/lib/utils | |
parent | e06df9e49ffe2c4ee7617f072b2d7039e9358ef2 (diff) |
Add additional ids for AltiVec enabled POWER processors
Taken from a patch to 1.10 in Debian
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/cpuid/cpuid_ppc.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/utils/cpuid/cpuid_ppc.cpp b/src/lib/utils/cpuid/cpuid_ppc.cpp index 647672a71..750cf3a47 100644 --- a/src/lib/utils/cpuid/cpuid_ppc.cpp +++ b/src/lib/utils/cpuid/cpuid_ppc.cpp @@ -69,9 +69,11 @@ uint64_t CPUID::detect_cpu_features(size_t* cache_line_size) if(pvr > 0) { const uint16_t ALTIVEC_PVR[] = { - 0x003E, // IBM POWER6, - 0x003F, // IBM POWER7, - 0x004B, // IBM POWER8, + 0x003E, // IBM POWER6 + 0x003F, // IBM POWER7 + 0x004A, // IBM POWER7p + 0x004D, // IBM POWER8 + 0x004B, // IBM POWER8E 0x000C, // G4-7400 0x0039, // G5 970 0x003C, // G5 970FX |