Landing: d0aa6740323e
Project / Subsystem
gcc / x86
Date
2026-08-07
Author
H.J. Lu
Commit
d0aa6740323e48d4b3743dc8fcd5c0ff552f86d1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- x86
- patch_id
- —
- commit_hash
- d0aa6740323e48d4b3743dc8fcd5c0ff552f86d1
- source_type
- github
- headline
- x86 cpuid.h updated to pass leaf argument to __get_cpuid_max
- tldr
- x86 cpuid.h fix ensures leaf argument is passed correctly, resolving testsuite regressions.
- author
- H.J. Lu
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • x86
- • cpuid
- • testsuite
- • regression
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
The x86 cpuid.h header has been updated to correctly pass the leaf argument to __get_cpuid_max. This change resolves regressions in the testsuite, specifically a vectorization test that failed due to incorrect CPUID information being used. The fix involves directly passing the leaf argument and applying a mask before invoking the CPUID instruction.