[PATCH 0/3] Resubmit of Sparc T3/T4 patches.
Richard Henderson
rth at twiddle.net
Tue Mar 5 21:25:53 CET 2013
On 03/05/2013 11:43 AM, David Miller wrote:
> +PROLOGUE(mpn_mul_1)
> + subcc n, 1, n
> + be L(final_one)
> + clr %o5
> +
> +L(top):
> + ldx [up+0], %g1
> + ldx [up+8], %o4
> + mulx %g1, v0, %g3
> + add up, 16, up
> + umulxhi %g1, v0, %g2
> + sub n, 2, n
> + mulx %o4, v0, %g1
> + add rp, 16, rp
> + umulxhi %o4, v0, %o4
> + addcc %o5, %g3, %g3
> + stx %g3, [rp-16]
> + addxc %g0, %g2, %o5
> + addcc %o5, %g1, %g1
> + addxc %g0, %o4, %o5
One extra add insn here (copy-paste from addmul)?
addcc %o5, %g3, %g3
addxccc %g2, %g1, %g1
addxc %g0, %o4, %o5
r~
More information about the gmp-devel
mailing list