Hello! According to cpuid dumps at [1], we can use detect_caches_amd for several othver vendors.
2013-05-16 Uros Bizjak <ubiz...@gmail.com> * config/i386/driver-i386.c (host_detect_local_cpu): Determine cache parameters using detect_caches_amd also for CYRIX, NSC and TM2 signatures. Tested on x86_64-pc-linux-gnu and committed to mainline SVN. [1] http://instlatx64.atw.hu/ Uros. Index: config/i386/driver-i386.c =================================================================== --- config/i386/driver-i386.c (revision 198987) +++ config/i386/driver-i386.c (working copy) @@ -518,7 +518,10 @@ if (!arch) { if (vendor == signature_AMD_ebx - || vendor == signature_CENTAUR_ebx) + || vendor == signature_CENTAUR_ebx + || vendor == signature_CYRIX_ebx + || vendor == signature_NSC_ebx + || vendor == signature_TM2_ebx) cache = detect_caches_amd (ext_level); else if (vendor == signature_INTEL_ebx) {