[Gmp-commit] /var/hg/gmp: Rename DOS64_ENTRY and DOS64_EXIT.

mercurial at gmplib.org mercurial at gmplib.org
Wed May 30 15:12:28 CEST 2012


details:   /var/hg/gmp/rev/b3e645043cea
changeset: 15028:b3e645043cea
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed May 30 15:10:26 2012 +0200
description:
Rename DOS64_ENTRY and DOS64_EXIT.

diffstat:

 ChangeLog                              |   5 +++++
 mpn/x86_64/addmul_2.asm                |   4 ++--
 mpn/x86_64/aorrlsh1_n.asm              |   4 ++--
 mpn/x86_64/aorrlshC_n.asm              |   4 ++--
 mpn/x86_64/aorrlsh_n.asm               |   4 ++--
 mpn/x86_64/aors_n.asm                  |  12 ++++++------
 mpn/x86_64/aorscnd_n.asm               |   4 ++--
 mpn/x86_64/atom/aorrlsh1_n.asm         |   6 +++---
 mpn/x86_64/atom/aorrlsh2_n.asm         |   4 ++--
 mpn/x86_64/atom/lshift.asm             |   6 +++---
 mpn/x86_64/atom/lshiftc.asm            |   6 +++---
 mpn/x86_64/atom/rsh1aors_n.asm         |   4 ++--
 mpn/x86_64/atom/rshift.asm             |   6 +++---
 mpn/x86_64/atom/sublsh1_n.asm          |   6 +++---
 mpn/x86_64/bdiv_dbm1c.asm              |   4 ++--
 mpn/x86_64/bdiv_q_1.asm                |   8 ++++----
 mpn/x86_64/bobcat/copyd.asm            |   4 ++--
 mpn/x86_64/bobcat/copyi.asm            |   4 ++--
 mpn/x86_64/bobcat/mul_basecase.asm     |  10 +++++-----
 mpn/x86_64/bobcat/sqr_basecase.asm     |  10 +++++-----
 mpn/x86_64/com.asm                     |   4 ++--
 mpn/x86_64/core2/aors_n.asm            |   6 +++---
 mpn/x86_64/core2/aorsmul_1.asm         |   6 +++---
 mpn/x86_64/core2/divrem_1.asm          |   6 +++---
 mpn/x86_64/core2/gcd_1.asm             |   4 ++--
 mpn/x86_64/core2/lshift.asm            |   8 ++++----
 mpn/x86_64/core2/lshiftc.asm           |   8 ++++----
 mpn/x86_64/core2/rsh1aors_n.asm        |   6 +++---
 mpn/x86_64/core2/rshift.asm            |   8 ++++----
 mpn/x86_64/core2/sublshC_n.asm         |   4 ++--
 mpn/x86_64/coreinhm/aorrlsh_n.asm      |   6 +++---
 mpn/x86_64/coreisbr/addmul_2.asm       |   4 ++--
 mpn/x86_64/coreisbr/aorrlshC_n.asm     |   6 +++---
 mpn/x86_64/coreisbr/aorrlsh_n.asm      |   6 +++---
 mpn/x86_64/coreisbr/aors_n.asm         |   8 ++++----
 mpn/x86_64/coreisbr/rsh1aors_n.asm     |   6 +++---
 mpn/x86_64/div_qr_2n_pi1.asm           |   4 ++--
 mpn/x86_64/dive_1.asm                  |   6 +++---
 mpn/x86_64/divrem_1.asm                |   6 +++---
 mpn/x86_64/divrem_2.asm                |   4 ++--
 mpn/x86_64/dos64.m4                    |  10 +++++-----
 mpn/x86_64/fastsse/com.asm             |   4 ++--
 mpn/x86_64/fastsse/copyd-palignr.asm   |   8 ++++----
 mpn/x86_64/fastsse/copyd.asm           |   4 ++--
 mpn/x86_64/fastsse/copyi-palignr.asm   |   8 ++++----
 mpn/x86_64/fastsse/copyi.asm           |   6 +++---
 mpn/x86_64/fastsse/lshift-movdqu2.asm  |   6 +++---
 mpn/x86_64/fastsse/lshiftc-movdqu2.asm |   6 +++---
 mpn/x86_64/fastsse/rshift-movdqu2.asm  |  12 ++++++------
 mpn/x86_64/fat/fat_entry.asm           |   4 ++--
 mpn/x86_64/gcd_1.asm                   |   4 ++--
 mpn/x86_64/invert_limb.asm             |   4 ++--
 mpn/x86_64/k10/hamdist.asm             |   8 ++++----
 mpn/x86_64/k10/popcount.asm            |   4 ++--
 mpn/x86_64/k8/aorrlsh_n.asm            |   4 ++--
 mpn/x86_64/logops_n.asm                |  12 ++++++------
 mpn/x86_64/lshift.asm                  |  12 ++++++------
 mpn/x86_64/lshiftc.asm                 |   4 ++--
 mpn/x86_64/lshsub_n.asm                |   4 ++--
 mpn/x86_64/mod_1_1.asm                 |   8 ++++----
 mpn/x86_64/mod_1_2.asm                 |   8 ++++----
 mpn/x86_64/mod_1_4.asm                 |   8 ++++----
 mpn/x86_64/mod_34lsub1.asm             |   6 +++---
 mpn/x86_64/mode1o.asm                  |   6 +++---
 mpn/x86_64/mul_2.asm                   |   4 ++--
 mpn/x86_64/mul_basecase.asm            |   4 ++--
 mpn/x86_64/mullo_basecase.asm          |  10 +++++-----
 mpn/x86_64/mulmid_basecase.asm         |   4 ++--
 mpn/x86_64/nano/dive_1.asm             |   6 +++---
 mpn/x86_64/pentium4/aors_n.asm         |   6 +++---
 mpn/x86_64/pentium4/aorslshC_n.asm     |   4 ++--
 mpn/x86_64/pentium4/lshift.asm         |   4 ++--
 mpn/x86_64/pentium4/lshiftc.asm        |   4 ++--
 mpn/x86_64/pentium4/mod_34lsub1.asm    |   6 +++---
 mpn/x86_64/pentium4/rsh1aors_n.asm     |   6 +++---
 mpn/x86_64/pentium4/rshift.asm         |   4 ++--
 mpn/x86_64/popham.asm                  |   6 +++---
 mpn/x86_64/redc_1.asm                  |   4 ++--
 mpn/x86_64/rsh1aors_n.asm              |   6 +++---
 mpn/x86_64/rshift.asm                  |   4 ++--
 mpn/x86_64/sqr_basecase.asm            |  12 ++++++------
 mpn/x86_64/sublsh1_n.asm               |   4 ++--
 mpn/x86_64/tabselect.asm               |   4 ++--
 mpn/x86_64/x86_64-defs.m4              |   4 ++--
 84 files changed, 251 insertions(+), 246 deletions(-)

diffs (truncated from 2342 to 300 lines):

diff -r b8920a2ed625 -r b3e645043cea ChangeLog
--- a/ChangeLog	Tue May 29 20:38:54 2012 +0200
+++ b/ChangeLog	Wed May 30 15:10:26 2012 +0200
@@ -1,3 +1,8 @@
+2012-05-30  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/x86_64 (FUNC_ENTRY): New name for DOS64_ENTRY.
+	* mpn/x86_64 (FUNC_EXIT): New name for DOS64_EXIT.
+
 2012-05-29 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpz/remove.c: Optimise branches.
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/addmul_2.asm
--- a/mpn/x86_64/addmul_2.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/addmul_2.asm	Wed May 30 15:10:26 2012 +0200
@@ -57,7 +57,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(mpn_addmul_2)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	mov	n_param, n
 	push	%rbx
 	push	%rbp
@@ -168,6 +168,6 @@
 
 	pop	%rbp
 	pop	%rbx
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/aorrlsh1_n.asm
--- a/mpn/x86_64/aorrlsh1_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/aorrlsh1_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -62,7 +62,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	push	%rbp
 
 	mov	(vp), %r8
@@ -152,6 +152,6 @@
 	movslq	R32(%rbp), %rax')
 
 	pop	%rbp
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/aorrlshC_n.asm
--- a/mpn/x86_64/aorrlshC_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/aorrlshC_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -44,7 +44,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	push	%r12
 	push	%r13
 	push	%r14
@@ -144,6 +144,6 @@
 	pop	%r14
 	pop	%r13
 	pop	%r12
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/aorrlsh_n.asm
--- a/mpn/x86_64/aorrlsh_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/aorrlsh_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -63,7 +63,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 IFDOS(`	mov	56(%rsp), %r8d	')
 	push	%r12
 	push	%r13
@@ -160,6 +160,6 @@
 	pop	%r14
 	pop	%r13
 	pop	%r12
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/aors_n.asm
--- a/mpn/x86_64/aors_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/aors_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -58,7 +58,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func_nc)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 IFDOS(`	mov	56(%rsp), %r8	')
 	mov	R32(n), R32(%rax)
 	shr	$2, n
@@ -74,7 +74,7 @@
 EPILOGUE()
 	ALIGN(16)
 PROLOGUE(func)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	mov	R32(n), R32(%rax)
 	shr	$2, n
 	and	$3, R32(%rax)
@@ -91,7 +91,7 @@
 	ADCSBB	(vp), %r8
 	mov	%r8, (rp)
 	adc	R32(%rax), R32(%rax)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 
 L(2):	dec	R32(%rax)
@@ -102,7 +102,7 @@
 	mov	%r8, (rp)
 	mov	%r9, 8(rp)
 	adc	R32(%rax), R32(%rax)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 
 L(3):	mov	16(up), %r10
@@ -113,7 +113,7 @@
 	mov	%r9, 8(rp)
 	mov	%r10, 16(rp)
 	setc	R8(%rax)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 
 	ALIGN(16)
@@ -151,6 +151,6 @@
 	dec	R32(%rax)
 	jnz	L(lt4)
 	adc	R32(%rax), R32(%rax)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/aorscnd_n.asm
--- a/mpn/x86_64/aorscnd_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/aorscnd_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -68,7 +68,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 IFDOS(`	mov	56(%rsp), %r8	')
 	push	%rbx
 	push	%rbp
@@ -167,6 +167,6 @@
 	pop	%r12
 	pop	%rbp
 	pop	%rbx
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/aorrlsh1_n.asm
--- a/mpn/x86_64/atom/aorrlsh1_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/aorrlsh1_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -64,7 +64,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func_n)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	push	%rbp
 	xor	R32(%rbp), R32(%rbp)
 L(ent):	mov	R32(n), R32(%rax)
@@ -213,11 +213,11 @@
 	movslq	R32(%rbp), %rax')
 
 	pop	%rbp
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
 PROLOGUE(func_nc)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 IFDOS(`	mov	56(%rsp), %r8	')
 	push	%rbp
 	neg	%r8			C set CF
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/aorrlsh2_n.asm
--- a/mpn/x86_64/atom/aorrlsh2_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/aorrlsh2_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -63,7 +63,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func_n)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	push	%rbx
 	push	%rbp
 
@@ -175,6 +175,6 @@
 
 	pop	%rbp
 	pop	%rbx
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/lshift.asm
--- a/mpn/x86_64/atom/lshift.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/lshift.asm	Wed May 30 15:10:26 2012 +0200
@@ -48,7 +48,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(mpn_lshift)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	lea	-8(up,n,8), up
 	lea	-8(rp,n,8), rp
 	shr	R32(n)
@@ -62,7 +62,7 @@
 	test	n, n
 	jnz	L(gt1)
 	mov	%r11, (rp)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 
 L(gt1):	mov	-8(up), %r8
@@ -107,6 +107,6 @@
 	shl	R8(%rcx), %r11
 	mov	%r9, -8(rp)
 	mov	%r11, -16(rp)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/lshiftc.asm
--- a/mpn/x86_64/atom/lshiftc.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/lshiftc.asm	Wed May 30 15:10:26 2012 +0200
@@ -48,7 +48,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(mpn_lshiftc)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	lea	-8(up,n,8), up
 	lea	-8(rp,n,8), rp
 	shr	R32(n)
@@ -63,7 +63,7 @@
 	jnz	L(gt1)
 	not	%r11
 	mov	%r11, (rp)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 
 L(gt1):	mov	-8(up), %r8
@@ -111,6 +111,6 @@
 	not	%r11
 	mov	%r9, -8(rp)
 	mov	%r11, -16(rp)
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/rsh1aors_n.asm
--- a/mpn/x86_64/atom/rsh1aors_n.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/rsh1aors_n.asm	Wed May 30 15:10:26 2012 +0200
@@ -61,7 +61,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(func_n)
-	DOS64_ENTRY(4)
+	FUNC_ENTRY(4)
 	push	%rbx
 	push	%rbp
 	push	%r12
@@ -271,6 +271,6 @@
 	pop	%r12
 	pop	%rbp
 	pop	%rbx
-	DOS64_EXIT()
+	FUNC_EXIT()
 	ret
 EPILOGUE()
diff -r b8920a2ed625 -r b3e645043cea mpn/x86_64/atom/rshift.asm
--- a/mpn/x86_64/atom/rshift.asm	Tue May 29 20:38:54 2012 +0200
+++ b/mpn/x86_64/atom/rshift.asm	Wed May 30 15:10:26 2012 +0200
@@ -48,7 +48,7 @@
 	TEXT
 	ALIGN(16)
 PROLOGUE(mpn_rshift)
-	DOS64_ENTRY(4)


More information about the gmp-commit mailing list