Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Load-Exclusive and Store-Exclusive usage confusion

When I read "Load-Exclusive and Store-Exclusive usage restrictions" in ARM Architecture Reference Manual ARMv7-A and ARMv7-R. There is this text : If the target virtual address of an STREX is different from the virtual address of the preceding LDREX
in the same thread of execution, behavior can be UNPREDICTABLE.
question:will this happen ? could give me a example except code written error

Parents Reply Children
No data