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

i#3544 RV64: Treat atomic instructions as load/store instructions #6528

Merged
merged 5 commits into from
Jan 3, 2024

Conversation

ksco
Copy link
Contributor

@ksco ksco commented Dec 22, 2023

Atomic instructions from the A extension like LR/SC and AMO* access memory so they should be treated as load/store. In addition, AMO* instructions perform read-modify-write operations, they should have both a source and a destination operands to comply with DR's IR convention. We make the destination an implicit operand as they are identical to the source.

Related PR: #6506
Issue: #3544

@ksco ksco requested a review from abhinav92003 December 22, 2023 07:47
suite/tests/api/ir_riscv64.c Show resolved Hide resolved
@ksco ksco merged commit c51a0de into DynamoRIO:master Jan 3, 2024
14 of 15 checks passed
@ksco ksco deleted the i3544-codec branch January 3, 2024 05:49
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