[Bug] Fixed instruction signatures issue introduced by the previous commit

This commit is contained in:
kobalicek
2021-01-26 01:09:35 +01:00
parent 58b6c025f2
commit 0636dd316a
2 changed files with 879 additions and 883 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1526,6 +1526,10 @@ class InstSignatureTable extends core.Task {
if (iop.immValue !== null) if (iop.immValue !== null)
break; break;
// Shorten the number of signatures of 'mov' instruction.
if (inst.name === "mov" && mem.startsWith("moff"))
break;
if (reg === "r8") reg = "r8lo"; if (reg === "r8") reg = "r8lo";
if (reg === "seg") reg = "sreg"; if (reg === "seg") reg = "sreg";
if (reg === "st(i)") reg = "st"; if (reg === "st(i)") reg = "st";