c++ patch

Marc Glisse marc.glisse at normalesup.org
Mon May 22 16:56:34 CEST 2006

On Mon, 22 May 2006, Torbjorn Granlund wrote:

> For SPARC, since there aren't any very useful 64-bit integer
> operations, the 32-bit ABI isn't terribly much slower than the 64-bit
> ABI.  We use floating-point operations anyway.
> But the 64-bit ABI is currently about 50% faster anyway.
>  (and I know you are not a huge fan of sparc...)
> Indeed.  I am more into fast and cheap computers, than expensive and
> slow.  :-)

I hope someone at Sun has read all the comments in the sparc32 and
sparc64 subdirectories of gmp/mpn (and maybe someone will update it for
more recent hardware).

> As for using 64-bit operations internally under a 32-bit ABI, that's
> not usually allowed, and if allowed it is inconvenient.

I just meant that the 64-bit type called long in 64-bit is probably the
same that is called long long in 32-bit mode. But that may be completely
unrelated to what gmp uses, and I may be saying something stupid...

Marc Glisse

More information about the gmp-bugs mailing list