Patchwork PATCH: Support Intel processor model 6 and model 0x2c]

login
register
mail settings
Submitter H.J. Lu
Date Nov. 11, 2010, 1:49 p.m.
Message ID <20101111134924.GA13687@intel.com>
Download mbox | patch
Permalink /patch/70805/
State New
Headers show

Comments

H.J. Lu - Nov. 11, 2010, 1:49 p.m.
Hi,

Intel processor model 6 and model 0x2c is in Westmere family.
This patch supports it. OK for trunk?

Thanks.


H.J.
---
2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/driver-i386.c (host_detect_local_cpu): Support
	Intel processor model 6 and model 0x2c.
Uros Bizjak - Nov. 11, 2010, 5:24 p.m.
On Thu, Nov 11, 2010 at 2:49 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:

> 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
>
>        * config/i386/driver-i386.c (host_detect_local_cpu): Support
>        Intel processor model 6 and model 0x2c.

... processor family 6, model 0x2c.

OK with this change.

Uros.

Patch

diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 288d507..0e13162 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -564,6 +564,7 @@  const char *host_detect_local_cpu (int argc, const char **argv)
 	  cpu = "corei7";
 	  break;
 	case 0x25:
+	case 0x2c:
 	case 0x2f:
 	  /* Westmere.  */
 	  cpu = "corei7";