Mailinglist Archive: opensuse-commit (1670 mails)

< Previous Next >
commit gmp
  • From: root@xxxxxxx (h_root)
  • Date: Fri, 13 Oct 2006 20:11:37 +0200 (CEST)
  • Message-id: <20061013181137.C42FA84437@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gmp
checked in at Fri Oct 13 20:11:37 CEST 2006.

--------
--- gmp/gmp.changes 2006-05-15 11:15:54.000000000 +0200
+++ /mounts/work_src_done/STABLE/gmp/gmp.changes 2006-10-13 19:52:56.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 13 19:52:37 CEST 2006 - mjancar@xxxxxxx
+
+- update to 4.2.1
+ * many bugfixes
+
+-------------------------------------------------------------------

Old:
----
gmp-4.1.4-alias.diff
gmp-4.1.4-autoconf.diff
gmp-4.1.4-configure.arm-double.diff
gmp-4.1.4-gcc4.diff
gmp-4.1.4-ia64.diff
gmp-4.1.4-mips.diff
gmp-4.1.4-random2.diff
gmp-4.1.4-s390.diff
gmp-4.1.4-x86_64.diff
gmp-4.1.4.diff
gmp-4.1.4.tar.bz2

New:
----
gmp-4.2.1-configure-ppc.diff
gmp-4.2.1-configure.arm-double.diff
gmp-4.2.1-ia64.diff
gmp-4.2.1-mpz_set_d.diff
gmp-4.2.1-s390.diff
gmp-4.2.1-x86-fat.diff
gmp-4.2.1-x86_64.diff
gmp-4.2.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.X441Zc/_old 2006-10-13 20:11:08.000000000 +0200
+++ /var/tmp/diff_new_pack.X441Zc/_new 2006-10-13 20:11:08.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gmp (Version 4.1.4)
+# spec file for package gmp (Version 4.2.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -15,21 +15,18 @@
License: GPL, LGPL
Group: System/Libraries
Autoreqprov: on
-Version: 4.1.4
-Release: 21
+Version: 4.2.1
+Release: 1
Summary: The GNU MP Library
URL: http://www.swox.com/gmp/
Source: ftp://prep.ai.mit.edu/pub/gnu/gmp/gmp-%{version}.tar.bz2
-Patch0: gmp-%{version}.diff
-Patch1: gmp-%{version}-x86_64.diff
-Patch2: gmp-%{version}-mips.diff
-Patch3: gmp-%{version}-ia64.diff
-Patch4: gmp-%{version}-alias.diff
-Patch5: gmp-%{version}-s390.diff
-Patch6: gmp-%{version}-autoconf.diff
-Patch7: gmp-%{version}-configure.arm-double.diff
-Patch8: gmp-%{version}-gcc4.diff
-Patch9: gmp-%{version}-random2.diff
+Patch0: %{name}-%{version}-x86_64.diff
+Patch1: %{name}-%{version}-ia64.diff
+Patch2: %{name}-%{version}-s390.diff
+Patch3: %{name}-%{version}-configure.arm-double.diff
+Patch4: %{name}-%{version}-configure-ppc.diff
+Patch5: %{name}-%{version}-mpz_set_d.diff
+Patch6: %{name}-%{version}-x86-fat.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
@@ -60,16 +57,13 @@

%prep
%setup -q
-%patch
+%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
-%patch7
-%patch8
-%patch9

%build
export HOME=/tmp/
@@ -134,6 +128,9 @@
/usr/include/*

%changelog -n gmp
+* Fri Oct 13 2006 - mjancar@xxxxxxx
+- update to 4.2.1
+ * many bugfixes
* Mon May 15 2006 - rguenther@xxxxxxx
- Disable mpfr, which is now in new packages mpfr and mpfr-devel.
* Wed Jan 25 2006 - mls@xxxxxxx

++++++ gmp-4.2.1-configure-ppc.diff ++++++
Index: configure
================================================================================
--- configure
+++ configure
@@ -2962,9 +2962,11 @@
cclist="gcc cc"
cc_cflags="-O2"
gcc_cflags="-O2 -mpowerpc"
- gcc_cflags_optlist="precomp subtype cpu"
+ gcc_cflags_optlist="precomp subtype asm cpu"
gcc_cflags_precomp="-no-cpp-precomp"
gcc_cflags_subtype="-force_cpusubtype_ALL" # for vmx on darwin
+ gcc_cflags_asm=""
+ gcc_cflags_cpu=""

# grab this object, though it's not a true cycle counter routine
SPEED_CYCLECOUNTER_OBJ=powerpc.lo
@@ -2975,7 +2977,7 @@
path="powerpc32/750 powerpc32" ;;
powerpc7400)
path="powerpc32/vmx powerpc32/750 powerpc32" ;;
- powerpc745?)
+ powerpc74[45]?)
path="powerpc32/vmx powerpc32 powerpc32" ;;
*)
path="powerpc32" ;;
@@ -3009,8 +3011,11 @@
powerpc630) gcc_cflags_cpu="-mcpu=630" ;;
powerpc740) gcc_cflags_cpu="-mcpu=740" ;;
powerpc7400 | powerpc7410)
+ gcc_cflags_asm="-Wa,-maltivec"
gcc_cflags_cpu="-mcpu=7400 -mcpu=750" ;;
- powerpc745?) gcc_cflags_cpu="-mcpu=7450" ;;
+ powerpc74[45]?)
+ gcc_cflags_asm="-Wa,-maltivec"
+ gcc_cflags_cpu="-mcpu=7450" ;;
powerpc750) gcc_cflags_cpu="-mcpu=750" ;;
powerpc801) gcc_cflags_cpu="-mcpu=801" ;;
powerpc821) gcc_cflags_cpu="-mcpu=821" ;;
++++++ gmp-4.1.4-configure.arm-double.diff -> gmp-4.2.1-configure.arm-double.diff ++++++
--- gmp/gmp-4.1.4-configure.arm-double.diff 2004-08-10 15:12:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/gmp/gmp-4.2.1-configure.arm-double.diff 2006-10-13 19:35:25.000000000 +0200
@@ -1,6 +1,6 @@
---- configure.old 2003-02-18 09:15:31.000000000 +1000
-+++ configure 2003-02-18 09:15:59.000000000 +1000
-@@ -18392,7 +18392,7 @@
+--- configure
++++ configure
+@@ -27484,7 +27484,7 @@
got[12] == "000" && \
got[13] == "000" && \
got[14] == "000" && \

++++++ gmp-4.1.4-ia64.diff -> gmp-4.2.1-ia64.diff ++++++

++++++ gmp-4.2.1-mpz_set_d.diff ++++++
--- mpz/set_d.c
+++ mpz/set_d.c
@@ -56,6 +56,9 @@
if (ALLOC(r) < rn)
_mpz_realloc (r, rn);

+ if (rn <= 0)
+ rn = 0;
+
rp = PTR (r);

switch (rn)
++++++ gmp-4.1.4-s390.diff -> gmp-4.2.1-s390.diff ++++++
--- gmp/gmp-4.1.4-s390.diff 2004-08-10 15:12:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/gmp/gmp-4.2.1-s390.diff 2006-10-13 19:35:24.000000000 +0200
@@ -1,17 +1,19 @@
---- gmp-impl.h
-+++ gmp-impl.h 2003/12/05 08:58:01
-@@ -2534,6 +2534,7 @@
- || defined (__sh__) \
- || defined (__sparc) || defined (sparc) || defined (__sparc__) \
- || defined (__sparc_v9) || defined (__sparc_v9__) \
-+ || defined (__s390__) || defined (__s390x__) \
- || defined (__we32k__)
- #define _GMP_IEEE_FLOATS 1
- union ieee_double_extract
---- mpn/s390/gmp-mparam.h.s390 Wed May 15 21:32:57 2002
-+++ mpn/s390/gmp-mparam.h Wed May 15 21:33:21 2002
+--- configure.in
++++ configure.in
+@@ -1050,6 +1050,9 @@
+ ;;
+
+
++ s390x-*-*)
++ path="s390x" ;;
++
+ # IBM s/370 and similar
+ [s3[6-9]0*-*-*])
+ gcc_cflags="-O2 $fomit_frame_pointer"
+--- mpn/s390/gmp-mparam.h
++++ mpn/s390/gmp-mparam.h
@@ -20,7 +20,8 @@
- MA 02111-1307, USA. */
+ MA 02110-1301, USA. */


-/* BITS_PER_MP_LIMB etc generated by configure */
@@ -19,4 +21,34 @@
+#define BYTES_PER_MP_LIMB 4


- /* Generated by tuneup.c, 2001-09-26, gcc 2.95 */
+ /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */
+--- mpn/s390x/gmp-mparam.h
++++ mpn/s390x/gmp-mparam.h
+@@ -0,0 +1,27 @@
++/* gmp-mparam.h -- Compiler/machine parameter header file.
++
++Copyright (C) 1991, 1993, 1994, 1995 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 the GNU Library General Public License as published by
++the Free Software Foundation; either version 2 of the License, or (at your
++option) any later version.
++
++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 Library General Public
++License for more details.
++
++You should have received a copy of the GNU Library General Public License
++along with the GNU MP Library; see the file COPYING.LIB. If not, write to
++the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
++MA 02111-1307, USA. */
++
++#define BITS_PER_MP_LIMB 64
++#define BYTES_PER_MP_LIMB 8
++#define BITS_PER_LONGINT 64
++#define BITS_PER_INT 32
++#define BITS_PER_SHORTINT 16
++#define BITS_PER_CHAR 8

++++++ gmp-4.2.1-x86-fat.diff ++++++
Index: mpn/generic/addsub_n.c
================================================================================
--- configure
+++ configure
@@ -3554,8 +3554,10 @@
*) path="x86" ;;
esac

- # If the user asked for a fat build, override the path set above
+ # If the user asked for a fat build, override the path and flags set above
if test $enable_fat = yes; then
+ gcc_cflags_cpu=""
+ gcc_cflags_arch=""
extra_functions="$extra_functions fat fat_entry"
path="x86/fat x86"
fat_path="x86 x86/fat x86/i486
--- mpn/generic/addsub_n.c
+++ mpn/generic/addsub_n.c
@@ -1,6 +1,6 @@
/* mpn_addsub_n -- Add and Subtract two limb vectors of equal, non-zero length.

-Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1999, 2000, 2001, 2006 Free Software Foundation, Inc.

This file is part of the GNU MP Library.

@@ -58,13 +58,13 @@
for (off = 0; off < n; off += PART_SIZE)
{
this_n = MIN (n - off, PART_SIZE);
-#if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
+#if HAVE_NATIVE_mpn_add_nc
acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
#else
acyn = mpn_add_n (r1p + off, s1p + off, s2p + off, this_n);
acyo = acyn + mpn_add_1 (r1p + off, r1p + off, this_n, acyo);
#endif
-#if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
+#if HAVE_NATIVE_mpn_sub_nc
scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
#else
scyn = mpn_sub_n (r2p + off, s1p + off, s2p + off, this_n);
@@ -81,13 +81,13 @@
for (off = 0; off < n; off += PART_SIZE)
{
this_n = MIN (n - off, PART_SIZE);
-#if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
+#if HAVE_NATIVE_mpn_sub_nc
scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
#else
scyn = mpn_sub_n (r2p + off, s1p + off, s2p + off, this_n);
scyo = scyn + mpn_sub_1 (r2p + off, r2p + off, this_n, scyo);
#endif
-#if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
+#if HAVE_NATIVE_mpn_add_nc
acyo = mpn_add_nc (r1p + off, s1p + off, s2p + off, this_n, acyo);
#else
acyn = mpn_add_n (r1p + off, s1p + off, s2p + off, this_n);
@@ -97,7 +97,7 @@
}
else
{
- /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2=s2 or vice versa)
+ /* r1 and r2 are identical to s1 and s2 (r1==s1 and r2==s2 or vice versa)
Need temporary storage. */
mp_limb_t tp[PART_SIZE];
acyo = 0;
@@ -105,13 +105,13 @@
for (off = 0; off < n; off += PART_SIZE)
{
this_n = MIN (n - off, PART_SIZE);
-#if HAVE_NATIVE_mpn_add_nc || !HAVE_NATIVE_mpn_add_n
+#if HAVE_NATIVE_mpn_add_nc
acyo = mpn_add_nc (tp, s1p + off, s2p + off, this_n, acyo);
#else
acyn = mpn_add_n (tp, s1p + off, s2p + off, this_n);
acyo = acyn + mpn_add_1 (tp, tp, this_n, acyo);
#endif
-#if HAVE_NATIVE_mpn_sub_nc || !HAVE_NATIVE_mpn_sub_n
+#if HAVE_NATIVE_mpn_sub_nc
scyo = mpn_sub_nc (r2p + off, s1p + off, s2p + off, this_n, scyo);
#else
scyn = mpn_sub_n (r2p + off, s1p + off, s2p + off, this_n);
++++++ gmp-4.1.4-x86_64.diff -> gmp-4.2.1-x86_64.diff ++++++
--- gmp/gmp-4.1.4-x86_64.diff 2004-08-10 15:12:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/gmp/gmp-4.2.1-x86_64.diff 2006-10-13 19:35:24.000000000 +0200
@@ -1,5 +1,36 @@
---- mpn/generic/gcd.c 2002-05-14 18:59:48.000000000 +0200
-+++ mpn/generic/gcd.c 2003-01-14 22:34:13.000000000 +0100
+--- mpn/generic/dive_1.c
++++ mpn/generic/dive_1.c
+@@ -70,7 +70,7 @@
+ {
+ mp_size_t i;
+ mp_limb_t c, h, l, ls, s, s_next, inverse, dummy;
+- unsigned shift;
++ unsigned long shift;
+
+ ASSERT (size >= 1);
+ ASSERT (divisor != 0);
+--- mpn/generic/divis.c
++++ mpn/generic/divis.c
+@@ -118,7 +118,7 @@
+
+ if ((dlow & 1) == 0)
+ {
+- unsigned twos;
++ unsigned long twos;
+ count_trailing_zeros (twos, dlow);
+ dlow >>= twos;
+ }
+@@ -130,7 +130,7 @@
+ mp_limb_t dsecond = dp[1];
+ if (dsecond <= dmask)
+ {
+- unsigned twos;
++ unsigned long twos;
+ count_trailing_zeros (twos, dlow);
+ dlow = (dlow >> twos) | (dsecond << (GMP_NUMB_BITS-twos));
+ ASSERT_LIMB (dlow);
+--- mpn/generic/gcd.c
++++ mpn/generic/gcd.c
@@ -264,7 +264,7 @@

if ((up[0] & 1) == 0) /* Result even; remove twos. */
@@ -18,9 +49,9 @@
count_trailing_zeros (r, up[0]);
mpn_rshift (up, up, usize, r);
usize -= (up[usize - 1] == 0);
---- mpn/generic/scan0.c 2002-04-16 23:30:57.000000000 +0200
-+++ mpn/generic/scan0.c 2003-01-14 22:23:02.000000000 +0100
-@@ -37,7 +37,7 @@
+--- mpn/generic/scan0.c
++++ mpn/generic/scan0.c
+@@ -33,7 +33,7 @@
{
mp_size_t starting_word;
mp_limb_t alimb;
@@ -29,9 +60,9 @@
mp_srcptr p;

/* Start at the word implied by STARTING_BIT. */
---- mpn/generic/scan1.c 2002-04-16 23:31:49.000000000 +0200
-+++ mpn/generic/scan1.c 2003-01-14 22:23:21.000000000 +0100
-@@ -37,7 +37,7 @@
+--- mpn/generic/scan1.c
++++ mpn/generic/scan1.c
+@@ -33,7 +33,7 @@
{
mp_size_t starting_word;
mp_limb_t alimb;
@@ -40,40 +71,31 @@
mp_srcptr p;

/* Start at the word implied by STARTING_BIT. */
---- mpn/generic/divis.c 2002-04-23 02:02:28.000000000 +0200
-+++ mpn/generic/divis.c 2003-01-14 22:21:46.000000000 +0100
-@@ -118,7 +118,7 @@
+--- mpq/set_d.c
++++ mpq/set_d.c
+@@ -41,7 +41,7 @@
+ mp_limb_t tp[LIMBS_PER_DOUBLE];
+ mp_ptr np, dp;
+ mp_size_t nn, dn;
+- int c;
++ long c;

- if ((dlow & 1) == 0)
- {
-- unsigned twos;
-+ unsigned long twos;
- count_trailing_zeros (twos, dlow);
- dlow >>= twos;
- }
-@@ -130,7 +130,7 @@
- mp_limb_t dsecond = dp[1];
- if (dsecond <= dmask)
- {
-- unsigned twos;
-+ unsigned long twos;
- count_trailing_zeros (twos, dlow);
- dlow = (dlow >> twos) | (dsecond << (GMP_NUMB_BITS-twos));
- ASSERT_LIMB (dlow);
---- mpn/generic/dive_1.c 2002-04-16 02:10:32.000000000 +0200
-+++ mpn/generic/dive_1.c 2003-01-14 22:20:04.000000000 +0100
-@@ -70,7 +70,7 @@
- {
- mp_size_t i;
- mp_limb_t c, l, ls, s, s_next, inverse, dummy;
-- unsigned shift;
-+ unsigned long shift;
+ DOUBLE_NAN_INF_ACTION (d,
+ __gmp_invalid_operation (),
+--- mpq/set_f.c
++++ mpq/set_f.c
+@@ -83,7 +83,7 @@
+ else
+ {
+ /* right shift numerator, adjust denominator accordingly */
+- int shift;
++ long shift;

- ASSERT (size >= 1);
- ASSERT (divisor != 0);
---- mpz/cong.c 2002-04-23 02:52:54.000000000 +0200
-+++ mpz/cong.c 2003-01-14 22:37:30.000000000 +0100
-@@ -114,7 +114,7 @@
+ den_size--;
+ count_trailing_zeros (shift, flow);
+--- mpz/cong.c
++++ mpz/cong.c
+@@ -115,7 +115,7 @@
/* Strip low zero bits to get odd d required by modexact. If
d==e*2^n then a==c mod d if and only if both a==c mod e and
a==c mod 2^n, the latter having been done above. */
@@ -82,7 +104,7 @@
count_trailing_zeros (twos, dlow);
dlow >>= twos;
}
-@@ -132,7 +132,7 @@
+@@ -133,7 +133,7 @@

if (dsecond <= dmask)
{
@@ -91,8 +113,8 @@
count_trailing_zeros (twos, dlow);
dlow = (dlow >> twos) | (dsecond << (GMP_NUMB_BITS-twos));
ASSERT_LIMB (dlow);
---- mpz/cong_ui.c 2002-04-22 23:43:02.000000000 +0200
-+++ mpz/cong_ui.c 2003-01-14 22:37:53.000000000 +0100
+--- mpz/cong_ui.c
++++ mpz/cong_ui.c
@@ -93,7 +93,7 @@
d==e*2^n then a==c mod d if and only if both a==c mod 2^n
and a==c mod e. */
@@ -102,19 +124,8 @@

if ((ap[0]-c) & LOW_ZEROS_MASK (d))
return 0;
---- mpz/divexact.c 2002-04-23 00:03:18.000000000 +0200
-+++ mpz/divexact.c 2003-01-14 22:38:35.000000000 +0100
-@@ -97,7 +97,7 @@
- }
- else
- {
-- unsigned int r;
-+ unsigned long r;
- tp = (mp_ptr) TMP_ALLOC (tsize * BYTES_PER_MP_LIMB);
- count_trailing_zeros (r, dp[0]);
- mpn_rshift (tp, dp, tsize, r);
---- mpz/divegcd.c 2002-01-13 15:36:02.000000000 +0100
-+++ mpz/divegcd.c 2003-01-14 22:39:08.000000000 +0100
+--- mpz/divegcd.c
++++ mpz/divegcd.c
@@ -78,7 +78,7 @@
if (SIZ(d) == 1)
{
@@ -124,8 +135,19 @@

if (dl == 1)
{
---- mpz/divis_ui.c 2002-04-22 23:42:29.000000000 +0200
-+++ mpz/divis_ui.c 2003-01-14 22:39:52.000000000 +0100
+--- mpz/divexact.c
++++ mpz/divexact.c
+@@ -114,7 +114,7 @@
+ }
+ else
+ {
+- unsigned int r;
++ unsigned long r;
+ tp = (mp_ptr) TMP_ALLOC (tsize * BYTES_PER_MP_LIMB);
+ count_trailing_zeros (r, dp[0]);
+ mpn_rshift (tp, dp, tsize, r);
+--- mpz/divis_ui.c
++++ mpz/divis_ui.c
@@ -29,7 +29,7 @@
{
mp_size_t asize;
@@ -133,20 +155,20 @@
- unsigned twos;
+ unsigned long twos;

- if (d == 0)
- DIVIDE_BY_ZERO;
---- mpz/jacobi.c 2002-05-14 18:59:49.000000000 +0200
-+++ mpz/jacobi.c 2003-01-14 22:42:28.000000000 +0100
-@@ -95,7 +95,7 @@
+ asize = SIZ(a);
+ if (UNLIKELY (d == 0))
+--- mpz/jacobi.c
++++ mpz/jacobi.c
+@@ -87,7 +87,7 @@
mp_size_t asize, bsize;
mp_ptr ap, bp;
mp_limb_t alow, blow, ahigh, bhigh, asecond, bsecond;
- unsigned atwos, btwos;
+ unsigned long atwos, btwos;
int result_bit1;
- TMP_DECL (marker);
+ TMP_DECL;

-@@ -293,7 +293,7 @@
+@@ -285,7 +285,7 @@
if ((alow & 1) == 0)
{
/* factors of 2 from a */
@@ -155,31 +177,31 @@
count_trailing_zeros (twos, alow);
TRACE (printf ("twos %u\n", twos));
result_bit1 ^= JACOBI_TWOS_U_BIT1 (twos, blow);
---- mpz/kronsz.c 2002-05-06 15:16:49.000000000 +0200
-+++ mpz/kronsz.c 2003-01-14 22:43:51.000000000 +0100
-@@ -40,7 +40,7 @@
- mp_size_t b_size = SIZ (b);
- mp_size_t b_abs_size = ABS (b_size);
+--- mpz/kronsz.c
++++ mpz/kronsz.c
+@@ -32,7 +32,7 @@
+ mp_size_t b_size;
+ mp_size_t b_abs_size;
mp_limb_t a_limb, b_rem;
- unsigned twos;
+ unsigned long twos;
int result_bit1;

#if GMP_NUMB_BITS < BITS_PER_ULONG
---- mpz/kronuz.c 2002-05-06 15:17:07.000000000 +0200
-+++ mpz/kronuz.c 2003-01-14 22:44:23.000000000 +0100
-@@ -39,7 +39,7 @@
- mp_limb_t b_low = b_ptr[0];
- mp_size_t b_abs_size = ABSIZ (b);
+--- mpz/kronuz.c
++++ mpz/kronuz.c
+@@ -31,7 +31,7 @@
+ mp_limb_t b_low;
+ int b_abs_size;
mp_limb_t b_rem;
- int twos;
+ long twos;
- int result_bit1 = 0;
+ int result_bit1;

/* (a/-1)=1 when a>=0, so the sign of b is ignored */
---- mpz/kronzs.c 2002-05-06 15:18:52.000000000 +0200
-+++ mpz/kronzs.c 2003-01-14 22:44:54.000000000 +0100
-@@ -65,7 +65,7 @@
+--- mpz/kronzs.c
++++ mpz/kronzs.c
+@@ -58,7 +58,7 @@
if ((b_limb & 1) == 0)
{
mp_limb_t a_low = a_ptr[0];
@@ -188,9 +210,9 @@

if (b_limb == 0)
return JACOBI_LS0 (a_low, a_size); /* (a/0) */
---- mpz/kronzu.c 2002-05-06 15:16:59.000000000 +0200
-+++ mpz/kronzu.c 2003-01-14 22:45:15.000000000 +0100
-@@ -61,7 +61,7 @@
+--- mpz/kronzu.c
++++ mpz/kronzu.c
+@@ -54,7 +54,7 @@
else
{
mp_limb_t a_low = a_ptr[0];
@@ -199,9 +221,9 @@

if (b == 0)
return JACOBI_LS0 (a_low, a_size); /* (a/0) */
---- mpz/n_pow_ui.c 2002-04-26 23:02:30.000000000 +0200
-+++ mpz/n_pow_ui.c 2003-01-14 22:46:22.000000000 +0100
-@@ -150,7 +150,8 @@
+--- mpz/n_pow_ui.c
++++ mpz/n_pow_ui.c
+@@ -154,7 +154,8 @@
{
mp_ptr rp;
mp_size_t rtwos_limbs, ralloc, rsize;
@@ -211,8 +233,8 @@
mp_limb_t blimb, rl;
unsigned long rtwos_bits;
#if HAVE_NATIVE_mpn_mul_2
---- mpz/perfpow.c 2002-05-09 00:52:26.000000000 +0200
-+++ mpz/perfpow.c 2003-01-14 22:47:22.000000000 +0100
+--- mpz/perfpow.c
++++ mpz/perfpow.c
@@ -209,7 +209,7 @@
static unsigned long int
gcd (unsigned long int a, unsigned long int b)
@@ -222,43 +244,20 @@

if (a == 0)
return b;
---- mpq/set_d.c 2002-05-17 23:39:21.000000000 +0200
-+++ mpq/set_d.c 2003-01-14 22:48:46.000000000 +0100
-@@ -35,7 +35,7 @@
- mp_limb_t tp[LIMBS_PER_DOUBLE];
- mp_ptr np, dp;
- mp_size_t nn, dn;
-- int c;
-+ long c;
-
- negative = d < 0;
- d = ABS (d);
---- mpq/set_f.c 2002-05-14 18:59:49.000000000 +0200
-+++ mpq/set_f.c 2003-01-14 22:49:11.000000000 +0100
-@@ -83,7 +83,7 @@
- else
- {
- /* right shift numerator, adjust denominator accordingly */
-- int shift;
-+ long shift;
-
- den_size--;
- count_trailing_zeros (shift, flow);
---- tests/mpn/t-mp_bases.c 2002-04-20 01:10:47.000000000 +0200
-+++ tests/mpn/t-mp_bases.c 2003-01-15 12:40:33.000000000 +0100
-@@ -31,8 +31,8 @@
+--- tests/mpn/t-mp_bases.c
++++ tests/mpn/t-mp_bases.c
+@@ -31,7 +31,8 @@
main (int argc, char *argv[])
{
- mp_limb_t bb, h, l, bb_inv;
-- int i, j;
--
-+ int i;
-+ unsigned long j;
- for (i = 2; i < numberof (mp_bases); i++)
- {
- if (POW2_P (i))
---- tests/t-count_zeros.c 2001-07-01 03:05:32.000000000 +0200
-+++ tests/t-count_zeros.c 2003-01-15 11:12:51.000000000 +0100
+ mp_limb_t want_bb, want_bb_inv;
+- int base, want_chars_per_limb;
++ int base;
++ unsigned long want_chars_per_limb;
+
+ want_chars_per_limb = refmpn_chars_per_limb (10);
+ if (MP_BASES_CHARS_PER_LIMB_10 != want_chars_per_limb)
+--- tests/t-count_zeros.c
++++ tests/t-count_zeros.c
@@ -44,7 +44,7 @@
void
check_ctz (int want, mp_limb_t n)
@@ -268,9 +267,9 @@
count_trailing_zeros (got, n);
if (got != want)
{
---- tune/common.c 2002-05-07 00:45:08.000000000 +0200
-+++ gmp-4.1.2/tune/common.c 2003-01-15 12:42:04.000000000 +0100
-@@ -1699,9 +1699,9 @@
+--- tune/common.c
++++ tune/common.c
+@@ -1825,9 +1825,9 @@
speed_routine_count_zeros_setup (struct speed_params *s,
mp_ptr xp, int leading, int zero)
{

++++++ gmp-4.1.4.tar.bz2 -> gmp-4.2.1.tar.bz2 ++++++
++++ 304243 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread