Optimizing byte reverse code for int value

Andrew Haley aph at redhat.com
Tue Apr 11 11:02:26 UTC 2017


On 11/04/17 11:36, Michihiro Horie wrote:
> Thank you very much for letting us know Unsafe.getIntUnaligned is available in 
> JDK9. I do agree we should fix Java source code.
> We think our byte-reverse optimization would still work on jdk8u as Hiroshi 
> mentioned. Would you agree on this point?

I do, but I do not agree that this patch should necessarily be done in
the PowerPC-specific back end.  Have you considered it as a generic
optimization for all processors?

Andrew.


More information about the hotspot-dev mailing list