You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by George Timoshenko <ge...@gmail.com> on 2008/02/01 06:38:21 UTC

Re: [jitrino]questions about HIR insts

> What is Op_TauStInd? which insts  could appears before it?

This inst has arguments:

src			the value to be stored
ptr			the address where 'src' is being stored at
tauBaseNonNull		the result of ptr null check
tauAddressInRange	the slot where ptr points at has a correct type
tauElemTypeChecked	the src type is OK to be stored at ptr address


last three tau-operands may have a values like tauSafe or tauUnsafe. 
That means that they were not calculated. And the "author" of the 
TauStInd instruction just sure that everything is fine (tauSafe), or not 
(tauUnsafe).

There are no some definite requirements for the instructions that 
precedes the TauStInd. Just a common rule that src and ptr must have a 
reasonable values.
ptr - must be of the pointer type. (ptr->getType()->asPtrType() returns 
non NULL)

src->getType() must equals or castable to 
ptr->getType()->asPtrType()->getPointedToType(). This rule is not so 
strict but you will probably get as assertion if you break it.

Does the info answers you needs?

There is also some specific on EM64T related to the mode of references 
compression. Do you want me to describe?