2 ms·
Thanks for the RWT link, I had missed that discussion back then. I normally assume that store-store reordering is not a huge deal as the store buffer hides any
by gpderetta 6y ago
Thanks for the RWT link, I had missed that discussion back then. I normally assume that store-store reordering is not a huge deal as the store buffer hides any latency and blocking, but I failed to appreciate that the store buffer filling up is an issue.
But which architectures do not actually drain the buffer in order in practice? Even very relaxed RISCs (including ARM) normally respect causality (i.e. memory_order_consume) and it seems to me that if, say, an object pointer is made visible before the pointed object, that can violate this guarantee, right?
You say that Apple CPUs show near unlimited MLP, do you have any pointers?
- gpderetta 6y agoNever mind, of course memory order consume still requires a store-store fence between the two stores so reordering stores is still possible