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: [email protected]
Reporter: [email protected]
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.
--