[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #7978] AX_GCC_ARCHFLAG: fix wrong CPU detection

From: anonymous
Subject: [patch #7978] AX_GCC_ARCHFLAG: fix wrong CPU detection
Date: Mon, 25 Mar 2013 02:29:59 +0000
User-agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0


                 Summary: AX_GCC_ARCHFLAG: fix wrong CPU detection
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: 2013年03月25日 02時29分57秒
                Priority: 7 - High
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



When I wrote the patch above, I didn't know that AX_GCC_X86_CPUID macro does
not guarantee that its result is always 4*8-digit. Actually, result of
AX_GCC_X86_CPUID does not contain leading zeroes and number of digits may
As a result, I broke AX_GCC_ARCHFLAG for most of AMD processors and older
Intel processors.
This patch will fix this issue by changing case patterns.

To make sure this issue is fixed correctly, I tested the script using CPUID
dumps available at

Sorry for breaking a macro and I hope this fix will be helpful.


File Attachments:

Date: 2013年03月25日 02時29分57秒  Name:
0001-AX_GCC_ARCHFLAG-fix-wrong-CPU-detection.patch  Size: 4kB   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]