From 40d8739477c8c0b8b3b496c5909b8895298aeeb4 Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 10 Apr 2002 12:37:53 +0000 Subject: Update gmp to 4.0.1. Changes: * Bug fixes. * Speed improvements. * Upwardly binary compatible with 3.x versions. * New CPU support: IA-64, Pentium 4. * Improved CPU support: 21264, Cray vector systems. * Support for all MIPS ABIs: o32, n32, 64. * New systems supported: Darwin, SCO, Windows DLLs. * New divide-and-conquer square root algorithm. * New algorithms chapter in the manual. * New malloc reentrant temporary memory method. * New C++ class interface by Gerardo Ballabio (beta). * Revamped configure, featuring ABI selection. * Speed improvements for mpz_powm and mpz_powm_ui (mainly affecting small operands). * mpz_perfect_power_p now properly recognizes 0, 1, and negative perfect powers. * mpz_hamdist now supports negative operands. * mpz_jacobi now accepts non-positive denominators. * mpz_powm now supports negative exponents. * mpn_mul_1 operand overlap requirements relaxed. * Float input and output uses locale specific decimal point where available. * New gmp_printf, gmp_scanf and related functions. * New division functions: mpz_cdiv_q_2exp, mpz_cdiv_r_2exp, mpz_divexact_ui. * New divisibility tests: mpz_divisible_p, mpz_divisible_ui_p, mpz_divisible_2exp_p, mpz_congruent_p, mpz_congruent_ui_p, mpz_congruent_2exp_p. * New Fibonacci function: mpz_fib2_ui. * New Lucas number functions: mpz_lucnum_ui, mpz_lucnum2_ui. * Other new integer functions: mpz_cmp_d, mpz_cmpabs_d, mpz_get_d_2exp, mpz_init2, mpz_kronecker, mpz_lcm_ui, mpz_realloc2. * New rational I/O: mpq_get_str, mpq_inp_str, mpq_out_str, mpq_set_str. * Other new rational functions: mpq_abs, mpq_cmp_si, mpq_div_2exp, mpq_mul_2exp, mpq_set_f. * New float tests: mpf_integer_p, mpf_fits_sint_p, mpf_fits_slong_p, mpf_fits_sshort_p, mpf_fits_uint_p, mpf_fits_ulong_p, mpf_fits_ushort_p. * Other new float functions: mpf_cmp_d, mpf_get_default_prec, mpf_get_si, mpf_get_ui, mpf_get_d_2exp. * New random functions: gmp_randinit_default, gmp_randinit_lc_2exp_size. * New demo expression string parser (see demos/expr). * New preliminary perl interface (see demos/perl). * Tuned algorithm thresholds for many more CPUs. --- devel/gmp/patches/patch-aa | 23 ----------------------- devel/gmp/patches/patch-ab | 23 ----------------------- devel/gmp/patches/patch-ac | 23 ----------------------- devel/gmp/patches/patch-ad | 23 ----------------------- 4 files changed, 92 deletions(-) delete mode 100644 devel/gmp/patches/patch-aa delete mode 100644 devel/gmp/patches/patch-ab delete mode 100644 devel/gmp/patches/patch-ac delete mode 100644 devel/gmp/patches/patch-ad (limited to 'devel/gmp/patches') diff --git a/devel/gmp/patches/patch-aa b/devel/gmp/patches/patch-aa deleted file mode 100644 index 643ceb21543..00000000000 --- a/devel/gmp/patches/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-aa,v 1.5 2000/12/31 14:05:30 skrll Exp $ - ---- mpn/arm/add_n.S.orig Mon Jul 24 18:04:21 2000 -+++ mpn/arm/add_n.S -@@ -35,9 +35,9 @@ - - .text - .align 0 -- .global __gmpn_add_n -- .type __gmpn_add_n,%function --__gmpn_add_n: -+ .global ___gmpn_add_n -+ .type ___gmpn_add_n,%function -+___gmpn_add_n: - stmfd sp!, { r8, r9, lr } - movs n, n, lsr #1 - bcc skip1 -@@ -74,4 +74,4 @@ - adc r0, n, #0 - ldmfd sp!, { r8, r9, pc } - end: -- .size __gmpn_add_n, end - __gmpn_add_n -+ .size ___gmpn_add_n, end - ___gmpn_add_n diff --git a/devel/gmp/patches/patch-ab b/devel/gmp/patches/patch-ab deleted file mode 100644 index be330fcedf8..00000000000 --- a/devel/gmp/patches/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2000/12/31 14:05:30 skrll Exp $ - ---- mpn/arm/addmul_1.S.orig Mon Jul 24 18:04:21 2000 -+++ mpn/arm/addmul_1.S -@@ -35,9 +35,9 @@ - - .text - .align 0 -- .global __gmpn_addmul_1 -- .type __gmpn_addmul_1,%function --__gmpn_addmul_1: -+ .global ___gmpn_addmul_1 -+ .type ___gmpn_addmul_1,%function -+___gmpn_addmul_1: - stmfd sp!, { r8-r11, lr } - mov z, #0 - mov ip, #0 -@@ -86,4 +86,4 @@ - mov r0, ip - ldmfd sp!, { r8-r11, pc } - end: -- .size __gmpn_addmul_1, end - __gmpn_addmul_1 -+ .size ___gmpn_addmul_1, end - ___gmpn_addmul_1 diff --git a/devel/gmp/patches/patch-ac b/devel/gmp/patches/patch-ac deleted file mode 100644 index a0bf8c2d17a..00000000000 --- a/devel/gmp/patches/patch-ac +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2000/12/31 14:05:30 skrll Exp $ - ---- mpn/arm/mul_1.S.orig Mon Jul 24 18:04:21 2000 -+++ mpn/arm/mul_1.S -@@ -35,9 +35,9 @@ - - .text - .align 0 -- .global __gmpn_mul_1 -- .type __gmpn_mul_1,%function --__gmpn_mul_1: -+ .global ___gmpn_mul_1 -+ .type ___gmpn_mul_1,%function -+___gmpn_mul_1: - stmfd sp!, { r8, r9, lr } - ands ip, n, #1 - beq skip1 -@@ -78,4 +78,4 @@ - mov r0, ip - ldmfd sp!, { r8, r9, pc } - end: -- .size __gmpn_mul_1, end - __gmpn_mul_1 -+ .size ___gmpn_mul_1, end - ___gmpn_mul_1 diff --git a/devel/gmp/patches/patch-ad b/devel/gmp/patches/patch-ad deleted file mode 100644 index 17ed0a92582..00000000000 --- a/devel/gmp/patches/patch-ad +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2000/12/31 14:05:30 skrll Exp $ - ---- mpn/arm/sub_n.S.orig Mon Jul 24 18:04:21 2000 -+++ mpn/arm/sub_n.S -@@ -35,9 +35,9 @@ - - .text - .align 0 -- .global __gmpn_sub_n -- .type __gmpn_sub_n,%function --__gmpn_sub_n: -+ .global ___gmpn_sub_n -+ .type ___gmpn_sub_n,%function -+___gmpn_sub_n: - stmfd sp!, { r8, r9, lr } - subs ip, ip, ip - tst n, #1 -@@ -76,4 +76,4 @@ - and r0, r0, #1 - ldmfd sp!, { r8, r9, pc } - end: -- .size __gmpn_sub_n, end - __gmpn_sub_n -+ .size ___gmpn_sub_n, end - ___gmpn_sub_n -- cgit v1.2.3