[Gmp-commit] /var/hg/gmp: Remove gcd_1 as fat function, add gcd_11 and gcd_22.

mercurial at gmplib.org mercurial at gmplib.org
Fri Nov 29 13:49:20 UTC 2019


details:   /var/hg/gmp/rev/5f237941addc
changeset: 17982:5f237941addc
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Fri Nov 29 14:49:17 2019 +0100
description:
Remove gcd_1 as fat function, add gcd_11 and gcd_22.

diffstat:

 mpn/x86/fat/fat.c    |   3 ++-
 mpn/x86/fat/gcd_1.c  |  32 --------------------------------
 mpn/x86_64/fat/fat.c |   3 ++-
 3 files changed, 4 insertions(+), 34 deletions(-)

diffs (62 lines):

diff -r f5fc3e7389b4 -r 5f237941addc mpn/x86/fat/fat.c
--- a/mpn/x86/fat/fat.c	Fri Nov 29 00:53:11 2019 +0100
+++ b/mpn/x86/fat/fat.c	Fri Nov 29 14:49:17 2019 +0100
@@ -174,7 +174,8 @@
   __MPN(copyi_init),
   __MPN(divexact_1_init),
   __MPN(divrem_1_init),
-  __MPN(gcd_1_init),
+  __MPN(gcd_11_init),
+  __MPN(gcd_22_init),
   __MPN(lshift_init),
   __MPN(lshiftc_init),
   __MPN(mod_1_init),
diff -r f5fc3e7389b4 -r 5f237941addc mpn/x86/fat/gcd_1.c
--- a/mpn/x86/fat/gcd_1.c	Fri Nov 29 00:53:11 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/* Fat binary fallback mpn_gcd_1.
-
-Copyright 2003 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of either:
-
-  * the GNU Lesser General Public License as published by the Free
-    Software Foundation; either version 3 of the License, or (at your
-    option) any later version.
-
-or
-
-  * the GNU General Public License as published by the Free Software
-    Foundation; either version 2 of the License, or (at your option) any
-    later version.
-
-or both in parallel, as here.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received copies of the GNU General Public License and the
-GNU Lesser General Public License along with the GNU MP Library.  If not,
-see https://www.gnu.org/licenses/.  */
-
-
-#include "mpn/generic/gcd_1.c"
diff -r f5fc3e7389b4 -r 5f237941addc mpn/x86_64/fat/fat.c
--- a/mpn/x86_64/fat/fat.c	Fri Nov 29 00:53:11 2019 +0100
+++ b/mpn/x86_64/fat/fat.c	Fri Nov 29 14:49:17 2019 +0100
@@ -160,7 +160,8 @@
   __MPN(copyi_init),
   __MPN(divexact_1_init),
   __MPN(divrem_1_init),
-  __MPN(gcd_1_init),
+  __MPN(gcd_11_init),
+  __MPN(gcd_22_init),
   __MPN(lshift_init),
   __MPN(lshiftc_init),
   __MPN(mod_1_init),


More information about the gmp-commit mailing list