Using a java port of fdlibm on the hsail backend
Christian Thalinger
christian.thalinger at oracle.com
Thu May 8 02:35:54 UTC 2014
On May 7, 2014, at 10:43 AM, Doug Simon <doug.simon at oracle.com> wrote:
> 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.
This was a long time ago and I’m also curious why there was no interest. Anyway, I filed a tracking bug because we didn’t have one:
[#JDK-8042716] Java port of fdlibm 5.3 to java.lang.StrictMath - Java Bug System
>
> -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