* [PATCH] add another sandy bridge model number
@ 2011-06-08 10:17 Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2011-06-08 10:17 UTC (permalink / raw)
To: gcc-patches
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 --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;
--
1.7.5.3
--
ak@linux.intel.com -- Speaking for myself only.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] add another sandy bridge model number
@ 2011-06-08 13:20 Uros Bizjak
0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2011-06-08 13:20 UTC (permalink / raw)
To: gcc-patches; +Cc: Andi Kleen
Hello!
> 2011-06-6 Andi Kleen <ak@linux.intel.com>
2011-06-08 ...
> * config/i386/driver-i386.c (host_detect_local_cpu):
> Add model 0x2d Intel CPU.
OK with updated ChangeLog entry.
Thanks,
Uros.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-08 12:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08 10:17 [PATCH] add another sandy bridge model number Andi Kleen
2011-06-08 13:20 Uros Bizjak
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).