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 Tue, 27 May 2008 09:14:56 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

------------------------------------------------------------------------------
  
  === Runtime exception check instructions: ===
  // all of these take ExceptionModifier
-  * [:Jitrino_OPT/opcodes/TauCheckBounds: Op_TauCheckBounds] -  takes index and array length
arguments, ovf mod==none indicates 0<=idx*eltsize<2^31
+  * [:Jitrino_OPT/opcodes/TauCheckBounds: Op_TauCheckBounds] -  Takes index and array length
arguments, the overflow modifier == none indicates that 0<=idx*element_size<2^31
-  * [:Jitrino_OPT/opcodes/TauCheckLowerBound: Op_TauCheckLowerBound] -  throws unless src0
<= src1
+  * [:Jitrino_OPT/opcodes/TauCheckLowerBound: Op_TauCheckLowerBound] -  Throws ArrayOfBoundException
unless src0 <= src1
-  * [:Jitrino_OPT/opcodes/TauCheckUpperBound: Op_TauCheckUpperBound] -  throws unless src0
< src1
+  * [:Jitrino_OPT/opcodes/TauCheckUpperBound: Op_TauCheckUpperBound] -  Throws ArrayOfBoundException
unless src0 < src1
-  * [:Jitrino_OPT/opcodes/TauCheckNull: Op_TauCheckNull] -  throws NullPointerException if
source is null
+  * [:Jitrino_OPT/opcodes/TauCheckNull: Op_TauCheckNull] -  Throws NullPointerException if
''src'' operand is null
-  * [:Jitrino_OPT/opcodes/TauCheckZero: Op_TauCheckZero] -  for divide by zero exceptions
(div and rem)
+  * [:Jitrino_OPT/opcodes/TauCheckZero: Op_TauCheckZero] -  Throws DivideByZero exceptions.
The resulted ''tau''operand is used in Op_TauDiv and Op_TauRem instructions.
-  * [:Jitrino_OPT/opcodes/TauCheckDivOpnds: Op_TauCheckDivOpnds] -  for signed divide overflow
in CLI (div/rem of MAXNEGINT, -1): generates an ArithmeticException
+  * [:Jitrino_OPT/opcodes/TauCheckDivOpnds: Op_TauCheckDivOpnds] - Was used for signed divide
overflow in CLI (div/rem of MAXNEGINT, -1): generates an ArithmeticException. TODO: remove
as unused.
-  * [:Jitrino_OPT/opcodes/TauCheckElemType: Op_TauCheckElemType] -  Array element type check
for aastore
+  * [:Jitrino_OPT/opcodes/TauCheckElemType: Op_TauCheckElemType] -  Checks array element
type. The resulted ''tau'' operand is used in Op_TauStElem instruction.
-  * [:Jitrino_OPT/opcodes/TauCheckFinite: Op_TauCheckFinite] -  throws ArithmeticException
if value is NaN or +- inifinity
+  * [:Jitrino_OPT/opcodes/TauCheckFinite: Op_TauCheckFinite] -  Throws ArithmeticException
if ''src'' operand is NaN or +- infinity
  
  === Allocation: ===
   * [:Jitrino_OPT/opcodes/NewObj: Op_NewObj] -  OutOfMemoryException

Mime
View raw message