aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2015-08-09 13:59:08 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2015-08-09 06:59:08 -0700
commitdc04bc843188dff973f0a9a758d25217fad66444 (patch)
tree6b541be4828b81da84d979f950fb59721d956985
parent03c02a42c59949e6ae0fdb0892fb3e751932d17b (diff)
downloadgcc-dc04bc843188dff973f0a9a758d25217fad66444.zip
gcc-dc04bc843188dff973f0a9a758d25217fad66444.tar.gz
gcc-dc04bc843188dff973f0a9a758d25217fad66444.tar.bz2
Treat model == 0x4f as Broadwell
From Intel SDM Vol 3: Table 35-29 lists MSRs that are common to processors based on the Broadwell microarchitectures (including CPUID signatures 06_3DH, 06_47H, 06_4FH, and 06_56H). * config/i386/driver-i386.c (host_detect_local_cpu): Treat model == 0x4f as Broadwell. From-SVN: r226749
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/driver-i386.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c85c8e3..154c0bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/driver-i386.c (host_detect_local_cpu): Treat
+ model == 0x4f as Broadwell.
+
2015-08-08 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/67028
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 1c6c221..bc5239e 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -749,6 +749,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
cpu = "haswell";
break;
case 0x3d:
+ case 0x47:
case 0x4f:
case 0x56:
/* Broadwell. */