Uh oh!
There was an error while loading. Please reload this page.
[X86][APX] Update the CPUID check logics for APX. - #124624
Conversation
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
There was a problem hiding this comment.
Pull request overview
Updates x86/x64 APX feature detection in minipal_getcpufeatures to incorporate the new APX-related CPUID bit from the updated Intel APX documentation.
Changes:
- Renames the existing APX CPUID bit comment to
APX_Fand adds a follow-up CPUID query (leaf0x29) forAPX_NCI_NDD_NF. - Requires both
APX_FandCPUID.(EAX=29H,ECX=0):EBX[0]to be present before settingXArchIntrinsicConstants_Apx. - Re-issues
CPUID.(EAX=07H,ECX=1H)after the new leaf0x29query to restore state for subsequent checks.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ruihan-Yin
commented
Feb 23, 2026
Build Analysis is green, PR is ready for review. |
Uh oh!
There was an error while loading. Please reload this page.
Ruihan-Yin
commented
Feb 23, 2026
Failures look irrelevant Hi @kg@tannergooding , could you please take a look at the PR :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
resolve comments Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Hi @kg, could you please take a look at this PR? Thanks for any input :) |
kg
commented
Mar 5, 2026
This looks good to me. Please note that we can't merge this PR until all comments have been resolved, so please address copilot's comments at your earliest convenience. (You aren't obligated to do what it says, but I find it often has useful feedback.) |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Head branch was pushed to by a user without write access
Ruihan-Yin
commented
Mar 6, 2026
Failures are from other platform or GC, looks not related to the PR, updating to latest main and rerun CI. |
tannergooding
commented
Mar 9, 2026
/ba-g unrelated wasm timeouts |
Uh oh!
There was an error while loading. Please reload this page.
Ruihan-Yin
commented
Mar 9, 2026
Thanks for the reviews and suggestions! |
This PR is to update the new APX CPUID bits as documented in the specification:

This PR is to introduce the new CPUID bit only, and it is not intended to change the JIT behavior based on the presence of the new bit. (
APX_Fbit will guarantee the newAPX_NDD_NCI_NFbit on Intel processors as documented above). All the features and optimizations will be available as long asAPX_Fbit is set.