Using a java port of fdlibm on the hsail backend

Doug Simon doug.simon at oracle.com
Wed May 7 20:43:14 UTC 2014


Given that it was contributed under an OCA, I don’t see why we couldn’t use. However, otherwise with more legal knowledge can confirm that.

I wonder why there was no interest shown in this contribution on the hotspot-dev mailing list. It makes me wonder if the Java port is really 100% compliant.

-Doug

On May 7, 2014, at 8:56 PM, Deneau, Tom <tom.deneau at amd.com> wrote:

> Sending to Azeem representing the hotspot team and to the graal team...
> 
> On the hsail backend, we would like to implement the various java.lang.Math routines and we need a solution that is completely hsail, since we can't call out to any  host C routines.  An easy solution for us would be to use a java implementation of java.lang.Math.  I saw this mail back in the hotspot-dev archives describing a port of FDLIBM to Java which looked promising.
> 
> http://mail.openjdk.java.net/pipermail/hotspot-dev/2009-August/001992.html
> 
> I have tried the sin() routine out of this port in the hsail backend and it seems to work well functionally and performance-wise.
> 
> Is there any problem with using this code as part of the graal project as @MethodSubstitutions?
> 
> -- Tom Deneau
> 



More information about the graal-dev mailing list