Question: "backwards" adressing

Christian Thalinger Christian.Thalinger at Sun.COM
Mon Aug 24 06:06:08 PDT 2009


Ulf Zibis wrote:
> In case of "forwards", the compiler could create code which increments 
> the index for the 2nd statement in _same CPU register_, whitout 
> remembering the original value of index in a different place.

The compiler generates in either case a load-with-offset instruction and
the increment happens independently.

-- Christian


More information about the hotspot-compiler-dev mailing list