[PATCH 2/2] Optimize 64-bit mpn_add_N and mpn_sub_N for sparc T3 and later.

David Miller davem at davemloft.net
Thu Mar 7 07:06:55 CET 2013

From: Torbjorn Granlund <tg at gmplib.org>
Date: Thu, 07 Mar 2013 07:00:00 +0100

> Why doesn't your functions use the 'return' insns, btw?

They were expensive at one point, but I just checked and on T4 using
return appears to be quite cheap.

> PS. I have created a poor man's T3 with some m4 macros.  This will allow
> me to test T3 code on an old v9 machine.


I'll test your routines with the obvious fix in a moment.

More information about the gmp-devel mailing list