Short/Character.reverseBytes intrinsics

John Rose john.r.rose at oracle.com
Wed Apr 21 17:30:22 PDT 2010


On Apr 21, 2010, at 4:47 PM, Ulf Zibis wrote:

> Are there intrinsics for int/float raw conversion ?
> How are the macros called ?

Google floatToRawIntBits and doubleToRawLongBits.  Any optimizing dynamic compiler (like Hotspot's C2) will know these are simple bitwise representation casts.

-- John


More information about the hotspot-compiler-dev mailing list