generate dump list of VEX and EVEX instructions

This commit is contained in:
mykola2312 2024-08-13 15:36:03 +03:00
parent 5b739f6054
commit 5e8df2bd51
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored
View file

@ -1,2 +1,4 @@
test/
genc.txt
genc.txt
vex.txt
evex.txt

View file

@ -55,12 +55,14 @@ class Instruction:
opc = ins.find("opc").text
if "EVEX" in opc:
return
self.type = InstructionType.EVEX
self.parse_evex(opc)
elif "VEX" in opc:
self.type = InstructionType.VEX
self.parse_vex(opc)
else:
return
self.type = InstructionType.STANDARD
self.parse_standard(opc)