[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

View File

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