You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An SC may succeed only if no store from another hart to the reservation set can be observed to have occurred between the LR and the SC, and if there is no other SC between the LR and itself in program order.
However, with the following sequence applied (from a single hart):
AMO.LR AddrA
AMO.SC AddrB // fails -> OK
AMO.SC AddrA // succeeds -> NOT OK
, the last SC operation succeeds, even though there is another SC operation before it.
The text was updated successfully, but these errors were encountered:
The RISC-V spec states:
However, with the following sequence applied (from a single hart):
, the last SC operation succeeds, even though there is another SC operation before it.
The text was updated successfully, but these errors were encountered: