November 11, 2014
https://issues.dlang.org/show_bug.cgi?id=13713

          Issue ID: 13713
           Summary: core.atomic should use compiler intrinsics
           Product: D
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody@puremagic.com
          Reporter: code@dawg.eu

We should reduce the overhead of atomic operations by replacing them with
intrinsics. The current asm blocks cannot be inlined leading to an extra
function call for cheap ops.
LDC already does it, not sure about GDC.

--