Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing ARM and AArch64 register numbers #574

Merged
merged 5 commits into from
Aug 10, 2021

Conversation

ayrtonm
Copy link
Contributor

@ayrtonm ayrtonm commented Aug 10, 2021

Register numbers were taked from this table which is an updated version of the pdf linked in the comment on the ARM struct. For registers D0-D15 and S0-S31 I used the 2-byte register numbers (256-271) as recommended in the notes below the table. Left the TODO comment as some registers still need to be added.

@ayrtonm ayrtonm changed the title Add ARM register numbers for S0-31, D0-31, wR0-15, wC0-7 and more Add missing ARM and AArch64 register numbers Aug 10, 2021
Copy link
Collaborator

@philipc philipc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the comment to https://developer.arm.com/documentation/ihi0040/c/ please.

src/arch.rs Outdated Show resolved Hide resolved
src/arch.rs Outdated Show resolved Hide resolved
src/arch.rs Outdated Show resolved Hide resolved
ayrtonm and others added 2 commits August 10, 2021 00:21
Co-authored-by: Philip Craig <philipjcraig@gmail.com>
Co-authored-by: Philip Craig <philipjcraig@gmail.com>
Copy link
Collaborator

@philipc philipc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@philipc philipc merged commit 9382354 into gimli-rs:master Aug 10, 2021
@ayrtonm ayrtonm deleted the arm-registers branch August 10, 2021 05:33
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.

None yet

2 participants