gmp-6.0.0 does not completly honor -DNO_ASM

Zach Metzinger zmetzing at pobox.com
Thu May 14 21:40:20 UTC 2015


On Thu, May 14, 2015 at 11:30:59PM +0200, Marc Glisse wrote:
> On Thu, 14 May 2015, Zach Metzinger wrote:
> 
> > I noticed that --disable-assembly (which effects -DNO_ASM) is not honored
> > in the files mpn/generic/div_qr_1n_pi1.c and mpn/generic/mod_1_1.c.
> >
> > I'm working on the Cortex-M platform, so the ARM assembly in that file is
> > not appropriate for this target. Patches attached.
> 
> Did you try a recent snapshot? (see "Developers' corner" on gmplib.org)

No. This report was against the current release 6.0.0, which is what I'm
using for production code.

I see that my suggested patch was already discovered and added a few days 
ago. Bravo.

--- Zach


More information about the gmp-bugs mailing list