Annotation of OpenXM_contrib/gmp/mpn/x86/k6/gmp-mparam.h, Revision 1.1.1.2
1.1 maekawa 1: /* AMD K6 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: /* 333MHz K6-2, gcc 2.95.3 */
! 27:
! 28: /* Generated by tuneup.c, 2001-11-29, gcc 3.0 */
! 29:
! 30: #define MUL_KARATSUBA_THRESHOLD 20
! 31: #define MUL_TOOM3_THRESHOLD 129
! 32:
! 33: #define SQR_BASECASE_THRESHOLD 0
! 34: #define SQR_KARATSUBA_THRESHOLD 30
! 35: #define SQR_TOOM3_THRESHOLD 186
! 36:
! 37: #define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX
! 38: #define DIV_DC_THRESHOLD 69
! 39: #define POWM_THRESHOLD 91
! 40:
! 41: #define GCD_ACCEL_THRESHOLD 3
! 42: #define GCDEXT_THRESHOLD 51
! 43:
! 44: #define USE_PREINV_MOD_1 1 /* (native) */
! 45: #define DIVREM_2_THRESHOLD MP_SIZE_T_MAX
! 46: #define DIVEXACT_1_THRESHOLD 0
! 47: #define MODEXACT_1_ODD_THRESHOLD 0
! 48:
! 49: #define MUL_FFT_TABLE { 496, 1184, 1920, 4608, 14336, 40960, 0 }
! 50: #define MUL_FFT_MODF_THRESHOLD 440
! 51: #define MUL_FFT_THRESHOLD 3840
! 52:
! 53: #define SQR_FFT_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 }
! 54: #define SQR_FFT_MODF_THRESHOLD 472
! 55: #define SQR_FFT_THRESHOLD 3840
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>