[Gmp-commit] /var/hg/gmp: Port to DOS64.

mercurial at gmplib.org mercurial at gmplib.org
Thu Mar 8 22:45:36 CET 2012


details:   /var/hg/gmp/rev/b87429c76b40
changeset: 14743:b87429c76b40
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Mar 08 22:45:34 2012 +0100
description:
Port to DOS64.

diffstat:

 ChangeLog                        |  4 ++++
 mpn/x86_64/coreisbr/addmul_2.asm |  5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r e42cc37b852e -r b87429c76b40 ChangeLog
--- a/ChangeLog	Thu Mar 08 22:34:36 2012 +0100
+++ b/ChangeLog	Thu Mar 08 22:45:34 2012 +0100
@@ -1,3 +1,7 @@
+2012-03-08  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/x86_64/coreisbr/addmul_2.asm: Port to DOS64.
+
 2012-02-29  Marc Glisse  <marc.glisse at inria.fr>
 
 	* gmpxx.h: Ignore partial C++11 support in g++-4.6.
diff -r e42cc37b852e -r b87429c76b40 mpn/x86_64/coreisbr/addmul_2.asm
--- a/mpn/x86_64/coreisbr/addmul_2.asm	Thu Mar 08 22:34:36 2012 +0100
+++ b/mpn/x86_64/coreisbr/addmul_2.asm	Thu Mar 08 22:45:34 2012 +0100
@@ -47,10 +47,14 @@
 define(`v1', `%r13')
 define(`n',  `%r11')
 
+ABI_SUPPORT(DOS64)
+ABI_SUPPORT(STD64)
+
 ASM_START()
 	TEXT
 	ALIGN(16)
 PROLOGUE(mpn_addmul_2)
+	DOS64_ENTRY(4)
 	push	%rbx
 	push	%r12
 	push	%r13
@@ -196,6 +200,7 @@
 	pop	%r13
 	pop	%r12
 	pop	%rbx
+	DOS64_EXIT()
 	ret
 EPILOGUE()
 ASM_END()


More information about the gmp-commit mailing list