RFR(M): 8137168: Replace IfNode with a new RangeCheckNode for range checks

John Rose john.r.rose at oracle.com
Wed Oct 14 20:50:22 UTC 2015


On Oct 14, 2015, at 1:37 AM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> 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

We could squeeze it down to 3: S/K or A/B plus a load-constant.
https://en.wikipedia.org/wiki/Combinatory_logic
And, yours is a nice trade-off.
— John


More information about the hotspot-compiler-dev mailing list