https://issues.dlang.org/show_bug.cgi?id=18826 --- Comment #1 from Stefan Koch <uplink.coder at gmail.com> --- More Info: DMD currently generates 64 48 8b 05 00 00 00 00 00 mov rax,QWORD PTR fs:[rip+0x0] But it should generate 64 48 8b 04 25 00 00 00 00 mov rax,QWORD PTR fs:0x0 --