mpn_zero_p

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Wed Jun 24 12:15:29 UTC 2015


Ciao,

Il Mer, 24 Giugno 2015 12:00 pm, Torbjörn Granlund ha scritto:
> polished.  What about this initial patch:

> --- gmp-main/mpn/x86_64/fastsse/com.asm	Wed Jun 24 11:59:18 2015
> ***************
> *** 79,85 ****
>   	FUNC_ENTRY(3)
>
> - 	test	n, n
> - 	jz	L(don)
> -

Agreed.

> --- gmp-main/mpn/x86_64/fastsse/copyd.asm	Wed Jun 24 11:59:18 2015
> ***************
> *** 81,87 ****
>   	FUNC_ENTRY(3)
>
> - 	test	n, n
> - 	jz	L(don)
> -

No, according to a comment in gmp-impl.h about MPN_COPY_DECR
/* Copy N limbs from SRC to DST decrementing, N==0 allowed.  */

> --- gmp-main/mpn/x86_64/fastsse/copyi.asm	Wed Jun 24 11:59:18 2015

Likewise.

Regards,
m

-- 
http://bodrato.it/



More information about the gmp-devel mailing list