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

Ulf Zibis Ulf.Zibis at CoSoCo.de
Sat Jan 26 02:51:15 UTC 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 core-libs-dev mailing list