Guillaume Hanrot on Wed, 26 Oct 2005 00:43:55 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GMP performance on Opteron


> As far as I understand, GMP 4.x is not optimised on Opteron as much 
> as on ix86 or sparc, while PARI include assembly code for Opteron, so it
> might be that PARI is faster for small operands. 
> 
> You might want to try the patch I sent for lower GMP overhead to see
> if it make a difference, see
> <http://pari/archives/pari-dev-0508/msg00019.html>.

... or (and) you can recompile GMP with the assembly routines 
for Opteron written by Pierrick Gaudry, see 

http://www.loria.fr/~gaudry/mpn_AMD64/

which should give a significant speedup. 

Guillaume
-- 
Guillaume Hanrot                      e-mail : Guillaume.Hanrot@loria.fr    
Projet SPACES, INRIA Lorraine         http://www.loria.fr/~hanrot        
615, rue du Jardin Botanique          tel : (+33) (0)3 83 59 30 88 
F-54602 Villers-les-Nancy Cedex       fax : (+33) (0)3 83 27 83 19