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 08:29:25 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

------------------------------------------------------------------------------
  === Control flow: ===
   * [: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]
-  * [:Jitrino_OPT/opcodes/IndirectCall: Op_IndirectCall]
-  * [:Jitrino_OPT/opcodes/IndirectMemoryCall: Op_IndirectMemoryCall]
-  * [:Jitrino_OPT/opcodes/JitHelperCall: Op_JitHelperCall] -  call to a jit helper routine
+  * [:Jitrino_OPT/opcodes/Switch: Op_Switch] - Takes ''src1'', ''labels[]'' and ''defaultLabel''
operands and jumps to the label with the index stored in ''src0''. If the ''src1'' is out
of the ''labels[]'' range, a jump to the ''defaultLabel'' is used.
+  * [:Jitrino_OPT/opcodes/DirectCall: Op_DirectCall] - A direct call to a Java method. Takes
the list of method's parameters and two ''tau'' operands to ensure that ''this'' is not null
and all parameter types are checked. Stores the result of the call to ''dst'' operand. Modifiers:
ExceptionModifier
+  * [:Jitrino_OPT/opcodes/TauVirtualCall: Op_TauVirtualCall] - - A virtual call to a Java
method. Takes the list of method's parameters and two ''tau'' operands to ensure that ''this''
is not null and all parameter types are checked. Stores the result of the call to ''dst''
operand. Modifiers: ExceptionModifier
+  * [:Jitrino_OPT/opcodes/IndirectCall: Op_IndirectCall] - An indirect call to an arbitrary
native method. Takes the address of the call as ''src1'' operand, the list of method's parameters
and two ''tau'' operands to ensure that the first operand is not null and types for operands
are checked. Stores the result of the call to ''dst'' operand. Modifiers: ExceptionModifier
+  * [:Jitrino_OPT/opcodes/IndirectMemoryCall: Op_IndirectMemoryCall] - The same as Op_IndirectCall.
TODO: one of this instructions must be removed
+  * [:Jitrino_OPT/opcodes/JitHelperCall: Op_JitHelperCall] -  A call of an internal JIT helper
referenced by ''JitHelperCallId'' parameter
-  * [:Jitrino_OPT/opcodes/VMHelperCall: Op_VMHelperCall] -  call to a vm (runtime) helper
routine 
+  * [:Jitrino_OPT/opcodes/VMHelperCall: Op_VMHelperCall] -  A call of an runtime VM helper
referenced by ''VM_RT_SUPPORT'' parameter
-  * [:Jitrino_OPT/opcodes/Return: Op_Return]
+  * [:Jitrino_OPT/opcodes/Return: Op_Return] - A result of the current method. Uses 1 or
no operands as return operands.
  
  === Exception processing: ===
   * [:Jitrino_OPT/opcodes/Catch: Op_Catch]

Mime
View raw message