Skip to content

Commit

Permalink
Fix build with Capstone 5 (#824)
Browse files Browse the repository at this point in the history
Capstone 5 drops X86_INS_VCVTPD2DQX and X86_INS_VCVTPD2PSX from
x86.h (happened in capstone-engine/capstone@dd91f03
but no real explanation).

Given:
1. these instructions had no wiring up;
2. other Capstone consumers have done the same
let's drop them entirely as we have no idea what they are. They don't
appear in any Intel documentation and there's very little reference
to them online at all.

Bug: https://bugs.gentoo.org/843755
Closes: #823
Signed-off-by: Sam James <sam@gentoo.org>

Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Sep 13, 2022
1 parent 43711a5 commit b1bc4d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/capstone-edb/Instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,6 @@ bool is_SIMD_PD(const Operand &operand) {
case X86_INS_CVTPD2PI:
case X86_INS_CVTPD2PS:
case X86_INS_VCVTPD2PS:
case X86_INS_VCVTPD2DQX: // FIXME: what's this?
case X86_INS_VCVTPD2PSX: // FIXME: what's this?
// case X86_INS_VCVTPD2QQ: // FIXME: Capstone seems to not support it
case X86_INS_VCVTPD2UDQ:
// case X86_INS_VCVTPD2UQQ: // FIXME: Capstone seems to not support it
Expand Down

0 comments on commit b1bc4d0

Please sign in to comment.