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

David Miller davem at davemloft.net
Tue Mar 5 20:44:46 CET 2013


From: Torbjorn Granlund <tg at gmplib.org>
Date: Tue, 05 Mar 2013 13:54:37 +0100

> David Miller <davem at davemloft.net> writes:
> 
>   	* mpn/sparc64/ultrasparct3/add_n.asm: New file.
>   	* mpn/sparc64/ultrasparct3/sub_n.asm: New file.
> 
> There is currently no mpn/sparc64/ultrasparct3, only ultrasparct1.  For
> which CPUs are these new add_n/sub_n intended?  Why not also for for
> other CPUs?

It gets added by patch #2 which I just resent.

These routines are for T3 and later, as T3 is where the addxccc
instructions get introduced.

> I suppose configure.ac changes are needed too, if these files are to be
> used.  (Perhaps such changes are part of the missing 2/3 patch set?)

Yes, there are from the missing #2.


More information about the gmp-devel mailing list