On Sat, Jun 6, 2009 at 4:11 PM, Jason Moxham<[email protected]> wrote:
> Looking at the existing toom code there are a lot of > mpn_addmul_1(....,2^k) > we should change this to > mpn_addlsh_n(....,k) > and write asm functions for this , for K8 this would be a macro to call > addmul_1 , and for core2,K10 a new function > Various other combinations can be done faster than we do at the moment , we > just need to choose the most common or the easiest. On a related note, I would find an mpz_add(sub)lsh_n function extremely useful, for addition of floating-point numbers with different magnitude / exponent. Doing this by zero padding (possibly also forcing reallocation) is a pretty big waste of electricity. Fredrik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---
