The GCC headers put bit_LZCNT into the list for CPUID 1 %ecx values, but that 
corresponds to VMX. LZCNT is actually advertised in CPUID 0x80000001 %ecx, 
which is also referred to as "ABM" by AMD and some other places.

This bug was partially inherited from GCC, which uses LZCNT wrongly and also 
has an ABM feature which maps to the same bit. I'll have to reach out to 
the GCC maintainers to clarify what's going on there. I hope we get some 
unified place for all this mess at some point...
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2412

-- Commit Summary --

  * The bit for LZCNT is in CPUID 0x80000001, not 1

-- File Changes --

    M lib/rpmrc.c (7)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2412.patch
https://github.com/rpm-software-management/rpm/pull/2412.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2412
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to