GMP contribution

Natarajan, Bragadeesh Bragadeesh.Natarajan at
Thu Apr 17 16:05:32 CEST 2008



I sent the mail that is shown below to the email address
gmp-devel at and I have not gotten any response. So I am sending
it out to the second email address gmp-discuss at that was on the
GMP website. Could you please respond?






From: Natarajan, Bragadeesh 
Sent: Monday, April 14, 2008 3:36 PM
To: 'gmp-devel at'
Cc: Huebel, David
Subject: GMP contribution




I am a software engineer at Advanced Micro Devices and I have been
working on increasing the performance of certain functions in GMP. We
are also working with an AMD customer that is using GMP in their system.
We wish to contribute our optimized implementations back to the GMP
project. In particular, I have optimized the following functions, 


1. mpn_addmul_1 

2. mpn_sqr_basecase


We have tested these changes against in-house developed test codes with
reference code from existing GMP-4.2.2. The mpn_addmul_1 has SSE2
instructions in it and is generic to both AMD and Intel. But the
optimizations are 64-bit specific and AMD specific.


Please let us know what legal steps that AMD needs to take for the
contribution. Also, what technical work (verification, performance tests
etc) do you expect from us before accepting the contribution.


Also, we saw there are some external links to other people's work who
have optimized GMP for AMD processors. Some questions related to this

1. Can these contributions be used by anybody under LGPL?

2. Will these contributions become part of GMP in the future?


We look forward to working with you to make GMP excel in performance.





-------------- next part --------------
An HTML attachment was scrubbed...

More information about the gmp-discuss mailing list