Improve scoring for operand error handling

This commit is contained in:
gingerBill
2026-08-11 15:06:14 +01:00
parent cd6b8a9ddb
commit 5621cbc85a
3 changed files with 44 additions and 11 deletions

View File

@@ -386,6 +386,7 @@ struct Asm_amd64 {
case OP_IMM64: return 64;
case OP_REL8: return 8;
case OP_REL32: return 32;
case OP_IMM8SX: return 8;
}
return 0; // OP_M (sizeless), OP_K (opmask width is data-dependent), OP_ONE_IMPL, moffs, ptr, sreg/cr/dr, etc.
}