Request for review: 6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86

Ulf Zibis Ulf.Zibis at CoSoCo.de
Fri Jan 25 18:51:15 PST 2013


Am 18.01.2013 19:26, schrieb Vladimir Kozlov:
> Here are Hotspot changes with new jtreg test:
>
> http://cr.openjdk.java.net/~kvn/6896617/webrev

Hi Vladimir,

I'm wondering if there would be a similar intrinsic for the reverse decode case?

Also sun.nio.cs.ASCII$Encode.encodeArrayLoop() could profit from PACKUSWB intrinsic.
Maybe the mask, here 0xFF80, could be passed by an additional parameter, so the same intrinsic could 
serve for both.
Maybe Base64 coders could be considered too.

What about XXX$encodeBufferLoop()? Could there implemented a similar intrinsic?

-Ulf



More information about the hotspot-compiler-dev mailing list