www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13713] New: core.atomic should use compiler intrinsics


          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.

Nov 11 2014