bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libgmp v4.1.4


From: ThMO
Subject: libgmp v4.1.4
Date: Tue, 04 Oct 2005 23:54:37 +0200

Hello folks,

I would like to say *very well done*, as it's not common today, that a
library compiles cleanly without any hassles on an older system, like
the one I'm using. these days.
Good work!

I've attached a very small context diff fixing a handful of typing bugs
inside the texinfo-manual.

Additionally I ran `tuneup' and attached the results for my system, as
the timings are different to those distributed - maybe this will be of
some gain to you - or maybe not.  I've put the system characteristics
inside a one line comment before the actual `tuneup' output.
The file is located under `./mpn/x86/p6'.
Although the question is, if those parameters have an impact on the
running time?

THX for writing this fine library and for supporting even older compilers.

Good night and THX for listening.

CU Tom.
(Thomas M.Ott)
Germany
--- gmp-4.1.4/gmp.texi.orig     2004-09-21 21:17:37.000000000 +0200
+++ gmp-4.1.4/gmp.texi  2005-10-04 23:40:46.000000000 +0200
@@ -3643,7 +3643,7 @@
 @deftypefunx int mpz_fits_sint_p (mpz_t @var{op})
 @deftypefunx int mpz_fits_ushort_p (mpz_t @var{op})
 @deftypefunx int mpz_fits_sshort_p (mpz_t @var{op})
-Return non-zero iff the value of @var{op} fits in an @code{unsigned long int},
+Return non-zero if the value of @var{op} fits in an @code{unsigned long int},
 @code{signed long int}, @code{unsigned int}, @code{signed int}, @code{unsigned
 short int}, or @code{signed short int}, respectively.  Otherwise, return zero.
 @end deftypefun
@@ -4929,7 +4929,7 @@
 @end deftypefun
 
 @deftypefun int mpn_perfect_square_p (const mp_limb_t address@hidden, 
mp_size_t @var{n})
-Return non-zero iff @address@hidden, @address@hidden is a perfect square.
+Return non-zero if @address@hidden, @address@hidden is a perfect square.
 @end deftypefun
 
 
@@ -5344,7 +5344,7 @@
 @end deftypefun
 
 @deftypefun int gmp_asprintf (char address@hidden, const char address@hidden, 
...)
address@hidden int gmp_vasprintf (char address@hidden, const char 
address@hidden, va_list @var{ap})
address@hidden int gmp_vasprintf (char address@hidden, const char 
address@hidden, va_list @var{ap})
 Form a null-terminated string in a block of memory obtained from the current
 memory allocation function (@pxref{Custom Allocation}).  The block will be the
 size of the string and null-terminator.  Put the address of the block in
/* Intel P6 gmp-mparam.h -- Compiler/machine parameter header file.

Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002 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 Lesser General Public License as published by
the Free Software Foundation; either version 2.1 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 Lesser General Public
License for more details.

You should have received a copy of the GNU Lesser 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 32
#define BYTES_PER_MP_LIMB 4


/* 350MHz P2, gcc 2.7.2.1, gas 2.14, gld 2.9.1.0.4, libc 5.4.46, linux 2.0.35 */

/* Generated by tuneup.c, 2005-10-04, gcc 2.7 */

#define MUL_KARATSUBA_THRESHOLD          23
#define MUL_TOOM3_THRESHOLD             138

#define SQR_BASECASE_THRESHOLD            0  /* always */
#define SQR_KARATSUBA_THRESHOLD          48
#define SQR_TOOM3_THRESHOLD             170

#define DIV_SB_PREINV_THRESHOLD           0  /* always */
#define DIV_DC_THRESHOLD                 94
#define POWM_THRESHOLD                  128

#define GCD_ACCEL_THRESHOLD               3
#define GCDEXT_THRESHOLD                 45
#define JACOBI_BASE_METHOD                1

#define USE_PREINV_DIVREM_1               1
#define USE_PREINV_MOD_1                  1  /* native */
#define DIVREM_2_THRESHOLD                0  /* always */
#define DIVEXACT_1_THRESHOLD              0  /* always */
#define MODEXACT_1_ODD_THRESHOLD          0  /* always */

#define GET_STR_DC_THRESHOLD             25
#define GET_STR_PRECOMPUTE_THRESHOLD     37
#define SET_STR_THRESHOLD              6336

#define MUL_FFT_TABLE  { 624, 1440, 2688, 6656, 14336, 40960, 0 }
#define MUL_FFT_MODF_THRESHOLD          640
#define MUL_FFT_THRESHOLD              5888

#define SQR_FFT_TABLE  { 688, 1568, 2944, 7680, 18432, 57344, 0 }
#define SQR_FFT_MODF_THRESHOLD          752
#define SQR_FFT_THRESHOLD              5888

/* Tuneup completed successfully, took 37 seconds */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]