[Gmp-commit] /var/hg/gmp-5.1: Use 'subl' form to avoid ambiguity.

mercurial at gmplib.org mercurial at gmplib.org
Fri Oct 18 11:17:58 CEST 2013


details:   /var/hg/gmp-5.1/rev/7689dc0334e6
changeset: 15449:7689dc0334e6
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Oct 18 11:17:55 2013 +0200
description:
Use 'subl' form to avoid ambiguity.

diffstat:

 ChangeLog              |  5 +++++
 mpn/x86/k7/mod_1_1.asm |  2 +-
 mpn/x86/k7/mod_1_4.asm |  2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r c0a9c060cb8a -r 7689dc0334e6 ChangeLog
--- a/ChangeLog	Fri Oct 18 10:17:25 2013 +0200
+++ b/ChangeLog	Fri Oct 18 11:17:55 2013 +0200
@@ -1,3 +1,8 @@
+2013-10-11  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/x86/k7/mod_1_1.asm: Use 'subl' form to avoid ambiguity.
+	* mpn/x86/k7/mod_1_4.asm: Likewise.
+
 2013-10-08  Marc Glisse  <marc.glisse at inria.fr>
 
 	* gmp-h.in: Remove __need_size_t. Include <stddef.h>, not <cstddef>.
diff -r c0a9c060cb8a -r 7689dc0334e6 mpn/x86/k7/mod_1_1.asm
--- a/mpn/x86/k7/mod_1_1.asm	Fri Oct 18 10:17:25 2013 +0200
+++ b/mpn/x86/k7/mod_1_1.asm	Fri Oct 18 11:17:55 2013 +0200
@@ -95,7 +95,7 @@
 	mov	-8(ap), %eax
 	adc	%edx, %eax
 	sbb	r2, r2
-	sub	$3, n
+	subl	$3, n
 	lea	-16(ap), ap
 	jz	L(reduce_three)
 
diff -r c0a9c060cb8a -r 7689dc0334e6 mpn/x86/k7/mod_1_4.asm
--- a/mpn/x86/k7/mod_1_4.asm	Fri Oct 18 10:17:25 2013 +0200
+++ b/mpn/x86/k7/mod_1_4.asm	Fri Oct 18 11:17:55 2013 +0200
@@ -124,7 +124,7 @@
 	mov	%ecx, %edi
 L(m0):	add	%eax, %ebp
 	adc	%edx, %edi
-L(m1):	sub	$4, 52(%esp)
+L(m1):	subl	$4, 52(%esp)
 	ja	L(top)
 
 L(end):	mov	4(%esp), %eax


More information about the gmp-commit mailing list