summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-01-07 23:43:21 +0100
committerKevin Ryde <user42@zip.com.au>2001-01-07 23:43:21 +0100
commita2d92689b294bf7e1ee9b4b65022004cdbc356dd (patch)
tree4f36f760d0213b2c70dfffac0dbd116c2551e432 /mpn
parentd5e7447910a74de76bee5eb2cd1f82c60af6b43a (diff)
downloadgmp-a2d92689b294bf7e1ee9b4b65022004cdbc356dd.tar.gz
* mpn/*/gmp-mparam.h, acinclude.m4, tests/t-constants.c
(BITS_PER_LONGINT, BITS_PER_INT, BITS_PER_SHORTINT, BITS_PER_CHAR): Remove defines, remove probings, remove tests.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/arm/gmp-mparam.h6
-rw-r--r--mpn/cray/gmp-mparam.h6
-rw-r--r--mpn/cray/ieee/gmp-mparam.h6
-rw-r--r--mpn/hppa/gmp-mparam.h6
-rw-r--r--mpn/ia64/gmp-mparam.h6
-rw-r--r--mpn/m68k/gmp-mparam.h6
-rw-r--r--mpn/mips3/gmp-mparam.h7
-rw-r--r--mpn/pa64/gmp-mparam.h6
-rw-r--r--mpn/pa64w/gmp-mparam.h6
-rw-r--r--mpn/powerpc32/gmp-mparam.h6
-rw-r--r--mpn/powerpc64/gmp-mparam.h7
-rw-r--r--mpn/sparc32/v8/gmp-mparam.h6
-rw-r--r--mpn/sparc32/v8/supersparc/gmp-mparam.h6
-rw-r--r--mpn/sparc32/v9/gmp-mparam.h6
-rw-r--r--mpn/sparc64/gmp-mparam.h6
-rw-r--r--mpn/x86/k6/gmp-mparam.h6
-rw-r--r--mpn/x86/k7/gmp-mparam.h6
-rw-r--r--mpn/x86/p6/gmp-mparam.h6
-rw-r--r--mpn/x86/pentium/gmp-mparam.h6
-rw-r--r--mpn/x86/pentium/mmx/gmp-mparam.h6
-rw-r--r--mpn/z8000/gmp-mparam.h6
21 files changed, 22 insertions, 106 deletions
diff --git a/mpn/arm/gmp-mparam.h b/mpn/arm/gmp-mparam.h
index 2ee37fee5..95372dca6 100644
--- a/mpn/arm/gmp-mparam.h
+++ b/mpn/arm/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
#ifndef KARATSUBA_MUL_THRESHOLD
#define KARATSUBA_MUL_THRESHOLD 21
diff --git a/mpn/cray/gmp-mparam.h b/mpn/cray/gmp-mparam.h
index 2974cb429..8d4d650cf 100644
--- a/mpn/cray/gmp-mparam.h
+++ b/mpn/cray/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1996, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ 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 64
-#define BITS_PER_SHORTINT 64
-#define BITS_PER_CHAR 8
#if 0
#define UMUL_TIME 519
diff --git a/mpn/cray/ieee/gmp-mparam.h b/mpn/cray/ieee/gmp-mparam.h
index 1995eb03d..0b8b1e7d5 100644
--- a/mpn/cray/ieee/gmp-mparam.h
+++ b/mpn/cray/ieee/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1996, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ 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 64
-#define BITS_PER_SHORTINT 64
-#define BITS_PER_CHAR 8
#if 0
#define UMUL_TIME 50 /* re-measure this! */
diff --git a/mpn/hppa/gmp-mparam.h b/mpn/hppa/gmp-mparam.h
index 72204c513..8233bdf07 100644
--- a/mpn/hppa/gmp-mparam.h
+++ b/mpn/hppa/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These values are for the PA7100 using GCC. */
/* Generated by tuneup.c, 2000-10-27. */
diff --git a/mpn/ia64/gmp-mparam.h b/mpn/ia64/gmp-mparam.h
index 71186307b..d28a70d03 100644
--- a/mpn/ia64/gmp-mparam.h
+++ b/mpn/ia64/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 2000 Free Software Foundation, Inc.
+Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ 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
/* Generated by tuneup.c, 2000-10-28. */
diff --git a/mpn/m68k/gmp-mparam.h b/mpn/m68k/gmp-mparam.h
index ac325734f..7ab6ce787 100644
--- a/mpn/m68k/gmp-mparam.h
+++ b/mpn/m68k/gmp-mparam.h
@@ -1,6 +1,6 @@
/* 68040 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 2000 Free Software Foundation, Inc.
+Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* Generated by tuneup.c, 2000-10-27. */
diff --git a/mpn/mips3/gmp-mparam.h b/mpn/mips3/gmp-mparam.h
index 9041108c4..4ec2921ea 100644
--- a/mpn/mips3/gmp-mparam.h
+++ b/mpn/mips3/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -20,13 +20,8 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
-/* Note that BITS_PER_LONGINT is 32 in ABI=n32 but 64 in ABI=64, so it's
- left to ./configure to determine the value at build time. */
#define BITS_PER_MP_LIMB 64
#define BYTES_PER_MP_LIMB 8
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These values are for the R10000. */
diff --git a/mpn/pa64/gmp-mparam.h b/mpn/pa64/gmp-mparam.h
index 885d31035..cec791e23 100644
--- a/mpn/pa64/gmp-mparam.h
+++ b/mpn/pa64/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 64
#define BYTES_PER_MP_LIMB 8
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These values were measured in a PA8000 using the system compiler version
A.10.32.30. Presumably the PA8200 and PA8500 have the same timing
diff --git a/mpn/pa64w/gmp-mparam.h b/mpn/pa64w/gmp-mparam.h
index 88fce4eea..97b0f737b 100644
--- a/mpn/pa64w/gmp-mparam.h
+++ b/mpn/pa64w/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ 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
/* These values were measured on a PA8500 using the system compiler version
A.11.01.02. Presumably the PA8000 and PA8200 have the same timing
diff --git a/mpn/powerpc32/gmp-mparam.h b/mpn/powerpc32/gmp-mparam.h
index 059bf9e28..9728aa265 100644
--- a/mpn/powerpc32/gmp-mparam.h
+++ b/mpn/powerpc32/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These values are for the 604. Presumably, these should be considerably
different for the 603 and 750 that have much slower multiply
diff --git a/mpn/powerpc64/gmp-mparam.h b/mpn/powerpc64/gmp-mparam.h
index c567614fe..3db659edc 100644
--- a/mpn/powerpc64/gmp-mparam.h
+++ b/mpn/powerpc64/gmp-mparam.h
@@ -1,6 +1,7 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1995, 1999, 2000, 2001 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
@@ -21,10 +22,6 @@ 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
/* Generated by tuneup.c, 2000-10-27. */
diff --git a/mpn/sparc32/v8/gmp-mparam.h b/mpn/sparc32/v8/gmp-mparam.h
index d0234aca2..0a83b896d 100644
--- a/mpn/sparc32/v8/gmp-mparam.h
+++ b/mpn/sparc32/v8/gmp-mparam.h
@@ -1,6 +1,6 @@
/* SPARC v8 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These numbers were obtained on gnistan.sics.se, a MicroSPARC II system */
/* Generated by tuneup.c, 2000-10-09. */
diff --git a/mpn/sparc32/v8/supersparc/gmp-mparam.h b/mpn/sparc32/v8/supersparc/gmp-mparam.h
index 5f06dd176..d7b76cd9f 100644
--- a/mpn/sparc32/v8/supersparc/gmp-mparam.h
+++ b/mpn/sparc32/v8/supersparc/gmp-mparam.h
@@ -1,6 +1,6 @@
/* SuperSPARC gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These numbers were obtained on kotov.sics.se, a 40 MHz SuperSPARC system */
/* Generated by tuneup.c, 2000-11-07. */
diff --git a/mpn/sparc32/v9/gmp-mparam.h b/mpn/sparc32/v9/gmp-mparam.h
index 13e6da563..227e4edbc 100644
--- a/mpn/sparc32/v9/gmp-mparam.h
+++ b/mpn/sparc32/v9/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* These values are for UltraSPARC I, II, and IIi. It is bogus that
diff --git a/mpn/sparc64/gmp-mparam.h b/mpn/sparc64/gmp-mparam.h
index ee81f88f0..469b2e193 100644
--- a/mpn/sparc64/gmp-mparam.h
+++ b/mpn/sparc64/gmp-mparam.h
@@ -1,6 +1,6 @@
/* Sparc64 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ 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
/* Tell the toom3 multiply implementation to call low-level mpn
functions instead of open-coding operations in C. */
diff --git a/mpn/x86/k6/gmp-mparam.h b/mpn/x86/k6/gmp-mparam.h
index cbefd5f1b..ca831653c 100644
--- a/mpn/x86/k6/gmp-mparam.h
+++ b/mpn/x86/k6/gmp-mparam.h
@@ -1,6 +1,6 @@
/* AMD K6 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
#ifndef UMUL_TIME
diff --git a/mpn/x86/k7/gmp-mparam.h b/mpn/x86/k7/gmp-mparam.h
index 83fddf50b..1ec73c0a0 100644
--- a/mpn/x86/k7/gmp-mparam.h
+++ b/mpn/x86/k7/gmp-mparam.h
@@ -1,6 +1,6 @@
/* AMD K7 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,10 +21,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
/* the low limb is ready after 4 cycles, but normally it's the high limb
diff --git a/mpn/x86/p6/gmp-mparam.h b/mpn/x86/p6/gmp-mparam.h
index 423896f91..58a3ab070 100644
--- a/mpn/x86/p6/gmp-mparam.h
+++ b/mpn/x86/p6/gmp-mparam.h
@@ -1,6 +1,6 @@
/* Intel P6 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
#ifndef UMUL_TIME
diff --git a/mpn/x86/pentium/gmp-mparam.h b/mpn/x86/pentium/gmp-mparam.h
index 01db068f9..39be60217 100644
--- a/mpn/x86/pentium/gmp-mparam.h
+++ b/mpn/x86/pentium/gmp-mparam.h
@@ -1,6 +1,6 @@
/* Intel P54 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
#ifndef UMUL_TIME
diff --git a/mpn/x86/pentium/mmx/gmp-mparam.h b/mpn/x86/pentium/mmx/gmp-mparam.h
index afa803377..8b5af01fc 100644
--- a/mpn/x86/pentium/mmx/gmp-mparam.h
+++ b/mpn/x86/pentium/mmx/gmp-mparam.h
@@ -1,6 +1,6 @@
/* Intel P55 gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -22,10 +22,6 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 32
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8
#ifndef UMUL_TIME
diff --git a/mpn/z8000/gmp-mparam.h b/mpn/z8000/gmp-mparam.h
index 6de4e3d09..11b5d77d9 100644
--- a/mpn/z8000/gmp-mparam.h
+++ b/mpn/z8000/gmp-mparam.h
@@ -1,6 +1,6 @@
/* gmp-mparam.h -- Compiler/machine parameter header file.
-Copyright 1991, 1993, 1994 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -21,7 +21,3 @@ MA 02111-1307, USA. */
#define BITS_PER_MP_LIMB 16
#define BYTES_PER_MP_LIMB 2
-#define BITS_PER_LONGINT 32
-#define BITS_PER_INT 16
-#define BITS_PER_SHORTINT 16
-#define BITS_PER_CHAR 8