Possible new T3-T5 mul_1

David Miller davem at davemloft.net
Tue Apr 2 22:05:33 CEST 2013


From: Torbjorn Granlund <tg at gmplib.org>
Date: Tue, 02 Apr 2013 21:59:17 +0200

> 	.global	main
> main:	save	%sp, -176, %sp
> 	sethi	%hi(2800000000), %g5
> 1:	addcc	%g7, %g7, %l0
> 	addxccc	%g7, %g7, %l1
> 	addxccc	%g7, %g7, %l2
> 	addxccc	%g7, %g7, %l3
> 	addcc	%g7, %g7, %l4
> 	addxccc	%g7, %g7, %l5
> 	addxccc	%g7, %g7, %l6
> 	addxccc	%g7, %g7, %l7
> 	brnz	%g5, 1b
> 	 dec	%g5
> 	ret
> 	 restore

This runs in 4.922 seconds.

I have to admit that I'm a bit surprised.



More information about the gmp-devel mailing list