You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two sequences are disassembled by x86asm with the same string:
0f4dd0 CMOVGE AX, DX
480f4dd0 CMOVGE AX, DX
If I'm not mistaken, the second is the 64-bit version and should probably use a mnemonic like CMOVQGE (or the other one should use CMOVLGE).
The text was updated successfully, but these errors were encountered:
bradfitz
changed the title
x86asm: 64-bit CMOV is disassembled as 32-bit CMOV
x/arch/x86/x86asm: 64-bit CMOV is disassembled as 32-bit CMOV
Apr 25, 2017
I have no concrete examples yet, but quite recently I assembled hand-coded file and
disassembled listing had different mnemonics. The disasm output was acquired by go tool objdump, so it may be unrelated.
When this will pop up again, I will post them here.
If the decision is whether to make a fix, then I think the answer is yes: CMOVGE is not an instruction, it should have an L or Q in both cases.
rsc
added
the
NeedsFix
The path to resolution is known, but the work has not been done.
label
Dec 4, 2017
gopherbot
removed
the
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
label
Dec 4, 2017
These two sequences are disassembled by x86asm with the same string:
If I'm not mistaken, the second is the 64-bit version and should probably use a mnemonic like
CMOVQGE
(or the other one should useCMOVLGE
).The text was updated successfully, but these errors were encountered: