Fixed issues with various K6s.

This commit is contained in:
n-a-c-h
2005-10-29 17:41:33 +00:00
parent a81505b672
commit 5d521104af

View File

@@ -424,7 +424,7 @@ if test x$enable_cpucheck != xno; then
#if __GNUC__ > 2 #if __GNUC__ > 2
if (strstr(flags, " 3dnow ")) if (strstr(flags, " 3dnow "))
{ {
if (strstr(flags, " 3dnowext ")) if (strstr(flags, " 3dnowext ") && (atoi(cpu_family) > 5))
{ {
#if __GNUC__ > 3 || __GNUC_MINOR__ > 0 #if __GNUC__ > 3 || __GNUC_MINOR__ > 0
if (strstr(flags, " sse ")) if (strstr(flags, " sse "))
@@ -459,7 +459,7 @@ if test x$enable_cpucheck != xno; then
} }
#endif #endif
if (!cpu && (atoi(cpu_family) > 5)) { cpu = "k6"; } if (!cpu) { cpu = "k6"; }
} }
} }
else if (!strcmp(vendor_id, "GenuineIntel") || strstr(model_name, "Intel")) else if (!strcmp(vendor_id, "GenuineIntel") || strstr(model_name, "Intel"))