-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: refactor test92 to avoid possibly conflicting writes
The specification allows up to a maximum exclusive granule of 512 words to be reserved after `ldxr`, so writes close enough to the address that was loaded could result on the reservation being invalidated and `stxr` failing. Instead of writing back the just read data, do a second read to validate the first one and compare them internally. Fixes: #160
- Loading branch information
Showing
1 changed file
with
98 additions
and
129 deletions.
There are no files selected for viewing
This file contains 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