volatile access optimization (C++ / x86_64)

Matt Godbolt matt@godbolt.org
Sat Dec 27 00:05:00 GMT 2014


On Fri, Dec 26, 2014 at 5:20 PM, NightStrike <nightstrike@gmail.com> wrote:
> Have you tried release and acquire/consume instead?

Yes; these emit the same instructions in this case. http://goo.gl/e94Ya7

Regards, Matt



More information about the Gcc mailing list