public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Treat model == 0x4f as Broadwell
@ 2015-08-07 22:57 H.J. Lu
  2015-08-08  7:42 ` Uros Bizjak
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2015-08-07 22:57 UTC (permalink / raw)
  To: gcc-patches; +Cc: Uros Bizjak

From Intel SDM Vol 3:

Table 35-29 lists MSRs that are common to processors based on the
Broadwell microarchitectures (including CPUID signatures 06_3DH, 06_47H,
06_4FH, and 06_56H).

OK for trunk?

H.J.
---
	* config/i386/driver-i386.c (host_detect_local_cpu): Treat
	model == 0x4f as Broadwell.

diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 1c6c221..bc5239e 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -749,6 +749,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
 	  cpu = "haswell";
 	  break;
 	case 0x3d:
+	case 0x47:
 	case 0x4f:
 	case 0x56:
 	  /* Broadwell.  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-10 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 22:57 [PATCH] Treat model == 0x4f as Broadwell H.J. Lu
2015-08-08  7:42 ` Uros Bizjak
2015-08-10 19:20   ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).