Short/Character.reverseBytes intrinsics

John Rose john.r.rose at oracle.com
Wed Apr 21 15:26:13 PDT 2010


On Apr 21, 2010, at 3:20 PM, Ulf Zibis wrote:

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

The existing intrinsics for swapping and int/float raw conversion will do this, when combined in the obvious way.  -- John


More information about the hotspot-compiler-dev mailing list