This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: volatile access optimization (C++ / x86_64)
- From: Matt Godbolt <matt at godbolt dot org>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 26 Dec 2014 18:05:37 -0600
- Subject: Re: volatile access optimization (C++ / x86_64)
- Authentication-results: sourceware.org; auth=none
- References: <CAFWXXN3quEdSnaoWuPcQn2k-F99Yaw+6=NqgFgcu9ABpv5ZD3Q at mail dot gmail dot com> <CAF1jjLst=PL8n743U_zWgnVKbKcwR5KnQYPQPr35Q4A6UwP=EQ at mail dot gmail dot com>
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