This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/54210] gcc unable to detect -mprfchw flag in bulldozer machines
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Aug 2012 13:21:52 +0000
- Subject: [Bug driver/54210] gcc unable to detect -mprfchw flag in bulldozer machines
- Auto-submitted: auto-generated
- References: <bug-54210-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54210
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-13 13:21:52 UTC ---
Author: jakub
Date: Mon Aug 13 13:21:41 2012
New Revision: 190345
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190345
Log:
PR driver/54210
* config/i386/driver-i386.c (host_detect_local_cpu): Test bit_PRFCHW
bit of CPUID 0x80000001 %ecx instead of CPUID 7 %ecx.
* config/i386/cpuid.h (bits_PRFCHW): Move definition to CPUID
0x80000001 %ecx flags.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/cpuid.h
trunk/gcc/config/i386/driver-i386.c