diff mbox

add another sandy bridge model number

Message ID 20110608100905.GL27166@one.firstfloor.org
State New
Headers show

Commit Message

Andi Kleen June 8, 2011, 10:09 a.m. UTC
Add another sandy bridge model number.

Passes bootstrap & test suite on x86_64-linux. Ok for trunk and 
4.6?

2011-06-6  Andi Kleen  <ak@linux.intel.com>

	* config/i386/driver-i386.c (host_detect_local_cpu):
	Add model 0x2d Intel CPU.
---
 gcc/config/i386/driver-i386.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 4fc6b45..98cd6f6 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -572,6 +572,7 @@  const char *host_detect_local_cpu (int argc, const char **argv)
 	  cpu = "corei7";
 	  break;
 	case 0x2a:
+	case 0x2d:
 	  /* Sandy Bridge.  */
 	  cpu = "corei7-avx";
 	  break;