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

AR: Clarify triggers and multiple state changes #899

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

timsifive
Copy link
Contributor

Incorporate more feedback from AR. Moved this into a separate Sdtrig section, since the discussion could also apply to instructions that cause triggers beside memory access ones. (E.g. an instruction that combines memory accesses with a trigger, and itrigger.)

Follow up to #883.

Incorporate more feedback from AR. Moved this into a separate Sdtrig
section, since the discussion could also apply to instructions that
cause triggers beside memory access ones. (E.g. an instruction that
combines memory accesses with a trigger, and itrigger.)

Follow up to #883.
Copy link
Collaborator

@pdonahue-ventana pdonahue-ventana left a comment

Choose a reason for hiding this comment

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

OK. And this is broader than just writing to memory. It would also apply to an instruction that loads multiple registers. Like ARM's AArch32 can load any subset of GPRs with a single instruction, but you have to make sure that if one of the destinations is also the source register (the address) that you don't update that register if you get a page fault halfway through. That allows you to still have the original address when you reexecute.

@timsifive timsifive merged commit 9f44898 into master Oct 4, 2023
1 check passed
@timsifive timsifive deleted the multistate branch October 4, 2023 19:23
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.

2 participants