return "Intel microarchitecture Haswell";
case HB_CPU_PLATFORM_INTEL_BDW:
return "Intel microarchitecture Broadwell";
+ case HB_CPU_PLATFORM_INTEL_SKL:
+ return "Intel microarchitecture Skylake";
case HB_CPU_PLATFORM_INTEL_CHT:
return "Intel microarchitecture Airmont";
case 0x4C:
hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_CHT;
break;
+ case 0x4E:
+ case 0x5E:
+ hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_SKL;
+ break;
default:
break;
}
HB_CPU_PLATFORM_INTEL_HSW,
HB_CPU_PLATFORM_INTEL_BDW,
HB_CPU_PLATFORM_INTEL_CHT,
+ HB_CPU_PLATFORM_INTEL_SKL,
};
int hb_get_cpu_count();
int hb_get_cpu_platform();
QSV_G2, // Ivy Bridge or equivalent
QSV_G3, // Haswell or equivalent
QSV_G4, // Broadwell or equivalent
+ QSV_G5, // Skylake or equivalent
+ QSV_FU, // always last (future processors)
};
static int qsv_hardware_generation(int cpu_platform)
{
case HB_CPU_PLATFORM_INTEL_HSW:
return QSV_G3;
case HB_CPU_PLATFORM_INTEL_BDW:
- default:
return QSV_G4;
+ case HB_CPU_PLATFORM_INTEL_SKL:
+ return QSV_G5;
+ default:
+ return QSV_FU;
}
}