fixed-size mpn_mul_n for small n?

Zimmermann Paul Paul.Zimmermann at
Sun Feb 12 18:02:25 CET 2012


GMP currently has variable-size assembly code for mpn_mul_n on some
processors. Could it be faster to have fixed-size assembly code for
small values of n (say up to n=32)? Then mpn_mul_n() would simply be
a wrapper to those fixed-size functions, or to a variable-size code
for n>32.

Paul Zimmermann

More information about the gmp-devel mailing list