Re: [kaffe] Removed GMP math?
Dalibor Topic <[email protected]> Fri, 29 Feb 2008 00:46:44 +0100
| Newsgroups | gmane.comp.java.classpath.devel,gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
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