Emit encoding lists (WIP).
Compute the u16 representation of encoding lists and emit a big table concatenating all of them. Use the UniqueSeqTable to share some table space between CPU modes.
This commit is contained in:
@@ -1030,6 +1030,9 @@ class CPUMode(object):
|
||||
self.encodings = []
|
||||
isa.cpumodes.append(self)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def enc(self, *args, **kwargs):
|
||||
"""
|
||||
Add a new encoding to this CPU mode.
|
||||
|
||||
Reference in New Issue
Block a user