yield f"flags = {flags};"
self.emit("break;")
+ def nonzero_handler(span):
+ yield from generic_handler(span, "SVP64_OPERAND_NONZERO")
+
def signed_handler(span):
mask = f"(UINT32_C(1) << (UINT32_C({len(span)}) - 1))"
yield "value = ("
insndb.CR3Operand: cr3_handler,
insndb.CR5Operand: cr5_handler,
insndb.SignedOperand: signed_handler,
+ insndb.NonZeroOperand: nonzero_handler,
insndb.DynamicOperand: generic_handler,
object: None,
}
#define SVP64_OPERAND_PAIR (UINT32_C(1) << UINT32_C(3))
#define SVP64_OPERAND_CR3 (UINT32_C(1) << UINT32_C(4))
#define SVP64_OPERAND_CR5 (UINT32_C(1) << UINT32_C(5))
+#define SVP64_OPERAND_NONZERO (UINT32_C(1) << UINT32_C(6))
struct svp64_ctx {
struct svp64_record const *record;