Java 8 Integer and Long unsigned methods - are there plans to add intrinsics for them?

David Chase david.r.chase at oracle.com
Fri Apr 11 11:16:06 UTC 2014


Conversion to/from float/double also ought to be mildly annoying.

On 2014-04-10, at 7:54 PM, Roman Leventov <leventov at ya.ru> wrote:

> > 11.04.2014, 02:51, "Christian Thalinger" <christian.thalinger at oracle.com>:
> > Do you see a performance problem with these methods?
>  
> Currently divideUnsigned and remainderUnsigned take a dozen of instructions with widening to long, while there is a signle div assembly instruction for this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140411/0a9e70ed/signature.asc>


More information about the hotspot-compiler-dev mailing list