]> Nishi Git Mirror - gwion.git/commitdiff
:art: update opcode annotations
authorfennecdjay <fennecdjay@gmail.com>
Fri, 3 Feb 2023 18:42:57 +0000 (19:42 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Fri, 3 Feb 2023 18:42:57 +0000 (19:42 +0100)
include/opcode.h
opcode.txt

index 6e251241c43a13de070fcbce97d1ef9c9a7e1220..d6069550f9d5754bcb584c68fc7f8708ca8c4211 100644 (file)
@@ -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:
index 21a38eab89df45c3ace8a8a0c4dadc6ad6c0ab59..773403aabfcd0ccde753511a02df9b19ca6abf4b 100644 (file)
@@ -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