Alternative div_qr_1

Torbjorn Granlund tg at gmplib.org
Thu Jun 17 11:45:58 CEST 2010


The new code is faster on most x86-64 machines, see
gmplib.org/devel/asm.html.

I suppose we should replace the generic/mod_1_1.c?

Have you looked into a mod_1_2 using the same ideas?  Perhaps it will be
tricky to get that to be as fast as possible without further restricting
the divisor range?

-- 
Torbjörn


More information about the gmp-devel mailing list