From 65ef8b96b574dcf106f57d90e125683a7b5a74ae Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 2 Nov 2011 16:47:02 +0000 Subject: Add AltiVec detection for POWER7 processors --- src/utils/cpuid.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3