generate dump list of VEX and EVEX instructions
This commit is contained in:
parent
5b739f6054
commit
5e8df2bd51
2 changed files with 5 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
|||
test/
|
||||
genc.txt
|
||||
genc.txt
|
||||
vex.txt
|
||||
evex.txt
|
||||
2
genc.py
2
genc.py
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue