We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Experts,
I'm reading white paper for ARMv7 and ARMv8.
but when i reading cache part and memory re-ordering, i have silly questions.....
Suppose there are below instructions..
Core A:
STR R0, [Msg]
STR R1, [Something]
Core B:
DSB
LDR R1 [Something]
......
my questions are :
Cuz i really really beginner, maybe that situation is wrong itself....
But, i hope your merciful answer..
Thx.
Hello,
As an aside / in addition to what Pete said, I recommend you take a look at the ARMv8-A Architecture Reference Manual's provided examples for barriers, such as in Section J7.6.1 (ARM DDI 0487A.f) shows that you should have a DMB barrier on Core A between the two stores, and a DMB barrier on Core B between the flag-checking loop and the load from the mailbox.