These improvements are now (finally!) in GMP repo.

I have not run any timing tests, as I trust you to worry about the
performance.

A mistake we GMP develiopers have made in the past is couting cycles for
inner loops for quite large trip counts, and then accidentally adding
overhead as a side effect of beating down the cycle count.  One should
never forget that most bignum computations probably use moderately large
numbers, which means decreasing overhead.

Running commands like

  tune/speed -p10000000 -C -s1-100 mpn_mul_basecase
  tune/speed -p10000000 -C -s1-100 mpn_addmul_1.0xcafecafecafecafe

are helpful.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to