Open rasky opened 7 years ago
/cc @cherrymui @randall77
This is not the only case.
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.
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
).