Test compile: mpn_lshift_com optimization 2
Niels Möller
nisse at lysator.liu.se
Wed Jan 4 17:25:00 UTC 2017
Emmanuel Thomé <Emmanuel.Thome at inria.fr> writes:
> On Wed, Jan 04, 2017 at 03:08:57PM +0100, Niels Möller wrote:
>> 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).
>
> It's mpn_lshiftc (and by the way the comment in ./mpn/generic/lshiftc.c
> is misleading -- lshiftc is not lshift).
Interesting. I thought that mpn_lshiftc was analogous to, e.g.,
mpn_add_nc and mpn_addmul_1c, with an additional argument providing the
bits to be shifted in. But it seems I were completely wrong.
Regards,
/Niels
--
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