We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the following code does get mis-compiled. ulong getThreadID() { asm { naked; mov RAX, qword ptr FS:0x0 } }
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
No branches or pull requests
Stefan Koch reported this on 2018-05-04T14:15:06Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=18826
CC List
Description
the following code does get mis-compiled. ulong getThreadID() { asm { naked; mov RAX, qword ptr FS:0x0 } }The text was updated successfully, but these errors were encountered: