Test compile: mpn_lshift_com optimization 2

Niels Möller nisse at lysator.liu.se
Wed Jan 4 14:08:57 UTC 2017

Emmanuel Thomé <Emmanuel.Thome at inria.fr> writes:

> Richard refers to the configure check whose name is in the Subject line,
> defined at line 704 in acinclude.m4 (and pasted below).

I see, you're running one of the *configure* tests under valgrind; that
was unobvious to me.

> I read that code, I'm puzzled too. Given that ceil(528/23)==23, and that
> 23*89 is 2047, I don't see how one could expect r[2048] and such to
> contain anything different from what is returned by malloc(). Which
> should be assumed to be garbage.

I'm also a bit puzzled. And after a quick look, I can't find any
lshift_com function in mul_fft.c (or anywhere else but acinclude.m4).


Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list