2019-06-22 04:18:41 +08:00
|
|
|
/* EVEX_W_0F5B_P_0 */
|
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvcvtdq2ps", { XM, EXx, EXxEVexR }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
{ "vcvtqq2ps%XY", { XMxmmq, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F62 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpunpckldq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F66 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-07-22 19:01:09 +08:00
|
|
|
{ "vpcmpgtd", { MaskG, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F6A */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpunpckhdq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F6B */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpackssdw", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F6C */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpunpcklqdq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F6D */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpunpckhqdq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F6F_P_1 */
|
|
|
|
{
|
|
|
|
{ "vmovdqu32", { XM, EXEvexXNoBcst }, 0 },
|
|
|
|
{ "vmovdqu64", { XM, EXEvexXNoBcst }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F6F_P_2 */
|
|
|
|
{
|
|
|
|
{ "vmovdqa32", { XM, EXEvexXNoBcst }, 0 },
|
|
|
|
{ "vmovdqa64", { XM, EXEvexXNoBcst }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F6F_P_3 */
|
|
|
|
{
|
|
|
|
{ "vmovdqu8", { XM, EXx }, 0 },
|
|
|
|
{ "vmovdqu16", { XM, EXx }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F70_P_2 */
|
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpshufd", { XM, EXx, Ib }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F72_R_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsrld", { Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F72_R_6 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpslld", { Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F73_R_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsrlq", { Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F73_R_6 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsllq", { Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F76 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-07-22 19:01:09 +08:00
|
|
|
{ "vpcmpeqd", { MaskG, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F78_P_0 */
|
|
|
|
{
|
|
|
|
{ "vcvttps2udq", { XM, EXx, EXxEVexS }, 0 },
|
|
|
|
{ "vcvttpd2udq%XY", { XMxmmq, EXx, EXxEVexS }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F78_P_2 */
|
|
|
|
{
|
|
|
|
{ "vcvttps2uqq", { XM, EXEvexHalfBcstXmmq, EXxEVexS }, 0 },
|
|
|
|
{ "vcvttpd2uqq", { XM, EXx, EXxEVexS }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F79_P_0 */
|
|
|
|
{
|
|
|
|
{ "vcvtps2udq", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtpd2udq%XY", { XMxmmq, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F79_P_2 */
|
|
|
|
{
|
|
|
|
{ "vcvtps2uqq", { XM, EXEvexHalfBcstXmmq, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtpd2uqq", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7A_P_1 */
|
|
|
|
{
|
|
|
|
{ "vcvtudq2pd", { XM, EXEvexHalfBcstXmmq }, 0 },
|
|
|
|
{ "vcvtuqq2pd", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7A_P_2 */
|
|
|
|
{
|
|
|
|
{ "vcvttps2qq", { XM, EXEvexHalfBcstXmmq, EXxEVexS }, 0 },
|
|
|
|
{ "vcvttpd2qq", { XM, EXx, EXxEVexS }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7A_P_3 */
|
|
|
|
{
|
|
|
|
{ "vcvtudq2ps", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtuqq2ps%XY", { XMxmmq, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7B_P_2 */
|
|
|
|
{
|
|
|
|
{ "vcvtps2qq", { XM, EXEvexHalfBcstXmmq, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtpd2qq", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7E_P_1 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2021-03-10 15:19:11 +08:00
|
|
|
{ VEX_LEN_TABLE (VEX_LEN_0F7E_P_1) },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F7F_P_1 */
|
|
|
|
{
|
|
|
|
{ "vmovdqu32", { EXxS, XM }, 0 },
|
|
|
|
{ "vmovdqu64", { EXxS, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7F_P_2 */
|
|
|
|
{
|
|
|
|
{ "vmovdqa32", { EXxS, XM }, 0 },
|
|
|
|
{ "vmovdqa64", { EXxS, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F7F_P_3 */
|
|
|
|
{
|
|
|
|
{ "vmovdqu8", { EXxS, XM }, 0 },
|
|
|
|
{ "vmovdqu16", { EXxS, XM }, 0 },
|
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FD2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsrld", { XM, Vex, EXxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FD3 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsrlq", { XM, Vex, EXxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FD4 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpaddq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:19:11 +08:00
|
|
|
/* EVEX_W_0FD6 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2021-03-10 15:19:11 +08:00
|
|
|
{ VEX_LEN_TABLE (VEX_LEN_0FD6) },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0FE6_P_1 */
|
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvcvtdq2pd", { XM, EXEvexHalfBcstXmmq }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
{ "vcvtqq2pd", { XM, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0FE7 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "%XEvmovntdq", { Mx, XM }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FF2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpslld", { XM, Vex, EXxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FF3 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsllq", { XM, Vex, EXxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FF4 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpmuludq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FFA */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsubd", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FFB */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpsubq", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0FFE */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpaddd", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3810_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovuswb", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3810_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpsrlvw", { XM, Vex, EXx }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3811_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovusdb", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3811_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpsravw", { XM, Vex, EXx }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3812_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovusqb", { EXxmmdw, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3812_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpsllvw", { XM, Vex, EXx }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3813_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovusdw", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3814_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovusqw", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3815_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovusqd", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3819_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-07-22 19:08:39 +08:00
|
|
|
{ "vbroadcastf32x2", { XM, EXq }, PREFIX_DATA },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvbroadcastsd", { XM, EXq }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2023-08-02 19:06:23 +08:00
|
|
|
/* EVEX_W_0F381A_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vbroadcastf32x4", { XM, Mxmm }, PREFIX_DATA },
|
|
|
|
{ "vbroadcastf64x2", { XM, Mxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2023-08-02 19:06:23 +08:00
|
|
|
/* EVEX_W_0F381B_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vbroadcastf32x8", { XM, Mymm }, PREFIX_DATA },
|
|
|
|
{ "vbroadcastf64x4", { XM, Mymm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F381E */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpabsd", { XM, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F381F */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2020-07-14 16:33:40 +08:00
|
|
|
{ "vpabsq", { XM, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3820_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovswb", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3821_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovsdb", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3822_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovsqb", { EXxmmdw, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3823_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovsdw", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3824_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovsqw", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3825_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovsqd", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3825_P_2 */
|
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpmovsxdq", { XM, EXxmmq }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3828_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpmuldq", { XM, Vex, EXx }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3829_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2021-07-22 19:01:09 +08:00
|
|
|
{ "vpcmpeqq", { MaskG, Vex, EXx }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F382A_P_1 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vpbroadcastmb2qY", { XM, MaskR }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F382A_P_2 */
|
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "%XEvmovntdqaY", { XM, Mx }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-06 19:42:33 +08:00
|
|
|
/* EVEX_W_0F382B */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpackusdw", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3830_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovwb", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3831_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovdb", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3832_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovqb", { EXxmmdw, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3833_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovdw", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3834_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovqw", { EXxmmqd, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3835_P_1 */
|
|
|
|
{
|
|
|
|
{ "vpmovqd", { EXxmmq, XM }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_0F3835_P_2 */
|
|
|
|
{
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpmovzxdq", { XM, EXxmmq }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3837 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2021-07-22 19:01:09 +08:00
|
|
|
{ "vpcmpgtq", { MaskG, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F383A_P_1 */
|
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vpbroadcastmw2dY", { XM, MaskR }, 0 },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3859 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-07-22 19:08:39 +08:00
|
|
|
{ "vbroadcasti32x2", { XM, EXq }, PREFIX_DATA },
|
2022-10-24 15:30:58 +08:00
|
|
|
{ "%XEvpbroadcastq", { XM, EXq }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2023-08-02 19:06:23 +08:00
|
|
|
/* EVEX_W_0F385A_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vbroadcasti32x4", { XM, Mxmm }, PREFIX_DATA },
|
|
|
|
{ "vbroadcasti64x2", { XM, Mxmm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2023-08-02 19:06:23 +08:00
|
|
|
/* EVEX_W_0F385B_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vbroadcasti32x8", { XM, Mymm }, PREFIX_DATA },
|
|
|
|
{ "vbroadcasti64x4", { XM, Mymm }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3870 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2020-07-14 16:33:40 +08:00
|
|
|
{ "vpshldvw", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_0F3872_P_2 */
|
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpshrdvw", { XM, Vex, EXx }, 0 },
|
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F387A */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vpbroadcastb", { XM, Rd }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F387B */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2023-08-02 19:06:23 +08:00
|
|
|
{ "vpbroadcastw", { XM, Rd }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3883 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
2020-07-14 16:33:40 +08:00
|
|
|
{ "vpmultishiftqb", { XM, Vex, EXx }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A18_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vinsertf32x4", { XM, Vex, EXxmm, Ib }, PREFIX_DATA },
|
|
|
|
{ "vinsertf64x2", { XM, Vex, EXxmm, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A19_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vextractf32x4", { EXxmm, XM, Ib }, PREFIX_DATA },
|
|
|
|
{ "vextractf64x2", { EXxmm, XM, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A1A_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vinsertf32x8", { XM, Vex, EXymm, Ib }, PREFIX_DATA },
|
|
|
|
{ "vinsertf64x4", { XM, Vex, EXymm, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A1B_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vextractf32x8", { EXymm, XM, Ib }, PREFIX_DATA },
|
|
|
|
{ "vextractf64x4", { EXymm, XM, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3A21 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:19:11 +08:00
|
|
|
{ VEX_LEN_TABLE (VEX_LEN_0F3A21) },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A23_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vshuff32x4", { XM, Vex, EXx, Ib }, PREFIX_DATA },
|
|
|
|
{ "vshuff64x2", { XM, Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A38_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vinserti32x4", { XM, Vex, EXxmm, Ib }, PREFIX_DATA },
|
|
|
|
{ "vinserti64x2", { XM, Vex, EXxmm, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A39_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vextracti32x4", { EXxmm, XM, Ib }, PREFIX_DATA },
|
|
|
|
{ "vextracti64x2", { EXxmm, XM, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A3A_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vinserti32x8", { XM, Vex, EXymm, Ib }, PREFIX_DATA },
|
|
|
|
{ "vinserti64x4", { XM, Vex, EXymm, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A3B_L_2 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vextracti32x8", { EXymm, XM, Ib }, PREFIX_DATA },
|
|
|
|
{ "vextracti64x4", { EXymm, XM, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3A42 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ "vdbpsadbw", { XM, Vex, EXx, Ib }, 0 },
|
|
|
|
},
|
2021-03-10 15:16:54 +08:00
|
|
|
/* EVEX_W_0F3A43_L_n */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
2021-03-10 15:16:54 +08:00
|
|
|
{ "vshufi32x4", { XM, Vex, EXx, Ib }, PREFIX_DATA },
|
|
|
|
{ "vshufi64x2", { XM, Vex, EXx, Ib }, PREFIX_DATA },
|
2019-06-22 04:18:41 +08:00
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3A70 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpshldw", { XM, Vex, EXx, Ib }, 0 },
|
|
|
|
},
|
2020-07-14 16:33:40 +08:00
|
|
|
/* EVEX_W_0F3A72 */
|
2019-06-22 04:18:41 +08:00
|
|
|
{
|
|
|
|
{ Bad_Opcode },
|
|
|
|
{ "vpshrdw", { XM, Vex, EXx, Ib }, 0 },
|
|
|
|
},
|
2023-12-28 09:06:40 +08:00
|
|
|
/* EVEX_W_MAP4_8F_R_0 */
|
|
|
|
{
|
|
|
|
{ "pop2", { { PUSH2_POP2_Fixup, q_mode}, Eq }, NO_PREFIX },
|
|
|
|
{ "pop2p", { { PUSH2_POP2_Fixup, q_mode}, Eq }, NO_PREFIX },
|
|
|
|
},
|
2024-04-17 13:57:50 +08:00
|
|
|
/* EVEX_W_MAP4_F8_P1_M_1 */
|
|
|
|
{
|
|
|
|
{ "uwrmsr", { Gq, Eq }, 0 },
|
|
|
|
},
|
|
|
|
/* EVEX_W_MAP4_F8_P3_M_1 */
|
|
|
|
{
|
|
|
|
{ "urdmsr", { Eq, Gq }, 0 },
|
|
|
|
},
|
2023-12-28 09:06:40 +08:00
|
|
|
/* EVEX_W_MAP4_FF_R_6 */
|
|
|
|
{
|
|
|
|
{ "push2", { { PUSH2_POP2_Fixup, q_mode}, Eq }, 0 },
|
|
|
|
{ "push2p", { { PUSH2_POP2_Fixup, q_mode}, Eq }, 0 },
|
|
|
|
},
|
2022-01-14 17:54:21 +08:00
|
|
|
/* EVEX_W_MAP5_5B_P_0 */
|
[PATCH 1/2] Enable Intel AVX512_FP16 instructions
Intel AVX512 FP16 instructions use maps 3, 5 and 6. Maps 5 and 6 use 3 bits
in the EVEX.mmm field (0b101, 0b110). Map 5 is for instructions that were FP32
in map 1 (0Fxx). Map 6 is for instructions that were FP32 in map 2 (0F38xx).
There are some exceptions to this rule. Some things in map 1 (0Fxx) with imm8
operands predated our current conventions; those instructions moved to map 3.
FP32 things in map 3 (0F3Axx) found new opcodes in map3 for FP16 because map3
is very sparsely populated. Most of the FP16 instructions share opcodes and
prefix (EVEX.pp) bits with the related FP32 operations.
Intel AVX512 FP16 instructions has new displacements scaling rules, please refer
to the public software developer manual for detail information.
gas/
2021-08-05 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
Wei Xiao <wei3.xiao@intel.com>
Lili Cui <lili.cui@intel.com>
* config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
(cpu_arch): Add .avx512_fp16.
(cpu_noarch): Add noavx512_fp16.
(pte): Add evexmap5 and evexmap6.
(build_evex_prefix): Handle EVEXMAP5 and EVEXMAP6.
(check_VecOperations): Handle {1to32}.
(check_VecOperands): Handle CheckRegNumb.
(check_word_reg): Handle Toqword.
(i386_error): Add invalid_dest_and_src_register_set.
(match_template): Handle invalid_dest_and_src_register_set.
* doc/c-i386.texi: Document avx512_fp16, noavx512_fp16.
opcodes/
2021-08-05 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
Wei Xiao <wei3.xiao@intel.com>
Lili Cui <lili.cui@intel.com>
* i386-dis.c (EXwScalarS): New.
(EXxh): Ditto.
(EXxhc): Ditto.
(EXxmmqh): Ditto.
(EXxmmqdh): Ditto.
(EXEvexXwb): Ditto.
(DistinctDest_Fixup): Ditto.
(enum): Add xh_mode, evex_half_bcst_xmmqh_mode, evex_half_bcst_xmmqdh_mode
and w_swap_mode.
(enum): Add PREFIX_EVEX_0F3A08_W_0, PREFIX_EVEX_0F3A0A_W_0,
PREFIX_EVEX_0F3A26, PREFIX_EVEX_0F3A27, PREFIX_EVEX_0F3A56,
PREFIX_EVEX_0F3A57, PREFIX_EVEX_0F3A66, PREFIX_EVEX_0F3A67,
PREFIX_EVEX_0F3AC2, PREFIX_EVEX_MAP5_10, PREFIX_EVEX_MAP5_11,
PREFIX_EVEX_MAP5_1D, PREFIX_EVEX_MAP5_2A, PREFIX_EVEX_MAP5_2C,
PREFIX_EVEX_MAP5_2D, PREFIX_EVEX_MAP5_2E, PREFIX_EVEX_MAP5_2F,
PREFIX_EVEX_MAP5_51, PREFIX_EVEX_MAP5_58, PREFIX_EVEX_MAP5_59,
PREFIX_EVEX_MAP5_5A_W_0, PREFIX_EVEX_MAP5_5A_W_1,
PREFIX_EVEX_MAP5_5B_W_0, PREFIX_EVEX_MAP5_5B_W_1,
PREFIX_EVEX_MAP5_5C, PREFIX_EVEX_MAP5_5D, PREFIX_EVEX_MAP5_5E,
PREFIX_EVEX_MAP5_5F, PREFIX_EVEX_MAP5_78, PREFIX_EVEX_MAP5_79,
PREFIX_EVEX_MAP5_7A, PREFIX_EVEX_MAP5_7B, PREFIX_EVEX_MAP5_7C,
PREFIX_EVEX_MAP5_7D_W_0, PREFIX_EVEX_MAP6_13, PREFIX_EVEX_MAP6_56,
PREFIX_EVEX_MAP6_57, PREFIX_EVEX_MAP6_D6, PREFIX_EVEX_MAP6_D7
(enum): Add EVEX_MAP5 and EVEX_MAP6.
(enum): Add EVEX_W_MAP5_5A, EVEX_W_MAP5_5B,
EVEX_W_MAP5_78_P_0, EVEX_W_MAP5_78_P_2, EVEX_W_MAP5_79_P_0,
EVEX_W_MAP5_79_P_2, EVEX_W_MAP5_7A_P_2, EVEX_W_MAP5_7A_P_3,
EVEX_W_MAP5_7B_P_2, EVEX_W_MAP5_7C_P_0, EVEX_W_MAP5_7C_P_2,
EVEX_W_MAP5_7D, EVEX_W_MAP6_13_P_0, EVEX_W_MAP6_13_P_2,
(get_valid_dis386): Properly handle new instructions.
(intel_operand_size): Handle new modes.
(OP_E_memory): Ditto.
(OP_EX): Ditto.
* i386-dis-evex.h: Updated for AVX512_FP16.
* i386-dis-evex-mod.h: Updated for AVX512_FP16.
* i386-dis-evex-prefix.h: Updated for AVX512_FP16.
* i386-dis-evex-reg.h : Updated for AVX512_FP16.
* i386-dis-evex-w.h : Updated for AVX512_FP16.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_FP16_FLAGS,
and CPU_ANY_AVX512_FP16_FLAGS. Update CPU_ANY_AVX512F_FLAGS
and CPU_ANY_AVX512BW_FLAGS.
(cpu_flags): Add CpuAVX512_FP16.
(opcode_modifiers): Add DistinctDest.
* i386-opc.h (enum): (AVX512_FP16): New.
(i386_opcode_modifier): Add reqdistinctreg.
(i386_cpu_flags): Add cpuavx512_fp16.
(EVEXMAP5): Defined as a macro.
(EVEXMAP6): Ditto.
* i386-opc.tbl: Add Intel AVX512_FP16 instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Ditto.
2021-06-14 11:05:05 +08:00
|
|
|
{
|
2022-01-14 17:54:21 +08:00
|
|
|
{ "vcvtdq2ph%XY", { XMxmmq, EXx, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtqq2ph%XZ", { XMM, EXx, EXxEVexR }, 0 },
|
[PATCH 1/2] Enable Intel AVX512_FP16 instructions
Intel AVX512 FP16 instructions use maps 3, 5 and 6. Maps 5 and 6 use 3 bits
in the EVEX.mmm field (0b101, 0b110). Map 5 is for instructions that were FP32
in map 1 (0Fxx). Map 6 is for instructions that were FP32 in map 2 (0F38xx).
There are some exceptions to this rule. Some things in map 1 (0Fxx) with imm8
operands predated our current conventions; those instructions moved to map 3.
FP32 things in map 3 (0F3Axx) found new opcodes in map3 for FP16 because map3
is very sparsely populated. Most of the FP16 instructions share opcodes and
prefix (EVEX.pp) bits with the related FP32 operations.
Intel AVX512 FP16 instructions has new displacements scaling rules, please refer
to the public software developer manual for detail information.
gas/
2021-08-05 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
Wei Xiao <wei3.xiao@intel.com>
Lili Cui <lili.cui@intel.com>
* config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
(cpu_arch): Add .avx512_fp16.
(cpu_noarch): Add noavx512_fp16.
(pte): Add evexmap5 and evexmap6.
(build_evex_prefix): Handle EVEXMAP5 and EVEXMAP6.
(check_VecOperations): Handle {1to32}.
(check_VecOperands): Handle CheckRegNumb.
(check_word_reg): Handle Toqword.
(i386_error): Add invalid_dest_and_src_register_set.
(match_template): Handle invalid_dest_and_src_register_set.
* doc/c-i386.texi: Document avx512_fp16, noavx512_fp16.
opcodes/
2021-08-05 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
Wei Xiao <wei3.xiao@intel.com>
Lili Cui <lili.cui@intel.com>
* i386-dis.c (EXwScalarS): New.
(EXxh): Ditto.
(EXxhc): Ditto.
(EXxmmqh): Ditto.
(EXxmmqdh): Ditto.
(EXEvexXwb): Ditto.
(DistinctDest_Fixup): Ditto.
(enum): Add xh_mode, evex_half_bcst_xmmqh_mode, evex_half_bcst_xmmqdh_mode
and w_swap_mode.
(enum): Add PREFIX_EVEX_0F3A08_W_0, PREFIX_EVEX_0F3A0A_W_0,
PREFIX_EVEX_0F3A26, PREFIX_EVEX_0F3A27, PREFIX_EVEX_0F3A56,
PREFIX_EVEX_0F3A57, PREFIX_EVEX_0F3A66, PREFIX_EVEX_0F3A67,
PREFIX_EVEX_0F3AC2, PREFIX_EVEX_MAP5_10, PREFIX_EVEX_MAP5_11,
PREFIX_EVEX_MAP5_1D, PREFIX_EVEX_MAP5_2A, PREFIX_EVEX_MAP5_2C,
PREFIX_EVEX_MAP5_2D, PREFIX_EVEX_MAP5_2E, PREFIX_EVEX_MAP5_2F,
PREFIX_EVEX_MAP5_51, PREFIX_EVEX_MAP5_58, PREFIX_EVEX_MAP5_59,
PREFIX_EVEX_MAP5_5A_W_0, PREFIX_EVEX_MAP5_5A_W_1,
PREFIX_EVEX_MAP5_5B_W_0, PREFIX_EVEX_MAP5_5B_W_1,
PREFIX_EVEX_MAP5_5C, PREFIX_EVEX_MAP5_5D, PREFIX_EVEX_MAP5_5E,
PREFIX_EVEX_MAP5_5F, PREFIX_EVEX_MAP5_78, PREFIX_EVEX_MAP5_79,
PREFIX_EVEX_MAP5_7A, PREFIX_EVEX_MAP5_7B, PREFIX_EVEX_MAP5_7C,
PREFIX_EVEX_MAP5_7D_W_0, PREFIX_EVEX_MAP6_13, PREFIX_EVEX_MAP6_56,
PREFIX_EVEX_MAP6_57, PREFIX_EVEX_MAP6_D6, PREFIX_EVEX_MAP6_D7
(enum): Add EVEX_MAP5 and EVEX_MAP6.
(enum): Add EVEX_W_MAP5_5A, EVEX_W_MAP5_5B,
EVEX_W_MAP5_78_P_0, EVEX_W_MAP5_78_P_2, EVEX_W_MAP5_79_P_0,
EVEX_W_MAP5_79_P_2, EVEX_W_MAP5_7A_P_2, EVEX_W_MAP5_7A_P_3,
EVEX_W_MAP5_7B_P_2, EVEX_W_MAP5_7C_P_0, EVEX_W_MAP5_7C_P_2,
EVEX_W_MAP5_7D, EVEX_W_MAP6_13_P_0, EVEX_W_MAP6_13_P_2,
(get_valid_dis386): Properly handle new instructions.
(intel_operand_size): Handle new modes.
(OP_E_memory): Ditto.
(OP_EX): Ditto.
* i386-dis-evex.h: Updated for AVX512_FP16.
* i386-dis-evex-mod.h: Updated for AVX512_FP16.
* i386-dis-evex-prefix.h: Updated for AVX512_FP16.
* i386-dis-evex-reg.h : Updated for AVX512_FP16.
* i386-dis-evex-w.h : Updated for AVX512_FP16.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512_FP16_FLAGS,
and CPU_ANY_AVX512_FP16_FLAGS. Update CPU_ANY_AVX512F_FLAGS
and CPU_ANY_AVX512BW_FLAGS.
(cpu_flags): Add CpuAVX512_FP16.
(opcode_modifiers): Add DistinctDest.
* i386-opc.h (enum): (AVX512_FP16): New.
(i386_opcode_modifier): Add reqdistinctreg.
(i386_cpu_flags): Add cpuavx512_fp16.
(EVEXMAP5): Defined as a macro.
(EVEXMAP6): Ditto.
* i386-opc.tbl: Add Intel AVX512_FP16 instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Ditto.
2021-06-14 11:05:05 +08:00
|
|
|
},
|
|
|
|
/* EVEX_W_MAP5_7A_P_3 */
|
|
|
|
{
|
|
|
|
{ "vcvtudq2ph%XY", { XMxmmq, EXx, EXxEVexR }, 0 },
|
|
|
|
{ "vcvtuqq2ph%XZ", { XMM, EXx, EXxEVexR }, 0 },
|
|
|
|
},
|