[Gmp-commit] /var/hg/gmp: mpn/x86_64/coreihwl/gcd_11.asm: Amend recent change

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


details:   /var/hg/gmp/rev/bb86e66536d5
changeset: 17810:bb86e66536d5
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Wed Aug 14 01:06:08 2019 +0200
description:
mpn/x86_64/coreihwl/gcd_11.asm: Amend recent change

diffstat:

 mpn/x86_64/coreihwl/gcd_11.asm |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 118627eed635 -r bb86e66536d5 mpn/x86_64/coreihwl/gcd_11.asm
--- a/mpn/x86_64/coreihwl/gcd_11.asm	Tue Aug 13 22:20:06 2019 +0200
+++ b/mpn/x86_64/coreihwl/gcd_11.asm	Wed Aug 14 01:06:08 2019 +0200
@@ -79,10 +79,10 @@
 
 	ALIGN(16)		C
 L(top):	bsf	v0, %rcx	C
+	mov	u0, %r9		C
 	sub	%rax, u0	C u - v
 	cmovc	v0, u0		C u = |u - v|
 	cmovc	%r9, %rax	C v = min(u,v)
-	shrx(	%rcx, u0, %r9)	C
 	shrx(	%rcx, u0, u0)	C
 	mov	%rax, v0	C
 	sub	u0, v0		C v - u


More information about the gmp-commit mailing list