[kaffe] Removed GMP math?

Dalibor Topic robilad at kaffe.org
Thu Feb 28 15:46:44 PST 2008


Per Bothner wrote:
> Dalibor Topic wrote:
>> Indeed. What I want though, is to see the GMP-based math code enter 
>> GNU Classpath, so that it gets maintained collaboratively, and becomes 
>> a shared feature among all the different GNU Classpath based VMs, 
>> rather than something only Kaffe is good at.
> 
> GMP-based math code *is* in ClassPath.  The implementation of
> java.lang.BigInteger was designed so that it could make use
> of GMP's lower "MPN" layer.  This is (or at least was when I wrote
> it) the lower-lever layer that did the actual computation, without
> memory allocation.  And this is the layer partly implemented in
> assembler.

On a side note, Andrew Hughes has just cleaned up and merged in Raif's 
patch, so it would be nice if you & Alan could give Classpath's CVS head 
a shot and see if it works for you.

cheers,
dalibor topic




More information about the kaffe mailing list