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

unicorn_arm: add reg_read/write operations for FPSCR and FPSID #1453

Merged
merged 1 commit into from
Feb 13, 2022
Merged

unicorn_arm: add reg_read/write operations for FPSCR and FPSID #1453

merged 1 commit into from
Feb 13, 2022

Conversation

scribam
Copy link
Contributor

@scribam scribam commented Oct 6, 2021

No description provided.

@wtdcode
Copy link
Member

wtdcode commented Oct 6, 2021

If you are adding support for VFP control registers, I kindly ask you to support all of them (FPSCR, FPSID,or FPEXC), not just only one.

@scribam scribam changed the title unicorn_arm: add reg_read/write operations for UC_ARM_REG_FPSCR unicorn_arm: add reg_read/write operations for FPSCR and FPSID Oct 7, 2021
@scribam
Copy link
Contributor Author

scribam commented Oct 7, 2021

FPSID added, FPEXC was already done.

@aquynh
Copy link
Member

aquynh commented Oct 7, 2021

can you add few sample code using these registers into sample_arm.c?

@wtdcode
Copy link
Member

wtdcode commented Oct 7, 2021

I would also expect you to add a new test for these registers in tests/unit/test_arm.c.

@github-actions github-actions bot added the stale label Dec 7, 2021
@github-actions github-actions bot closed this Dec 23, 2021
@wtdcode wtdcode reopened this Dec 23, 2021
@scribam
Copy link
Contributor Author

scribam commented Jan 4, 2022

Rebased to fix conflicts.

I don't plan to add tests so feel free to take over or to close this PR.

@github-actions github-actions bot removed the stale label Jan 5, 2022
@wtdcode wtdcode merged commit 05b9a02 into unicorn-engine:dev Feb 13, 2022
@wtdcode
Copy link
Member

wtdcode commented Feb 13, 2022

Merged, thanks.

@scribam scribam deleted the reg-read-write-fpscr branch February 13, 2022 08:48
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.

3 participants