[Issue 6459] Inline assembler does not work well for 64 bit registers R8..R15
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 2 08:56:38 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=6459
--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Graham from comment #3)
> I also notice if you do:
>
> and RAX,0x00000000FFFFFFFF
>
> the compiler accepts it but generates:
>
> and RAX,0xFFFFFFFFFFFFFFFF
>
> because, of course, there is no imm64 mode for and/or etc. instructions.
> Same applies for all other immediate constants that can be encoded into 8
> bits.
The compiler generates an error for this now.
--
More information about the Digitalmars-d-bugs
mailing list