From 736e56dac06f77d4f77c01732f8c180300e819ab Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 10 Aug 2015 19:19:05 +0000 Subject: [PATCH] Treat model == 0x4f as Broadwell gcc/testsuite/ * gcc.target/i386/builtin_target.c (check_intel_cpu_model): Treat model == 0x4f as Broadwell. libgcc/ * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as Broadwell. From-SVN: r226766 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/builtin_target.c | 1 + libgcc/ChangeLog | 5 +++++ libgcc/config/i386/cpuinfo.c | 1 + 4 files changed, 12 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 146a73067a1..34a5c1a593e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-10 H.J. Lu + + * gcc.target/i386/builtin_target.c (check_intel_cpu_model): + Treat model == 0x4f as Broadwell. + 2015-08-10 Francois-Xavier Coudert PR libfortran/67140 diff --git a/gcc/testsuite/gcc.target/i386/builtin_target.c b/gcc/testsuite/gcc.target/i386/builtin_target.c index 10c05683bb1..4adea27d595 100644 --- a/gcc/testsuite/gcc.target/i386/builtin_target.c +++ b/gcc/testsuite/gcc.target/i386/builtin_target.c @@ -74,6 +74,7 @@ check_intel_cpu_model (unsigned int family, unsigned int model, assert (__builtin_cpu_is ("haswell")); break; case 0x3d: + case 0x47: case 0x4f: case 0x56: /* Broadwell. */ diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 79df4624e5d..95a10f22348 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-10 H.J. Lu + + * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as + Broadwell. + 2015-07-22 Uros Bizjak PR target/66954 diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c index 01dbb595843..57711d01bea 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c @@ -232,6 +232,7 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id) __cpu_model.__cpu_subtype = INTEL_COREI7_HASWELL; break; case 0x3d: + case 0x47: case 0x4f: case 0x56: /* Broadwell. */ -- 2.30.2