Short/Character.reverseBytes intrinsics

Ulf Zibis Ulf.Zibis at gmx.de
Wed Apr 21 15:20:29 PDT 2010


Am 21.04.2010 21:40, schrieb Hiroshi Yamauchi:
> OK. Based on that, I think the last revision:
>
>    http://cr.openjdk.java.net/~rasbold/reversebytes/webrev.02/
>
> is in good shape (aside from the movbe support and the sparc part.)
> Let me know if there are some comments.

What about having intrinsics for byte swapping on float/double values?
This could give a significant performance boost on direct nio buffers.

-Ulf




More information about the hotspot-compiler-dev mailing list