diff options
Diffstat (limited to 'usr/src/uts/i86pc/os/cpuid.c')
-rw-r--r-- | usr/src/uts/i86pc/os/cpuid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/os/cpuid.c b/usr/src/uts/i86pc/os/cpuid.c index 578dd3c06c..f0d6890daa 100644 --- a/usr/src/uts/i86pc/os/cpuid.c +++ b/usr/src/uts/i86pc/os/cpuid.c @@ -4488,6 +4488,8 @@ cpuid_pass4(cpu_t *cpu, uint_t *hwcap_out) case X86_VENDOR_Intel: if (*edx & CPUID_AMD_EDX_TSCP) hwcap_flags |= AV_386_TSCP; + if (*ecx & CPUID_AMD_ECX_LZCNT) + hwcap_flags |= AV_386_AMD_LZCNT; /* * Aarrgh. * Intel uses a different bit in the same word. |