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