bug-gmp
[Top][All Lists]
Advanced

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

multiplication enhancement


From: Louis Helm
Subject: multiplication enhancement
Date: Tue, 30 Apr 2002 21:30:56 -0400

While using GMP in my project, Seventeen or Bust (http://sb.pns.net/), I
noticed that the mul_basecase.asm used for K7s in v4.0.1 is faster on P6
class processors than the generic mul_basecase.asm which is normally
linked when compiling for pentium III procs.

I am not an assembly expert so I'm assuming it is benefiting from SIMD
instructions that are common to both and it's a significant speed
improvement for our project (~20%) on pentium processors.  For reference
the common multiplication done in SB involves the squaring of numbers
with about 18,750 limbs so I'm assuming most of the basecase
multiplication is coming from pointwise multiplications from large FFT
multiplications.  In any case, it's faster and I hoped I could help...
please let me know.  Keep up the good work.  I'm looking forward to
v4.1.


--
Louis Helm
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]