From: Torbjorn Granlund <t...@gmplib.org>
Date: Sat, 30 Mar 2013 03:11:56 +0100

> David Miller <da...@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
> predictions...

Great.  Let's sort out the strange hang behavior I get with your code.

I think it's rshift.  I actually happened to be working on rshift when
you sent your combined code, and I also get strange hangs with my
rshift too.
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
http://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to