FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update atomics.h by kehongzhang · Pull Request #63 · ARM-software/synchronization-benchmarks · GitHub

Update atomics.h - #63

Open
kehongzhang wants to merge 1 commit into
ARM-software:masterfrom
kehongzhang:patch-1
Open

Update atomics.h#63
kehongzhang wants to merge 1 commit into
ARM-software:masterfrom
kehongzhang:patch-1

Conversation

Copy link
Copy Markdown

The fetchadd64_acquire only have load acquire barrier. It may lead to load/store before the synchronize could be speculated after of load/store after the synchronize.
So, change fetchadd64_acquire to fetchadd64_acquire_release to ensure load/store order.

The fetchadd64_acquire only have load acquire barrier. It may lead to load/store before the synchronize could be speculated after of load/store after the synchronize.
So, change fetchadd64_acquire to fetchadd64_acquire_release to ensure load/store order.

Copy link
Copy Markdown
Contributor

Can you help me understand your comment?

It may lead to load/store before the synchronize could be speculated after of load/store after the synchronize.

What is synchronize? Can you put line numbers or code for load/store and synchronize?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL