GMP contribution

Natarajan, Bragadeesh Bragadeesh.Natarajan at
Mon Apr 14 22:36:13 CEST 2008



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-devel mailing list