[Gmp-commit] /var/hg/gmp: Make the new code actually work.

mercurial at gmplib.org mercurial at gmplib.org
Tue Aug 13 23:57:23 UTC 2019


details:   /var/hg/gmp/rev/e8e308deeae5
changeset: 17812:e8e308deeae5
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Aug 14 01:57:21 2019 +0200
description:
Make the new code actually work.

diffstat:

 mpn/x86_64/bd4/gcd_11.asm  |  5 +++--
 mpn/x86_64/zen2/gcd_11.asm |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 2f96fbd0cb6f -r e8e308deeae5 mpn/x86_64/bd4/gcd_11.asm
--- a/mpn/x86_64/bd4/gcd_11.asm	Wed Aug 14 01:54:56 2019 +0200
+++ b/mpn/x86_64/bd4/gcd_11.asm	Wed Aug 14 01:57:21 2019 +0200
@@ -41,10 +41,10 @@
 C AMD bd1	 -
 C AMD bd2	 -
 C AMD bd3	 -
-C AMD bd4	 2.86 *
+C AMD bd4	 2.86  *
 C AMD bt1	 -
 C AMD bt2	 -
-C AMD zn1	 2.66 *
+C AMD zn1	 2.66  *
 C AMD zn2	 3.48
 C Intel P4	 -
 C Intel CNR	 -
@@ -76,6 +76,7 @@
 	mov	v0, %rax	C
 	sub	u0, v0		C
 	jz	L(end)		C
+	mov	u0, %r9
 
 	ALIGN(16)		C
 L(top):	rep;bsf	v0, %rcx	C
diff -r 2f96fbd0cb6f -r e8e308deeae5 mpn/x86_64/zen2/gcd_11.asm
--- a/mpn/x86_64/zen2/gcd_11.asm	Wed Aug 14 01:54:56 2019 +0200
+++ b/mpn/x86_64/zen2/gcd_11.asm	Wed Aug 14 01:57:21 2019 +0200
@@ -45,7 +45,7 @@
 C AMD bt1	 -
 C AMD bt2	 -
 C AMD zn1	 3.10
-C AMD zn2	 3.17 *
+C AMD zn2	 3.17  *
 C Intel P4	 -
 C Intel CNR	 -
 C Intel PNR	 -
@@ -73,6 +73,7 @@
 	ALIGN(16)
 PROLOGUE(mpn_gcd_11)
 	FUNC_ENTRY(2)
+	mov	u0, %r9
 	jmp	L(ent)		C
 
 	ALIGN(16)		C


More information about the gmp-commit mailing list