From: fennecdjay Date: Fri, 3 Feb 2023 18:42:57 +0000 (+0100) Subject: :art: update opcode annotations X-Git-Tag: nightly~205^2~2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6673be830090f9f5cb78d9b7e2066c603a573ac4;p=gwion.git :art: update opcode annotations --- diff --git a/include/opcode.h b/include/opcode.h index 6e251241..d6069550 100644 --- a/include/opcode.h +++ b/include/opcode.h @@ -506,21 +506,25 @@ ANN static inline void dump_opcodes(const VM_Code code) { case eRegPushBase: gw_out("{Y}┃{0}{-}% 4lu{0}: RegPushBase ", j); gw_out(" {-R}%-14p{0}", instr->m_val); + gw_out(" {-M}%-14"UINT_F"{0}", instr->m_val2); gw_out("\n"); break; case eRegPushBase2: gw_out("{Y}┃{0}{-}% 4lu{0}: RegPushBase2", j); gw_out(" {-R}%-14f", instr->f); + gw_out(" {-M}%-14"UINT_F"{0}", instr->m_val2); gw_out("\n"); break; case eRegPushBase3: gw_out("{Y}┃{0}{-}% 4lu{0}: RegPushBase3", j); gw_out(" {-R}%-14p{0}", instr->m_val); + gw_out(" {-M}%-14"UINT_F"{0}", instr->m_val2); gw_out("\n"); break; case eRegPushBase4: gw_out("{Y}┃{0}{-}% 4lu{0}: RegPushBase4", j); gw_out(" {-R}%-14p{0}", instr->m_val); + gw_out(" {-M}%-14"UINT_F"{0}", instr->m_val2); gw_out("\n"); break; case eReg2Reg: diff --git a/opcode.txt b/opcode.txt index 21a38eab..773403aa 100644 --- a/opcode.txt +++ b/opcode.txt @@ -9,10 +9,10 @@ RegPushMem3~u~u RegPushMem4~u~u RegPushMemDeref~u~u RegPushNow -RegPushBase~p -RegPushBase2~f -RegPushBase3~p -RegPushBase4~p +RegPushBase~p~u +RegPushBase2~f~u +RegPushBase3~p~u +RegPushBase4~p~u Reg2Reg~u~u Reg2RegOther~u~u Reg2RegAddr~u~u