-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
Description
@markcharney, I think I found an issue where xed-asmparse-main fails to encode the instruction when the immediate is 0:
$ xed-asmparse-main 'cmpps xmm7, xmm15, 0'
Forcing mode to 64b based on regs used
Guessing 32b EOSZ
MODE=64, EOSZ=32
ERROR: Failed to encode input: GENERAL_ERROR
$ xed-asmparse-main 'cmpps xmm7, xmm15, 1'
Forcing mode to 64b based on regs used
Guessing 32b EOSZ
MODE=64, EOSZ=32
Result: 41 0f c2 ff 01
I wouldn't expect that first one to fail, but maybe I'm doing something wrong?
Reactions are currently unavailable