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 Mon, 26 May 2008 08:25:55 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/GetVTableAddr: Op_GetVTableAddr] - Obtains the address of the VTable
for a particular object type provided as a parameter.
  
  === Array manipulation: ===
-  * [:Jitrino_OPT/opcodes/TauArrayLen: Op_TauArrayLen] - Gets arrays pointer a parameter
and returns a length of the array. Uses 2 tau parameters to ensure that pointed object type
is array and that it's not null.
+  * [:Jitrino_OPT/opcodes/TauArrayLen: Op_TauArrayLen] - Gets arrays pointer as a parameter
and returns a length of the array. Uses 2 tau parameters to ensure that pointed object type
is array and that it's not null.
   * [:Jitrino_OPT/opcodes/LdArrayBaseAddr: Op_LdArrayBaseAddr] -  Load the base (zero'th
element) address of array.
   * [:Jitrino_OPT/opcodes/AddScaledIndex: Op_AddScaledIndex] -  Add a scaled index to an
array element address
  
  === Store instructions: ===
-  * [:Jitrino_OPT/opcodes/StVar: Op_StVar]
-  * [:Jitrino_OPT/opcodes/TauStInd: Op_TauStInd] -  StoreModifier
-  * [:Jitrino_OPT/opcodes/TauStField: Op_TauStField] -  StoreModifier
-  * [:Jitrino_OPT/opcodes/TauStElem: Op_TauStElem] -  StoreModifier
-  * [:Jitrino_OPT/opcodes/TauStStatic: Op_TauStStatic]                    
-  * [:Jitrino_OPT/opcodes/TauStRef: Op_TauStRef] -  high-level version that will make a call
to the VM
+  * [:Jitrino_OPT/opcodes/StVar: Op_StVar] - Stores ''var'' operand into temporary ''dst''
operand.
+  * [:Jitrino_OPT/opcodes/TauStInd: Op_TauStInd] -  Stores the ''src'' operand into memory
area referenced by ''ptr'' operand. Uses 3 tau operands to ensure that that object pointed
by ''ptr'' is not null, the type of ''src'' operand matches the type of the field pointed
by ''ptr'' operand and  that address pointer by ''ptr'' operand is in valid range. Modifiers:
StoreModifier
+  * [:Jitrino_OPT/opcodes/TauStField: Op_TauStField] -  The same as Op_TauStInd but uses
''field_handle'' instead of ''ptr'' operand. Modifiers: StoreModifier
+  * [:Jitrino_OPT/opcodes/TauStElem: Op_TauStElem] -  Stores ''src'' value as ''index'' element
of ''array'' parameter. Uses 3 tau operands to ensure that ''array'' is not null, ''src''
type is checked to match the element type and ''index'' is not is out of bounds. Modifiers:
StoreModifier
+  * [:Jitrino_OPT/opcodes/TauStStatic: Op_TauStStatic] - Stores ''src'' value into static
field referenced by ''field_handle'' parameter.
+  * [:Jitrino_OPT/opcodes/TauStRef: Op_TauStRef] -  A high-level version of TauStInd that
also has a pointer to an ''dst'' object referenced by ''ptr'' operand and can be used for
a mode with write barriers support, when the addresses of both ''src'' and ''dst''objects
must be reported.
  
  === Runtime exception check instructions: ===
  // all of these take ExceptionModifier

Mime
View raw message