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

Use new ARM atomic opcodes where available, for DR and even for app #4263

Open
derekbruening opened this issue Apr 19, 2020 · 0 comments
Open

Comments

@derekbruening
Copy link
Contributor

These are ideas from @algr :

ARMv8.1 adds atomic add opcodes with release-acquire semantics: LDADDA,
LDADDAL, LDADDL, and corresponding STADD*, etc. These are simpler to use
and preferable to the exclusive monitor loops in DR's own code. DR would
need to dynamically select whether these were available in the underlying
processor.

Furthermore, we could potentially translate some exclusive monitor loops in
the application to use these new atomic opcodes instead, avoiding the
exclusive monitor instrumentation issue #1698.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant