This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]