[dmd-internals] Code motion across volatile{Load, Store}

Martin Nowak via dmd-internals dmd-internals at puremagic.com
Mon Aug 10 02:37:34 PDT 2015


On 07/11/2015 08:27 PM, David Nadlinger via dmd-internals wrote:
> With 2.067 the volatileLoad and volatileStore intrinsics were added, which are directly lowered to loads and stores. Is DMD's optimizer overly conservative here and prohibits *all* code motion across these (we only require them not to be reordered with atomic ops)? If so, this would be a good thing for once, as I could then efficiently implement the no-barrier case using them.

No unnecessary hacks please, let's simply add intrinsics to dmd.
https://issues.dlang.org/show_bug.cgi?id=13713


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20150810/a42b1df2/attachment.sig>


More information about the dmd-internals mailing list