fix decoding attributes for several opcodes

This commit is contained in:
Stanislav Shwartsman 2024-11-09 16:52:15 +02:00
parent e68b7c36ed
commit af738622c0

View File

@ -337,8 +337,8 @@ static const Bit64u BxOpcodeGroup_EVEX_0F6D[] = {
};
static const Bit64u BxOpcodeGroup_EVEX_0F6E[] = {
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66, BX_IA_EVEX_VMOVD_VdqEd),
last_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_IS64, BX_IA_EVEX_VMOVQ_VdqEq)
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128, BX_IA_EVEX_VMOVD_VdqEd),
last_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128 | ATTR_IS64, BX_IA_EVEX_VMOVQ_VdqEq)
};
static const Bit64u BxOpcodeGroup_EVEX_0F6F[] = {
@ -486,9 +486,9 @@ static const Bit64u BxOpcodeGroup_EVEX_0F7B[] = {
};
static const Bit64u BxOpcodeGroup_EVEX_0F7E[] = {
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66, BX_IA_EVEX_VMOVD_EdVd),
form_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_IS64, BX_IA_EVEX_VMOVQ_EqVq),
last_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_F3, BX_IA_EVEX_VMOVQ_VqWq)
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128, BX_IA_EVEX_VMOVD_EdVd),
form_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128 | ATTR_IS64, BX_IA_EVEX_VMOVQ_EqVq),
last_opcode(ATTR_VEX_W1 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_F3 | ATTR_VL128, BX_IA_EVEX_VMOVQ_VqWq)
};
static const Bit64u BxOpcodeGroup_EVEX_0F7F[] = {
@ -1922,7 +1922,7 @@ static const Bit64u BxOpcodeGroup_EVEX_MAP5_5F[] = {
last_opcode(ATTR_VEX_W0 | ATTR_SSE_PREFIX_F3, BX_IA_EVEX_VMAXSH_VshHphWsh_Kmask)
};
static const Bit64u BxOpcodeGroup_EVEX_MAP5_6E[] = { last_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66, BX_IA_EVEX_VMOVW_VshEw) };
static const Bit64u BxOpcodeGroup_EVEX_MAP5_6E[] = { last_opcode(ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128, BX_IA_EVEX_VMOVW_VshEw) };
static const Bit64u BxOpcodeGroup_EVEX_MAP5_78[] = {
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_NO_PREFIX, BX_IA_EVEX_VCVTTPH2UDQ_VdqWph),
@ -1980,7 +1980,7 @@ static const Bit64u BxOpcodeGroup_EVEX_MAP5_7D[] = {
last_opcode(ATTR_VEX_W0 | ATTR_SSE_PREFIX_F2, BX_IA_EVEX_VCVTUW2PH_VphWdq_Kmask)
};
static const Bit64u BxOpcodeGroup_EVEX_MAP5_7E[] = { last_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_PREFIX_66, BX_IA_EVEX_VMOVW_EdVsh) };
static const Bit64u BxOpcodeGroup_EVEX_MAP5_7E[] = { last_opcode(ATTR_MASK_K0 | ATTR_SSE_PREFIX_66 | ATTR_VL128, BX_IA_EVEX_VMOVW_EdVsh) };
static const Bit64u BxOpcodeGroup_EVEX_MAP6_13[] = {
form_opcode(ATTR_VEX_W0 | ATTR_MASK_K0 | ATTR_SSE_NO_PREFIX, BX_IA_EVEX_VCVTSH2SS_VssWsh),