yield node
-class ExtrasVisitor(SVP64InstructionVisitor):
+class SelectorsVisitor(InstructionVisitor):
@mdis.dispatcher.Hook(
In1Sel, In2Sel, In3Sel, CRInSel, CRIn2Sel,
OutSel, CROutSel,
print(typename, node)
yield node
+
+class ExtrasVisitor(SVP64InstructionVisitor, SelectorsVisitor):
@mdis.dispatcher.Hook(SVP64Record.ExtraMap)
@contextlib.contextmanager
def dispatch_extramap(self, node):
PCodeVisitor,
"print instruction pseudocode",
),
+ "selectors": (
+ SelectorsVisitor,
+ "print instruction selectors",
+ ),
"extras": (
ExtrasVisitor,
"print instruction extras (SVP64)",