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?
Asked
Active
Viewed 37 times
0
Charles
- 53
- 3
1 Answers
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
- 5,374
- 3
- 28
- 45
Arch D. Robison
- 3,829
- 2
- 16
- 26