[Issue 13713] New: core.atomic should use compiler intrinsics
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Nov 11 04:06:41 PST 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 at puremagic.com
Reporter: code at 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.
--
More information about the Digitalmars-d-bugs
mailing list