[PATCH] T3/T4 sparc shifts, plus more timings

Torbjorn Granlund tg at gmplib.org
Sat Mar 30 03:11:56 CET 2013

David Miller <davem at davemloft.net> writes:

  Looks good, and here is my lshiftc:
  	add	up, -8, up
  	srlx	u1, tcnt, %l4
  	andn	%l3, %l4, r0
  	stx	r0, [rp + 0]
  	bnz,pt	%xcc, L(loop0)
  	 sllx	u1, cnt, %l3

I'd claim that branch is taken with probability 0, so the "pt" moniker
is an exaggeration.  :-)

Good performance again!  It matches my http://gmplib.org/devel/asm.html


More information about the gmp-devel mailing list