A question about bytecodes + unsigned load performance ./. add performace

Christian Thalinger Christian.Thalinger at Sun.COM
Wed Jan 21 10:11:48 PST 2009


On Tue, 2009-01-20 at 22:12 +0100, Christian Thalinger wrote:
> On Tue, 2009-01-20 at 11:22 -0800, Tom Rodriguez wrote:
> > I think on an out of order machine that much of this simply gets  
> > hidden, especially when there's a lot of load and store traffic.  Try  
> > measuring a loop without stores, maybe something that simply sums the   
> > results.  
> 
> Good idea.  I will try that tomorrow.

You were absolutely right.  Simply summing up the bytes as unsigned
values is 22% faster.

I hope I can try it on a SPARC box soon.

-- Christian




More information about the hotspot-compiler-dev mailing list