logoalt Hacker News

loegyesterday at 4:19 PM1 replyview on HN

Is that any better than just using an acquire load?


Replies

gpderettayesterday at 4:21 PM

It is cheaper on ARM and POWER. But I'm not sure it is always safe. The standard has very complex rules for consume to make sure that the compiler didn't break the dependencies.

edit: and those rules where so complex that compilers decided where not implementable or not worth it.

show 1 reply