Annotation of OpenXM_contrib/gmp/mpn/x86/k6/gmp-mparam.h, Revision 1.1
1.1 ! maekawa 1: /* AMD K6 gmp-mparam.h -- Compiler/machine parameter header file.
! 2:
! 3: Copyright (C) 1991, 1993, 1994, 2000 Free Software Foundation, Inc.
! 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
! 24: #define BITS_PER_LONGINT 32
! 25: #define BITS_PER_INT 32
! 26: #define BITS_PER_SHORTINT 16
! 27: #define BITS_PER_CHAR 8
! 28:
! 29:
! 30: #ifndef UMUL_TIME
! 31: #define UMUL_TIME 3 /* cycles */
! 32: #endif
! 33:
! 34: #ifndef UDIV_TIME
! 35: #define UDIV_TIME 20 /* cycles */
! 36: #endif
! 37:
! 38: /* bsfl takes 12-27 cycles, put an average for uniform random numbers */
! 39: #ifndef COUNT_TRAILING_ZEROS_TIME
! 40: #define COUNT_TRAILING_ZEROS_TIME 14 /* cycles */
! 41: #endif
! 42:
! 43:
! 44: /* Generated by tuneup.c, 2000-07-04. */
! 45:
! 46: #ifndef KARATSUBA_MUL_THRESHOLD
! 47: #define KARATSUBA_MUL_THRESHOLD 18
! 48: #endif
! 49: #ifndef TOOM3_MUL_THRESHOLD
! 50: #define TOOM3_MUL_THRESHOLD 130
! 51: #endif
! 52:
! 53: #ifndef KARATSUBA_SQR_THRESHOLD
! 54: #define KARATSUBA_SQR_THRESHOLD 34
! 55: #endif
! 56: #ifndef TOOM3_SQR_THRESHOLD
! 57: #define TOOM3_SQR_THRESHOLD 116
! 58: #endif
! 59:
! 60: #ifndef BZ_THRESHOLD
! 61: #define BZ_THRESHOLD 68
! 62: #endif
! 63:
! 64: #ifndef FIB_THRESHOLD
! 65: #define FIB_THRESHOLD 98
! 66: #endif
! 67:
! 68: #ifndef POWM_THRESHOLD
! 69: #define POWM_THRESHOLD 13
! 70: #endif
! 71:
! 72: #ifndef GCD_ACCEL_THRESHOLD
! 73: #define GCD_ACCEL_THRESHOLD 4
! 74: #endif
! 75: #ifndef GCDEXT_THRESHOLD
! 76: #define GCDEXT_THRESHOLD 67
! 77: #endif
! 78:
! 79: #ifndef FFT_MUL_TABLE
! 80: #define FFT_MUL_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 }
! 81: #endif
! 82: #ifndef FFT_MODF_MUL_THRESHOLD
! 83: #define FFT_MODF_MUL_THRESHOLD 472
! 84: #endif
! 85: #ifndef FFT_MUL_THRESHOLD
! 86: #define FFT_MUL_THRESHOLD 4352
! 87: #endif
! 88:
! 89: #ifndef FFT_SQR_TABLE
! 90: #define FFT_SQR_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 }
! 91: #endif
! 92: #ifndef FFT_MODF_SQR_THRESHOLD
! 93: #define FFT_MODF_SQR_THRESHOLD 544
! 94: #endif
! 95: #ifndef FFT_SQR_THRESHOLD
! 96: #define FFT_SQR_THRESHOLD 4352
! 97: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>