Request for review (L): 6797305: Add LoadUB and LoadUI opcode class

Christian Thalinger Christian.Thalinger at Sun.COM
Mon Mar 2 09:31:15 PST 2009


On Fri, 2009-02-27 at 22:34 +0100, Christian Thalinger wrote:
> On Fri, 2009-02-27 at 10:06 -0800, Tom Rodriguez wrote:
> > Basically you have to distinguish the two modes by hand.  Check out  
> > the loadN instruct definition.  
> 
> Okay, I will have a look at it.

Oops, I almost forgot to look at that.  Adding that check to all other
cases sounds not like a good idea.  Two questions/solutions:

1. Can normal loads and stores be indexed?

2. What about adding load and store assembler instruction like on x86
with an Address argument, e.g.

  inline void lduw(Address a, Register d);

The

  inline void lduw(const Address& a, Register d, int offset = 0);

seems to be doing something different, although I don't know yet what.

-- Christian




More information about the hotspot-compiler-dev mailing list