autoconf-archive-maintainers
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.gnu.org/patch/?7978>

                 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

    _______________________________________________________

Details:

https://savannah.gnu.org/patch/index.php?7707

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
vary.
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 http://users.atw.hu/instlatx64/.

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

<http://savannah.gnu.org/patch/download.php?file_id=27672>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7978>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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