hgcd1/2

Torbjörn Granlund tg at gmplib.org
Tue Sep 3 10:50:26 UTC 2019


nisse at lysator.liu.se (Niels Möller) writes:

  In that case, not so surprising that the div1 function loses. Do other
  architectures also have decent performance for small-quotient division?

I don't have the full picture, I'm afraid.

I know several ARM cores have great division performance for small
quotients.  For x86 I know of cores with horrible performance and ones
(like Haswell and later) with half decent performance.  I assume newer
AMD cores got this right.


-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list