Hello!

I didn't notice that TM2 target has the same ebx signature as Intel
target, so detect_caches_amd was also used for Intel processors.
Attached patch fixes this problem by removing Transmeta signature.

2013-07-07  Uros Bizjak  <ubiz...@gmail.com>

        * config/i386/driver-i386.c (host_detect_local_cpu): Do not check
        signature_TM2_ebx, it interferes with signature_INTEL_ebx.

Tested on x86_64-pc-linux-gnu and committed to mainline SVN.

Uros.
Index: config/i386/driver-i386.c
===================================================================
--- config/i386/driver-i386.c   (revision 200743)
+++ config/i386/driver-i386.c   (working copy)
@@ -520,8 +520,7 @@ const char *host_detect_local_cpu (int argc, const
       if (vendor == signature_AMD_ebx
          || vendor == signature_CENTAUR_ebx
          || vendor == signature_CYRIX_ebx
-         || vendor == signature_NSC_ebx
-         || vendor == signature_TM2_ebx)
+         || vendor == signature_NSC_ebx)
        cache = detect_caches_amd (ext_level);
       else if (vendor == signature_INTEL_ebx)
        {

Reply via email to