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 updates for arm...
details: https://anonhg.NetBSD.org/src/rev/46462e9fea2f
branches: trunk
changeset: 324987:46462e9fea2f
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Nov 29 08:54:48 2013 +0000
description:
GMP 5.1.3 updates for armeb and earm.
diffstat:
external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h | 123 +-
external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4 | 7 +-
external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp-mparam.h | 150 +-
external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h | 793 ++++++++---------
external/lgpl3/gmp/lib/libgmp/arch/armeb/mp.h | 164 ---
external/lgpl3/gmp/lib/libgmp/arch/earm/config.h | 115 +-
external/lgpl3/gmp/lib/libgmp/arch/earm/config.m4 | 3 +-
external/lgpl3/gmp/lib/libgmp/arch/earm/gmp-mparam.h | 150 +-
external/lgpl3/gmp/lib/libgmp/arch/earm/gmp.h | 793 ++++++++---------
external/lgpl3/gmp/lib/libgmp/arch/earm/mp.h | 164 ---
10 files changed, 1036 insertions(+), 1426 deletions(-)
diffs (truncated from 4635 to 300 lines):
diff -r e29f6fa17bf6 -r 46462e9fea2f external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h Fri Nov 29 08:53:14 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h Fri Nov 29 08:54:48 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. */
@@ -104,7 +104,7 @@
then leave all undefined.
IEEE_LITTLE_SWAPPED means little endian, but with the two 4-byte halves
swapped, as used by ARM CPUs in little endian mode. */
-#define HAVE_DOUBLE_IEEE_BIG_ENDIAN 1
+/* #undef HAVE_DOUBLE_IEEE_BIG_ENDIAN */
/* #undef HAVE_DOUBLE_IEEE_LITTLE_ENDIAN */
/* #undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED */
/* #undef HAVE_DOUBLE_VAX_D */
@@ -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
@@ -181,8 +189,8 @@
/* Define one of these to 1 for the endianness 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 undefined. */
-#define HAVE_LIMB_BIG_ENDIAN 1
-/* #undef HAVE_LIMB_LITTLE_ENDIAN */
+/* #undef HAVE_LIMB_BIG_ENDIAN */
+#define HAVE_LIMB_LITTLE_ENDIAN 1
/* Define to 1 if you have the `localeconv' function. */
#define HAVE_LOCALECONV 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 */
@@ -551,7 +597,7 @@
# endif
#else
# ifndef WORDS_BIGENDIAN
-# define WORDS_BIGENDIAN 1
+/* # undef WORDS_BIGENDIAN */
# endif
#endif
@@ -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 e29f6fa17bf6 -r 46462e9fea2f external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4 Fri Nov 29 08:53:14 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4 Fri Nov 29 08:54:48 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)
Home |
Main Index |
Thread Index |
Old Index