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

Armv7-A store buffer draining

Hi,

对于Normal memory的Store操作,store buffer哪些条件下才会drain?Load操作是否会去检查store buffer,如果不检查那是否会发生这种错误:在Load operation之前,store buffer还未drain,因而我们回得不到期望的结果。

Parents
  • 对于不同的CPU,对于store buffer的drain的触发条件不尽相同,所以需要知道你具体的CPU。如果软件想触发该操作,可以执行DMB/DSB。

    load操作会检查store buffer来保证数据的一致性

Reply
  • 对于不同的CPU,对于store buffer的drain的触发条件不尽相同,所以需要知道你具体的CPU。如果软件想触发该操作,可以执行DMB/DSB。

    load操作会检查store buffer来保证数据的一致性

Children
No data