hg: jdk7/hotspot-comp/hotspot: 6797305: Add LoadUB and LoadUI opcode class
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:
> if (inByte >= 0)
> return (char)inByte;
> 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.
More information about the hotspot-compiler-dev