Commit 8cd0553f authored by simonmar's avatar simonmar
Browse files

[project @ 2001-01-17 12:14:30 by simonmar]

merge changes from gmp-3.1.1
parent 5de39aa0
......@@ -155,6 +155,7 @@ mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
# 3.0 3:0:0 3:0:0
# 3.0.1 3:1:0 3:0:0
# 3.1 4:0:1 4:0:1
# 3.1.1 4:1:1 4:1:1
#
#
# Starting at 3:0:0 is a slight abuse of the versioning system, but it
......@@ -164,11 +165,11 @@ mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
LIBGMP_LT_CURRENT = 4
LIBGMP_LT_REVISION = 0
LIBGMP_LT_REVISION = 1
LIBGMP_LT_AGE = 1
LIBMP_LT_CURRENT = 4
LIBMP_LT_REVISION = 0
LIBMP_LT_REVISION = 1
LIBMP_LT_AGE = 1
AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
......
This diff is collapsed.
......@@ -21,7 +21,7 @@ dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
dnl MA 02111-1307, USA.
AC_REVISION($Revision: 1.6 $)dnl
AC_REVISION($Revision: 1.7 $)dnl
AC_PREREQ(2.14)dnl
AC_INIT(gmp-impl.h)
......@@ -195,6 +195,9 @@ case "$target" in
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
;;
sparc64-*-linux*)
# Need to think more about the options passed here. This isn't good for
# some sparc64 linux distros, since we end up not optimizing when all the
# options below fail.
os_64bit=yes
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
gmp_cflags_gcc="$gmp_cflags_gcc -m32"
......@@ -439,14 +442,16 @@ case ${target} in
path="arm"
;;
[sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*])
if test -n "$CC64"; then
path="sparc64"
else
path="sparc32/v9 sparc32/v8 sparc32"
if test -n "$CC64"
then path="sparc64"
else path="sparc32/v9 sparc32/v8 sparc32"
fi
;;
sparc64-*-linux*)
path="sparc64"
if test -n "$CC64"
then path="sparc64"
else path="sparc32/v9 sparc32/v8 sparc32"
fi
;;
sparcv8*-*-* | microsparc*-*-*)
path="sparc32/v8 sparc32"
......@@ -877,7 +882,7 @@ for tmp_fn in ${gmp_mpn_functions} ; do
# that multi-function files get grepped here repeatedly
gmp_ep=["`
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
sed -n 's/^[ ]*PROLOGUE(\(.*\))/\1/p' $tmp_file
sed -n 's/^[ ]*PROLOGUE.*(\(.*\))/\1/p' $tmp_file
`"]
for gmp_tmp in $gmp_ep; do
AC_DEFINE_UNQUOTED(HAVE_NATIVE_${gmp_tmp})
......
......@@ -250,7 +250,6 @@ void mpn_copyi _PROTO ((mp_ptr, mp_srcptr, mp_size_t));
#define mpn_sb_divrem_mn __MPN(sb_divrem_mn)
#define mpn_bz_divrem_n __MPN(bz_divrem_n)
#define mpn_tdiv_qr __MPN(tdiv_qr)
/* #define mpn_tdiv_q __MPN(tdiv_q) */
#define mpn_kara_mul_n __MPN(kara_mul_n)
......@@ -284,7 +283,6 @@ mp_size_t mpn_fft_next_size _PROTO ((mp_size_t pl, int k));
mp_limb_t mpn_sb_divrem_mn _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t));
mp_limb_t mpn_bz_divrem_n _PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t));
void mpn_tdiv_qr _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t));
/* void mpn_tdiv_q _PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t)); */
/* Copy NLIMBS *limbs* from SRC to DST, NLIMBS==0 allowed. */
......@@ -550,7 +548,7 @@ void mpn_com_n _PROTO ((mp_ptr, mp_srcptr, mp_size_t));
mp_srcptr __s = (s); \
mp_size_t __n = (n); \
do \
*__d++ = *__s++; \
*__d++ = ~ *__s++; \
while (--__n); \
} \
while (0)
......
......@@ -828,6 +828,9 @@ DLL_IMPORT mp_limb_t mpn_submul_1 _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb
#define mpn_submul_1c __MPN(submul_1c)
DLL_IMPORT mp_limb_t mpn_submul_1c _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t));
#define mpn_tdiv_qr __MPN(tdiv_qr)
DLL_IMPORT void mpn_tdiv_qr _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t));
#if defined (__cplusplus)
}
#endif
......@@ -1071,7 +1074,7 @@ enum
/* Note: major version number is in mp.h too */
#define __GNU_MP_VERSION 3
#define __GNU_MP_VERSION_MINOR 1
#define __GNU_MP_VERSION_PATCHLEVEL 0
#define __GNU_MP_VERSION_PATCHLEVEL 1
#define gmp_version __gmp_version
extern __gmp_const char *gmp_version;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment