[Gmp-commit] /var/hg/gmp: 3 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sat Feb 26 17:11:51 CET 2011


details:   /var/hg/gmp/rev/1338ebfa2ce9
changeset: 13912:1338ebfa2ce9
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Feb 26 17:11:14 2011 +0100
description:
Add MULFUNC_PROLOGUE.

details:   /var/hg/gmp/rev/cb0e66165810
changeset: 13913:cb0e66165810
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Feb 26 17:11:30 2011 +0100
description:
Add MULFUNC_PROLOGUE.

details:   /var/hg/gmp/rev/91344b91e869
changeset: 13914:91344b91e869
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Feb 26 17:11:37 2011 +0100
description:
*** empty log message ***

diffstat:

 ChangeLog                          |   5 +++++
 mpn/m68k/mc68020/aorsmul_1.asm     |  19 ++++++++++---------
 mpn/powerpc64/mode64/aorsmul_1.asm |   7 +++++--
 3 files changed, 20 insertions(+), 11 deletions(-)

diffs (85 lines):

diff -r 3588847580e7 -r 91344b91e869 ChangeLog
--- a/ChangeLog	Sat Feb 26 17:05:50 2011 +0100
+++ b/ChangeLog	Sat Feb 26 17:11:37 2011 +0100
@@ -1,3 +1,8 @@
+2011-02-26  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/powerpc64/mode64/aorsmul_1.asm: Add MULFUNC_PROLOGUE.
+	* mpn/m68k/mc68020/aorsmul_1.asm: Likewise.
+
 2011-02-26 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpn/x86/atom/sse2/aorsmul_1.asm: Optimise non-loop code.
diff -r 3588847580e7 -r 91344b91e869 mpn/m68k/mc68020/aorsmul_1.asm
--- a/mpn/m68k/mc68020/aorsmul_1.asm	Sat Feb 26 17:05:50 2011 +0100
+++ b/mpn/m68k/mc68020/aorsmul_1.asm	Sat Feb 26 17:11:37 2011 +0100
@@ -1,19 +1,19 @@
 dnl  mc68020 mpn_addmul_1, mpn_submul_1 -- add or subtract mpn multiple.
 
-dnl  Copyright 1992, 1994, 1996, 1999, 2000, 2001, 2002 Free Software
+dnl  Copyright 1992, 1994, 1996, 1999, 2000, 2001, 2002, 2011 Free Software
 dnl  Foundation, Inc.
 dnl
 dnl  This file is part of the GNU MP Library.
 dnl
-dnl  The GNU MP Library is free software; you can redistribute it and/or
-dnl  modify it under the terms of the GNU Lesser General Public License as
-dnl  published by the Free Software Foundation; either version 3 of the
-dnl  License, or (at your option) any later version.
+dnl  The GNU MP Library is free software; you can redistribute it and/or modify
+dnl  it under the terms of the GNU Lesser General Public License as published
+dnl  by the Free Software Foundation; either version 3 of the License, or (at
+dnl  your option) any later version.
 dnl
-dnl  The GNU MP Library is distributed in the hope that it will be useful,
-dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-dnl  Lesser General Public License for more details.
+dnl  The GNU MP Library is distributed in the hope that it will be useful, but
+dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+dnl  License for more details.
 dnl
 dnl  You should have received a copy of the GNU Lesser General Public License
 dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
@@ -45,6 +45,7 @@
 define(s1_size, `d2')
 define(s2_limb, `d4')
 
+MULFUNC_PROLOGUE(mpn_addmul_1 mpn_submul_1)
 
 PROLOGUE(M4_function_1)
 
diff -r 3588847580e7 -r 91344b91e869 mpn/powerpc64/mode64/aorsmul_1.asm
--- a/mpn/powerpc64/mode64/aorsmul_1.asm	Sat Feb 26 17:05:50 2011 +0100
+++ b/mpn/powerpc64/mode64/aorsmul_1.asm	Sat Feb 26 17:11:37 2011 +0100
@@ -29,6 +29,7 @@
 
 C TODO
 C  * Try to reduce the number of needed live registers
+C  * Add support for _1c entry points
 
 C INPUT PARAMETERS
 define(`rp', `r3')
@@ -40,17 +41,19 @@
   define(ADDSUBC,	adde)
   define(ADDSUB,	addc)
   define(func,		mpn_addmul_1)
-  define(func_nc,	mpn_addmul_1c)
+  define(func_nc,	mpn_addmul_1c)	C FIXME: not really supported
   define(SM,		`')
 ')
 ifdef(`OPERATION_submul_1',`
   define(ADDSUBC,	subfe)
   define(ADDSUB,	subfc)
   define(func,		mpn_submul_1)
-  define(func_nc,	mpn_submul_1c)
+  define(func_nc,	mpn_submul_1c)	C FIXME: not really supported
   define(SM,		`$1')
 ')
 
+MULFUNC_PROLOGUE(mpn_addmul_1 mpn_submul_1)
+	
 ASM_START()
 PROLOGUE(func_nc)
 EPILOGUE()


More information about the gmp-commit mailing list