0

How if mfence is separated to afence and bfence, afence is for load & store reordering and bfence is for store & load reordering. What will happen?

Charles
  • 53
  • 3

1 Answers1

0

I'm assuming the context is x86. In addition to load-store and store-load reordering, mfence also prevents store-store reordering and load-load reordering. Though normal stores on x86 cannot be reordered, "non-temporal" stores can be reordered.

Jeff Hammond
  • 4,945
  • 3
  • 26
  • 45
Arch D. Robison
  • 3,583
  • 1
  • 14
  • 26