https://issues.dlang.org/show_bug.cgi?id=6459

--- Comment #7 from Walter Bright <[email protected]> ---
(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.

--

Reply via email to