https://issues.dlang.org/show_bug.cgi?id=12891 --- Comment #7 from Martin Nowak <code at dawg.eu> --- See attachment above or this gist https://gist.github.com/MartinNowak/5111611ddc476eb49298 for a fetch_add implementation on X86_64. --