gmp-mparam.h revision 1.1
1/* VAX gmp-mparam.h -- Compiler/machine parameter header file.
2
3Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
4
5This file is part of the GNU MP Library.
6
7The GNU MP Library is free software; you can redistribute it and/or modify
8it under the terms of the GNU Lesser General Public License as published by
9the Free Software Foundation; either version 3 of the License, or (at your
10option) any later version.
11
12The GNU MP Library is distributed in the hope that it will be useful, but
13WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15License for more details.
16
17You should have received a copy of the GNU Lesser General Public License
18along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
19
20/* These numbers were measured manually using the tune/speed program.
21   The standard tune/tunup takes too long.  (VAX 8800) */
22
23#define MUL_TOOM22_THRESHOLD             14
24#define MUL_TOOM33_THRESHOLD            110
25
26#define SQR_BASECASE_THRESHOLD            6
27#define SQR_TOOM2_THRESHOLD              42
28#define SQR_TOOM3_THRESHOLD             250
29
30/* #define DIV_SB_PREINV_THRESHOLD         */
31/* #define DIV_DC_THRESHOLD                */
32/* #define POWM_THRESHOLD                  */
33
34/* #define GCD_ACCEL_THRESHOLD             */
35/* #define JACOBI_BASE_METHOD              */
36
37/* #define DIVREM_1_NORM_THRESHOLD         */
38/* #define DIVREM_1_UNNORM_THRESHOLD       */
39/* #define MOD_1_NORM_THRESHOLD            */
40/* #define MOD_1_UNNORM_THRESHOLD          */
41/* #define USE_PREINV_DIVREM_1             */
42/* #define USE_PREINV_MOD_1                */
43/* #define DIVREM_2_THRESHOLD              */
44/* #define DIVEXACT_1_THRESHOLD            */
45/* #define MODEXACT_1_ODD_THRESHOLD        */
46
47/* #define GET_STR_DC_THRESHOLD            */
48/* #define GET_STR_PRECOMPUTE_THRESHOLD    */
49#define SET_STR_THRESHOLD              3400
50