Re: GMP 6.0.0 released

2014-03-26 Thread Richard Biener
On Tue, 25 Mar 2014, Torbjorn Granlund wrote: A new major release of the GNU Multiple Precision Arithmetic Library (GMP) is now available. The new release is identified as 6.0.0. The release can be downloaded from here: https://gmplib.org/download/gmp/gmp-6.0.0a.tar.lz (smallest)

Re: GMP 6.0.0 released

2014-03-26 Thread Niels Möller
Richard Biener rguent...@suse.de writes: Digging a bit it looks like BMOD_1_TO_MOD_1_THRESHOLD is a macro that is supposed to be defined / substituted with a constant here which doesn't happen for me. It's usually defined in gmp-mparam.h for your machine, with a fallback definition in

Re: GMP 6.0.0 released

2014-03-26 Thread Torbjorn Granlund
ni...@lysator.liu.se (Niels Möller) writes: It's usually defined in gmp-mparam.h for your machine, with a fallback definition in gmp-impl.h. But that definition isn't picked up by assembly files, so it should also be defined in config.m4, generated by configure. Not sure how configure

Re: GMP 6.0.0 released

2014-03-26 Thread Niels Möller
Torbjorn Granlund t...@gmplib.org writes: I fixed this by adding a local default to the asm file, which seems like the most resilient fix. And the value you use (30) is different from the default in gmp-impl.h (10). I take it you think the larger value is more appropriate for powerpc? /Niels

Re: GMP 6.0.0 released

2014-03-26 Thread Torbjorn Granlund
ni...@lysator.liu.se (Niels Möller) writes: And the value you use (30) is different from the default in gmp-impl.h (10). I take it you think the larger value is more appropriate for powerpc? I looked at the measured values for the powerpc64 hardware we run on, and 30 seemed to be in the