Skip to content

Commit

Permalink
cleanup final output for opmask
Browse files Browse the repository at this point in the history
  • Loading branch information
BeaEngine committed Aug 7, 2019
1 parent f0f5844 commit 18ddc1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- new instructions sets : AVX512, CET, SGX, BMI1, BMI2, SHA
- more than 10k assertions to test the lib (BeaEngine is now implemented in some TDD style)
- more than 20k instructions encoding listed
- more than 20k instructions encoding listed (not yet released)
- new python wrapper to hide ctypes complexity
- fix issues on prefixes (precedences and conflicts)
- fix SecurityBlock issues
Expand Down
1 change: 1 addition & 0 deletions src/Includes/Routines_Disasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,7 @@ void __bea_callspec__ BuildCompleteInstruction(PDISASM pMyDisasm)
}
i = printArg1(pMyDisasm, i);
if (
(GV.ERROR_OPCODE != UNKNOWN_OPCODE) &&
(GV.EVEX.state == InUsePrefix) &&
(GV.EVEX.masking != NO_MASK) &&
((GV.OPTIONS & ShowEVEXMasking))
Expand Down
3 changes: 3 additions & 0 deletions src/Includes/instr_set/instructions_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -12736,6 +12736,7 @@ void __bea_callspec__ cvtdq2ps_(PDISASM pMyDisasm)
(void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "vcvtps2dq ");
#endif
if (GV.EVEX.state == InUsePrefix) GV.EVEX.tupletype = FULL;
verifyVEXvvvv(pMyDisasm);
ArgsVEX_GxEx(pMyDisasm);
}
else if (GV.VEX.pp == 2) {
Expand All @@ -12747,6 +12748,7 @@ void __bea_callspec__ cvtdq2ps_(PDISASM pMyDisasm)
#ifndef BEA_LIGHT_DISASSEMBLY
(void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "vcvttps2dq ");
#endif
verifyVEXvvvv(pMyDisasm);
ArgsVEX_GxEx(pMyDisasm);
}
else if (GV.VEX.pp == 0) {
Expand All @@ -12758,6 +12760,7 @@ void __bea_callspec__ cvtdq2ps_(PDISASM pMyDisasm)
(void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "vcvtdq2ps ");
#endif
if (GV.EVEX.state == InUsePrefix) GV.EVEX.tupletype = FULL;
verifyVEXvvvv(pMyDisasm);
ArgsVEX_GxEx(pMyDisasm);
}
else {
Expand Down

0 comments on commit 18ddc1c

Please sign in to comment.