[PATCH] x86: Check if CPUID_INDEX_7_ECX_1 is supported first
H.J. Lu
hjl.tools@gmail.com
Tue Aug 25 02:40:02 GMT 2026
Since bits 31 - 00 in EAX from CPUID with EAX == 7 and ECX == 0 reports
the maximum input value for supported leaf 7 sub-leaves for CPUID with
EAX == 7, check it before invoking CPUID with EAX == 7 and ECX == 1.
This fixes BZ #34565.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Check-if-CPUID_INDEX_7_ECX_1-is-supported-first.patch
Type: text/x-patch
Size: 1698 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260825/16ec5957/attachment.bin>
More information about the Libc-alpha
mailing list