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

aarch64: Add FPCR and FPSR registers #1722

Merged
merged 4 commits into from Oct 14, 2022
Merged

aarch64: Add FPCR and FPSR registers #1722

merged 4 commits into from Oct 14, 2022

Conversation

TSRBerry
Copy link
Contributor

@TSRBerry TSRBerry commented Oct 14, 2022

This small PR adds support for the FPCR and FPSR registers for aarch64.

I'm still new to unicorn and trying to learn how it works, so I hope I didn't miss anything. These changes are based on an old commit by @merryhime from 2018 and I just adjusted it to work with the current code base.

Currently projects like Ryujinx need to patch unicorn to support them for their tests, but I think integrating them into unicorn makes a lot more sense, than maintaining a patch. Especially when it's this small and might also benefit some other projects.

include/unicorn/arm64.h Outdated Show resolved Hide resolved
@TSRBerry
Copy link
Contributor Author

Should be better now

@TSRBerry TSRBerry requested a review from wtdcode October 14, 2022 16:50
@wtdcode wtdcode merged commit df3aa0f into unicorn-engine:dev Oct 14, 2022
@wtdcode
Copy link
Member

wtdcode commented Oct 14, 2022

Thanks and welcome!

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