some comments about more CPUID leaf 80000008.EBX by Ryzen

This commit is contained in:
Stanislav Shwartsman 2017-03-28 19:11:42 +00:00
parent b7b0165d3c
commit 31d29734d6

View File

@ -373,6 +373,8 @@ void bx_cpuid_t::get_ext_cpuid_leaf_8(cpuid_function_t *leaf) const
leaf->eax = phy_addr_width | (lin_addr_width << 8);
// [0:0] CLZERO support
// [1:1] Instruction Retired Counter support (???)
// [2:2] Error Pointer Zero/Restore (???)
leaf->ebx = 0;
if (is_cpu_extension_supported(BX_ISA_CLZERO))
leaf->ebx |= 0x1;