def gpr_handler(span):
yield from generic_handler(span, "SVP64_OPERAND_GPR")
+ def fpr_handler(span):
+ yield from generic_handler(span, "SVP64_OPERAND_FPR")
+
handlers = {
insndb.SignedOperand: signed_handler,
insndb.GPROperand: gpr_handler,
+ insndb.GPROperand: fpr_handler,
}
self.emit(f"case 0x{(path + 1):02x}: /* {', '.join(node.names)} */")
with self:
#define SVP64_OPERAND_SIGNED (UINT32_C(1) << UINT32_C(0))
#define SVP64_OPERAND_GPR (UINT32_C(1) << UINT32_C(1))
+#define SVP64_OPERAND_FPR (UINT32_C(1) << UINT32_C(2))
struct svp64_ctx {
struct svp64_record const *record;