Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/lib/libgmp/arch GMP 5.1.3 files for earme...
details: https://anonhg.NetBSD.org/src/rev/a349b62f206f
branches: trunk
changeset: 324984:a349b62f206f
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Nov 29 08:10:04 2013 +0000
description:
GMP 5.1.3 files for earmeb and mips64el.
diffstat:
external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.h | 115 +-
external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.m4 | 2 +
external/lgpl3/gmp/lib/libgmp/arch/earmeb/gmp-mparam.h | 150 +-
external/lgpl3/gmp/lib/libgmp/arch/earmeb/gmp.h | 786 ++++++-------
external/lgpl3/gmp/lib/libgmp/arch/earmeb/mp.h | 164 ---
external/lgpl3/gmp/lib/libgmp/arch/mips64el/Makefile.inc | 82 +-
external/lgpl3/gmp/lib/libgmp/arch/mips64el/config.h | 77 +-
external/lgpl3/gmp/lib/libgmp/arch/mips64el/config.m4 | 1 +
external/lgpl3/gmp/lib/libgmp/arch/mips64el/gmp-mparam.h | 5 -
external/lgpl3/gmp/lib/libgmp/arch/mips64el/gmp.h | 797 ++++++--------
external/lgpl3/gmp/lib/libgmp/arch/mips64el/mp.h | 164 ---
11 files changed, 999 insertions(+), 1344 deletions(-)
diffs (truncated from 4568 to 300 lines):
diff -r 53e9eb6accec -r a349b62f206f external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.h Fri Nov 29 08:03:41 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.h Fri Nov 29 08:10:04 2013 +0000
@@ -1,10 +1,10 @@
/* config.h. Generated from config.in by configure. */
-/* config.in. Generated from configure.in by autoheader. */
+/* config.in. Generated from configure.ac by autoheader. */
/*
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -27,7 +27,7 @@
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
-#define GMP_MPARAM_H_SUGGEST "./mpn/arm/gmp-mparam.h"
+#define GMP_MPARAM_H_SUGGEST "/usr/src7/external/lgpl3/gmp/dist/mpn/arm/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1
@@ -57,12 +57,12 @@
/* Define to 1 if tests/libtests has calling conventions checking for the CPU
*/
-/* #undef HAVE_CALLING_CONVENTIONS */
+#define HAVE_CALLING_CONVENTIONS 1
/* Define to 1 if you have the `clock' function. */
#define HAVE_CLOCK 1
-/* Define to 1 if you have the `clock_gettime' function. */
+/* Define to 1 if you have the `clock_gettime' function */
#define HAVE_CLOCK_GETTIME 1
/* Define to 1 if you have the `cputime' function. */
@@ -162,6 +162,14 @@
/* #undef HAVE_HOST_CPU_pentiumpro */
/* #undef HAVE_HOST_CPU_pentium2 */
/* #undef HAVE_HOST_CPU_pentium3 */
+/* #undef HAVE_HOST_CPU_s390_z900 */
+/* #undef HAVE_HOST_CPU_s390_z990 */
+/* #undef HAVE_HOST_CPU_s390_z9 */
+/* #undef HAVE_HOST_CPU_s390_z10 */
+/* #undef HAVE_HOST_CPU_s390_z196 */
+
+/* Define to 1 iff we have a s390 with 64-bit registers. */
+/* #undef HAVE_HOST_CPU_s390_zarch */
/* Define to 1 if the system has the type `intmax_t'. */
#define HAVE_INTMAX_T 1
@@ -215,11 +223,27 @@
implementation of the corresponding routine exists. */
#define HAVE_NATIVE_mpn_add_n 1
/* #undef HAVE_NATIVE_mpn_add_n_sub_n */
-/* #undef HAVE_NATIVE_mpn_add_nc */
+#define HAVE_NATIVE_mpn_add_nc 1
/* #undef HAVE_NATIVE_mpn_addaddmul_1msb0 */
-/* #undef HAVE_NATIVE_mpn_addlsh1_n */
+#define HAVE_NATIVE_mpn_addcnd_n 1
+#define HAVE_NATIVE_mpn_addlsh1_n 1
/* #undef HAVE_NATIVE_mpn_addlsh2_n */
/* #undef HAVE_NATIVE_mpn_addlsh_n */
+/* #undef HAVE_NATIVE_mpn_addlsh1_nc */
+/* #undef HAVE_NATIVE_mpn_addlsh2_nc */
+/* #undef HAVE_NATIVE_mpn_addlsh_nc */
+/* #undef HAVE_NATIVE_mpn_addlsh1_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh2_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh1_nc_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh2_nc_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh_nc_ip1 */
+/* #undef HAVE_NATIVE_mpn_addlsh1_n_ip2 */
+/* #undef HAVE_NATIVE_mpn_addlsh2_n_ip2 */
+/* #undef HAVE_NATIVE_mpn_addlsh_n_ip2 */
+/* #undef HAVE_NATIVE_mpn_addlsh1_nc_ip2 */
+/* #undef HAVE_NATIVE_mpn_addlsh2_nc_ip2 */
+/* #undef HAVE_NATIVE_mpn_addlsh_nc_ip2 */
/* #undef HAVE_NATIVE_mpn_addmul_1c */
/* #undef HAVE_NATIVE_mpn_addmul_2 */
/* #undef HAVE_NATIVE_mpn_addmul_3 */
@@ -228,14 +252,16 @@
/* #undef HAVE_NATIVE_mpn_addmul_6 */
/* #undef HAVE_NATIVE_mpn_addmul_7 */
/* #undef HAVE_NATIVE_mpn_addmul_8 */
-/* #undef HAVE_NATIVE_mpn_and_n */
-/* #undef HAVE_NATIVE_mpn_andn_n */
-/* #undef HAVE_NATIVE_mpn_bdiv_dbm1c */
+/* #undef HAVE_NATIVE_mpn_addmul_2s */
+#define HAVE_NATIVE_mpn_and_n 1
+#define HAVE_NATIVE_mpn_andn_n 1
+#define HAVE_NATIVE_mpn_bdiv_dbm1c 1
/* #undef HAVE_NATIVE_mpn_bdiv_q_1 */
/* #undef HAVE_NATIVE_mpn_pi1_bdiv_q_1 */
-/* #undef HAVE_NATIVE_mpn_com */
+#define HAVE_NATIVE_mpn_com 1
#define HAVE_NATIVE_mpn_copyd 1
#define HAVE_NATIVE_mpn_copyi 1
+/* #undef HAVE_NATIVE_mpn_div_qr_2 */
/* #undef HAVE_NATIVE_mpn_divexact_1 */
/* #undef HAVE_NATIVE_mpn_divexact_by3c */
/* #undef HAVE_NATIVE_mpn_divrem_1 */
@@ -244,27 +270,29 @@
/* #undef HAVE_NATIVE_mpn_gcd_1 */
/* #undef HAVE_NATIVE_mpn_hamdist */
#define HAVE_NATIVE_mpn_invert_limb 1
-/* #undef HAVE_NATIVE_mpn_ior_n */
-/* #undef HAVE_NATIVE_mpn_iorn_n */
-/* #undef HAVE_NATIVE_mpn_lshift */
-/* #undef HAVE_NATIVE_mpn_lshiftc */
+#define HAVE_NATIVE_mpn_ior_n 1
+#define HAVE_NATIVE_mpn_iorn_n 1
+#define HAVE_NATIVE_mpn_lshift 1
+#define HAVE_NATIVE_mpn_lshiftc 1
/* #undef HAVE_NATIVE_mpn_lshsub_n */
/* #undef HAVE_NATIVE_mpn_mod_1 */
/* #undef HAVE_NATIVE_mpn_mod_1_1p */
/* #undef HAVE_NATIVE_mpn_mod_1c */
/* #undef HAVE_NATIVE_mpn_mod_1s_2p */
/* #undef HAVE_NATIVE_mpn_mod_1s_4p */
-/* #undef HAVE_NATIVE_mpn_mod_34lsub1 */
+#define HAVE_NATIVE_mpn_mod_34lsub1 1
/* #undef HAVE_NATIVE_mpn_modexact_1_odd */
-/* #undef HAVE_NATIVE_mpn_modexact_1c_odd */
+#define HAVE_NATIVE_mpn_modexact_1c_odd 1
#define HAVE_NATIVE_mpn_mul_1 1
/* #undef HAVE_NATIVE_mpn_mul_1c */
/* #undef HAVE_NATIVE_mpn_mul_2 */
/* #undef HAVE_NATIVE_mpn_mul_3 */
/* #undef HAVE_NATIVE_mpn_mul_4 */
+/* #undef HAVE_NATIVE_mpn_mul_5 */
+/* #undef HAVE_NATIVE_mpn_mul_6 */
/* #undef HAVE_NATIVE_mpn_mul_basecase */
-/* #undef HAVE_NATIVE_mpn_nand_n */
-/* #undef HAVE_NATIVE_mpn_nior_n */
+#define HAVE_NATIVE_mpn_nand_n 1
+#define HAVE_NATIVE_mpn_nior_n 1
/* #undef HAVE_NATIVE_mpn_popcount */
/* #undef HAVE_NATIVE_mpn_preinv_divrem_1 */
/* #undef HAVE_NATIVE_mpn_preinv_mod_1 */
@@ -273,25 +301,40 @@
/* #undef HAVE_NATIVE_mpn_rsblsh1_n */
/* #undef HAVE_NATIVE_mpn_rsblsh2_n */
/* #undef HAVE_NATIVE_mpn_rsblsh_n */
-/* #undef HAVE_NATIVE_mpn_rsh1add_n */
+/* #undef HAVE_NATIVE_mpn_rsblsh1_nc */
+/* #undef HAVE_NATIVE_mpn_rsblsh2_nc */
+/* #undef HAVE_NATIVE_mpn_rsblsh_nc */
+#define HAVE_NATIVE_mpn_rsh1add_n 1
/* #undef HAVE_NATIVE_mpn_rsh1add_nc */
-/* #undef HAVE_NATIVE_mpn_rsh1sub_n */
+#define HAVE_NATIVE_mpn_rsh1sub_n 1
/* #undef HAVE_NATIVE_mpn_rsh1sub_nc */
-/* #undef HAVE_NATIVE_mpn_rshift */
+#define HAVE_NATIVE_mpn_rshift 1
/* #undef HAVE_NATIVE_mpn_sqr_basecase */
/* #undef HAVE_NATIVE_mpn_sqr_diagonal */
+/* #undef HAVE_NATIVE_mpn_sqr_diag_addlsh1 */
#define HAVE_NATIVE_mpn_sub_n 1
-/* #undef HAVE_NATIVE_mpn_sub_nc */
-/* #undef HAVE_NATIVE_mpn_sublsh1_n */
+#define HAVE_NATIVE_mpn_sub_nc 1
+#define HAVE_NATIVE_mpn_subcnd_n 1
+#define HAVE_NATIVE_mpn_sublsh1_n 1
/* #undef HAVE_NATIVE_mpn_sublsh2_n */
/* #undef HAVE_NATIVE_mpn_sublsh_n */
+/* #undef HAVE_NATIVE_mpn_sublsh1_nc */
+/* #undef HAVE_NATIVE_mpn_sublsh2_nc */
+/* #undef HAVE_NATIVE_mpn_sublsh_nc */
+/* #undef HAVE_NATIVE_mpn_sublsh1_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_sublsh2_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_sublsh_n_ip1 */
+/* #undef HAVE_NATIVE_mpn_sublsh1_nc_ip1 */
+/* #undef HAVE_NATIVE_mpn_sublsh2_nc_ip1 */
+/* #undef HAVE_NATIVE_mpn_sublsh_nc_ip1 */
/* #undef HAVE_NATIVE_mpn_submul_1c */
+/* #undef HAVE_NATIVE_mpn_tabselect */
#define HAVE_NATIVE_mpn_udiv_qrnnd 1
/* #undef HAVE_NATIVE_mpn_udiv_qrnnd_r */
/* #undef HAVE_NATIVE_mpn_umul_ppmm */
/* #undef HAVE_NATIVE_mpn_umul_ppmm_r */
-/* #undef HAVE_NATIVE_mpn_xor_n */
-/* #undef HAVE_NATIVE_mpn_xnor_n */
+#define HAVE_NATIVE_mpn_xor_n 1
+#define HAVE_NATIVE_mpn_xnor_n 1
/* Define to 1 if you have the `nl_langinfo' function. */
#define HAVE_NL_LANGINFO 1
@@ -450,6 +493,9 @@
/* Define to 1 if you have the `vsnprintf' function and it works properly. */
#define HAVE_VSNPRINTF 1
+/* Define to 1 for Windos/64 */
+/* #undef HOST_DOS64 */
+
/* Assembler local label prefix */
#define LSYM_PREFIX ".L"
@@ -461,13 +507,13 @@
#define PACKAGE "gmp"
/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "gmp-bugs%gmplib.org@localhost"
+#define PACKAGE_BUGREPORT "gmp-bugs%gmplib.org@localhost, see http://gmplib.org/manual/Reporting-Bugs.html"
/* Define to the full name of this package. */
#define PACKAGE_NAME "GNU MP"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 5.0.2"
+#define PACKAGE_STRING "GNU MP 5.1.3"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gmp"
@@ -476,10 +522,7 @@
#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "5.0.2"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
+#define PACKAGE_VERSION "5.1.3"
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
@@ -512,7 +555,10 @@
#define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
/* Version number of package */
-#define VERSION "5.0.2"
+#define VERSION "5.1.3"
+
+/* Defined to 1 as per --enable-assembly */
+#define WANT_ASSEMBLY 1
/* Define to 1 to enable ASSERT checking, per --enable-assert */
/* #undef WANT_ASSERT */
@@ -559,9 +605,6 @@
`char[]'. */
#define YYTEXT_POINTER 1
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
diff -r 53e9eb6accec -r a349b62f206f external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.m4
--- a/external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.m4 Fri Nov 29 08:03:41 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/earmeb/config.m4 Fri Nov 29 08:10:04 2013 +0000
@@ -1,6 +1,7 @@
dnl config.m4. Generated automatically by configure.
changequote(<,>)
ifdef(<__CONFIG_M4_INCLUDED__>,,<
+define(<CONFIG_TOP_SRCDIR>,<`/usr/src7/external/lgpl3/gmp/dist'>)
define(<WANT_ASSERT>,0)
define(<WANT_PROFILING>,<`no'>)
define(<M4WRAP_SPURIOUS>,<no>)
@@ -17,6 +18,7 @@
define(<W32>, <.long>)
define(<ALIGN_LOGARITHMIC>,<yes>)
define(<SQR_TOOM2_THRESHOLD>,<78>)
+define(<BMOD_1_TO_MOD_1_THRESHOLD>,<41>)
define(<SIZEOF_UNSIGNED>,<4>)
define(<GMP_LIMB_BITS>,32)
define(<GMP_NAIL_BITS>,0)
diff -r 53e9eb6accec -r a349b62f206f external/lgpl3/gmp/lib/libgmp/arch/earmeb/gmp-mparam.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/earmeb/gmp-mparam.h Fri Nov 29 08:03:41 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/earmeb/gmp-mparam.h Fri Nov 29 08:10:04 2013 +0000
@@ -21,122 +21,96 @@
#define GMP_LIMB_BITS 32
#define BYTES_PER_MP_LIMB 4
-/* 593MHz ARM (gcc50.fsffrance.org) */
+/* 1193MHz ARM (gcc55.fsffrance.org) */
#define DIVREM_1_NORM_THRESHOLD 0 /* preinv always */
#define DIVREM_1_UNNORM_THRESHOLD 0 /* always */
#define MOD_1_NORM_THRESHOLD 0 /* always */
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 17
-#define MOD_1U_TO_MOD_1_1_THRESHOLD 9
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD MP_SIZE_T_MAX
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 56
+#define MOD_1U_TO_MOD_1_1_THRESHOLD 11
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0 /* never mpn_mod_1_1p */
#define MOD_1_2_TO_MOD_1_4_THRESHOLD MP_SIZE_T_MAX
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 27
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 71
#define USE_PREINV_DIVREM_1 1 /* preinv always */
#define DIVREM_2_THRESHOLD 0 /* preinv always */
#define DIVEXACT_1_THRESHOLD 0 /* always */
-#define BMOD_1_TO_MOD_1_THRESHOLD 44
+#define BMOD_1_TO_MOD_1_THRESHOLD 41
Home |
Main Index |
Thread Index |
Old Index