RFR(M): 8137168: Replace IfNode with a new RangeCheckNode for range checks
Remi Forax
forax at univ-mlv.fr
Wed Oct 14 08:37:17 UTC 2015
Re-reading your mail,
you don't even need 25 bytecodes if you put everything in local variables and use then as registers, I think you only need 7 :)
https://github.com/forax/vmboiler/blob/master/src/com/github/forax/vmboiler/CodeGen.java#L43
Rémi
----- Mail original -----
> De: "John Rose" <john.r.rose at oracle.com>
> À: "Chris Thalinger" <christian.thalinger at oracle.com>
> Cc: "hotspot compiler" <hotspot-compiler-dev at openjdk.java.net>
> Envoyé: Mercredi 30 Septembre 2015 02:42:56
> Objet: Re: RFR(M): 8137168: Replace IfNode with a new RangeCheckNode for
> range checks
> On Sep 29, 2015, at 4:01 PM, Christian Thalinger <
> christian.thalinger at oracle.com > wrote:
> > > On Sep 25, 2015, at 5:04 AM, Roland Westrelin <
> > > roland.westrelin at oracle.com
> > > >
> > > wrote:
> >
>
> > > The idea of using a node specifically for range checks is from John.
> >
>
> > There should be a range-check bytecode :-)
>
> Or, there should be ~25 bytecodes and bunch of intrinsic methods. ;-)
> http://cr.openjdk.java.net/~jrose/pres/201508-JVMComplexity.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151014/ca21006e/attachment-0001.html>
More information about the hotspot-compiler-dev
mailing list