Protecting control dependencies with volatile_if()
Protecting control dependencies with volatile_if()
Posted Jun 20, 2021 20:31 UTC (Sun) by itsmycpu (guest, #139639)In reply to: Protecting control dependencies with volatile_if() by itsmycpu
Parent article: Protecting control dependencies with volatile_if()
...or, in this case, just a load_acquire.
How is a barrier like
> #define barrer() __asm__ __volatile__("":::"memory")
more effective than the barrier implied by load_acquire (on any architecture) ?
(Not a rhetoric question.)