-
Notifications
You must be signed in to change notification settings - Fork 566
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
i#3544 riscv64: Implement some base instructions #6014
Conversation
This commit introduces the following changes: - Added SYSNUM_REG for RISC-V64 - Implemented atomic_add - Implemented dynamorio_sigreturn - Implemented dynamorio_sys_exit - Implemented call_switch_stack Notice: Although some of the base instructions have been implemented for RISC-V64, there are still a large number of unimplemented pieces in Dynamorio for this architechture, and it cannot be tested via QEMU then. Issue: DynamoRIO#3544
Also, s/instrutions/instructions/ in the PR title. |
Is SYSNUM_REG only used in aarch64? But it seems that it is defined in all arches. |
Does seem that some of that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Okay to submit after resolving the remaining comment threads.
Is this blocking this PR? If not, we can fix it separately; can you raise a new issue for it? |
This makes dynamorio fail to compile on RISC-V. See the CI log in this PR. |
Oh I didn't notice that before since it's a warning Regardless, I agree we should fix the warning. Like I said above, some of that |
Ok. I fixed the CI error. It is not blocked by SYSNUM_REG. |
Okay. I raised #6027 for the cleanup. |
Looks like @abhinav92003 already reviewed and approved: not sure why another review was requested, @shiptux ? |
Sorry for requested that. Sorry to bother you. |
@abhinav92003 @derekbruening It seems I don't have permission to merge this PR. (Need to merge by the project collaborators.) Could anyone help me? |
I sent you an invite for Committers access to the repo. Once you accept it, you should be able to submit. |
This commit introduces the following changes:
Notice: Although some base instructions have been implemented for RISC-V64, there are still many unimplemented pieces in Dynamorio for this architecture, and it cannot be tested via QEMU then.
Issue: #3544