hg: jdk7/hotspot-comp/hotspot: 6797305: Add LoadUB and LoadUI opcode class

Christian Thalinger Christian.Thalinger at Sun.COM
Fri Mar 13 11:09:38 PDT 2009


On Fri, 2009-03-13 at 18:57 +0100, Ulf Zibis wrote:
> Regarding:
>        if (inByte >= 0)
>            return (char)inByte;
>        else
>            return (char)(inByte & 0xFF);
> 
> I'm curious, if your CR would also result in some progress for that case.

No.  Currently I'm working on load shortening, like:

  char c = (char) (intarray[i] & 0xFFFF);

The next thing on my TODO list will be to optimize widening conversions,
but I haven't opened a CR yet.

-- Christian




More information about the jdk7-changes mailing list