xref: /netbsd-src/external/lgpl3/gmp/dist/mpn/pa32/gmp-mparam.h (revision ce54336801cf28877c3414aa2fcb251dddd543a2)
1 /* HP-PA 1.0 gmp-mparam.h -- Compiler/machine parameter header file.
2 
3 Copyright 1991, 1993, 1994, 1999-2002, 2012 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 either:
9 
10   * the GNU Lesser General Public License as published by the Free
11     Software Foundation; either version 3 of the License, or (at your
12     option) any later version.
13 
14 or
15 
16   * the GNU General Public License as published by the Free Software
17     Foundation; either version 2 of the License, or (at your option) any
18     later version.
19 
20 or both in parallel, as here.
21 
22 The GNU MP Library is distributed in the hope that it will be useful, but
23 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
25 for more details.
26 
27 You should have received copies of the GNU General Public License and the
28 GNU Lesser General Public License along with the GNU MP Library.  If not,
29 see https://www.gnu.org/licenses/.  */
30 
31 #define GMP_LIMB_BITS 32
32 #define GMP_LIMB_BYTES 4
33 
34 /* These values are for the PA7100 using GCC.  */
35 /* Generated by tuneup.c, 2000-10-27. */
36 
37 #ifndef MUL_TOOM22_THRESHOLD
38 #define MUL_TOOM22_THRESHOLD      30
39 #endif
40 #ifndef MUL_TOOM33_THRESHOLD
41 #define MUL_TOOM33_THRESHOLD     141
42 #endif
43 
44 #ifndef SQR_TOOM2_THRESHOLD
45 #define SQR_TOOM2_THRESHOLD       59
46 #endif
47 #ifndef SQR_TOOM3_THRESHOLD
48 #define SQR_TOOM3_THRESHOLD      177
49 #endif
50 
51 #ifndef DIV_DC_THRESHOLD
52 #define DIV_DC_THRESHOLD         108
53 #endif
54 
55 #ifndef POWM_THRESHOLD
56 #define POWM_THRESHOLD            18
57 #endif
58 
59 #ifndef GCDEXT_THRESHOLD
60 #define GCDEXT_THRESHOLD          33
61 #endif
62