Treat model == 0x4f as Broadwell
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 10 Aug 2015 19:19:05 +0000 (19:19 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 10 Aug 2015 19:19:05 +0000 (12:19 -0700)
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
gcc/testsuite/gcc.target/i386/builtin_target.c
libgcc/ChangeLog
libgcc/config/i386/cpuinfo.c

index 146a73067a110b1b36aa40839f4c6bafc7e4f095..34a5c1a593ee8a3a6fbb48565f5821b6a0b54e87 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/i386/builtin_target.c (check_intel_cpu_model):
+       Treat model == 0x4f as Broadwell.
+
 2015-08-10  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR libfortran/67140
index 10c05683bb1282fb864f38d689d36f0b9ec44981..4adea27d595019243d7e7564aec9261b27610c2b 100644 (file)
@@ -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.  */
index 79df4624e5de4b1702a8edabd37c159ae2490d34..95a10f223488f8e9621e7c8f53970789130e264c 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
+       Broadwell.
+
 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/66954
index 01dbb59584361ed0c42ceb48ecdfb9041edcc93f..57711d01bea8f91770313cf1e5f1b4cb9b360e5b 100644 (file)
@@ -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.  */