Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X86_64 disasm: cmplepd %xmm0, %xmm1 #2195

Open
HangShuYH opened this issue Nov 13, 2023 · 1 comment
Open

X86_64 disasm: cmplepd %xmm0, %xmm1 #2195

HangShuYH opened this issue Nov 13, 2023 · 1 comment

Comments

@HangShuYH
Copy link

HangShuYH commented Nov 13, 2023

When I try to disasm cmplepd %xmm0, %xmm1,
The right x86_insn should be X86_INS_CMPPD, but the result is X86_INS_CMPSB
This is the info of cmplepd:
屏幕截图 2023-11-14 161949
There is nothing wrong with the above info.
But If you check the insn->id, which represents the insn type, you will find the id is 108(X86_INS_CMPSB), while the correct insn id is 106(X86_INS_CMPPD)

@HangShuYH
Copy link
Author

I found more confusing instructions like this.
Following "XX" represents one of SS, PS, PD, SD
CMPLEXX identified as CMPSB
CMPUNORDXX identified as CMPSB
CMPNEQXX identified as CMPSQ
CMPNLEXX identified as CMPSW
CMPORDXX identified as CMPXCHG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant