2015-10-09 Venkataramanan kumar <venkataramanan.kumar@amd.com>
* config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
(__cpu_indicator_init): Fix model selection for AMD CPUs.
From-SVN: r228691
+2015-10-09 Venkataramanan kumar <venkataramanan.kumar@amd.com>
+
+ * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
+ (__cpu_indicator_init): Fix model selection for AMD CPUs.
+
2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
* config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
/* Bulldozer version 3 "Steamroller" */
if (model >= 0x30 && model <= 0x4f)
__cpu_model.__cpu_subtype = AMDFAM15H_BDVER3;
+ /* Bulldozer version 4 "Excavator" */
+ if (model >= 0x60 && model <= 0x7f)
+ __cpu_model.__cpu_subtype = AMDFAM15H_BDVER4;
break;
/* AMD Family 16h "btver2" */
case 0x16:
if (family == 0x0f)
{
family += extended_family;
- model += (extended_model << 4);
+ model += extended_model;
}
/* Get CPU type. */