toom54

Torbjorn Granlund tg at gmplib.org
Thu Feb 16 07:54:02 CET 2012


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

  > But first MUL_TOOM43_TO_TOOM54_THRESHOLD needs to be measured and set to
  > some default.
  
  I have pushed in an attempt at tuning code. Please have a look to see if
  makes sense. I measure a line with an operand size ratio 5/6. On this
  core2 machine I get
  
  #define MUL_TOOM43_TO_TOOM54_THRESHOLD     100
  
  I set the default to 150, since other tuned thresholds seem to be a bit
  smaller than the defaults.
  
I haven't yet admired the code, but magically it is now tabled with the
other thtresholds:

http://gmplib.org/devel/thresholds.html

-- 
Torbjörn


More information about the gmp-devel mailing list