diff mbox

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

Message ID 20101111134924.GA13687@intel.com
State New
Headers show

Commit Message

H.J. Lu Nov. 11, 2010, 1:49 p.m. UTC
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.

Comments

Uros Bizjak Nov. 11, 2010, 5:24 p.m. UTC | #1
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.
diff mbox

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";