[Issue 11071] REX.R and REX.W prefixes do not seem to be generated in some cases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 19 14:58:12 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11071



--- Comment #2 from Joseph Cassman <jc7919 at outlook.com> 2013-09-19 14:58:12 PDT ---
Just looking for patterns in the disassembly. 

It is interesting that all instructions (other than move) encode RAX as EAX.
Also, the 64-bit immediate values are trimmed accordingly to 32-bit values
("0FFFFFFFFh") for RAX.

For the registers RBX through R15, the instructions "and", "or", "xor", and
"test" all convert every immediate to 32-bits. The other non-move instructions,
however, convert the original value of "0x1ffffffffUL" to "0FFFFFFFFFFFFFFFFh".
This sign-extension is not what I was intending, as the value was designated
unsigned long, and I expected them to be zero-extended to "000000001FFFFFFFFh".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list