aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2013-08-27 18:11:23 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-08-27 11:11:23 -0700
commitd0cf4e841d8ab907811943e04102d9765660c003 (patch)
tree954d6a21d59f51a8a766bce6f5b4e0f436826d60
parent992592ec7a83b1001cf88633fae88d92f8dba79c (diff)
downloadgcc-d0cf4e841d8ab907811943e04102d9765660c003.zip
gcc-d0cf4e841d8ab907811943e04102d9765660c003.tar.gz
gcc-d0cf4e841d8ab907811943e04102d9765660c003.tar.bz2
Update Haswell processor detection
* config/i386/driver-i386.c (host_detect_local_cpu): Update Haswell processor detection. From-SVN: r202028
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/driver-i386.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9698dc9..54a4cf9e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/driver-i386.c (host_detect_local_cpu): Update
+ Haswell processor detection.
+
2013-08-27 Christian Widmer <shadow@umbrox.de>
PR target/57927
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 001d12f..4cb9907 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -673,6 +673,8 @@ const char *host_detect_local_cpu (int argc, const char **argv)
cpu = "core-avx-i";
break;
case 0x3c:
+ case 0x45:
+ case 0x46:
/* Haswell. */
cpu = "core-avx2";
break;