1. Add config.h file generation for Windows

2. Add Configuration to the Windows tests to test DLL versions of MPIR
This commit is contained in:
gladman 2010-07-11 19:40:30 +00:00
parent 64f03d3ce1
commit 85658e070b
42 changed files with 906 additions and 3763 deletions

View File

@ -1,3 +1,4 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
@ -19,88 +20,11 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
#define HAVE_HOST_CPU_FAMILY_x86 1
#define HAVE_NATIVE_mpn_and_n 1
#define HAVE_NATIVE_mpn_andn_n 1
#define HAVE_NATIVE_mpn_ior_n 1
#define HAVE_NATIVE_mpn_iorn_n 1
#define HAVE_NATIVE_mpn_nand_n 1
#define HAVE_NATIVE_mpn_nior_n 1
#define HAVE_NATIVE_mpn_xnor_n 1
#define HAVE_NATIVE_mpn_xor_n 1
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_addadd_n 1
#define HAVE_NATIVE_mpn_addlsh1_n 1
#define HAVE_NATIVE_mpn_addlsh_n 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_addmul_1c 1
#define HAVE_NATIVE_mpn_addmul_2 1
#define HAVE_NATIVE_mpn_addsub_n 1
#define HAVE_NATIVE_mpn_add_err1 1
#define HAVE_NATIVE_mpn_sub_err1 1
#define HAVE_NATIVE_mpn_add_err2 1
#define HAVE_NATIVE_mpn_sub_err2 1
#define HAVE_NATIVE_mpn_com_n 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divexact_fobm1 1
#define HAVE_NATIVE_mpn_divexact_byff 1
#define HAVE_NATIVE_mpn_divrem_2 1
#define HAVE_NATIVE_mpn_preinv_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_mod_1_1 1
#define HAVE_NATIVE_mpn_mod_1_2 1
#define HAVE_NATIVE_mpn_mod_1_3 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_1c 1
#define HAVE_NATIVE_mpn_mul_2 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_redc_basecase 1
#define HAVE_NATIVE_mpn_rsh1add_n 1
#define HAVE_NATIVE_mpn_rsh1sub_n 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_store 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_subadd_n 1
#define HAVE_NATIVE_mpn_sublsh1_n 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_submul_1c 1
#if defined( _M_IX86 )
# define HAVE_HOST_CPU_FAMILY_x86 1
#elif defined( _M_X64 )
# define HAVE_HOST_CPU_FAMILY_x86_64 1
#endif
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST

View File

@ -1,442 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
#define HAVE_HOST_CPU_FAMILY_x86 1
#define HAVE_NATIVE_mpn_and_n 1
#define HAVE_NATIVE_mpn_andn_n 1
#define HAVE_NATIVE_mpn_ior_n 1
#define HAVE_NATIVE_mpn_iorn_n 1
#define HAVE_NATIVE_mpn_nand_n 1
#define HAVE_NATIVE_mpn_nior_n 1
#define HAVE_NATIVE_mpn_xnor_n 1
#define HAVE_NATIVE_mpn_xor_n 1
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_addadd_n 1
#define HAVE_NATIVE_mpn_addlsh1_n 1
#define HAVE_NATIVE_mpn_addlsh_n 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_addmul_1c 1
#define HAVE_NATIVE_mpn_addmul_2 1
#define HAVE_NATIVE_mpn_addsub_n 1
#define HAVE_NATIVE_mpn_add_err1 1
#define HAVE_NATIVE_mpn_sub_err1 1
#define HAVE_NATIVE_mpn_add_err2 1
#define HAVE_NATIVE_mpn_sub_err2 1
#define HAVE_NATIVE_mpn_com_n 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divexact_fobm1 1
#define HAVE_NATIVE_mpn_divexact_byff 1
#define HAVE_NATIVE_mpn_divrem_2 1
#define HAVE_NATIVE_mpn_preinv_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_mod_1_1 1
#define HAVE_NATIVE_mpn_mod_1_2 1
#define HAVE_NATIVE_mpn_mod_1_3 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_1c 1
#define HAVE_NATIVE_mpn_mul_2 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_redc_basecase 1
#define HAVE_NATIVE_mpn_rsh1add_n 1
#define HAVE_NATIVE_mpn_rsh1sub_n 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_store 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_subadd_n 1
#define HAVE_NATIVE_mpn_sublsh1_n 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_submul_1c 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,519 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_alpha
#undef HAVE_HOST_CPU_alphaev5
#undef HAVE_HOST_CPU_alphaev6
#undef HAVE_HOST_CPU_alphaev67
#undef HAVE_HOST_CPU_m68k
#undef HAVE_HOST_CPU_m68000
#undef HAVE_HOST_CPU_m68010
#undef HAVE_HOST_CPU_m68020
#undef HAVE_HOST_CPU_m68030
#undef HAVE_HOST_CPU_m68040
#undef HAVE_HOST_CPU_m68060
#undef HAVE_HOST_CPU_m68302
#undef HAVE_HOST_CPU_m68360
#undef HAVE_HOST_CPU_powerpc604
#undef HAVE_HOST_CPU_powerpc604e
#undef HAVE_HOST_CPU_powerpc750
#undef HAVE_HOST_CPU_powerpc7400
#undef HAVE_HOST_CPU_sparc
#undef HAVE_HOST_CPU_sparcv8
#undef HAVE_HOST_CPU_supersparc
#undef HAVE_HOST_CPU_sparclite
#undef HAVE_HOST_CPU_microsparc
#undef HAVE_HOST_CPU_ultrasparc1
#undef HAVE_HOST_CPU_ultrasparc2
#undef HAVE_HOST_CPU_sparc64
#undef HAVE_HOST_CPU_hppa1_0
#undef HAVE_HOST_CPU_hppa1_1
#undef HAVE_HOST_CPU_hppa2_0n
#undef HAVE_HOST_CPU_hppa2_0w
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
/* a dummy to make autoheader happy */
#undef HAVE_HOST_CPU_
/* Define one (and only one) of these for the CPU host family.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_FAMILY_power
#undef HAVE_HOST_CPU_FAMILY_powerpc
#define HAVE_HOST_CPU_FAMILY_x86 1
/* Define if we have native implementation of function.
(use just one of the three following defines)
*/
#undef HAVE_NATIVE_mpn_add
#undef HAVE_NATIVE_mpn_add_1
#undef HAVE_NATIVE_mpn_addmul_2
#undef HAVE_NATIVE_mpn_addmul_3
#undef HAVE_NATIVE_mpn_addmul_4
#undef HAVE_NATIVE_mpn_addsub_n
#undef HAVE_NATIVE_mpn_addsub_nc
#undef HAVE_NATIVE_mpn_and_n
#undef HAVE_NATIVE_mpn_andn_n
#undef HAVE_NATIVE_mpn_bdivmod
#undef HAVE_NATIVE_mpn_cmp
#undef HAVE_NATIVE_mpn_com_n
#undef HAVE_NATIVE_mpn_divrem
#undef HAVE_NATIVE_mpn_divrem_2
#undef HAVE_NATIVE_mpn_divrem_newton
#undef HAVE_NATIVE_mpn_divrem_classic
#undef HAVE_NATIVE_mpn_dump
#undef HAVE_NATIVE_mpn_gcd
#undef HAVE_NATIVE_mpn_gcd_1
#undef HAVE_NATIVE_mpn_gcd_finda
#undef HAVE_NATIVE_mpn_gcdext
#undef HAVE_NATIVE_mpn_get_str
#undef HAVE_NATIVE_mpn_invert_limb
#undef HAVE_NATIVE_mpn_ior_n
#undef HAVE_NATIVE_mpn_iorn_n
#undef HAVE_NATIVE_mpn_mul
#undef HAVE_NATIVE_mpn_mul_2
#undef HAVE_NATIVE_mpn_mul_3
#undef HAVE_NATIVE_mpn_mul_4
#undef HAVE_NATIVE_mpn_mul_n
#undef HAVE_NATIVE_mpn_nand_n
#undef HAVE_NATIVE_mpn_nior_n
#undef HAVE_NATIVE_mpn_perfect_square_p
#undef HAVE_NATIVE_mpn_preinv_mod_1
#undef HAVE_NATIVE_mpn_random2
#undef HAVE_NATIVE_mpn_random
#undef HAVE_NATIVE_mpn_rawrandom
#undef HAVE_NATIVE_mpn_scan0
#undef HAVE_NATIVE_mpn_scan1
#undef HAVE_NATIVE_mpn_set_str
#undef HAVE_NATIVE_mpn_sqrtrem
#undef HAVE_NATIVE_mpn_sqr_diagonal
#undef HAVE_NATIVE_mpn_sub
#undef HAVE_NATIVE_mpn_sub_1
#undef HAVE_NATIVE_mpn_udiv_w_sdiv
#undef HAVE_NATIVE_mpn_xor_n
#undef HAVE_NATIVE_mpn_xnor_n
#undef HAVE_NATIVE_mpn_add_n
#undef HAVE_NATIVE_mpn_add_nc
#undef HAVE_NATIVE_mpn_sub_n
#undef HAVE_NATIVE_mpn_sub_nc
#undef HAVE_NATIVE_mpn_addmul_1
#undef HAVE_NATIVE_mpn_addmul_1c
#undef HAVE_NATIVE_mpn_submul_1
#undef HAVE_NATIVE_mpn_submul_1c
#undef HAVE_NATIVE_mpn_copyd
#undef HAVE_NATIVE_mpn_copyi
#undef HAVE_NATIVE_mpn_divexact_1
#undef HAVE_NATIVE_mpn_divexact_by3c
#undef HAVE_NATIVE_mpn_divrem_1
#undef HAVE_NATIVE_mpn_divrem_1c
#undef HAVE_NATIVE_mpn_hamdist
#undef HAVE_NATIVE_mpn_popcount
#undef HAVE_NATIVE_mpn_lshift
#undef HAVE_NATIVE_mpn_rshift
#undef HAVE_NATIVE_mpn_mod_1
#undef HAVE_NATIVE_mpn_mod_1c
#undef HAVE_NATIVE_mpn_modexact_1_odd
#undef HAVE_NATIVE_mpn_modexact_1c_odd
#undef HAVE_NATIVE_mpn_mul_1
#undef HAVE_NATIVE_mpn_mul_1c
#undef HAVE_NATIVE_mpn_mul_basecase
#undef HAVE_NATIVE_mpn_sqr_basecase
#undef HAVE_NATIVE_mpn_umul_ppmm
#undef HAVE_NATIVE_mpn_udiv_qrnnd
/* For the generic C code */
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_sub_n 1
/* a dummy to make autoheader happy */
#undef HAVE_NATIVE_
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,449 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
#define HAVE_HOST_CPU_FAMILY_x86 1
#define HAVE_NATIVE_mpn_and_n 1
#define HAVE_NATIVE_mpn_andn_n 1
#define HAVE_NATIVE_mpn_ior_n 1
#define HAVE_NATIVE_mpn_iorn_n 1
#define HAVE_NATIVE_mpn_nand_n 1
#define HAVE_NATIVE_mpn_nior_n 1
#define HAVE_NATIVE_mpn_xnor_n 1
#define HAVE_NATIVE_mpn_xor_n 1
#define HAVE_NATIVE_mpn_add_err1 1
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_addadd_n 1
#define HAVE_NATIVE_mpn_addlsh1_n 1
#define HAVE_NATIVE_mpn_addlsh_n 1
#define HAVE_NATIVE_mpn_addlsh_nc 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_addmul_2 1
#define HAVE_NATIVE_mpn_addsub_n 1
#define HAVE_NATIVE_mpn_add_err2 1
#define HAVE_NATIVE_mpn_sub_err2 1
#define HAVE_NATIVE_mpn_com_n 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divexact_fobm1 1
#define HAVE_NATIVE_mpn_divexact_byff 1
#define HAVE_NATIVE_mpn_divrem_2 1
#define HAVE_NATIVE_mpn_preinv_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_1 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_r_1 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_lshift1 1
#define HAVE_NATIVE_mpn_lshiftc 1
#define HAVE_NATIVE_mpn_mod_1_1 1
#define HAVE_NATIVE_mpn_mod_1_2 1
#define HAVE_NATIVE_mpn_mod_1_3 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_1c 1
#define HAVE_NATIVE_mpn_mul_2 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_redc_basecase 1
#define HAVE_NATIVE_mpn_rsh1add_n 1
#define HAVE_NATIVE_mpn_rsh1sub_n 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_1 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_rshift1 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_sub_err1 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_subadd_n 1
#define HAVE_NATIVE_mpn_sublsh1_n 1
#define HAVE_NATIVE_mpn_sublsh_n 1
#define HAVE_NATIVE_mpn_sublsh_nc 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_sumdiff_n 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,455 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
#define HAVE_HOST_CPU_FAMILY_x86 1
#define HAVE_NATIVE_mpn_and_n 1
#define HAVE_NATIVE_mpn_andn_n 1
#define HAVE_NATIVE_mpn_ior_n 1
#define HAVE_NATIVE_mpn_iorn_n 1
#define HAVE_NATIVE_mpn_nand_n 1
#define HAVE_NATIVE_mpn_nior_n 1
#define HAVE_NATIVE_mpn_xnor_n 1
#define HAVE_NATIVE_mpn_xor_n 1
#define HAVE_NATIVE_mpn_add_err1 1
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_addadd_n 1
#define HAVE_NATIVE_mpn_addlsh1_n 1
#define HAVE_NATIVE_mpn_addlsh_n 1
#define HAVE_NATIVE_mpn_addlsh_nc 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_addmul_2 1
#define HAVE_NATIVE_mpn_addsub_n 1
#define HAVE_NATIVE_mpn_add_err2 1
#define HAVE_NATIVE_mpn_sub_err2 1
#define HAVE_NATIVE_mpn_com_n 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divexact_fobm1 1
#define HAVE_NATIVE_mpn_divexact_byff 1
#define HAVE_NATIVE_mpn_divrem_2 1
#define HAVE_NATIVE_mpn_preinv_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_1 1
#define HAVE_NATIVE_mpn_divrem_euclidean_qr_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_1 1
#define HAVE_NATIVE_mpn_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_divrem_hensel_r_1 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_lshift1 1
#define HAVE_NATIVE_mpn_lshift2 1
#define HAVE_NATIVE_mpn_lshift3 1
#define HAVE_NATIVE_mpn_lshift4 1
#define HAVE_NATIVE_mpn_lshift5 1
#define HAVE_NATIVE_mpn_lshift6 1
#define HAVE_NATIVE_mpn_lshiftc 1
#define HAVE_NATIVE_mpn_mod_1_1 1
#define HAVE_NATIVE_mpn_mod_1_2 1
#define HAVE_NATIVE_mpn_mod_1_3 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_1c 1
#define HAVE_NATIVE_mpn_mul_2 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_redc_basecase 1
#define HAVE_NATIVE_mpn_rsh1add_n 1
#define HAVE_NATIVE_mpn_rsh1sub_n 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_1 1
#define HAVE_NATIVE_mpn_rsh_divrem_hensel_qr_1_2 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_rshift1 1
#define HAVE_NATIVE_mpn_rshift2 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_sub_err1 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_subadd_n 1
#define HAVE_NATIVE_mpn_sublsh1_n 1
#define HAVE_NATIVE_mpn_sublsh_n 1
#define HAVE_NATIVE_mpn_sublsh_nc 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_sumdiff_n 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,544 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_alpha
#undef HAVE_HOST_CPU_alphaev5
#undef HAVE_HOST_CPU_alphaev6
#undef HAVE_HOST_CPU_alphaev67
#undef HAVE_HOST_CPU_m68k
#undef HAVE_HOST_CPU_m68000
#undef HAVE_HOST_CPU_m68010
#undef HAVE_HOST_CPU_m68020
#undef HAVE_HOST_CPU_m68030
#undef HAVE_HOST_CPU_m68040
#undef HAVE_HOST_CPU_m68060
#undef HAVE_HOST_CPU_m68302
#undef HAVE_HOST_CPU_m68360
#undef HAVE_HOST_CPU_powerpc604
#undef HAVE_HOST_CPU_powerpc604e
#undef HAVE_HOST_CPU_powerpc750
#undef HAVE_HOST_CPU_powerpc7400
#undef HAVE_HOST_CPU_sparc
#undef HAVE_HOST_CPU_sparcv8
#undef HAVE_HOST_CPU_supersparc
#undef HAVE_HOST_CPU_sparclite
#undef HAVE_HOST_CPU_microsparc
#undef HAVE_HOST_CPU_ultrasparc1
#undef HAVE_HOST_CPU_ultrasparc2
#undef HAVE_HOST_CPU_sparc64
#undef HAVE_HOST_CPU_hppa1_0
#undef HAVE_HOST_CPU_hppa1_1
#undef HAVE_HOST_CPU_hppa2_0n
#undef HAVE_HOST_CPU_hppa2_0w
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#define HAVE_HOST_CPU_pentium 1
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
/* a dummy to make autoheader happy */
#undef HAVE_HOST_CPU_
/* Define one (and only one) of these for the CPU host family.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_FAMILY_power
#undef HAVE_HOST_CPU_FAMILY_powerpc
#define HAVE_HOST_CPU_FAMILY_x86 1
/* Define if we have native implementation of function.
(use just one of the three following defines)
*/
#undef HAVE_NATIVE_mpn_add
#undef HAVE_NATIVE_mpn_add_1
#undef HAVE_NATIVE_mpn_addmul_2
#undef HAVE_NATIVE_mpn_addmul_3
#undef HAVE_NATIVE_mpn_addmul_4
#undef HAVE_NATIVE_mpn_addsub_n
#undef HAVE_NATIVE_mpn_addsub_nc
#undef HAVE_NATIVE_mpn_and_n
#undef HAVE_NATIVE_mpn_andn_n
#undef HAVE_NATIVE_mpn_bdivmod
#undef HAVE_NATIVE_mpn_cmp
#undef HAVE_NATIVE_mpn_com_n
#undef HAVE_NATIVE_mpn_divrem
#undef HAVE_NATIVE_mpn_divrem_2
#undef HAVE_NATIVE_mpn_divrem_newton
#undef HAVE_NATIVE_mpn_divrem_classic
#undef HAVE_NATIVE_mpn_dump
#undef HAVE_NATIVE_mpn_gcd
#undef HAVE_NATIVE_mpn_gcd_1
#undef HAVE_NATIVE_mpn_gcd_finda
#undef HAVE_NATIVE_mpn_gcdext
#undef HAVE_NATIVE_mpn_get_str
#undef HAVE_NATIVE_mpn_invert_limb
#undef HAVE_NATIVE_mpn_ior_n
#undef HAVE_NATIVE_mpn_iorn_n
#undef HAVE_NATIVE_mpn_mul
#undef HAVE_NATIVE_mpn_mul_2
#undef HAVE_NATIVE_mpn_mul_3
#undef HAVE_NATIVE_mpn_mul_4
#undef HAVE_NATIVE_mpn_mul_n
#undef HAVE_NATIVE_mpn_nand_n
#undef HAVE_NATIVE_mpn_nior_n
#undef HAVE_NATIVE_mpn_perfect_square_p
#undef HAVE_NATIVE_mpn_preinv_mod_1
#undef HAVE_NATIVE_mpn_random2
#undef HAVE_NATIVE_mpn_random
#undef HAVE_NATIVE_mpn_rawrandom
#undef HAVE_NATIVE_mpn_scan0
#undef HAVE_NATIVE_mpn_scan1
#undef HAVE_NATIVE_mpn_set_str
#undef HAVE_NATIVE_mpn_sqrtrem
#undef HAVE_NATIVE_mpn_sqr_diagonal
#undef HAVE_NATIVE_mpn_sub
#undef HAVE_NATIVE_mpn_sub_1
#undef HAVE_NATIVE_mpn_udiv_w_sdiv
#undef HAVE_NATIVE_mpn_xor_n
#undef HAVE_NATIVE_mpn_xnor_n
#undef HAVE_NATIVE_mpn_add_n
#undef HAVE_NATIVE_mpn_add_nc
#undef HAVE_NATIVE_mpn_sub_n
#undef HAVE_NATIVE_mpn_sub_nc
#undef HAVE_NATIVE_mpn_addmul_1
#undef HAVE_NATIVE_mpn_addmul_1c
#undef HAVE_NATIVE_mpn_submul_1
#undef HAVE_NATIVE_mpn_submul_1c
#undef HAVE_NATIVE_mpn_copyd
#undef HAVE_NATIVE_mpn_copyi
#undef HAVE_NATIVE_mpn_divexact_1
#undef HAVE_NATIVE_mpn_divexact_by3c
#undef HAVE_NATIVE_mpn_divrem_1
#undef HAVE_NATIVE_mpn_divrem_1c
#undef HAVE_NATIVE_mpn_hamdist
#undef HAVE_NATIVE_mpn_popcount
#undef HAVE_NATIVE_mpn_lshift
#undef HAVE_NATIVE_mpn_rshift
#undef HAVE_NATIVE_mpn_mod_1
#undef HAVE_NATIVE_mpn_mod_1c
#undef HAVE_NATIVE_mpn_modexact_1_odd
#undef HAVE_NATIVE_mpn_modexact_1c_odd
#undef HAVE_NATIVE_mpn_mul_1
#undef HAVE_NATIVE_mpn_mul_1c
#undef HAVE_NATIVE_mpn_mul_basecase
#undef HAVE_NATIVE_mpn_sqr_basecase
#undef HAVE_NATIVE_mpn_umul_ppmm
#undef HAVE_NATIVE_mpn_udiv_qrnnd
/* For the Intel Pentium assembler code */
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_1c 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_mod_1 1
#define HAVE_NATIVE_mpn_mod_1c 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* a dummy to make autoheader happy */
#undef HAVE_NATIVE_
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,550 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_alpha
#undef HAVE_HOST_CPU_alphaev5
#undef HAVE_HOST_CPU_alphaev6
#undef HAVE_HOST_CPU_alphaev67
#undef HAVE_HOST_CPU_m68k
#undef HAVE_HOST_CPU_m68000
#undef HAVE_HOST_CPU_m68010
#undef HAVE_HOST_CPU_m68020
#undef HAVE_HOST_CPU_m68030
#undef HAVE_HOST_CPU_m68040
#undef HAVE_HOST_CPU_m68060
#undef HAVE_HOST_CPU_m68302
#undef HAVE_HOST_CPU_m68360
#undef HAVE_HOST_CPU_powerpc604
#undef HAVE_HOST_CPU_powerpc604e
#undef HAVE_HOST_CPU_powerpc750
#undef HAVE_HOST_CPU_powerpc7400
#undef HAVE_HOST_CPU_sparc
#undef HAVE_HOST_CPU_sparcv8
#undef HAVE_HOST_CPU_supersparc
#undef HAVE_HOST_CPU_sparclite
#undef HAVE_HOST_CPU_microsparc
#undef HAVE_HOST_CPU_ultrasparc1
#undef HAVE_HOST_CPU_ultrasparc2
#undef HAVE_HOST_CPU_sparc64
#undef HAVE_HOST_CPU_hppa1_0
#undef HAVE_HOST_CPU_hppa1_1
#undef HAVE_HOST_CPU_hppa2_0n
#undef HAVE_HOST_CPU_hppa2_0w
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#define HAVE_HOST_CPU_pentium3 1
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
/* a dummy to make autoheader happy */
#undef HAVE_HOST_CPU_
/* Define one (and only one) of these for the CPU host family.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_FAMILY_power
#undef HAVE_HOST_CPU_FAMILY_powerpc
#define HAVE_HOST_CPU_FAMILY_x86 1
/* Define if we have native implementation of function.
(use just one of the three following defines)
*/
#undef HAVE_NATIVE_mpn_add
#undef HAVE_NATIVE_mpn_add_1
#undef HAVE_NATIVE_mpn_addmul_2
#undef HAVE_NATIVE_mpn_addmul_3
#undef HAVE_NATIVE_mpn_addmul_4
#undef HAVE_NATIVE_mpn_addsub_n
#undef HAVE_NATIVE_mpn_addsub_nc
#undef HAVE_NATIVE_mpn_and_n
#undef HAVE_NATIVE_mpn_andn_n
#undef HAVE_NATIVE_mpn_bdivmod
#undef HAVE_NATIVE_mpn_cmp
#undef HAVE_NATIVE_mpn_com_n
#undef HAVE_NATIVE_mpn_divrem
#undef HAVE_NATIVE_mpn_divrem_2
#undef HAVE_NATIVE_mpn_divrem_newton
#undef HAVE_NATIVE_mpn_divrem_classic
#undef HAVE_NATIVE_mpn_dump
#undef HAVE_NATIVE_mpn_gcd
#undef HAVE_NATIVE_mpn_gcd_1
#undef HAVE_NATIVE_mpn_gcd_finda
#undef HAVE_NATIVE_mpn_gcdext
#undef HAVE_NATIVE_mpn_get_str
#undef HAVE_NATIVE_mpn_invert_limb
#undef HAVE_NATIVE_mpn_ior_n
#undef HAVE_NATIVE_mpn_iorn_n
#undef HAVE_NATIVE_mpn_mul
#undef HAVE_NATIVE_mpn_mul_2
#undef HAVE_NATIVE_mpn_mul_3
#undef HAVE_NATIVE_mpn_mul_4
#undef HAVE_NATIVE_mpn_mul_n
#undef HAVE_NATIVE_mpn_nand_n
#undef HAVE_NATIVE_mpn_nior_n
#undef HAVE_NATIVE_mpn_perfect_square_p
#undef HAVE_NATIVE_mpn_preinv_mod_1
#undef HAVE_NATIVE_mpn_random2
#undef HAVE_NATIVE_mpn_random
#undef HAVE_NATIVE_mpn_rawrandom
#undef HAVE_NATIVE_mpn_scan0
#undef HAVE_NATIVE_mpn_scan1
#undef HAVE_NATIVE_mpn_set_str
#undef HAVE_NATIVE_mpn_sqrtrem
#undef HAVE_NATIVE_mpn_sqr_diagonal
#undef HAVE_NATIVE_mpn_sub
#undef HAVE_NATIVE_mpn_sub_1
#undef HAVE_NATIVE_mpn_udiv_w_sdiv
#undef HAVE_NATIVE_mpn_xor_n
#undef HAVE_NATIVE_mpn_xnor_n
#undef HAVE_NATIVE_mpn_add_n
#undef HAVE_NATIVE_mpn_add_nc
#undef HAVE_NATIVE_mpn_sub_n
#undef HAVE_NATIVE_mpn_sub_nc
#undef HAVE_NATIVE_mpn_addmul_1
#undef HAVE_NATIVE_mpn_addmul_1c
#undef HAVE_NATIVE_mpn_submul_1
#undef HAVE_NATIVE_mpn_submul_1c
#undef HAVE_NATIVE_mpn_copyd
#undef HAVE_NATIVE_mpn_copyi
#undef HAVE_NATIVE_mpn_divexact_1
#undef HAVE_NATIVE_mpn_divexact_by3c
#undef HAVE_NATIVE_mpn_divrem_1
#undef HAVE_NATIVE_mpn_divrem_1c
#undef HAVE_NATIVE_mpn_hamdist
#undef HAVE_NATIVE_mpn_popcount
#undef HAVE_NATIVE_mpn_lshift
#undef HAVE_NATIVE_mpn_rshift
#undef HAVE_NATIVE_mpn_mod_1
#undef HAVE_NATIVE_mpn_mod_1c
#undef HAVE_NATIVE_mpn_modexact_1_odd
#undef HAVE_NATIVE_mpn_modexact_1c_odd
#undef HAVE_NATIVE_mpn_mul_1
#undef HAVE_NATIVE_mpn_mul_1c
#undef HAVE_NATIVE_mpn_mul_basecase
#undef HAVE_NATIVE_mpn_sqr_basecase
#undef HAVE_NATIVE_mpn_umul_ppmm
#undef HAVE_NATIVE_mpn_udiv_qrnnd
/* For the Intel P3 assembler code */
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_1c 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_mod_1 1
#define HAVE_NATIVE_mpn_mod_1c 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* a dummy to make autoheader happy */
#undef HAVE_NATIVE_
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -1,554 +0,0 @@
/* Templates for defines setup by configure.
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
/* Define one (and only one) of these for the CPU host.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_alpha
#undef HAVE_HOST_CPU_alphaev5
#undef HAVE_HOST_CPU_alphaev6
#undef HAVE_HOST_CPU_alphaev67
#undef HAVE_HOST_CPU_m68k
#undef HAVE_HOST_CPU_m68000
#undef HAVE_HOST_CPU_m68010
#undef HAVE_HOST_CPU_m68020
#undef HAVE_HOST_CPU_m68030
#undef HAVE_HOST_CPU_m68040
#undef HAVE_HOST_CPU_m68060
#undef HAVE_HOST_CPU_m68302
#undef HAVE_HOST_CPU_m68360
#undef HAVE_HOST_CPU_powerpc604
#undef HAVE_HOST_CPU_powerpc604e
#undef HAVE_HOST_CPU_powerpc750
#undef HAVE_HOST_CPU_powerpc7400
#undef HAVE_HOST_CPU_sparc
#undef HAVE_HOST_CPU_sparcv8
#undef HAVE_HOST_CPU_supersparc
#undef HAVE_HOST_CPU_sparclite
#undef HAVE_HOST_CPU_microsparc
#undef HAVE_HOST_CPU_ultrasparc1
#undef HAVE_HOST_CPU_ultrasparc2
#undef HAVE_HOST_CPU_sparc64
#undef HAVE_HOST_CPU_hppa1_0
#undef HAVE_HOST_CPU_hppa1_1
#undef HAVE_HOST_CPU_hppa2_0n
#undef HAVE_HOST_CPU_hppa2_0w
#undef HAVE_HOST_CPU_i386
#undef HAVE_HOST_CPU_i486
#undef HAVE_HOST_CPU_i586
#undef HAVE_HOST_CPU_i686
#undef HAVE_HOST_CPU_pentium
#undef HAVE_HOST_CPU_pentiummmx
#undef HAVE_HOST_CPU_pentiumpro
#undef HAVE_HOST_CPU_pentium2
#undef HAVE_HOST_CPU_pentium3
#define HAVE_HOST_CPU_pentium4 1
#undef HAVE_HOST_CPU_k5
#undef HAVE_HOST_CPU_k6
#undef HAVE_HOST_CPU_k62
#undef HAVE_HOST_CPU_k63
#undef HAVE_HOST_CPU_athlon
/* a dummy to make autoheader happy */
#undef HAVE_HOST_CPU_
/* Define one (and only one) of these for the CPU host family.
Only hosts that are going to be tested for need to be in this list,
not everything that can possibly be selected.
*/
#undef HAVE_HOST_CPU_FAMILY_power
#undef HAVE_HOST_CPU_FAMILY_powerpc
#define HAVE_HOST_CPU_FAMILY_x86 1
/* Define if we have native implementation of function.
(use just one of the three following defines)
*/
#undef HAVE_NATIVE_mpn_add
#undef HAVE_NATIVE_mpn_add_1
#undef HAVE_NATIVE_mpn_addmul_2
#undef HAVE_NATIVE_mpn_addmul_3
#undef HAVE_NATIVE_mpn_addmul_4
#undef HAVE_NATIVE_mpn_addsub_n
#undef HAVE_NATIVE_mpn_addsub_nc
#undef HAVE_NATIVE_mpn_and_n
#undef HAVE_NATIVE_mpn_andn_n
#undef HAVE_NATIVE_mpn_bdivmod
#undef HAVE_NATIVE_mpn_cmp
#undef HAVE_NATIVE_mpn_com_n
#undef HAVE_NATIVE_mpn_divrem
#undef HAVE_NATIVE_mpn_divrem_2
#undef HAVE_NATIVE_mpn_divrem_newton
#undef HAVE_NATIVE_mpn_divrem_classic
#undef HAVE_NATIVE_mpn_dump
#undef HAVE_NATIVE_mpn_gcd
#undef HAVE_NATIVE_mpn_gcd_1
#undef HAVE_NATIVE_mpn_gcd_finda
#undef HAVE_NATIVE_mpn_gcdext
#undef HAVE_NATIVE_mpn_get_str
#undef HAVE_NATIVE_mpn_invert_limb
#undef HAVE_NATIVE_mpn_ior_n
#undef HAVE_NATIVE_mpn_iorn_n
#undef HAVE_NATIVE_mpn_mul
#undef HAVE_NATIVE_mpn_mul_2
#undef HAVE_NATIVE_mpn_mul_3
#undef HAVE_NATIVE_mpn_mul_4
#undef HAVE_NATIVE_mpn_mul_n
#undef HAVE_NATIVE_mpn_nand_n
#undef HAVE_NATIVE_mpn_nior_n
#undef HAVE_NATIVE_mpn_perfect_square_p
#undef HAVE_NATIVE_mpn_preinv_mod_1
#undef HAVE_NATIVE_mpn_random2
#undef HAVE_NATIVE_mpn_random
#undef HAVE_NATIVE_mpn_rawrandom
#undef HAVE_NATIVE_mpn_scan0
#undef HAVE_NATIVE_mpn_scan1
#undef HAVE_NATIVE_mpn_set_str
#undef HAVE_NATIVE_mpn_sqrtrem
#undef HAVE_NATIVE_mpn_sqr_diagonal
#undef HAVE_NATIVE_mpn_sub
#undef HAVE_NATIVE_mpn_sub_1
#undef HAVE_NATIVE_mpn_udiv_w_sdiv
#undef HAVE_NATIVE_mpn_xor_n
#undef HAVE_NATIVE_mpn_xnor_n
#undef HAVE_NATIVE_mpn_add_n
#undef HAVE_NATIVE_mpn_add_nc
#undef HAVE_NATIVE_mpn_sub_n
#undef HAVE_NATIVE_mpn_sub_nc
#undef HAVE_NATIVE_mpn_addmul_1
#undef HAVE_NATIVE_mpn_addmul_1c
#undef HAVE_NATIVE_mpn_submul_1
#undef HAVE_NATIVE_mpn_submul_1c
#undef HAVE_NATIVE_mpn_copyd
#undef HAVE_NATIVE_mpn_copyi
#undef HAVE_NATIVE_mpn_divexact_1
#undef HAVE_NATIVE_mpn_divexact_by3c
#undef HAVE_NATIVE_mpn_divrem_1
#undef HAVE_NATIVE_mpn_divrem_1c
#undef HAVE_NATIVE_mpn_hamdist
#undef HAVE_NATIVE_mpn_popcount
#undef HAVE_NATIVE_mpn_lshift
#undef HAVE_NATIVE_mpn_rshift
#undef HAVE_NATIVE_mpn_mod_1
#undef HAVE_NATIVE_mpn_mod_1c
#undef HAVE_NATIVE_mpn_modexact_1_odd
#undef HAVE_NATIVE_mpn_modexact_1c_odd
#undef HAVE_NATIVE_mpn_mul_1
#undef HAVE_NATIVE_mpn_mul_1c
#undef HAVE_NATIVE_mpn_mul_basecase
#undef HAVE_NATIVE_mpn_sqr_basecase
#undef HAVE_NATIVE_mpn_umul_ppmm
#undef HAVE_NATIVE_mpn_udiv_qrnnd
/* For the Intel P4 assembler code */
#define HAVE_NATIVE_mpn_add_n 1
#define HAVE_NATIVE_mpn_add_nc 1
#define HAVE_NATIVE_mpn_sub_n 1
#define HAVE_NATIVE_mpn_sub_nc 1
#define HAVE_NATIVE_mpn_addmul_1 1
#define HAVE_NATIVE_mpn_addmul_1c 1
#define HAVE_NATIVE_mpn_submul_1 1
#define HAVE_NATIVE_mpn_submul_1c 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
#define HAVE_NATIVE_mpn_divexact_1 1
#define HAVE_NATIVE_mpn_divexact_by3c 1
#define HAVE_NATIVE_mpn_divrem_1 1
#define HAVE_NATIVE_mpn_divrem_1c 1
#define HAVE_NATIVE_mpn_hamdist 1
#define HAVE_NATIVE_mpn_popcount 1
#define HAVE_NATIVE_mpn_lshift 1
#define HAVE_NATIVE_mpn_rshift 1
#define HAVE_NATIVE_mpn_mod_1 1
#define HAVE_NATIVE_mpn_mod_1c 1
#define HAVE_NATIVE_mpn_modexact_1_odd 1
#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
#define HAVE_NATIVE_mpn_mul_1c 1
#define HAVE_NATIVE_mpn_mul_basecase 1
#define HAVE_NATIVE_mpn_sqr_basecase 1
#define HAVE_NATIVE_mpn_umul_ppmm 1
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* a dummy to make autoheader happy */
#undef HAVE_NATIVE_
/* The gmp-mparam.h to update when tuning. */
#undef GMP_MPARAM_H_SUGGEST
/* Define if you have the `alarm' function. */
#undef HAVE_ALARM
/* Define if alloca() works (via gmp-impl.h). */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
/* Define if the compiler accepts gcc style __attribute__ ((const)) */
#undef HAVE_ATTRIBUTE_CONST
/* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
#undef HAVE_ATTRIBUTE_MALLOC
/* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
#undef HAVE_ATTRIBUTE_MODE
/* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
#undef HAVE_ATTRIBUTE_NORETURN
/* Define if tests/libtests has calling conventions checking for the CPU */
#undef HAVE_CALLING_CONVENTIONS
/* Define if you have the `clock' function. */
#define HAVE_CLOCK 1
/* Define if you have the `clock_gettime' function. */
#undef HAVE_CLOCK_GETTIME
/* Define if you have the `cputime' function. */
#undef HAVE_CPUTIME
/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
*/
#define HAVE_DECL_FGETC 1
/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
*/
#define HAVE_DECL_FSCANF 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 0
/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
*/
#define HAVE_DECL_UNGETC 1
/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
don't. */
#define HAVE_DECL_VFPRINTF 1
/* Define if denormalized floats work. */
#define HAVE_DENORMS 1
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define one (and only one) of the following for the format of a `double'.
If your format is not among these choices, or you don't know what it is,
then leave all of them undefined.
"IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
#undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
#undef HAVE_DOUBLE_VAX_D
#undef HAVE_DOUBLE_VAX_G
#undef HAVE_DOUBLE_CRAY_CFP
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <fpu_control.h> header file. */
#undef HAVE_FPU_CONTROL_H
/* Define if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
/* Define if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
#define HAVE_INFS 1
/* Define if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define one (just one) of the following for the endiannes of `mp_limb_t'.
If the endianness is not a simple big or little, or you don't know what
it is, then leave both of these undefined. */
#undef HAVE_LIMB_BIG_ENDIAN
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_STD__LOCALE 1
/* Define if you have the `localeconv' function. */
#define HAVE_LOCALECONV 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if the system has the type `long double'. */
#define HAVE_LONG_DOUBLE 1
/* Define if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if you have the `lrand48' function. */
#undef HAVE_LRAND48
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define if you have the `mmap' function. */
#undef HAVE_MMAP
/* Define if you have the `mprotect' function. */
#undef HAVE_MPROTECT
/* Define if you have the `obstack_vprintf' function. */
#undef HAVE_OBSTACK_VPRINTF
/* Define if you have the `popen' function. */
#undef HAVE_POPEN
/* Define if you have the `processor_info' function. */
#undef HAVE_PROCESSOR_INFO
/* Define if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1
/* Define if the system has the type `quad_t'. */
#undef HAVE_QUAD_T
#define HAVE_RAISE 1
/* Define if you have the `read_real_time' function. */
#undef HAVE_READ_REAL_TIME
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define if you have the `sigaltstack' function. */
#undef HAVE_SIGALTSTACK
/* Define if you have the `sigstack' function. */
#undef HAVE_SIGSTACK
/* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
#define HAVE_SPEED_CYCLECOUNTER 2
/* Define if the system has the type `stack_t'. */
#undef HAVE_STACK_T
/* Define if <stdarg.h> exists and works */
#define HAVE_STDARG 1
/* Define if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if cpp supports the ANSI # stringizing operator. */
#define HAVE_STRINGIZE 1
/* Define if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the `strnlen' function. */
#define HAVE_STRNLEN 1
/* Define if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define if you have the `sysconf' function. */
#undef HAVE_SYSCONF
/* Define if you have the `sysctl' function. */
#undef HAVE_SYSCTL
/* Define if you have the `sysctlbyname' function. */
#undef HAVE_SYSCTLBYNAME
/* Define if you have the `syssgi' function. */
#undef HAVE_SYSSGI
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/processor.h> header file. */
#undef HAVE_SYS_PROCESSOR_H
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define if you have the <sys/syssgi.h> header file. */
#undef HAVE_SYS_SYSSGI_H
/* Define if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
/* Define if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the `times' function. */
#undef HAVE_TIMES
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have vsnprintf and it works properly. */
#undef HAVE_VSNPRINTF
/* Assembler local label prefix */
#undef LSYM_PREFIX
/* Define if you have the `fesetround' function via the <fenv.h> header file.
*/
#undef MPFR_HAVE_FESETROUND
#define HAVE_SSTREAM 1
/* Name of package */
#define PACKAGE "mpir"
/* Define if compiler has function prototypes */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of a `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* Define if sscanf requires writable inputs */
#undef SSCANF_WRITABLE_INPUT
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
#define TUNE_KARATSUBA_SQR_MAX 67
/* ./configure --enable-assert option, to enable some ASSERT()s */
#undef WANT_ASSERT
/* ./configure --enable-fft option, to enable FFTs for multiplication */
#define WANT_FFT 1
/* Define to 1 if --enable-profiling=gprof */
#undef WANT_PROFILING_GPROF
/* Define to 1 if --enable-profiling=prof */
#undef WANT_PROFILING_PROF
/* --enable-alloca=yes */
#define WANT_TMP_ALLOCA 1
/* --enable-alloca=debug */
#undef WANT_TMP_DEBUG
/* --enable-alloca=malloc-notreentrant */
#undef WANT_TMP_NOTREENTRANT
/* --enable-alloca=malloc-reentrant */
#undef WANT_TMP_REENTRANT
/* Define if your processor stores words with the most significant byte first
(like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
*/
#undef YYTEXT_POINTER
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#ifndef __cplusplus
#define inline __inline
#endif
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
#ifdef _MSC_VER
#define access _access
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define alloca _alloca
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define va_copy(d, s) (d) = (s)
#endif

View File

@ -47,6 +47,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\core2\
call ..\out_copy_rename ..\..\mpn\x86_64w\core2\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -101,10 +102,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -114,6 +115,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\core2\
call ..\out_copy_rename ..\..\mpn\x86_64w\core2\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -174,10 +176,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -71,6 +71,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -115,10 +117,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -128,6 +130,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -173,13 +177,12 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@ -187,6 +190,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -236,10 +241,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -249,6 +254,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -299,13 +306,12 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>

View File

@ -46,6 +46,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\k10\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\k10\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -100,10 +102,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -113,6 +115,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\k10\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\k10\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -173,10 +177,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -46,6 +46,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -100,10 +102,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -113,6 +115,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -173,10 +177,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -46,6 +46,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\nehalem\
call ..\out_copy_rename ..\..\mpn\x86_64w\nehalem\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -100,10 +102,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -113,6 +115,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\nehalem\
call ..\out_copy_rename ..\..\mpn\x86_64w\nehalem\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -173,10 +177,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p0\
call ..\out_copy_rename ..\..\mpn\x86w\p0\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -97,10 +99,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -110,6 +112,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p0\
call ..\out_copy_rename ..\..\mpn\x86w\p0\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -163,10 +167,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p3\
call ..\out_copy_rename ..\..\mpn\x86w\p3\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -97,10 +98,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -110,6 +111,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p3\
call ..\out_copy_rename ..\..\mpn\x86w\p3\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -162,10 +164,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p4\
call ..\out_copy_rename ..\..\mpn\x86w\p4\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -97,10 +99,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -110,6 +112,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p4\
call ..\out_copy_rename ..\..\mpn\x86w\p4\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -162,10 +166,10 @@ call ..\out_copy_rename "..\..\gmp-mparam.h" ..\dll\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\dll\$(IntDir) gmp.h
call ..\out_copy_rename "..\..\mpirxx.h" ..\dll\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir) mpir.dll
call ..\out_copy_rename "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir) mpir.exp
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).dll" ..\dll\$(IntDir)\mpir.dll
copy "$(TargetDir)$(TargetName).exp" ..\dll\$(IntDir)\mpir.exp
copy "$(TargetDir)$(TargetName).lib" ..\dll\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\dll\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -0,0 +1,6 @@
@echo off
echo /* generated by gen_config_h.bat */ >cfg.h
for /f %%a in (%1cfg.h) do (if "%%a" NEQ "" (echo #define HAVE_NATIVE_%%a 1 >>cfg.h))
type ..\cfg.h >>cfg.h
call ..\out_copy_rename cfg.h ..\..\ config.h

View File

@ -45,6 +45,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\core2\
call ..\out_copy_rename ..\..\mpn\x86_64w\core2\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -89,8 +91,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -100,6 +102,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\core2\
call ..\out_copy_rename ..\..\mpn\x86_64w\core2\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -149,8 +153,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -93,8 +93,8 @@ call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) mpirxx.h
call ..\out_copy_rename ..\..\mpirxx.h "$(TargetDir)" gmpxx.h
call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpirxx.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpirxx.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpirxx.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpirxx.pdb
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@ -129,8 +129,8 @@ call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) mpirxx.h
call ..\out_copy_rename ..\..\mpirxx.h "$(TargetDir)" gmpxx.h
call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpirxx.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpirxx.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpirxx.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpirxx.pdb
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@ -160,8 +160,8 @@ call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) mpirxx.h
call ..\out_copy_rename ..\..\mpirxx.h "$(TargetDir)" gmpxx.h
call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpirxx.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpirxx.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpirxx.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpirxx.pdb
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@ -199,8 +199,8 @@ call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) mpirxx.h
call ..\out_copy_rename ..\..\mpirxx.h "$(TargetDir)" gmpxx.h
call ..\out_copy_rename ..\..\mpirxx.h ..\lib\$(IntDir) gmpxx.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpirxx.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpirxx.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpirxx.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpirxx.pdb
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>

View File

@ -71,6 +71,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -104,8 +106,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -115,6 +117,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -151,8 +155,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -162,6 +166,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -195,8 +201,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -206,6 +212,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\generic\
call ..\out_copy_rename ..\..\mpn\generic\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -242,8 +250,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -45,6 +45,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\k10\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\k10\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -89,8 +90,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -100,6 +101,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\k10\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\k10\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -151,8 +153,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -45,6 +45,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -89,8 +90,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -100,6 +101,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\k8\
call ..\out_copy_rename ..\..\mpn\x86_64w\k8\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -151,8 +153,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -45,6 +45,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\nehalem\
call ..\out_copy_rename ..\..\mpn\x86_64w\nehalem\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -89,8 +91,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -100,6 +102,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86_64w\nehalem\
call ..\out_copy_rename ..\..\mpn\x86_64w\nehalem\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -149,8 +153,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p0\
call ..\out_copy_rename ..\..\mpn\x86w\p0\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -86,8 +87,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -97,6 +98,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p0\
call ..\out_copy_rename ..\..\mpn\x86w\p0\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -135,8 +137,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,7 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p3\
call ..\out_copy_rename ..\..\mpn\x86w\p3\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -86,8 +87,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -97,6 +98,7 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p3\
call ..\out_copy_rename ..\..\mpn\x86w\p3\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -135,8 +137,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -48,6 +48,8 @@
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p4\
call ..\out_copy_rename ..\..\mpn\x86w\p4\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -86,8 +88,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>
@ -97,6 +99,8 @@ echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
<PreBuildEvent>
<Command>call ..\gen_mpir_h $(Platform)
call ..\gen_config_h ..\..\mpn\x86w\p4\
call ..\out_copy_rename ..\..\mpn\x86w\p4\gmp-mparam.h ..\..\ gmp-mparam.h
</Command>
</PreBuildEvent>
<CustomBuildStep>
@ -135,8 +139,8 @@ call ..\out_copy_rename "..\..\config.h" ..\lib\$(IntDir) config.h
call ..\out_copy_rename "..\..\gmp-mparam.h" ..\lib\$(IntDir) gmp-mparam.h
call ..\out_copy_rename "..\..\mpir.h" ..\lib\$(IntDir) gmp.h
call ..\out_copy_rename "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) mpir.lib
call ..\out_copy_rename "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) mpir.pdb
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)\mpir.lib
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir)\mpir.pdb
echo $(ProjectDir)+$(IntDir)+$(TargetName)+$(TargetExt) &gt; ..\last_build.txt
</Command>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<LIBS>$(SolutionDir)dll\$(Platform)\$(Configuration)\mpir.lib;$(LIBS)</LIBS>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
<OutDir>$(SolutionDir)mpir-tests\$(PlatformName)\$(Configuration)\</OutDir>
<IntDir>$(PlatformName)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<AdditionalIncludeDirectories>$(SolutionDir)..\;$(SolutionDir)$(PlatformName);$(SolutionDir)..\tests</AdditionalIncludeDirectories>
<PreprocessorDefinitions>__GMP_LIBGMP_DLL</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>$(LIBS);$(OutDir)\add-test-lib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
</Link>
<PreBuildEvent>
<Command>if exist $(Bindir)$(OutDir)gmp-mparam.h (copy $(Bindir)$(OutDir)gmp-mparam.h ..\..\..\) else (echo $(Bindir)$(OutDir)gmp-mparam.h is not present )</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="LIBS">
<Value>$(LIBS)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<LIBS>$(SolutionDir)lib\$(Platform)\$(Configuration)\mpir.lib;$(SolutionDir)lib\$(Platform)\$(Configuration)\mpirxx.lib;$(LIBS)</LIBS>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
<OutDir>$(SolutionDir)mpir-tests\$(PlatformName)\$(Configuration)\</OutDir>
<IntDir>$(PlatformName)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalIncludeDirectories>$(SolutionDir)..\;$(SolutionDir)$(PlatformName);$(SolutionDir)..\tests</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalDependencies>$(LIBS);$(OutDir)\add-test-lib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
</Link>
<PreBuildEvent>
<Command>if exist $(Bindir)$(OutDir)gmp-mparam.h (copy $(Bindir)$(OutDir)gmp-mparam.h ..\..\..\) else (echo $(Bindir)$(OutDir)gmp-mparam.h is not present )</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="LIBS">
<Value>$(LIBS)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>

View File

@ -0,0 +1,87 @@
#
# Python script for running GMP tests
#
# Run this from the build.vc9\mpir-tests directory
from __future__ import print_function
import os
import shutil
import string
import copy
import subprocess
import code
import sys
f = open("..\\last_build.txt")
l = f.readline()
f.close()
d = l[ : -2].split('+')
print("Testing project", d[0][d[0].find('gmp') : - 1], "in", d[1])
shutil.copy("..\\dll\\" + d[1] + "mpir.dll", os.getcwd())
dir_list = []
for x in os.walk(os.getcwd()) :
if x[0] == os.getcwd() :
dir_list += x[1]
else :
break
prj_list = []
for x in dir_list :
l = os.listdir(os.getcwd() + '\\' + x)
for f in l :
y = os.path.splitext(f)
if y[1] == '.vcxproj' and y[0] != 'add-test-lib' :
prj_list += [y[0]]
prj_list.sort()
exe_list = []
try :
l = os.listdir(os.getcwd() + '\\' + d[1])
except :
print("Tests have not been built for this configuration")
os._exit(-1)
for f in l :
x = os.path.splitext(f)
if x[1] == '.exe' :
exe_list += [x[0]]
exe_list.sort()
if len(exe_list) == 0 :
print("No executable test files for this configuration")
os._exit(-1)
build_fail = 0
run_ok = 0
run_fail = 0
for i in prj_list :
if i in exe_list :
ef = '.\\' + d[1] + '\\' + i + '.exe'
prc = subprocess.Popen( ef, stdout = subprocess.PIPE,
stderr = subprocess.STDOUT, creationflags = 0x08000000 )
output = prc.communicate()[0]
if prc.returncode :
print(i, ': ERROR (', prc.returncode, ' )')
run_fail += 1
else :
print(i, ': success')
run_ok += 1
if output :
print(' ', output.decode(), end = '')
else :
print("Build failure for {0}".format(i))
build_fail += 1
print(build_fail + run_ok + run_fail, "tests:")
if build_fail > 0 :
print("\t{0} failed to build".format(build_fail))
if run_ok > 0 :
print("\t{0} ran correctly".format(run_ok))
if run_fail > 0 :
print("\t{0} failed".format(run_fail))
if len(sys.argv) == 1 :
try :
input(".. completed - press ENTER")
except :
pass
else :
sys.exit(build_fail + run_fail)

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="UserMacros">
<LIBS>$(SolutionDir)dll\$(Platform)\$(Configuration)\mpir.lib;$(LIBS)</LIBS>
<LIBS>$(SolutionDir)lib\$(Platform)\$(Configuration)\mpir.lib;$(SolutionDir)lib\$(Platform)\$(Configuration)\mpirxx.lib;$(LIBS)</LIBS>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
@ -10,9 +10,8 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalIncludeDirectories>$(SolutionDir)..\;$(SolutionDir)$(PlatformName);$(SolutionDir)..\tests</AdditionalIncludeDirectories>
<PreprocessorDefinitions>__GMP_LIBGMP_DLL</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalDependencies>$(LIBS);$(OutDir)\add-test-lib.lib;%(AdditionalDependencies)</AdditionalDependencies>

View File

@ -90,14 +90,14 @@ The supported platforms and library formats are as follows:
dll_mpir_nehalem - MPIR DLL using Intel Core2 assembler (x64)
Before any of these libraries is built the appropriate MPIR
configuration file is automatically copied into config.h. After a
configuration file is generated and copied into config.h. After a
static library is built its config.h file is copied into the output
directory; the library and its associated files are then copied to
the 'lib' sub-directory within the VC++ solution folder (build.vc10).
Simlarly when a DLL is built, the resulting DLL, its export libraries
and its debug symbol file are copied to the files mpir.dll, mpir.exp,
mpir.lib and mpir.pdb within the 'dll' sub-directory.
This means that the 'dll' and 'lib' sub-directories respectively
contain the last MPIR DLLs and static libraries built. These are
then the libraries used to build software that requires MPIR or GMP.
@ -148,13 +148,30 @@ is not needed when they are used.
The Tests
=========
The tests are not useful for DLL versions of MPIR because they use
internal features of MPIR that are not exported by the DLLs. Hence
they fail to link in almost all cases. The tests also use the C++
library so for testing MPIR static libraries both the desired
version of MPIR and the C++ library must be built before the tests
are run. This is not necessary for MPIR DLLs as they contain the
C++ routines.
The tests use the static library versions of MPIR by default but if
the DLL version is to be tested the file:
mpir\build.vc10\mpir-tests\dll-test-config.props
should be copied into:
mpir\build.vc10\mpir-tests\test-config.props
before the tests are built. Copying the file:
mpir\build.vc10\mpir-tests\lib-test-config.props
into:
mpir\build.vc10\mpir-tests\test-config.props
resets the tests to use the MPIR static libraries.
The tests also use the C++ library functions so for testing MPIR static
libraries both the desired version of MPIR and the C++ library must be
built before the tests are built and run. This is not necessary for
MPIR DLLs as they contain the C++ routines.
There is a separate solution for the MPIR tests: mpir-tests.sln. In
Visual Studio 2010 these are in build.vc10 folder. These tests must
@ -170,47 +187,15 @@ The MPIR tests are all configured using the property file:
located in the mpir-tests sub-directory. These cover the C and the
C++ tests for win32 and 64 builds in both release and debug
configurations. All these property files use an IDE macro named
$(BinDir) that determines whether the tests are applied to the the
static LIB or the DLL versions versions of the libraries. The
default is:
$(BinDir) = $(SolutionDir)lib
for linking the tests to the static libraries but this can be
changed to
$(BinDir) = $(SolutionDir)dll
to link the test to the DLL libraries. A second macro $(LIBS)
is also needed to set the libaries to be used:
$(BinDir)$(PlatformName)\$(ConfigurationName)\mpir.lib
for testing the DLL and
$(BinDir)$(PlatformName)\$(ConfigurationName)\mpir.lib
$(BinDir)$(PlatformName)\$(ConfigurationName)\mpirxx.lib
for testing the static libraries (enter these with a ' ' between
them when setting up the macro).
Note, however, tha the DLL tests are not useful at the moment
because they use internal features of MPIR that are not exported
by the DLLs. Hence they fail to link in almost all cases.
There is also another macro, $(TestDir), that specifies where
the executable test files are placed but changing this will
prevent the test scripts (see later) from being used.
configurations.
Test Automation
===============
After they have been built the tests cn be run using the
Python script run-tests.py in the build.vc10\mpir-tests
directory. To see the test output the python script
should be run in a command window from within these
sub-directories:
After they have been built the tests cn be run using the Python
script run-tests.py in the build.vc10\mpir-tests directory. To
see the test output the python script should be run in a command
window from within these sub-directories:
cmd>run-tests.py
@ -351,4 +336,4 @@ My thanks to:
4. Jeff Gilchrist for his help in testing, debugging and
improving the readme giving the VC++ build instructions
Brian Gladman, April 2010
Brian Gladman, July 2010

61
mpn/x86_64w/core2/cfg.h Normal file
View File

@ -0,0 +1,61 @@
mpn_and_n
mpn_andn_n
mpn_ior_n
mpn_iorn_n
mpn_nand_n
mpn_nior_n
mpn_xnor_n
mpn_xor_n
mpn_add_n
mpn_add_nc
mpn_addadd_n
mpn_addlsh1_n
mpn_addlsh_n
mpn_addmul_1
mpn_addmul_1c
mpn_addmul_2
mpn_addsub_n
mpn_add_err1
mpn_sub_err1
mpn_add_err2
mpn_sub_err2
mpn_com_n
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3
mpn_divexact_by3c
mpn_divexact_fobm1
mpn_divexact_byff
mpn_divrem_2
mpn_preinv_divrem_1
mpn_divrem_euclidean_qr_1
mpn_divrem_euclidean_qr_2
mpn_divrem_hensel_qr_1_2
mpn_hamdist
mpn_lshift
mpn_mod_1_1
mpn_mod_1_2
mpn_mod_1_3
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_1c
mpn_mul_2
mpn_mul_basecase
mpn_popcount
mpn_redc_basecase
mpn_rsh1add_n
mpn_rsh1sub_n
mpn_rsh_divrem_hensel_qr_1_2
mpn_rshift
mpn_sqr_basecase
mpn_store
mpn_sub_n
mpn_sub_nc
mpn_subadd_n
mpn_sublsh1_n
mpn_submul_1
mpn_submul_1c
mpn_umul_ppmm
mpn_udiv_qrnnd

74
mpn/x86_64w/k8/cfg.h Normal file
View File

@ -0,0 +1,74 @@
mpn_and_n
mpn_andn_n
mpn_ior_n
mpn_iorn_n
mpn_nand_n
mpn_nior_n
mpn_xnor_n
mpn_xor_n
mpn_add_err1
mpn_add_n
mpn_add_nc
mpn_addadd_n
mpn_addlsh1_n
mpn_addlsh_n
mpn_addlsh_nc
mpn_addmul_1
mpn_addmul_2
mpn_addsub_n
mpn_add_err2
mpn_sub_err2
mpn_com_n
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3
mpn_divexact_by3c
mpn_divexact_fobm1
mpn_divexact_byff
mpn_divrem_2
mpn_preinv_divrem_1
mpn_divrem_euclidean_qr_1
mpn_divrem_euclidean_qr_2
mpn_divrem_hensel_qr_1_1
mpn_divrem_hensel_qr_1_2
mpn_divrem_hensel_r_1
mpn_hamdist
mpn_lshift
mpn_lshift1
mpn_lshift2
mpn_lshift3
mpn_lshift4
mpn_lshift5
mpn_lshift6
mpn_lshiftc
mpn_mod_1_1
mpn_mod_1_2
mpn_mod_1_3
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_1c
mpn_mul_2
mpn_mul_basecase
mpn_popcount
mpn_redc_basecase
mpn_rsh1add_n
mpn_rsh1sub_n
mpn_rsh_divrem_hensel_qr_1_1
mpn_rsh_divrem_hensel_qr_1_2
mpn_rshift
mpn_rshift1
mpn_rshift2
mpn_sqr_basecase
mpn_sub_err1
mpn_sub_n
mpn_sub_nc
mpn_subadd_n
mpn_sublsh1_n
mpn_sublsh_n
mpn_sublsh_nc
mpn_submul_1
mpn_sumdiff_n
mpn_umul_ppmm
mpn_udiv_qrnnd

68
mpn/x86_64w/k8/k10/cfg.h Normal file
View File

@ -0,0 +1,68 @@
mpn_and_n
mpn_andn_n
mpn_ior_n
mpn_iorn_n
mpn_nand_n
mpn_nior_n
mpn_xnor_n
mpn_xor_n
mpn_add_err1
mpn_add_n
mpn_add_nc
mpn_addadd_n
mpn_addlsh1_n
mpn_addlsh_n
mpn_addlsh_nc
mpn_addmul_1
mpn_addmul_2
mpn_addsub_n
mpn_add_err2
mpn_sub_err2
mpn_com_n
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3
mpn_divexact_by3c
mpn_divexact_fobm1
mpn_divexact_byff
mpn_divrem_2
mpn_preinv_divrem_1
mpn_divrem_euclidean_qr_1
mpn_divrem_euclidean_qr_2
mpn_divrem_hensel_qr_1_1
mpn_divrem_hensel_qr_1_2
mpn_divrem_hensel_r_1
mpn_hamdist
mpn_lshift
mpn_lshift1
mpn_lshiftc
mpn_mod_1_1
mpn_mod_1_2
mpn_mod_1_3
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_1c
mpn_mul_2
mpn_mul_basecase
mpn_popcount
mpn_redc_basecase
mpn_rsh1add_n
mpn_rsh1sub_n
mpn_rsh_divrem_hensel_qr_1_1
mpn_rsh_divrem_hensel_qr_1_2
mpn_rshift
mpn_rshift1
mpn_sqr_basecase
mpn_sub_err1
mpn_sub_n
mpn_sub_nc
mpn_subadd_n
mpn_sublsh1_n
mpn_sublsh_n
mpn_sublsh_nc
mpn_submul_1
mpn_sumdiff_n
mpn_umul_ppmm
mpn_udiv_qrnnd

59
mpn/x86_64w/nehalem/cfg.h Normal file
View File

@ -0,0 +1,59 @@
mpn_and_n
mpn_andn_n
mpn_ior_n
mpn_iorn_n
mpn_nand_n
mpn_nior_n
mpn_xnor_n
mpn_xor_n
mpn_add_n
mpn_add_nc
mpn_addadd_n
mpn_addlsh1_n
mpn_addlsh_n
mpn_addmul_1
mpn_addmul_1c
mpn_addmul_2
mpn_addsub_n
mpn_add_err1
mpn_sub_err1
mpn_add_err2
mpn_sub_err2
mpn_com_n
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3
mpn_divexact_by3c
mpn_divexact_fobm1
mpn_divexact_byff
mpn_divrem_2
mpn_preinv_divrem_1
mpn_divrem_euclidean_qr_1
mpn_divrem_euclidean_qr_2
mpn_divrem_hensel_qr_1_2
mpn_hamdist
mpn_lshift
mpn_mod_1_1
mpn_mod_1_2
mpn_mod_1_3
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_1c
mpn_mul_2
mpn_mul_basecase
mpn_popcount
mpn_redc_basecase
mpn_rsh1add_n
mpn_rsh1sub_n
mpn_rsh_divrem_hensel_qr_1_2
mpn_rshift
mpn_sqr_basecase
mpn_store
mpn_sub_n
mpn_sub_nc
mpn_subadd_n
mpn_sublsh1_n
mpn_submul_1
mpn_submul_1c

20
mpn/x86w/p0/cfg.h Normal file
View File

@ -0,0 +1,20 @@
mpn_add_n
mpn_add_nc
mpn_sub_n
mpn_sub_nc
mpn_addmul_1
mpn_submul_1
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3c
mpn_divrem_1
mpn_divrem_1c
mpn_lshift
mpn_rshift
mpn_mod_1
mpn_mod_1c
mpn_mul_1
mpn_mul_basecase
mpn_umul_ppmm
mpn_udiv_qrnnd

67
mpn/x86w/p0/gmp-mparam.h Normal file
View File

@ -0,0 +1,67 @@
/* Intel P54 gmp-mparam.h -- Compiler/machine parameter header file.
Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004 Free Software
Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
/* For mpn/x86/pentium/mod_1.asm */
#define COUNT_LEADING_ZEROS_NEED_CLZ_TAB
/* 166MHz P54 */
/* Generated by tuneup.c, 2004-02-10, gcc 2.95 */
#define MUL_KARATSUBA_THRESHOLD 16
#define MUL_TOOM3_THRESHOLD 90
#define SQR_BASECASE_THRESHOLD 0 /* always */
#define SQR_KARATSUBA_THRESHOLD 22
#define SQR_TOOM3_THRESHOLD 122
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIV_DC_THRESHOLD 52
#define POWM_THRESHOLD 77
#define GCD_ACCEL_THRESHOLD 3
#define GCDEXT_THRESHOLD 13
#define JACOBI_BASE_METHOD 2
#define USE_PREINV_DIVREM_1 0
#define USE_PREINV_MOD_1 1 /* native */
#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */
#define GET_STR_DC_THRESHOLD 23
#define GET_STR_PRECOMPUTE_THRESHOLD 33
#define SET_STR_THRESHOLD 2788
#define MUL_FFT_TABLE { 432, 928, 1664, 3584, 10240, 40960, 0 }
#define MUL_FFT_MODF_THRESHOLD 448
#define MUL_FFT_THRESHOLD 3328
#define SQR_FFT_TABLE { 496, 928, 1920, 4608, 10240, 40960, 0 }
#define SQR_FFT_MODF_THRESHOLD 512
#define SQR_FFT_THRESHOLD 3328

25
mpn/x86w/p3/cfg.h Normal file
View File

@ -0,0 +1,25 @@
mpn_add_n
mpn_add_nc
mpn_sub_n
mpn_sub_nc
mpn_addmul_1
mpn_submul_1
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3c
mpn_divrem_1
mpn_divrem_1c
mpn_hamdist
mpn_popcount
mpn_lshift
mpn_rshift
mpn_mod_1
mpn_mod_1c
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_basecase
mpn_sqr_basecase
mpn_umul_ppmm
mpn_udiv_qrnnd

67
mpn/x86w/p3/gmp-mparam.h Normal file
View File

@ -0,0 +1,67 @@
/* Intel P54 gmp-mparam.h -- Compiler/machine parameter header file.
Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004 Free Software
Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
/* For mpn/x86/pentium/mod_1.asm */
#define COUNT_LEADING_ZEROS_NEED_CLZ_TAB
/* 166MHz P54 */
/* Generated by tuneup.c, 2004-02-10, gcc 2.95 */
#define MUL_KARATSUBA_THRESHOLD 16
#define MUL_TOOM3_THRESHOLD 90
#define SQR_BASECASE_THRESHOLD 0 /* always */
#define SQR_KARATSUBA_THRESHOLD 22
#define SQR_TOOM3_THRESHOLD 122
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIV_DC_THRESHOLD 52
#define POWM_THRESHOLD 77
#define GCD_ACCEL_THRESHOLD 3
#define GCDEXT_THRESHOLD 13
#define JACOBI_BASE_METHOD 2
#define USE_PREINV_DIVREM_1 0
#define USE_PREINV_MOD_1 1 /* native */
#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */
#define GET_STR_DC_THRESHOLD 23
#define GET_STR_PRECOMPUTE_THRESHOLD 33
#define SET_STR_THRESHOLD 2788
#define MUL_FFT_TABLE { 432, 928, 1664, 3584, 10240, 40960, 0 }
#define MUL_FFT_MODF_THRESHOLD 448
#define MUL_FFT_THRESHOLD 3328
#define SQR_FFT_TABLE { 496, 928, 1920, 4608, 10240, 40960, 0 }
#define SQR_FFT_MODF_THRESHOLD 512
#define SQR_FFT_THRESHOLD 3328

28
mpn/x86w/p4/cfg.h Normal file
View File

@ -0,0 +1,28 @@
mpn_add_n
mpn_add_nc
mpn_sub_n
mpn_sub_nc
mpn_addmul_1
mpn_addmul_1c
mpn_submul_1
mpn_submul_1c
mpn_copyd
mpn_copyi
mpn_divexact_1
mpn_divexact_by3c
mpn_divrem_1
mpn_divrem_1c
mpn_hamdist
mpn_popcount
mpn_lshift
mpn_rshift
mpn_mod_1
mpn_mod_1c
mpn_modexact_1_odd
mpn_modexact_1c_odd
mpn_mul_1
mpn_mul_1c
mpn_mul_basecase
mpn_sqr_basecase
mpn_umul_ppmm
mpn_udiv_qrnnd

67
mpn/x86w/p4/gmp-mparam.h Normal file
View File

@ -0,0 +1,67 @@
/* Intel P54 gmp-mparam.h -- Compiler/machine parameter header file.
Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004 Free Software
Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
/* For mpn/x86/pentium/mod_1.asm */
#define COUNT_LEADING_ZEROS_NEED_CLZ_TAB
/* 166MHz P54 */
/* Generated by tuneup.c, 2004-02-10, gcc 2.95 */
#define MUL_KARATSUBA_THRESHOLD 16
#define MUL_TOOM3_THRESHOLD 90
#define SQR_BASECASE_THRESHOLD 0 /* always */
#define SQR_KARATSUBA_THRESHOLD 22
#define SQR_TOOM3_THRESHOLD 122
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIV_DC_THRESHOLD 52
#define POWM_THRESHOLD 77
#define GCD_ACCEL_THRESHOLD 3
#define GCDEXT_THRESHOLD 13
#define JACOBI_BASE_METHOD 2
#define USE_PREINV_DIVREM_1 0
#define USE_PREINV_MOD_1 1 /* native */
#define DIVREM_2_THRESHOLD MP_SIZE_T_MAX /* never */
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */
#define GET_STR_DC_THRESHOLD 23
#define GET_STR_PRECOMPUTE_THRESHOLD 33
#define SET_STR_THRESHOLD 2788
#define MUL_FFT_TABLE { 432, 928, 1664, 3584, 10240, 40960, 0 }
#define MUL_FFT_MODF_THRESHOLD 448
#define MUL_FFT_THRESHOLD 3328
#define SQR_FFT_TABLE { 496, 928, 1920, 4608, 10240, 40960, 0 }
#define SQR_FFT_MODF_THRESHOLD 512
#define SQR_FFT_THRESHOLD 3328