Skip to content

Conversation

abrown
Copy link
Member

@abrown abrown commented Sep 18, 2025

This change adds a way to inspect how many registers an instruction can address. We assume for now that legacy instructions can always emit the REX prefix and thus access 16 registers; thus, the only encoding that allows access to 32 registers is EVEX.

This also refactors some of the top-level generation logic to be less verbose.

This change adds a way to inspect how many registers an instruction can
address. We assume for now that legacy instructions can always emit the
REX prefix and thus access 16 registers; thus, the only encoding that
allows access to 32 registers is EVEX.

This also refactors some of the top-level generation logic to be less
verbose.
@abrown abrown requested a review from a team as a code owner September 18, 2025 23:30
@abrown abrown requested review from fitzgen and removed request for a team September 18, 2025 23:30
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Sep 19, 2025
@fitzgen fitzgen added this pull request to the merge queue Sep 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants