Displaying 1 result from an estimated 1 matches for "dai0321a".
2014 Jun 19
6
[LLVMdev] [RFC] Add compiler scheduling barriers
...at do people think of this idea?
Cheers,
Yi
------
[1] A piece of code that requires such behaviour is:
Data_array[n] = x; // memory access
__DSB();
__WFI(); // This cannot get executed until DSB completed
Moving WFI to before DSB will cause wrong behaviour. Code is taken
from DAI0321A 4.14,
(http://infocenter.arm.com/help/topic/com.arm.doc.dai0321a/DAI0321A_programming_guide_memory_barriers_for_m_profile.pdf)