[Gmp-commit] /var/hg/gmp: Enable DOS64 support for more SBR files.

mercurial at gmplib.org mercurial at gmplib.org
Fri May 10 18:01:43 CEST 2013


details:   /var/hg/gmp/rev/19a0318df6f4
changeset: 15807:19a0318df6f4
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri May 10 18:01:39 2013 +0200
description:
Enable DOS64 support for more SBR files.

diffstat:

 ChangeLog                         |  3 +++
 mpn/x86_64/coreisbr/aorsmul_1.asm |  4 ++--
 mpn/x86_64/coreisbr/mul_1.asm     |  2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 5630a50bf9cb -r 19a0318df6f4 ChangeLog
--- a/ChangeLog	Fri May 10 00:16:53 2013 +0200
+++ b/ChangeLog	Fri May 10 18:01:39 2013 +0200
@@ -1,5 +1,8 @@
 2013-05-10  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/x86_64/coreisbr/aorsmul_1.asm: Fix, then enable DOS64 support.
+	* mpn/x86_64/coreisbr/mul_1.asm: Enable DOS64 support.
+
 	* mpn/x86/p6/mmx/gmp-mparam.h: Set down SQR_TOOM2_THRESHOLD to parent
 	directory value.
 
diff -r 5630a50bf9cb -r 19a0318df6f4 mpn/x86_64/coreisbr/aorsmul_1.asm
--- a/mpn/x86_64/coreisbr/aorsmul_1.asm	Fri May 10 00:16:53 2013 +0200
+++ b/mpn/x86_64/coreisbr/aorsmul_1.asm	Fri May 10 18:01:39 2013 +0200
@@ -54,7 +54,7 @@
       define(`func',  `mpn_submul_1')
 ')
 
-dnl Disable until tested ABI_SUPPORT(DOS64)
+ABI_SUPPORT(DOS64)
 ABI_SUPPORT(STD64)
 
 MULFUNC_PROLOGUE(mpn_addmul_1 mpn_submul_1)
@@ -64,7 +64,7 @@
 IFDOS(`	define(`v0', ``%r9'')	') dnl
 IFDOS(`	define(`r9', ``rdi'')	') dnl
 IFDOS(`	define(`n',  ``%r8'')	') dnl
-IFDOS(`	define(`r8', ``r11'')	') dnl
+IFDOS(`	define(`r8', ``rbx'')	') dnl
 
 ASM_START()
 	TEXT
diff -r 5630a50bf9cb -r 19a0318df6f4 mpn/x86_64/coreisbr/mul_1.asm
--- a/mpn/x86_64/coreisbr/mul_1.asm	Fri May 10 00:16:53 2013 +0200
+++ b/mpn/x86_64/coreisbr/mul_1.asm	Fri May 10 18:01:39 2013 +0200
@@ -46,7 +46,7 @@
 
 define(`n',	  `%r11')
 
-dnl Disable until tested ABI_SUPPORT(DOS64)
+ABI_SUPPORT(DOS64)
 ABI_SUPPORT(STD64)
 
 IFDOS(`	define(`up', ``%rsi'')	') dnl


More information about the gmp-commit mailing list