Commit Graph

213 Commits

Author SHA1 Message Date
Jean-Pierre Flori
feb4d44508 Merge branch 'master' into powm
Conflicts:
	configure.ac
	gmp-impl.h
2017-02-13 16:42:13 +00:00
Alexander Kruppa
578bf82f68 nsumdiff_n, computes -(a+b), a-b 2017-01-21 22:59:20 +01:00
Alex Dyachenko
05c71611a9 Moved MPIR.Net-specific symbols from gmp-h.in to gmp-impl.h. Added comments in inp_raw.c and out_raw.c to document the changes. 2016-03-28 09:23:58 -04:00
Alex Dyachenko
914844ebb3 Merge branch 'master' of github.com:wbhart/mpir 2015-12-22 16:09:19 -05:00
wbhart
188ce0a535 Merge pull request #164 from videlec/cmp_mpq_z
Import the implementation of mpq_cmp_z from gmp
2015-11-15 16:36:59 +01:00
William Hart
8435273a1a Remove sb_div* small implementation (due to bug and due to being a very minor
performance improvement).
2015-11-13 14:47:44 +00:00
Vincent Delecroix
54fdf1a945 Update copyrights (mpq_cmp_z) 2015-11-02 17:01:43 -03:00
Vincent Delecroix
8862bcda68 Import the implementation of mpq_cmp_z from gmp 2015-11-02 12:11:55 -03:00
Jean-Pierre Flori
58844207ae Merge remote-tracking branch 'wbhart/master' into powm
Conflicts:
	configure.ac
2015-07-22 04:57:48 -07:00
William Hart
55a074aebc Added missing __GMP_DECLSPEC's which were causing a segfault on Cygwin64. 2015-06-10 21:03:03 +00:00
BrianGladman
263b6de8ed add the define _GMP_IEEE_FLOATS and some missing DLL export declarations to gmp-impl.h 2014-07-22 17:47:00 +01:00
William Hart
0bc525c9a3 Fixed a bug in mpir_invert_pi2 triggered by the MPFR test code. 2014-06-08 21:30:32 +01:00
Jean-Pierre Flori
1b68626146 Add tuning for mulmid code. 2014-05-06 11:57:31 +02:00
Jean-Pierre Flori
2091276c4a Draft commit to merge GMP powm code into MPIR. 2014-04-30 16:14:11 +02:00
Alex Dyachenko
c9ba616e58 Minor cleanup refactoring. Exposed a digit value table from GMP so it could be reused. Added a build event to solve the issue locking MPIR.Net assembly after test runs. 2014-04-26 15:40:07 -04:00
William Hart
8e4f26aa58 Fix a bug in Cygwin64 (missing __GMP_DECLSPEC on mpn_store). 2014-04-02 00:55:11 +01:00
William Hart
4ff1e2d684 Remove dc_divappr_q_n and renamed fft_negacylic to fft_negacyclic. 2014-03-25 21:17:35 +00:00
William Hart
9cf9b9bbaf Remove gcd_finda.asm and references to it. 2014-03-25 20:14:46 +00:00
William Hart
0795469230 Add new x86_64 assembly functions provided for all platforms to fat build. 2014-03-25 15:24:17 +00:00
William Hart
d6fe8951ee Added tuning for sparc32/v9 and default value for FFT_MULMOD_2EXPP1_CUTOFF. 2014-03-24 22:36:54 +00:00
William Hart
984d9dbe8e Missing endlines and jacobi prototypes for gmp-impl.h. 2014-03-24 18:54:51 +00:00
William Hart
3b6a11e4c5 Added tuning code from GMP for gcd, gcdext, jacobi and fac_ui. 2014-03-20 15:28:01 +00:00
William Hart
471fddeece Added tuning for small version of sb_divappr_q and sb_div_qr. 2014-03-19 23:09:38 +00:00
William Hart
4fa350f51d Hack FFT usage into mpn_mulmod_2expp1. 2014-03-19 17:32:01 +00:00
William Hart
ba01f2690d unsigned long -> mpir_ui. 2014-02-28 19:33:27 +00:00
William Hart
8e3504e372 Updated to new bin_ui and bin_uiui code from GMP 5.1.3. Added a version of
mpn_divrem_hensel_rsh_qr_1 that takes a precomputed inverse.
2014-02-28 16:44:53 +00:00
William Hart
67809f39a2 Update to GMP 5.1.3 factorial code. 2014-02-27 21:35:04 +00:00
William Hart
0c96bff79f Add rudimentary mpn_mulmod_bnm1. Update to new gcd and xgcd code from GMP. 2014-02-27 16:00:08 +00:00
William Hart
bcf545c219 Speed up precomputed inverses. 2014-02-25 14:24:08 +00:00
William Hart
ec94b97a94 Slight speedup for k10. 2014-02-23 18:11:17 +00:00
William Hart
b65ad160ab Fix slowdown on penryn, retune k10. 2014-02-23 17:47:35 +00:00
William Hart
5548023724 Switch to using both types of precomputed inverse. 2014-02-20 20:21:04 +00:00
William Hart
ae7c8a30b2 Added dc_divappr_q and fixed sb_divappr_q, general code clean up. 2013-04-15 17:16:38 +01:00
William Hart
e0922e5ce5 Changed the name of a macro. 2013-04-11 01:43:58 +01:00
William Hart
44d27e44eb Updated copyright notices. 2013-04-11 01:28:46 +01:00
William Hart
188955ab2a Removed a couple of duplicated macros. 2013-04-11 01:24:45 +01:00
William Hart
e967731486 Move divrem fixup into macro. 2013-04-11 01:05:33 +01:00
William Hart
7b7ffec89c Switched to new divrem basecase. 2013-04-11 00:18:00 +01:00
William Hart
8655d3b7e0 Tried a new kind of basecase division. 2013-04-09 03:20:58 +01:00
gladman
a373abbc93 export a few more DLL symbols on Windows (needed by try). 2012-11-10 19:26:08 +00:00
wbhart
931e8c59fd Moved some more fft prototypes from gmp.h to gmp-impl.h. 2012-10-23 15:18:10 +00:00
wbhart
70fc2bb3a0 (i)fft_blah => mpir_(i)fft_blah, n_revbin => mpir_revbin, fermat_to_mpz =>
mpir_fermat_to_mpz, random_fermat => mpir_random_fermat. Moved fft protos
to gmp-impl.h.
2012-10-18 16:29:08 +00:00
wbhart
b874101b6e Removed symbol conflicts of the form n_blah, with flint. 2012-10-17 22:27:11 +00:00
wbhart
0695935782 Hopefully fixed a bug in my mpn_addmod_2expp1_1 macro. 2012-10-12 23:40:25 +00:00
wbhart
3b68dc2fb8 Replaced inline with macro. 2012-10-12 23:24:57 +00:00
wbhart
accd90893f Changed a GMP_EXTERN_INLINE to __inline__/__inline. 2012-10-12 23:12:06 +00:00
gladman
eb3d0f71f7 Extend the speed and try programs on Windows to work with MPIR DLL libraries. 2012-10-02 16:23:40 +00:00
gladman
eb8349e807 revert gmp-impl.h 2012-10-02 15:14:31 +00:00
gladman
61efcc3bf1 Improve resilience of the Visual Studio build for test and tune projects 2012-10-02 15:00:21 +00:00
wbhart
e77e27ca6b Fix compiler warning in fft_combine_limbs/bits. 2012-09-28 15:56:03 +00:00