mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 13:01:54 +08:00
63 lines
2.2 KiB
Diff
63 lines
2.2 KiB
Diff
|
diff --git a/src/libtriton/arch/x86/x86Specifications.cpp b/src/libtriton/arch/x86/x86Specifications.cpp
|
||
|
index 0806ac3..6295c95 100644
|
||
|
--- a/src/libtriton/arch/x86/x86Specifications.cpp
|
||
|
+++ b/src/libtriton/arch/x86/x86Specifications.cpp
|
||
|
@@ -153,9 +153,11 @@ namespace triton {
|
||
|
tritonId = triton::arch::x86::ID_INS_FIADD;
|
||
|
break;
|
||
|
|
||
|
+#if CS_API_MAJOR < 5
|
||
|
case triton::extlibs::capstone::X86_INS_FADDP:
|
||
|
tritonId = triton::arch::x86::ID_INS_FADDP;
|
||
|
break;
|
||
|
+#endif
|
||
|
|
||
|
case triton::extlibs::capstone::X86_INS_ADOX:
|
||
|
tritonId = triton::arch::x86::ID_INS_ADOX;
|
||
|
@@ -2877,9 +2879,11 @@ namespace triton {
|
||
|
tritonId = triton::arch::x86::ID_INS_FUCOM;
|
||
|
break;
|
||
|
|
||
|
+#if CS_API_MAJOR < 5
|
||
|
case triton::extlibs::capstone::X86_INS_UD2B:
|
||
|
tritonId = triton::arch::x86::ID_INS_UD2B;
|
||
|
break;
|
||
|
+#endif
|
||
|
|
||
|
case triton::extlibs::capstone::X86_INS_UNPCKHPD:
|
||
|
tritonId = triton::arch::x86::ID_INS_UNPCKHPD;
|
||
|
@@ -3037,17 +3041,21 @@ namespace triton {
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTDQ2PS;
|
||
|
break;
|
||
|
|
||
|
+#if CS_API_MAJOR < 5
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTPD2DQX:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTPD2DQX;
|
||
|
break;
|
||
|
+#endif
|
||
|
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTPD2DQ:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTPD2DQ;
|
||
|
break;
|
||
|
|
||
|
+#if CS_API_MAJOR < 5
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTPD2PSX:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTPD2PSX;
|
||
|
break;
|
||
|
+#endif
|
||
|
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTPD2PS:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTPD2PS;
|
||
|
@@ -3093,9 +3101,11 @@ namespace triton {
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTSS2USI;
|
||
|
break;
|
||
|
|
||
|
+#if CS_API_MAJOR < 5
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTTPD2DQX:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTTPD2DQX;
|
||
|
break;
|
||
|
+#endif
|
||
|
|
||
|
case triton::extlibs::capstone::X86_INS_VCVTTPD2DQ:
|
||
|
tritonId = triton::arch::x86::ID_INS_VCVTTPD2DQ;
|