aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-11-10 18:34:58 +0000
committerlloyd <[email protected]>2011-11-10 18:34:58 +0000
commit5a76eb4c07f0caedde1a3d1d2824f2764a46a582 (patch)
tree5de90f018fbcc7fb4af0811627b2e4d4d871d74d /src/utils
parent7939e91a733c8c50706de2fb090fcb60f7f229c8 (diff)
parent8f590236f5f9bde3044fce715b69aac33e4a447a (diff)
propagate from branch 'net.randombit.botan' (head f13cb517b63aed4fcc4ad7013e5c905fae85796b)
to branch 'net.randombit.botan.cxx11' (head e330c6b33c4583b342a129336d27ce03c9e4e287)
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/cpuid.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp
index cb6fdaba5..917789f65 100644
--- a/src/utils/cpuid.cpp
+++ b/src/utils/cpuid.cpp
@@ -128,6 +128,7 @@ bool altivec_check_pvr_emul()
const u16bit PVR_G5_970MP = 0x0044;
const u16bit PVR_G5_970GX = 0x0045;
const u16bit PVR_POWER6 = 0x003E;
+ const u16bit PVR_POWER7 = 0x003F;
const u16bit PVR_CELL_PPU = 0x0070;
// Motorola produced G4s with PVR 0x800[0123C] (at least)
@@ -147,6 +148,7 @@ bool altivec_check_pvr_emul()
altivec_capable |= (pvr == PVR_G5_970MP);
altivec_capable |= (pvr == PVR_G5_970GX);
altivec_capable |= (pvr == PVR_POWER6);
+ altivec_capable |= (pvr == PVR_POWER7);
altivec_capable |= (pvr == PVR_CELL_PPU);
#endif