Reapply patch to fix AMD CPU detection
This commit is contained in:
parent
13568d2aa4
commit
876b806ec0
|
@ -1516,7 +1516,9 @@ static unsigned int detectCPUFeatures(void) {
|
||||||
features |= SSE;
|
features |= SSE;
|
||||||
if (result & (1 << 26))
|
if (result & (1 << 26))
|
||||||
features |= SSE2;
|
features |= SSE2;
|
||||||
if ((result & MMX) && !(result & SSE) && (strcmp(vendor, "AuthenticAMD") == 0)) {
|
if ((features & MMX) && !(features & SSE) &&
|
||||||
|
(strcmp(vendor, "AuthenticAMD") == 0 ||
|
||||||
|
strcmp(vendor, "Geode by NSC") == 0)) {
|
||||||
/* check for AMD MMX extensions */
|
/* check for AMD MMX extensions */
|
||||||
|
|
||||||
unsigned int result;
|
unsigned int result;
|
||||||
|
|
Loading…
Reference in New Issue