2005-02-20 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Sun, 20 Feb 2005 14:06:23 +0000 (14:06 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sun, 20 Feb 2005 14:06:23 +0000 (14:06 -0000)
* cil-opcodes.xml opcode.def: Correct definition of mono_classconst and
add mono_not_taken which is used for branch prediction hints.

svn path=/trunk/mono/; revision=40931

mono/cil/ChangeLog
mono/cil/cil-opcodes.xml
mono/cil/opcode.def

index ae2f8d0828a0c10c31b25ce07f6efd0ab7d85bce..3d7b180d9f968ce0b6fd8805b4406b8e9ebe0afd 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-20  Zoltan Varga  <vargaz@freemail.hu>
+
+       * cil-opcodes.xml opcode.def: Correct definition of mono_classconst and
+       add mono_not_taken which is used for branch prediction hints.
+
 2005-01-03  Zoltan Varga  <vargaz@freemail.hu>
 
        * cil-opcodes.xml opcode.def: Add mono_classconst.
index 059d594ac5fa1755745d20264f216a66cbd6605e..27ddf15886b8aade49fe15196d2f23d06223a004 100644 (file)
 <opcode name="mono_ccastclass" input="PopRef" output="Push1" args="InlineType" o1="0xF0" o2="0x08" flow="next" />
 <opcode name="mono_save_lmf" input="Pop0" output="Push0" args="InlineNone" o1="0xF0" o2="0x09" flow="next" />
 <opcode name="mono_restore_lmf" input="Pop0" output="Push0" args="InlineNone" o1="0xF0" o2="0x0A" flow="next" />
-<opcode name="mono_classconst" input="Pop0" output="Push0" args="InlineNone" o1="0xF0" o2="0x0B" flow="next" />
+<opcode name="mono_classconst" input="Pop0" output="PushI" args="InlineI" o1="0xF0" o2="0x0B" flow="next" />
+<opcode name="mono_not_taken" input="Pop0" output="Push0" args="InlineNone" o1="0xF0" o2="0x0C" flow="next" />
 </opdesc>
\ No newline at end of file
index 602ef7a0a4ecb06812b35a6dffa0784adcfe5c84..0695cd46e837ac9d9629fc22e8a530d86a01c0a5 100644 (file)
@@ -302,7 +302,8 @@ OPDEF(CEE_MONO_CISINST, "mono_cisinst", PopRef, Push1, InlineType, X, 2, 0xF0, 0
 OPDEF(CEE_MONO_CCASTCLASS, "mono_ccastclass", PopRef, Push1, InlineType, X, 2, 0xF0, 0x08, NEXT)
 OPDEF(CEE_MONO_SAVE_LMF, "mono_save_lmf", Pop0, Push0, InlineNone, X, 2, 0xF0, 0x09, NEXT)
 OPDEF(CEE_MONO_RESTORE_LMF, "mono_restore_lmf", Pop0, Push0, InlineNone, X, 2, 0xF0, 0x0A, NEXT)
-OPDEF(CEE_MONO_CLASSCONST, "mono_classconst", Pop0, Push0, InlineNone, X, 2, 0xF0, 0x0B, NEXT)
+OPDEF(CEE_MONO_CLASSCONST, "mono_classconst", Pop0, PushI, InlineI, X, 2, 0xF0, 0x0B, NEXT)
+OPDEF(CEE_MONO_NOT_TAKEN, "mono_not_taken", Pop0, Push0, InlineNone, X, 2, 0xF0, 0x0C, NEXT)
 #ifndef OPALIAS
 #define _MONO_CIL_OPALIAS_DEFINED_
 #define OPALIAS(a,s,r)