gmp-impl.h assumes 32-bit unsigned int in fft_table_nk

Niels Möller nisse at lysator.liu.se
Fri Dec 18 10:16:09 UTC 2015


Robert Baruch <robert.c.baruch at gmail.com> writes:

> // Yes, I realize that trying to compile a high performance multi precision
> library like GMP for an *8-bit microcontroller* is bordering on lunacy, but
> I thought I'd try.

You may want to try if you have better luck compiling mini-gmp.c (included
in the mini-gmp subdirectory).

As to whether or not gmp ought to support platforms with 16-bit int, I
have no obvious answer. At least, the fft-based multiplication code is
unlikely to be useful on your platform.

Regards,
/Niels

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


More information about the gmp-bugs mailing list