logoalt Hacker News

gpderettatoday at 4:26 PM1 replyview on HN

consume is trivial on alpha, it is the same as acquire (always needs a #LoadLoad). It is also the same as acquire (and relaxed) on x86 and SPARC (a plain load, #LoadLoad is always implied).

The only place where consume matters is on relaxed but not too relaxed architectures like ARM and POWER, where consume relies on the implicit #LoadLoad of controls and data dependencies.


Replies

bonzinitoday at 4:53 PM

Also on alpha there's only store-store and full memory barriers. Acquire is very expensive.

show 1 reply