From 52e1b59702daf9687b4799a0d88c1b1b58fdba9e Mon Sep 17 00:00:00 2001 From: flobernd Date: Tue, 20 Jun 2017 21:23:06 +0200 Subject: [PATCH] Improved EVEX and MVEX encoding - Added some MASK related error-conditions - Added functionality and mask-policy attributes to the MVEX instruction-definition struct - Added MVEX specific error-condition --- .../Zydis/Internal/InstructionDefinitions.inc | 814 +++++++++--------- include/Zydis/Internal/InstructionTable.h | 79 +- src/Decoder.c | 101 ++- 3 files changed, 583 insertions(+), 411 deletions(-) diff --git a/include/Zydis/Internal/InstructionDefinitions.inc b/include/Zydis/Internal/InstructionDefinitions.inc index 1020943..b155011 100644 --- a/include/Zydis/Internal/InstructionDefinitions.inc +++ b/include/Zydis/Internal/InstructionDefinitions.inc @@ -6509,411 +6509,411 @@ const ZydisInstructionDefinitionEVEX instructionDefinitionsEVEX[] = const ZydisInstructionDefinitionMVEX instructionDefinitionsMVEX[] = { - /*0000*/ { ZYDIS_MNEMONIC_CLEVICT0, 1, 0x16CA, 0x00 }, - /*0001*/ { ZYDIS_MNEMONIC_CLEVICT1, 1, 0x16CA, 0x00 }, - /*0002*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0880, 0x00 }, - /*0003*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0884, 0x00 }, - /*0004*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0884, 0x00 }, - /*0005*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x0888, 0x00 }, - /*0006*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x039B, 0x00 }, - /*0007*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x039B, 0x00 }, - /*0008*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0880, 0x00 }, - /*0009*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0884, 0x00 }, - /*000A*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0884, 0x00 }, - /*000B*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x0888, 0x00 }, - /*000C*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x039B, 0x00 }, - /*000D*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x039B, 0x00 }, - /*000E*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x088C, 0x00 }, - /*000F*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x088C, 0x00 }, - /*0010*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x0890, 0x00 }, - /*0011*/ { ZYDIS_MNEMONIC_VALIGND, 5, 0x0396, 0x00 }, - /*0012*/ { ZYDIS_MNEMONIC_VALIGND, 5, 0x039B, 0x00 }, - /*0013*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0880, 0x00 }, - /*0014*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0884, 0x00 }, - /*0015*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0884, 0x00 }, - /*0016*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x0888, 0x00 }, - /*0017*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x039B, 0x00 }, - /*0018*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x039B, 0x00 }, - /*0019*/ { ZYDIS_MNEMONIC_VBROADCASTF32X4, 3, 0x0894, 0x00 }, - /*001A*/ { ZYDIS_MNEMONIC_VBROADCASTF64X4, 3, 0x08B8, 0x00 }, - /*001B*/ { ZYDIS_MNEMONIC_VBROADCASTI32X4, 3, 0x089C, 0x00 }, - /*001C*/ { ZYDIS_MNEMONIC_VBROADCASTI64X4, 3, 0x11B4, 0x00 }, - /*001D*/ { ZYDIS_MNEMONIC_VBROADCASTSD, 3, 0x08B8, 0x00 }, - /*001E*/ { ZYDIS_MNEMONIC_VBROADCASTSS, 3, 0x0894, 0x00 }, - /*001F*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A0, 0x00 }, - /*0020*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A5, 0x00 }, - /*0021*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A5, 0x00 }, - /*0022*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AA, 0x00 }, - /*0023*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AF, 0x00 }, - /*0024*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AF, 0x00 }, - /*0025*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08B8, 0x00 }, - /*0026*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08BC, 0x00 }, - /*0027*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08BC, 0x00 }, - /*0028*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0894, 0x00 }, - /*0029*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0898, 0x00 }, - /*002A*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0898, 0x00 }, - /*002B*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x089C, 0x00 }, - /*002C*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x08A0, 0x00 }, - /*002D*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x08A0, 0x00 }, - /*002E*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A4, 0x00 }, - /*002F*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A8, 0x00 }, - /*0030*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A8, 0x00 }, - /*0031*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x089C, 0x00 }, - /*0032*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x08AC, 0x00 }, - /*0033*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x08AC, 0x00 }, - /*0034*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08A4, 0x00 }, - /*0035*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08B0, 0x00 }, - /*0036*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08B0, 0x00 }, - /*0037*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x0894, 0x00 }, - /*0038*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x08B4, 0x00 }, - /*0039*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x08B4, 0x00 }, - /*003A*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x0894, 0x00 }, - /*003B*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x11B7, 0x00 }, - /*003C*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x11B7, 0x00 }, - /*003D*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x08B8, 0x00 }, - /*003E*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x11BA, 0x00 }, - /*003F*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x11BA, 0x00 }, - /*0040*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08B8, 0x00 }, - /*0041*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08BC, 0x00 }, - /*0042*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08BC, 0x00 }, - /*0043*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08CC, 0x00 }, - /*0044*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08D0, 0x00 }, - /*0045*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08D0, 0x00 }, - /*0046*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0880, 0x00 }, - /*0047*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0884, 0x00 }, - /*0048*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0884, 0x00 }, - /*0049*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x0888, 0x00 }, - /*004A*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x039B, 0x00 }, - /*004B*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x039B, 0x00 }, - /*004C*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0880, 0x00 }, - /*004D*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0884, 0x00 }, - /*004E*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0884, 0x00 }, - /*004F*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x0888, 0x00 }, - /*0050*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x039B, 0x00 }, - /*0051*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x039B, 0x00 }, - /*0052*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0880, 0x00 }, - /*0053*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0884, 0x00 }, - /*0054*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0884, 0x00 }, - /*0055*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x0888, 0x00 }, - /*0056*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x039B, 0x00 }, - /*0057*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x039B, 0x00 }, - /*0058*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0880, 0x00 }, - /*0059*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0884, 0x00 }, - /*005A*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0884, 0x00 }, - /*005B*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x0888, 0x00 }, - /*005C*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x039B, 0x00 }, - /*005D*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x039B, 0x00 }, - /*005E*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x0888, 0x00 }, - /*005F*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x039B, 0x00 }, - /*0060*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x039B, 0x00 }, - /*0061*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0880, 0x00 }, - /*0062*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0884, 0x00 }, - /*0063*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0884, 0x00 }, - /*0064*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x0888, 0x00 }, - /*0065*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x039B, 0x00 }, - /*0066*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x039B, 0x00 }, - /*0067*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0880, 0x00 }, - /*0068*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0884, 0x00 }, - /*0069*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0884, 0x00 }, - /*006A*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x0888, 0x00 }, - /*006B*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x039B, 0x00 }, - /*006C*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x039B, 0x00 }, - /*006D*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0880, 0x00 }, - /*006E*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0884, 0x00 }, - /*006F*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0884, 0x00 }, - /*0070*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x0888, 0x00 }, - /*0071*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x039B, 0x00 }, - /*0072*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x039B, 0x00 }, - /*0073*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0880, 0x00 }, - /*0074*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0884, 0x00 }, - /*0075*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0884, 0x00 }, - /*0076*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x0888, 0x00 }, - /*0077*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x039B, 0x00 }, - /*0078*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x039B, 0x00 }, - /*0079*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0880, 0x00 }, - /*007A*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0884, 0x00 }, - /*007B*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0884, 0x00 }, - /*007C*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x0888, 0x00 }, - /*007D*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x039B, 0x00 }, - /*007E*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x039B, 0x00 }, - /*007F*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0880, 0x00 }, - /*0080*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0884, 0x00 }, - /*0081*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0884, 0x00 }, - /*0082*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x0888, 0x00 }, - /*0083*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x039B, 0x00 }, - /*0084*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x039B, 0x00 }, - /*0085*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0880, 0x00 }, - /*0086*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0884, 0x00 }, - /*0087*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0884, 0x00 }, - /*0088*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x0888, 0x00 }, - /*0089*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x039B, 0x00 }, - /*008A*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x039B, 0x00 }, - /*008B*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0880, 0x00 }, - /*008C*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0884, 0x00 }, - /*008D*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0884, 0x00 }, - /*008E*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x0888, 0x00 }, - /*008F*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x039B, 0x00 }, - /*0090*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x039B, 0x00 }, - /*0091*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0880, 0x00 }, - /*0092*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0884, 0x00 }, - /*0093*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0884, 0x00 }, - /*0094*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x0888, 0x00 }, - /*0095*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x039B, 0x00 }, - /*0096*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x039B, 0x00 }, - /*0097*/ { ZYDIS_MNEMONIC_VGATHERDPD, 3, 0x11BD, 0x00 }, - /*0098*/ { ZYDIS_MNEMONIC_VGATHERDPS, 3, 0x11C0, 0x00 }, - /*0099*/ { ZYDIS_MNEMONIC_VGATHERPF0DPS, 2, 0x16C8, 0x00 }, - /*009A*/ { ZYDIS_MNEMONIC_VGATHERPF0HINTDPD, 2, 0x16C8, 0x00 }, - /*009B*/ { ZYDIS_MNEMONIC_VGATHERPF0HINTDPS, 2, 0x16C8, 0x00 }, - /*009C*/ { ZYDIS_MNEMONIC_VGATHERPF1DPS, 2, 0x16C8, 0x00 }, - /*009D*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08B8, 0x00 }, - /*009E*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08BC, 0x00 }, - /*009F*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08BC, 0x00 }, - /*00A0*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x08B8, 0x00 }, - /*00A1*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x11BA, 0x00 }, - /*00A2*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x11BA, 0x00 }, - /*00A3*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08B8, 0x00 }, - /*00A4*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08BC, 0x00 }, - /*00A5*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08BC, 0x00 }, - /*00A6*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x0894, 0x00 }, - /*00A7*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x08C0, 0x00 }, - /*00A8*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x08C0, 0x00 }, - /*00A9*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x0888, 0x00 }, - /*00AA*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x039B, 0x00 }, - /*00AB*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x039B, 0x00 }, - /*00AC*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0880, 0x00 }, - /*00AD*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0884, 0x00 }, - /*00AE*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0884, 0x00 }, - /*00AF*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x0888, 0x00 }, - /*00B0*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x039B, 0x00 }, - /*00B1*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x039B, 0x00 }, - /*00B2*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0880, 0x00 }, - /*00B3*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0884, 0x00 }, - /*00B4*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0884, 0x00 }, - /*00B5*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x0888, 0x00 }, - /*00B6*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x039B, 0x00 }, - /*00B7*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x039B, 0x00 }, - /*00B8*/ { ZYDIS_MNEMONIC_VLOADUNPACKHD, 3, 0x089C, 0x00 }, - /*00B9*/ { ZYDIS_MNEMONIC_VLOADUNPACKHPD, 3, 0x08B8, 0x00 }, - /*00BA*/ { ZYDIS_MNEMONIC_VLOADUNPACKHPS, 3, 0x0894, 0x00 }, - /*00BB*/ { ZYDIS_MNEMONIC_VLOADUNPACKHQ, 3, 0x11B4, 0x00 }, - /*00BC*/ { ZYDIS_MNEMONIC_VLOADUNPACKLD, 3, 0x089C, 0x00 }, - /*00BD*/ { ZYDIS_MNEMONIC_VLOADUNPACKLPD, 3, 0x08B8, 0x00 }, - /*00BE*/ { ZYDIS_MNEMONIC_VLOADUNPACKLPS, 3, 0x0894, 0x00 }, - /*00BF*/ { ZYDIS_MNEMONIC_VLOADUNPACKLQ, 3, 0x11B4, 0x00 }, - /*00C0*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08CC, 0x00 }, - /*00C1*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08D0, 0x00 }, - /*00C2*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08D0, 0x00 }, - /*00C3*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08B8, 0x00 }, - /*00C4*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08BC, 0x00 }, - /*00C5*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08BC, 0x00 }, - /*00C6*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x11C3, 0x00 }, - /*00C7*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x0894, 0x00 }, - /*00C8*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x08C0, 0x00 }, - /*00C9*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x08C0, 0x00 }, - /*00CA*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x11C6, 0x00 }, - /*00CB*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x089C, 0x00 }, - /*00CC*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x08D0, 0x00 }, - /*00CD*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x08D0, 0x00 }, - /*00CE*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x11C9, 0x00 }, - /*00CF*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11B4, 0x00 }, - /*00D0*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CC, 0x00 }, - /*00D1*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CC, 0x00 }, - /*00D2*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CF, 0x00 }, - /*00D3*/ { ZYDIS_MNEMONIC_VMOVNRAPD, 3, 0x11D2, 0x00 }, - /*00D4*/ { ZYDIS_MNEMONIC_VMOVNRAPS, 3, 0x11D5, 0x00 }, - /*00D5*/ { ZYDIS_MNEMONIC_VMOVNRNGOAPD, 3, 0x11D2, 0x00 }, - /*00D6*/ { ZYDIS_MNEMONIC_VMOVNRNGOAPS, 3, 0x11D5, 0x00 }, - /*00D7*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0880, 0x00 }, - /*00D8*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0884, 0x00 }, - /*00D9*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0884, 0x00 }, - /*00DA*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x0888, 0x00 }, - /*00DB*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x039B, 0x00 }, - /*00DC*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x039B, 0x00 }, - /*00DD*/ { ZYDIS_MNEMONIC_VPACKSTOREHD, 3, 0x11C9, 0x00 }, - /*00DE*/ { ZYDIS_MNEMONIC_VPACKSTOREHPD, 3, 0x11D8, 0x00 }, - /*00DF*/ { ZYDIS_MNEMONIC_VPACKSTOREHPS, 3, 0x11C6, 0x00 }, - /*00E0*/ { ZYDIS_MNEMONIC_VPACKSTOREHQ, 3, 0x11DB, 0x00 }, - /*00E1*/ { ZYDIS_MNEMONIC_VPACKSTORELD, 3, 0x11C9, 0x00 }, - /*00E2*/ { ZYDIS_MNEMONIC_VPACKSTORELPD, 3, 0x11D8, 0x00 }, - /*00E3*/ { ZYDIS_MNEMONIC_VPACKSTORELPS, 3, 0x11C6, 0x00 }, - /*00E4*/ { ZYDIS_MNEMONIC_VPACKSTORELQ, 3, 0x11DB, 0x00 }, - /*00E5*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C4, 0x00 }, - /*00E6*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C8, 0x00 }, - /*00E7*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C8, 0x00 }, - /*00E8*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x0888, 0x00 }, - /*00E9*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x039B, 0x00 }, - /*00EA*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x039B, 0x00 }, - /*00EB*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C4, 0x00 }, - /*00EC*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C8, 0x00 }, - /*00ED*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C8, 0x00 }, - /*00EE*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x0890, 0x00 }, - /*00EF*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x088C, 0x00 }, - /*00F0*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x088C, 0x00 }, - /*00F1*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x0888, 0x00 }, - /*00F2*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x039B, 0x00 }, - /*00F3*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x039B, 0x00 }, - /*00F4*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x0888, 0x00 }, - /*00F5*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x039B, 0x00 }, - /*00F6*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x039B, 0x00 }, - /*00F7*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0880, 0x00 }, - /*00F8*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0884, 0x00 }, - /*00F9*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0884, 0x00 }, - /*00FA*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0880, 0x00 }, - /*00FB*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0884, 0x00 }, - /*00FC*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0884, 0x00 }, - /*00FD*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x0888, 0x00 }, - /*00FE*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x039B, 0x00 }, - /*00FF*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x039B, 0x00 }, - /*0100*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0880, 0x00 }, - /*0101*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0884, 0x00 }, - /*0102*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0884, 0x00 }, - /*0103*/ { ZYDIS_MNEMONIC_VPBROADCASTD, 3, 0x089C, 0x00 }, - /*0104*/ { ZYDIS_MNEMONIC_VPBROADCASTQ, 3, 0x11B4, 0x00 }, - /*0105*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B4, 0x00 }, - /*0106*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B9, 0x00 }, - /*0107*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B9, 0x00 }, - /*0108*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B4, 0x00 }, - /*0109*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B9, 0x00 }, - /*010A*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B9, 0x00 }, - /*010B*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B4, 0x00 }, - /*010C*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B9, 0x00 }, - /*010D*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B9, 0x00 }, - /*010E*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B4, 0x00 }, - /*010F*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B9, 0x00 }, - /*0110*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B9, 0x00 }, - /*0111*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03BE, 0x00 }, - /*0112*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03C3, 0x00 }, - /*0113*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03C3, 0x00 }, - /*0114*/ { ZYDIS_MNEMONIC_VPERMD, 4, 0x0396, 0x00 }, - /*0115*/ { ZYDIS_MNEMONIC_VPERMD, 4, 0x039B, 0x00 }, - /*0116*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08CC, 0x00 }, - /*0117*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08D0, 0x00 }, - /*0118*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08D0, 0x00 }, - /*0119*/ { ZYDIS_MNEMONIC_VPGATHERDD, 3, 0x11DE, 0x00 }, - /*011A*/ { ZYDIS_MNEMONIC_VPGATHERDQ, 3, 0x11E1, 0x00 }, - /*011B*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x0888, 0x00 }, - /*011C*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x039B, 0x00 }, - /*011D*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x039B, 0x00 }, - /*011E*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x0888, 0x00 }, - /*011F*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x039B, 0x00 }, - /*0120*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x039B, 0x00 }, - /*0121*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x0888, 0x00 }, - /*0122*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x039B, 0x00 }, - /*0123*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x039B, 0x00 }, - /*0124*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x0888, 0x00 }, - /*0125*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x039B, 0x00 }, - /*0126*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x039B, 0x00 }, - /*0127*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x0888, 0x00 }, - /*0128*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x039B, 0x00 }, - /*0129*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x039B, 0x00 }, - /*012A*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x0888, 0x00 }, - /*012B*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x039B, 0x00 }, - /*012C*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x039B, 0x00 }, - /*012D*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x0888, 0x00 }, - /*012E*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x039B, 0x00 }, - /*012F*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x039B, 0x00 }, - /*0130*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x0888, 0x00 }, - /*0131*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x039B, 0x00 }, - /*0132*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x039B, 0x00 }, - /*0133*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x0888, 0x00 }, - /*0134*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x039B, 0x00 }, - /*0135*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x039B, 0x00 }, - /*0136*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x0888, 0x00 }, - /*0137*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x039B, 0x00 }, - /*0138*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x039B, 0x00 }, - /*0139*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0880, 0x00 }, - /*013A*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0884, 0x00 }, - /*013B*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0884, 0x00 }, - /*013C*/ { ZYDIS_MNEMONIC_VPREFETCH0, 1, 0x16CA, 0x00 }, - /*013D*/ { ZYDIS_MNEMONIC_VPREFETCH1, 1, 0x16CA, 0x00 }, - /*013E*/ { ZYDIS_MNEMONIC_VPREFETCH2, 1, 0x16CA, 0x00 }, - /*013F*/ { ZYDIS_MNEMONIC_VPREFETCHE0, 1, 0x16CA, 0x00 }, - /*0140*/ { ZYDIS_MNEMONIC_VPREFETCHE1, 1, 0x16CA, 0x00 }, - /*0141*/ { ZYDIS_MNEMONIC_VPREFETCHE2, 1, 0x16CA, 0x00 }, - /*0142*/ { ZYDIS_MNEMONIC_VPREFETCHENTA, 1, 0x16CA, 0x00 }, - /*0143*/ { ZYDIS_MNEMONIC_VPREFETCHNTA, 1, 0x16CA, 0x00 }, - /*0144*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C4, 0x00 }, - /*0145*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C8, 0x00 }, - /*0146*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C8, 0x00 }, - /*0147*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C4, 0x00 }, - /*0148*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C8, 0x00 }, - /*0149*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C8, 0x00 }, - /*014A*/ { ZYDIS_MNEMONIC_VPSCATTERDD, 3, 0x11E4, 0x00 }, - /*014B*/ { ZYDIS_MNEMONIC_VPSCATTERDQ, 3, 0x11E7, 0x00 }, - /*014C*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08CC, 0x00 }, - /*014D*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08D0, 0x00 }, - /*014E*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08D0, 0x00 }, - /*014F*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D4, 0x00 }, - /*0150*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D4, 0x00 }, - /*0151*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D8, 0x00 }, - /*0152*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08DC, 0x00 }, - /*0153*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08E0, 0x00 }, - /*0154*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08E0, 0x00 }, - /*0155*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D4, 0x00 }, - /*0156*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D4, 0x00 }, - /*0157*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D8, 0x00 }, - /*0158*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08DC, 0x00 }, - /*0159*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08E0, 0x00 }, - /*015A*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08E0, 0x00 }, - /*015B*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D4, 0x00 }, - /*015C*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D4, 0x00 }, - /*015D*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D8, 0x00 }, - /*015E*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08DC, 0x00 }, - /*015F*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08E0, 0x00 }, - /*0160*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08E0, 0x00 }, - /*0161*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x0888, 0x00 }, - /*0162*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x039B, 0x00 }, - /*0163*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x039B, 0x00 }, - /*0164*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x0888, 0x00 }, - /*0165*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x039B, 0x00 }, - /*0166*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x039B, 0x00 }, - /*0167*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C4, 0x00 }, - /*0168*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C8, 0x00 }, - /*0169*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C8, 0x00 }, - /*016A*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C4, 0x00 }, - /*016B*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C8, 0x00 }, - /*016C*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C8, 0x00 }, - /*016D*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B4, 0x00 }, - /*016E*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B9, 0x00 }, - /*016F*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B9, 0x00 }, - /*0170*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x0888, 0x00 }, - /*0171*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x039B, 0x00 }, - /*0172*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x039B, 0x00 }, - /*0173*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0880, 0x00 }, - /*0174*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0884, 0x00 }, - /*0175*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0884, 0x00 }, - /*0176*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08CC, 0x00 }, - /*0177*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08D0, 0x00 }, - /*0178*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08D0, 0x00 }, - /*0179*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08B8, 0x00 }, - /*017A*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08BC, 0x00 }, - /*017B*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08BC, 0x00 }, - /*017C*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x0894, 0x00 }, - /*017D*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x08C0, 0x00 }, - /*017E*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x08C0, 0x00 }, - /*017F*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08CC, 0x00 }, - /*0180*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08D0, 0x00 }, - /*0181*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08D0, 0x00 }, - /*0182*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x0888, 0x00 }, - /*0183*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x039B, 0x00 }, - /*0184*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x039B, 0x00 }, - /*0185*/ { ZYDIS_MNEMONIC_VSCATTERDPD, 3, 0x11EA, 0x00 }, - /*0186*/ { ZYDIS_MNEMONIC_VSCATTERDPS, 3, 0x11ED, 0x00 }, - /*0187*/ { ZYDIS_MNEMONIC_VSCATTERPF0DPS, 2, 0x11E4, 0x00 }, - /*0188*/ { ZYDIS_MNEMONIC_VSCATTERPF0HINTDPD, 2, 0x11E4, 0x00 }, - /*0189*/ { ZYDIS_MNEMONIC_VSCATTERPF0HINTDPS, 2, 0x11E4, 0x00 }, - /*018A*/ { ZYDIS_MNEMONIC_VSCATTERPF1DPS, 2, 0x11E4, 0x00 }, - /*018B*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0880, 0x00 }, - /*018C*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0884, 0x00 }, - /*018D*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0884, 0x00 }, - /*018E*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x0888, 0x00 }, - /*018F*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x039B, 0x00 }, - /*0190*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x039B, 0x00 }, - /*0191*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0880, 0x00 }, - /*0192*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0884, 0x00 }, - /*0193*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0884, 0x00 }, - /*0194*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x0888, 0x00 }, - /*0195*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x039B, 0x00 }, - /*0196*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x039B, 0x00 } + /*0000*/ { ZYDIS_MNEMONIC_CLEVICT0, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0001*/ { ZYDIS_MNEMONIC_CLEVICT1, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0002*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0003*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0004*/ { ZYDIS_MNEMONIC_VADDNPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0005*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0006*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0007*/ { ZYDIS_MNEMONIC_VADDNPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0008*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0009*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*000A*/ { ZYDIS_MNEMONIC_VADDPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*000B*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*000C*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*000D*/ { ZYDIS_MNEMONIC_VADDPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*000E*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x088C, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*000F*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x088C, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0010*/ { ZYDIS_MNEMONIC_VADDSETSPS, 4, 0x0890, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0011*/ { ZYDIS_MNEMONIC_VALIGND, 5, 0x0396, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0012*/ { ZYDIS_MNEMONIC_VALIGND, 5, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0013*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0014*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0015*/ { ZYDIS_MNEMONIC_VBLENDMPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0016*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0017*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0018*/ { ZYDIS_MNEMONIC_VBLENDMPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0019*/ { ZYDIS_MNEMONIC_VBROADCASTF32X4, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*001A*/ { ZYDIS_MNEMONIC_VBROADCASTF64X4, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*001B*/ { ZYDIS_MNEMONIC_VBROADCASTI32X4, 3, 0x089C, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*001C*/ { ZYDIS_MNEMONIC_VBROADCASTI64X4, 3, 0x11B4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*001D*/ { ZYDIS_MNEMONIC_VBROADCASTSD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*001E*/ { ZYDIS_MNEMONIC_VBROADCASTSS, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*001F*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A0, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0020*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A5, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0021*/ { ZYDIS_MNEMONIC_VCMPPD, 5, 0x03A5, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0022*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AA, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0023*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AF, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0024*/ { ZYDIS_MNEMONIC_VCMPPS, 5, 0x03AF, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0025*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0026*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0027*/ { ZYDIS_MNEMONIC_VCVTDQ2PD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0028*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0894, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0029*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0898, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*002A*/ { ZYDIS_MNEMONIC_VCVTFXPNTDQ2PS, 4, 0x0898, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*002B*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x089C, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*002C*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x08A0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*002D*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2DQ, 4, 0x08A0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*002E*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*002F*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A8, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0030*/ { ZYDIS_MNEMONIC_VCVTFXPNTPD2UDQ, 4, 0x08A8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0031*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x089C, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0032*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x08AC, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0033*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2DQ, 4, 0x08AC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0034*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08A4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0035*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08B0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0036*/ { ZYDIS_MNEMONIC_VCVTFXPNTPS2UDQ, 4, 0x08B0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0037*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x0894, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0038*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x08B4, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0039*/ { ZYDIS_MNEMONIC_VCVTFXPNTUDQ2PS, 4, 0x08B4, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*003A*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*003B*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x11B7, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*003C*/ { ZYDIS_MNEMONIC_VCVTPD2PS, 3, 0x11B7, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*003D*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*003E*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x11BA, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*003F*/ { ZYDIS_MNEMONIC_VCVTPS2PD, 3, 0x11BA, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0040*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0041*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0042*/ { ZYDIS_MNEMONIC_VCVTUDQ2PD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0043*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0044*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0045*/ { ZYDIS_MNEMONIC_VEXP223PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0046*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0047*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0048*/ { ZYDIS_MNEMONIC_VFIXUPNANPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0049*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*004A*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*004B*/ { ZYDIS_MNEMONIC_VFIXUPNANPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*004C*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*004D*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*004E*/ { ZYDIS_MNEMONIC_VFMADD132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*004F*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0050*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0051*/ { ZYDIS_MNEMONIC_VFMADD132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0052*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0053*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0054*/ { ZYDIS_MNEMONIC_VFMADD213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0055*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0056*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0057*/ { ZYDIS_MNEMONIC_VFMADD213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0058*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0059*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*005A*/ { ZYDIS_MNEMONIC_VFMADD231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*005B*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*005C*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*005D*/ { ZYDIS_MNEMONIC_VFMADD231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*005E*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*005F*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0060*/ { ZYDIS_MNEMONIC_VFMADD233PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0061*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0062*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0063*/ { ZYDIS_MNEMONIC_VFMSUB132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0064*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0065*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0066*/ { ZYDIS_MNEMONIC_VFMSUB132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0067*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0068*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0069*/ { ZYDIS_MNEMONIC_VFMSUB213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*006A*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*006B*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*006C*/ { ZYDIS_MNEMONIC_VFMSUB213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*006D*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*006E*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*006F*/ { ZYDIS_MNEMONIC_VFMSUB231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0070*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0071*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0072*/ { ZYDIS_MNEMONIC_VFMSUB231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0073*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0074*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0075*/ { ZYDIS_MNEMONIC_VFNMADD132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0076*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0077*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0078*/ { ZYDIS_MNEMONIC_VFNMADD132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0079*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*007A*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*007B*/ { ZYDIS_MNEMONIC_VFNMADD213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*007C*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*007D*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*007E*/ { ZYDIS_MNEMONIC_VFNMADD213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*007F*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0080*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0081*/ { ZYDIS_MNEMONIC_VFNMADD231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0082*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0083*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0084*/ { ZYDIS_MNEMONIC_VFNMADD231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0085*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0086*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0087*/ { ZYDIS_MNEMONIC_VFNMSUB132PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0088*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0089*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*008A*/ { ZYDIS_MNEMONIC_VFNMSUB132PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*008B*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*008C*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*008D*/ { ZYDIS_MNEMONIC_VFNMSUB213PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*008E*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*008F*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0090*/ { ZYDIS_MNEMONIC_VFNMSUB213PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0091*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0092*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0093*/ { ZYDIS_MNEMONIC_VFNMSUB231PD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0094*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0095*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0096*/ { ZYDIS_MNEMONIC_VFNMSUB231PS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0097*/ { ZYDIS_MNEMONIC_VGATHERDPD, 3, 0x11BD, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0098*/ { ZYDIS_MNEMONIC_VGATHERDPS, 3, 0x11C0, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0099*/ { ZYDIS_MNEMONIC_VGATHERPF0DPS, 2, 0x16C8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*009A*/ { ZYDIS_MNEMONIC_VGATHERPF0HINTDPD, 2, 0x16C8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*009B*/ { ZYDIS_MNEMONIC_VGATHERPF0HINTDPS, 2, 0x16C8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*009C*/ { ZYDIS_MNEMONIC_VGATHERPF1DPS, 2, 0x16C8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*009D*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*009E*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*009F*/ { ZYDIS_MNEMONIC_VGETEXPPD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A0*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A1*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x11BA, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A2*/ { ZYDIS_MNEMONIC_VGETEXPPS, 3, 0x11BA, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A3*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A4*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A5*/ { ZYDIS_MNEMONIC_VGETMANTPD, 4, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A6*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A7*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A8*/ { ZYDIS_MNEMONIC_VGETMANTPS, 4, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00A9*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AA*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AB*/ { ZYDIS_MNEMONIC_VGMAXABSPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AC*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AD*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AE*/ { ZYDIS_MNEMONIC_VGMAXPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00AF*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B0*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B1*/ { ZYDIS_MNEMONIC_VGMAXPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B2*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B3*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B4*/ { ZYDIS_MNEMONIC_VGMINPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B5*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B6*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B7*/ { ZYDIS_MNEMONIC_VGMINPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B8*/ { ZYDIS_MNEMONIC_VLOADUNPACKHD, 3, 0x089C, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00B9*/ { ZYDIS_MNEMONIC_VLOADUNPACKHPD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BA*/ { ZYDIS_MNEMONIC_VLOADUNPACKHPS, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BB*/ { ZYDIS_MNEMONIC_VLOADUNPACKHQ, 3, 0x11B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BC*/ { ZYDIS_MNEMONIC_VLOADUNPACKLD, 3, 0x089C, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BD*/ { ZYDIS_MNEMONIC_VLOADUNPACKLPD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BE*/ { ZYDIS_MNEMONIC_VLOADUNPACKLPS, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00BF*/ { ZYDIS_MNEMONIC_VLOADUNPACKLQ, 3, 0x11B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C0*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C1*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C2*/ { ZYDIS_MNEMONIC_VLOG2PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C3*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C4*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C5*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C6*/ { ZYDIS_MNEMONIC_VMOVAPD, 3, 0x11C3, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C7*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C8*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00C9*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CA*/ { ZYDIS_MNEMONIC_VMOVAPS, 3, 0x11C6, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CB*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x089C, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CC*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CD*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CE*/ { ZYDIS_MNEMONIC_VMOVDQA32, 3, 0x11C9, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00CF*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D0*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D1*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D2*/ { ZYDIS_MNEMONIC_VMOVDQA64, 3, 0x11CF, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D3*/ { ZYDIS_MNEMONIC_VMOVNRAPD, 3, 0x11D2, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D4*/ { ZYDIS_MNEMONIC_VMOVNRAPS, 3, 0x11D5, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D5*/ { ZYDIS_MNEMONIC_VMOVNRNGOAPD, 3, 0x11D2, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D6*/ { ZYDIS_MNEMONIC_VMOVNRNGOAPS, 3, 0x11D5, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D7*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D8*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00D9*/ { ZYDIS_MNEMONIC_VMULPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DA*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DB*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DC*/ { ZYDIS_MNEMONIC_VMULPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DD*/ { ZYDIS_MNEMONIC_VPACKSTOREHD, 3, 0x11C9, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DE*/ { ZYDIS_MNEMONIC_VPACKSTOREHPD, 3, 0x11D8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00DF*/ { ZYDIS_MNEMONIC_VPACKSTOREHPS, 3, 0x11C6, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E0*/ { ZYDIS_MNEMONIC_VPACKSTOREHQ, 3, 0x11DB, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E1*/ { ZYDIS_MNEMONIC_VPACKSTORELD, 3, 0x11C9, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E2*/ { ZYDIS_MNEMONIC_VPACKSTORELPD, 3, 0x11D8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E3*/ { ZYDIS_MNEMONIC_VPACKSTORELPS, 3, 0x11C6, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E4*/ { ZYDIS_MNEMONIC_VPACKSTORELQ, 3, 0x11DB, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E5*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E6*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E7*/ { ZYDIS_MNEMONIC_VPADCD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E8*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00E9*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00EA*/ { ZYDIS_MNEMONIC_VPADDD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00EB*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00EC*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00ED*/ { ZYDIS_MNEMONIC_VPADDSETCD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00EE*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x0890, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00EF*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x088C, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F0*/ { ZYDIS_MNEMONIC_VPADDSETSD, 4, 0x088C, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F1*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F2*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F3*/ { ZYDIS_MNEMONIC_VPANDD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F4*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F5*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F6*/ { ZYDIS_MNEMONIC_VPANDND, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F7*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F8*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00F9*/ { ZYDIS_MNEMONIC_VPANDNQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FA*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FB*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FC*/ { ZYDIS_MNEMONIC_VPANDQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FD*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FE*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*00FF*/ { ZYDIS_MNEMONIC_VPBLENDMD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0100*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0101*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0102*/ { ZYDIS_MNEMONIC_VPBLENDMQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0103*/ { ZYDIS_MNEMONIC_VPBROADCASTD, 3, 0x089C, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0104*/ { ZYDIS_MNEMONIC_VPBROADCASTQ, 3, 0x11B4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0105*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0106*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0107*/ { ZYDIS_MNEMONIC_VPCMPD, 5, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0108*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0109*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*010A*/ { ZYDIS_MNEMONIC_VPCMPEQD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*010B*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*010C*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*010D*/ { ZYDIS_MNEMONIC_VPCMPGTD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*010E*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*010F*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0110*/ { ZYDIS_MNEMONIC_VPCMPLTD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0111*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03BE, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0112*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03C3, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0113*/ { ZYDIS_MNEMONIC_VPCMPUD, 5, 0x03C3, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0114*/ { ZYDIS_MNEMONIC_VPERMD, 4, 0x0396, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0115*/ { ZYDIS_MNEMONIC_VPERMD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0116*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0117*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0118*/ { ZYDIS_MNEMONIC_VPERMF32X4, 4, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0119*/ { ZYDIS_MNEMONIC_VPGATHERDD, 3, 0x11DE, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*011A*/ { ZYDIS_MNEMONIC_VPGATHERDQ, 3, 0x11E1, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*011B*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*011C*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*011D*/ { ZYDIS_MNEMONIC_VPMADD231D, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*011E*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*011F*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0120*/ { ZYDIS_MNEMONIC_VPMADD233D, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0121*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0122*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0123*/ { ZYDIS_MNEMONIC_VPMAXSD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0124*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0125*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0126*/ { ZYDIS_MNEMONIC_VPMAXUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0127*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0128*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0129*/ { ZYDIS_MNEMONIC_VPMINSD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*012A*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*012B*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*012C*/ { ZYDIS_MNEMONIC_VPMINUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*012D*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*012E*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*012F*/ { ZYDIS_MNEMONIC_VPMULHD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0130*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0131*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0132*/ { ZYDIS_MNEMONIC_VPMULHUD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0133*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0134*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0135*/ { ZYDIS_MNEMONIC_VPMULLD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0136*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0137*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0138*/ { ZYDIS_MNEMONIC_VPORD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0139*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*013A*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*013B*/ { ZYDIS_MNEMONIC_VPORQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*013C*/ { ZYDIS_MNEMONIC_VPREFETCH0, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*013D*/ { ZYDIS_MNEMONIC_VPREFETCH1, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*013E*/ { ZYDIS_MNEMONIC_VPREFETCH2, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*013F*/ { ZYDIS_MNEMONIC_VPREFETCHE0, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0140*/ { ZYDIS_MNEMONIC_VPREFETCHE1, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0141*/ { ZYDIS_MNEMONIC_VPREFETCHE2, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0142*/ { ZYDIS_MNEMONIC_VPREFETCHENTA, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0143*/ { ZYDIS_MNEMONIC_VPREFETCHNTA, 1, 0x16CA, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_INVALID }, + /*0144*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0145*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0146*/ { ZYDIS_MNEMONIC_VPSBBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0147*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0148*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0149*/ { ZYDIS_MNEMONIC_VPSBBRD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*014A*/ { ZYDIS_MNEMONIC_VPSCATTERDD, 3, 0x11E4, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*014B*/ { ZYDIS_MNEMONIC_VPSCATTERDQ, 3, 0x11E7, 0x00, ZYDIS_MVEX_FUNC_INT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*014C*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*014D*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*014E*/ { ZYDIS_MNEMONIC_VPSHUFD, 4, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*014F*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0150*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0151*/ { ZYDIS_MNEMONIC_VPSLLD, 4, 0x08D8, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0152*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08DC, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0153*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0154*/ { ZYDIS_MNEMONIC_VPSLLVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0155*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0156*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0157*/ { ZYDIS_MNEMONIC_VPSRAD, 4, 0x08D8, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0158*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08DC, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0159*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*015A*/ { ZYDIS_MNEMONIC_VPSRAVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*015B*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*015C*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D4, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*015D*/ { ZYDIS_MNEMONIC_VPSRLD, 4, 0x08D8, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*015E*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08DC, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*015F*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0160*/ { ZYDIS_MNEMONIC_VPSRLVD, 4, 0x08E0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0161*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0162*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0163*/ { ZYDIS_MNEMONIC_VPSUBD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0164*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0165*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0166*/ { ZYDIS_MNEMONIC_VPSUBRD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0167*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0168*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0169*/ { ZYDIS_MNEMONIC_VPSUBRSETBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*016A*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*016B*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*016C*/ { ZYDIS_MNEMONIC_VPSUBSETBD, 4, 0x08C8, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*016D*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B4, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*016E*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*016F*/ { ZYDIS_MNEMONIC_VPTESTMD, 4, 0x03B9, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0170*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0171*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0172*/ { ZYDIS_MNEMONIC_VPXORD, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0173*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0174*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0175*/ { ZYDIS_MNEMONIC_VPXORQ, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0176*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0177*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0178*/ { ZYDIS_MNEMONIC_VRCP23PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0179*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08B8, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*017A*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*017B*/ { ZYDIS_MNEMONIC_VRNDFXPNTPD, 4, 0x08BC, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*017C*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x0894, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*017D*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*017E*/ { ZYDIS_MNEMONIC_VRNDFXPNTPS, 4, 0x08C0, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*017F*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08CC, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0180*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0181*/ { ZYDIS_MNEMONIC_VRSQRT23PS, 3, 0x08D0, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0182*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_INT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0183*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0184*/ { ZYDIS_MNEMONIC_VSCALEPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_INVALID, ZYDIS_MASK_POLICY_ALLOWED }, + /*0185*/ { ZYDIS_MNEMONIC_VSCATTERDPD, 3, 0x11EA, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0186*/ { ZYDIS_MNEMONIC_VSCATTERDPS, 3, 0x11ED, 0x00, ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0187*/ { ZYDIS_MNEMONIC_VSCATTERPF0DPS, 2, 0x11E4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0188*/ { ZYDIS_MNEMONIC_VSCATTERPF0HINTDPD, 2, 0x11E4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0189*/ { ZYDIS_MNEMONIC_VSCATTERPF0HINTDPS, 2, 0x11E4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*018A*/ { ZYDIS_MNEMONIC_VSCATTERPF1DPS, 2, 0x11E4, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*018B*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*018C*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*018D*/ { ZYDIS_MNEMONIC_VSUBPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*018E*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*018F*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0190*/ { ZYDIS_MNEMONIC_VSUBPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0191*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0880, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0192*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, ZYDIS_MASK_POLICY_ALLOWED }, + /*0193*/ { ZYDIS_MNEMONIC_VSUBRPD, 4, 0x0884, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED }, + /*0194*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x0888, 0x00, ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0195*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, ZYDIS_MASK_POLICY_ALLOWED }, + /*0196*/ { ZYDIS_MNEMONIC_VSUBRPS, 4, 0x039B, 0x00, ZYDIS_MVEX_FUNC_RC, ZYDIS_MASK_POLICY_ALLOWED } }; diff --git a/include/Zydis/Internal/InstructionTable.h b/include/Zydis/Internal/InstructionTable.h index ccfeee4..9e8a4d3 100644 --- a/include/Zydis/Internal/InstructionTable.h +++ b/include/Zydis/Internal/InstructionTable.h @@ -354,6 +354,81 @@ enum ZydisEVEXFunctionalities /* ---------------------------------------------------------------------------------------------- */ +/** + * @brief Defines the @c ZydisMVEXFunctionality datatype. + */ +typedef uint8_t ZydisMVEXFunctionality; + +/** + * @brief Values that represent MVEX-functionalities. + */ +enum ZydisMVEXFunctionalities +{ + ZYDIS_MVEX_FUNC_INVALID, + /** + * @brief @c MVEX.SSS controls embedded-rounding and sae functionality. + */ + ZYDIS_MVEX_FUNC_RC, + /** + * @brief @c MVEX.SSS controls register swizzle 32-bit functionality. + */ + ZYDIS_MVEX_FUNC_REG_SWIZZLE_32, + /** + * @brief @c MVEX.SSS controls register swizzle 64-bit functionality. + */ + ZYDIS_MVEX_FUNC_REG_SWIZZLE_64, + /** + * @brief @c MVEX.SSS controls 32-bit float upconvert (load-op) functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32, + /** + * @brief @c MVEX.SSS controls 64-bit float upconvert (load-op) functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64, + /** + * @brief @c MVEX.SSS controls 32-bit integer upconvert (load-op) functionality. + */ + ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32, + /** + * @brief @c MVEX.SSS controls 64-bit integer upconvert (load-op) functionality. + */ + ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64, + /** + * @brief @c MVEX.SSS controls 32-bit float upconvert functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_UCONV_32, + /** + * @brief @c MVEX.SSS controls 64-bit float upconvert functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_UCONV_64, + /** + * @brief @c MVEX.SSS controls 32-bit integer upconvert functionality. + */ + ZYDIS_MVEX_FUNC_INT_UCONV_32, + /** + * @brief @c MVEX.SSS controls 64-bit integer upconvert functionality. + */ + ZYDIS_MVEX_FUNC_INT_UCONV_64, + /** + * @brief @c MVEX.SSS controls 32-bit float downconvert functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_DCONV_32, + /** + * @brief @c MVEX.SSS controls 64-bit float downconvert functionality. + */ + ZYDIS_MVEX_FUNC_FLOAT_DCONV_64, + /** + * @brief @c MVEX.SSS controls 32-bit integer downconvert functionality. + */ + ZYDIS_MVEX_FUNC_INT_DCONV_32, + /** + * @brief @c MVEX.SSS controls 64-bit integer downconvert functionality. + */ + ZYDIS_MVEX_FUNC_INT_DCONV_64 +}; + +/* ---------------------------------------------------------------------------------------------- */ + /** * @brief Defines the @c ZydisMaskPolicy datatype. */ @@ -438,7 +513,9 @@ typedef struct ZydisInstructionDefinitionEVEX_ typedef struct ZydisInstructionDefinitionMVEX_ { - ZydisInstructionDefinition base; + ZYDIS_INSTRUCTION_DEFINITION_BASE; + ZydisMVEXFunctionality functionality : 4; + ZydisMaskPolicy maskPolicy : 2; } ZydisInstructionDefinitionMVEX; /* ---------------------------------------------------------------------------------------------- */ diff --git a/src/Decoder.c b/src/Decoder.c index 837d2cc..75cbf3f 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -95,6 +95,7 @@ typedef struct ZydisDecoderContext_ uint8_t R2; uint8_t V2; uint8_t v_vvvv; + uint8_t mask; } cache; } ZydisDecoderContext; @@ -407,7 +408,8 @@ static ZydisStatus ZydisDecodeEVEX(ZydisDecoderContext* context, ZydisInstructio context->cache.R2 = 0x01 & ~info->details.evex.R2; context->cache.V2 = 0x01 & ~info->details.evex.V2; context->cache.v_vvvv = - ((0x01 & ~info->details.evex.V2) << 4) | (0x0F & ~info->details.evex.vvvv); + ((0x01 & ~info->details.evex.V2) << 4) | (0x0F & ~info->details.evex.vvvv); + context->cache.mask = info->details.evex.aaa; if (!info->details.evex.V2 && (context->decoder->machineMode != 64)) { @@ -476,6 +478,7 @@ static ZydisStatus ZydisDecodeMVEX(ZydisDecoderContext* context, ZydisInstructio context->cache.LL = 2; context->cache.v_vvvv = ((0x01 & ~info->details.mvex.V2) << 4) | (0x0F & ~info->details.mvex.vvvv); + context->cache.mask = info->details.mvex.kkk; return ZYDIS_STATUS_SUCCESS; } @@ -3103,8 +3106,14 @@ static ZydisStatus ZydisDecodeInstruction(ZydisDecoderContext* context, ZydisIns ZydisGetOptionalInstructionParts(node, &optionalParts); ZYDIS_CHECK(ZydisDecodeOptionalInstructionParts(context, info, optionalParts)); - if (info->encoding == ZYDIS_INSTRUCTION_ENCODING_3DNOW) + ZydisMaskPolicy maskPolicy = ZYDIS_MASK_POLICY_INVALID; + switch (info->encoding) { + case ZYDIS_INSTRUCTION_ENCODING_DEFAULT: + break; + case ZYDIS_INSTRUCTION_ENCODING_3DNOW: + { + // Get actual 3dnow opcode and definition ZYDIS_CHECK(ZydisInputNext(context, info, &info->opcode)); node = ZydisInstructionTreeGetRootNode(); node = ZydisInstructionTreeGetChildNode(node, 0x0F); @@ -3118,7 +3127,93 @@ static ZydisStatus ZydisDecodeInstruction(ZydisDecoderContext* context, ZydisIns node = ZydisInstructionTreeGetChildNode( node, (info->details.modrm.mod == 0x3) ? 0 : 1); ZydisGetInstructionDefinition(node, &definition); - } + break; + } + case ZYDIS_INSTRUCTION_ENCODING_XOP: + case ZYDIS_INSTRUCTION_ENCODING_VEX: + break; + case ZYDIS_INSTRUCTION_ENCODING_EVEX: + { + const ZydisInstructionDefinitionEVEX* def = + (const ZydisInstructionDefinitionEVEX*)definition; + maskPolicy = def->maskPolicy; + break; + } + case ZYDIS_INSTRUCTION_ENCODING_MVEX: + { + const ZydisInstructionDefinitionMVEX* def = + (const ZydisInstructionDefinitionMVEX*)definition; + maskPolicy = def->maskPolicy; + + // Check for invalid MVEX.SSS values + static const uint8_t lookup[16][8] = + { + // ZYDIS_MVEX_FUNC_INVALID + { 0, 0, 0, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_RC + { 1, 1, 1, 1, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_REG_SWIZZLE_32 + { 1, 1, 1, 1, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_REG_SWIZZLE_64 + { 1, 1, 1, 1, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_32 + { 1, 1, 1, 1, 1, 0, 1, 1 }, + // ZYDIS_MVEX_FUNC_FLOAT_UCONV_LOAD_64 + { 1, 1, 1, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_32 + { 1, 1, 1, 0, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_INT_UCONV_LOAD_64 + { 1, 1, 1, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_FLOAT_UCONV_32 + { 1, 0, 0, 1, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_FLOAT_UCONV_64 + { 1, 0, 0, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_INT_UCONV_32 + { 1, 0, 0, 0, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_INT_UCONV_64 + { 1, 0, 0, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_FLOAT_DCONV_32 + { 1, 0, 0, 1, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_FLOAT_DCONV_64 + { 1, 0, 0, 0, 0, 0, 0, 0 }, + // ZYDIS_MVEX_FUNC_INT_DCONV_32 + { 1, 0, 0, 0, 1, 1, 1, 1 }, + // ZYDIS_MVEX_FUNC_INT_DCONV_64 + { 1, 0, 0, 0, 0, 0, 0, 0 } + }; + ZYDIS_ASSERT(def->functionality < ZYDIS_ARRAY_SIZE(lookup)); + if (!lookup[def->functionality]) + { + return ZYDIS_STATUS_DECODING_ERROR; + } + break; + } + default: + ZYDIS_UNREACHABLE; + } + + // Check for invalid MASK registers + switch (maskPolicy) + { + case ZYDIS_MASK_POLICY_INVALID: + case ZYDIS_MASK_POLICY_ALLOWED: + // Nothing to do here + break; + case ZYDIS_MASK_POLICY_REQUIRED: + if (!context->cache.mask) + { + return ZYDIS_STATUS_INVALID_MASK; + } + break; + case ZYDIS_MASK_POLICY_FORBIDDEN: + if (context->cache.mask) + { + return ZYDIS_STATUS_INVALID_MASK; + } + break; + default: + ZYDIS_UNREACHABLE; + } info->mnemonic = definition->mnemonic;