C implementation of mod_1_1

Torbjorn Granlund tg at gmplib.org
Tue Mar 1 08:44:47 CET 2011


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

  I'm very curious about tuneup results on other machines (and of course,
  if I have broken anything...).
  
There are 3 new failures, per gmplib.org/devel/testmachines.shtml.

You seem to have forgotten some of the udiv_rnd_preinv usages:

shell$ grep -r div_rnd_prein prec/gmp-snap
mpn/sparc64/mod_1_4.c:  udiv_rnd_preinv (B2modb, B1modb, b, bi);
mpn/sparc64/mod_1_4.c:  udiv_rnd_preinv (B3modb, B2modb, b, bi);
mpn/sparc64/mod_1_4.c:  udiv_rnd_preinv (B4modb, B3modb, b, bi);
mpn/sparc64/mod_1_4.c:  udiv_rnd_preinv (B5modb, B4modb, b, bi);

This probably causes two of the failures.

The last failure might be more worrying.  It is a case of a machine that
uses 'unsigned long long' as the limb type.

-- 
Torbjörn


More information about the gmp-devel mailing list