diff options
author | lloyd <[email protected]> | 2011-11-02 16:47:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-11-02 16:47:02 +0000 |
commit | 65ef8b96b574dcf106f57d90e125683a7b5a74ae (patch) | |
tree | 34b4d35ccc191519fcf07fb05dbdd3ef209a35cc /src/utils | |
parent | a8dc602e3b2aad55c266ef41dd355e53c663a98b (diff) |
Add AltiVec detection for POWER7 processors
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/cpuid.cpp | 2 |
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 |