sqrlo

Torbjörn Granlund tg at gmplib.org
Fri Aug 28 16:41:55 UTC 2015


"Marco Bodrato" <bodrato at mail.dm.unipi.it> writes:

  I pushed the code to tune the thresholds for the sqrlo code, now the
  mpn_sqrlo function is ready to be used.
  
Cool!

I added it to the presentaition page:

  https://gmplib.org/devel/thres/SQRLO_DC_THRESHOLD.html

  Waiting for an assembly _basecase, we use another function for small sizes.
  mullo uses mul_basecase, so sqrlo used sqr_basecase... but now sqrlo uses
  mullo_basecase, because it should compute as many products as sqr but it
  should be simpler/faster.
  
Good thinking.  :-)

There is still a comment
  FIXME: Use "mpn_sqrlo"
in an mpn function.

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


More information about the gmp-devel mailing list