harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/opcodes" by Mikhail Fursov
Date Fri, 23 May 2008 07:53:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/opcodes

------------------------------------------------------------------------------
   * [:Jitrino_OPT/opcodes/Cmp3: Op_Cmp3] -  3-way compare, e.g.: ((s0>s1)?1:((s1>s0)?-1:0)).
For floats, exactly 1 of the two comparisons is unordered. Modifiers: ComparisonModifier.
The modifier in the instruction applies to the first test.
                                  
  === Control flow: ===
-  * [:Jitrino_OPT/opcodes/Branch: Op_Branch] -  ComparisonModifier
-  * [:Jitrino_OPT/opcodes/Jump: Op_Jump] -  (different from the CLI jmp opcode) 
+  * [:Jitrino_OPT/opcodes/Branch: Op_Branch] -  There are two types of instructions with
this opcode. For the first if the ''src1'' is not 0 the branch pointed by ''label'' operand
is taken. The second version of the instruction combines both Op_Cmp and the first version
of this operation. It takes two ''src1'' and ''src2'' operands, compares them and jumps to
the ''label'' block if comparison condition is 'true'. Modifiers: ComparisonModifier
+  * [:Jitrino_OPT/opcodes/Jump: Op_Jump] -  Unconditional jump to a node pointer by the ''label''
operand. Modifiers: none.
   * [:Jitrino_OPT/opcodes/Switch: Op_Switch]
   * [:Jitrino_OPT/opcodes/DirectCall: Op_DirectCall]
   * [:Jitrino_OPT/opcodes/TauVirtualCall: Op_TauVirtualCall]

Mime
View raw message