Annotation of OpenXM_contrib/gmp/mpn/x86/k7/gmp-mparam.h, Revision 1.1.1.2
1.1 maekawa 1: /* AMD K7 gmp-mparam.h -- Compiler/machine parameter header file.
2:
1.1.1.2 ! ohara 3: Copyright 1991, 1993, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
1.1 maekawa 4:
5: This file is part of the GNU MP Library.
6:
7: The GNU MP Library is free software; you can redistribute it and/or modify
8: it under the terms of the GNU Lesser General Public License as published by
9: the Free Software Foundation; either version 2.1 of the License, or (at your
10: option) any later version.
11:
12: The GNU MP Library is distributed in the hope that it will be useful, but
13: WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15: License for more details.
16:
17: You should have received a copy of the GNU Lesser General Public License
18: along with the GNU MP Library; see the file COPYING.LIB. If not, write to
19: the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20: MA 02111-1307, USA. */
21:
22: #define BITS_PER_MP_LIMB 32
23: #define BYTES_PER_MP_LIMB 4
1.1.1.2 ! ohara 24:
! 25:
! 26: /* 1400 MHz athlon, gcc 2.95.3 */
! 27:
! 28: /* Generated by tuneup.c, 2001-11-28, gcc 2.95 */
! 29:
! 30: #define MUL_KARATSUBA_THRESHOLD 26
! 31: #define MUL_TOOM3_THRESHOLD 202
! 32:
! 33: #define SQR_BASECASE_THRESHOLD 0
! 34: #define SQR_KARATSUBA_THRESHOLD 50
! 35: #define SQR_TOOM3_THRESHOLD 226
! 36:
! 37: #define DIV_SB_PREINV_THRESHOLD 0
! 38: #define DIV_DC_THRESHOLD 92
! 39: #define POWM_THRESHOLD 142
! 40:
! 41: #define GCD_ACCEL_THRESHOLD 3
! 42: #define GCDEXT_THRESHOLD 46
! 43:
! 44: #define USE_PREINV_MOD_1 1 /* (native) */
! 45: #define DIVREM_2_THRESHOLD 0
! 46: #define DIVEXACT_1_THRESHOLD 0
! 47: #define MODEXACT_1_ODD_THRESHOLD 0
! 48:
! 49: #define MUL_FFT_TABLE { 816, 1696, 3456, 7680, 22528, 0 }
! 50: #define MUL_FFT_MODF_THRESHOLD 832
! 51: #define MUL_FFT_THRESHOLD 8448
! 52:
! 53: #define SQR_FFT_TABLE { 784, 1760, 3456, 7680, 18432, 40960, 0 }
! 54: #define SQR_FFT_MODF_THRESHOLD 800
! 55: #define SQR_FFT_THRESHOLD 8448
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>