Skip to content

Simplify exec_cpuid to use constraints#209

Merged
TheTumultuousUnicornOfDarkness merged 1 commit intoanrieff:masterfrom
dramforever:simplify-exec_cpuid-support-x32
Apr 16, 2025
Merged

Simplify exec_cpuid to use constraints#209
TheTumultuousUnicornOfDarkness merged 1 commit intoanrieff:masterfrom
dramforever:simplify-exec_cpuid-support-x32

Conversation

@dramforever
Copy link
Copy Markdown
Contributor

The existing implementation does not work when using the x32 ABI, which has 32-bit addresses but otherwise can use 64-bit registers.

Use constraints to specify cpuid input and output instead, which is much simpler anyway.

The existing implementation does not work when using the x32 ABI, which
has 32-bit addresses but otherwise can use 64-bit registers.

Use constraints to specify cpuid input and output instead, which is much
simpler anyway.
@TheTumultuousUnicornOfDarkness
Copy link
Copy Markdown
Collaborator

LGTM, thanks.

@TheTumultuousUnicornOfDarkness TheTumultuousUnicornOfDarkness merged commit 86c2bef into anrieff:master Apr 16, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants