[PATCH] Optimize 32-bit sparc T1 multiply routines.

Niels Möller nisse at lysator.liu.se
Fri Jan 4 09:10:30 CET 2013


David Miller <davem at davemloft.net> writes:

> That's why realistically I'll probably only use mpmul for 3x3 and
> larger.

So, e.g., an mpn_addmul_4 would make sense (and up to mpn_addmul_32, if
you want to make maximal use of mpmul...)? I don't know anything about
these sparc instructions beyond what you're explaining now, but it
sounds like it could be advantageous to have one operand invariant in
the loop.

Regards,
/Niels



-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list