We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c6c2cd + 085aae8 commit 514a3d7Copy full SHA for 514a3d7
cpuid_power.c
@@ -145,7 +145,7 @@ int detect(void){
145
if (implementation >= 0x40000u) return CPUTYPE_POWER10;
146
else if (implementation & 0x20000) return CPUTYPE_POWER9;
147
else if (implementation & 0x10000) return CPUTYPE_POWER8;
148
- else if (implementation & 0x08000) return CPUTYPE_POWER7; // POWER 7
+ else if (implementation & 0x08000) return CPUTYPE_POWER6; // POWER 7
149
else if (implementation & 0x04000) return CPUTYPE_POWER6;
150
else if (implementation & 0x02000) return CPUTYPE_POWER5;
151
else if (implementation & 0x01000) return CPUTYPE_POWER4; // MPC7450
0 commit comments