Commit Graph

105 Commits

Author SHA1 Message Date
jasonmoxham
059c2e2bd3 correct overlap requirements for add/sub_err1/2_n 2009-09-02 13:34:00 +00:00
jasonmoxham
1e8dfa942a removed obsolete fns mpn_divrem mpn_divmod and all referances to them 2009-08-11 22:11:33 +00:00
jasonmoxham
bd6ab0e972 New generic mpn_mulmod_2expm1 and tests and tuning thresholds 2009-08-07 03:47:42 +00:00
jasonmoxham
7e2c3356f5 New generic mpn_mulmod_2expp1 and tests 2009-08-06 22:20:09 +00:00
jasonmoxham
db6b81922d New generic function mpn_neg_n and tests 2009-08-03 01:59:50 +00:00
gladman
c56cad1cd0 Update Windows build for 32-bit versions 2009-07-27 20:46:28 +00:00
wbhart
49985c7a4e Added sb_divappr_q to Makefile and configure and made it compile. 2009-07-27 12:43:03 +00:00
wbhart
5569df8bee First very basic attempt at sb_divappr_q. Probably doesn't even compile yet. 2009-07-27 12:07:50 +00:00
gladman
f2399cc34f remove C99 stuff 2009-07-26 16:42:36 +00:00
wbhart
0d1b3c9bc5 Moved some declarations to the beginning of a block. 2009-07-26 03:03:40 +00:00
wbhart
c64928eb3c Moved some declarations to the beginning of a block. 2009-07-26 02:59:52 +00:00
wbhart
40507180d2 Removed unused gcd files. 2009-07-26 02:48:43 +00:00
wbhart
331741c193 Removed unused gcd functions, removed a static array of length 1000 and
changed an itch function for a macro.
2009-07-25 13:11:34 +00:00
wbhart
ef4e627454 Fixed some broken asserts. 2009-07-25 09:39:22 +00:00
wbhart
50d966190c Removed a broken assert. 2009-07-25 08:54:56 +00:00
jasonmoxham
bafa599edb tuning for mullow and mulhigh 2009-07-24 21:31:28 +00:00
jasonmoxham
087b583f61 New generic mullow and mulhigh 2009-07-24 17:16:50 +00:00
wbhart
766f024ef4 Fixed a memory leak in lgcd.c. 2009-07-24 14:40:58 +00:00
jasonmoxham
6aa676a5f9 change gmp.h to mpir.h 2009-07-24 12:24:26 +00:00
wbhart
bbccc699e9 Added in David Harvey's Hensel division code. It isn't being used by anything at this stage and has no test code. 2009-07-24 08:18:09 +00:00
wbhart
cc86e972e5 Merged in David Harvey's mulmid code - not actually used by anything
yet. No division code.
2009-07-24 03:12:09 +00:00
wbhart
937d1e7c38 Fiddled with the tuning crossover code in mul.c for the unbalanced
multiplications.
2009-07-23 10:09:29 +00:00
wbhart
9d8438f70b Added toom53 and fiddled with the toom4 cutoff on penryn. 2009-07-23 07:48:34 +00:00
wbhart
61d7ae5b73 Fixed all the bugs I just implemented. 2009-07-23 02:10:46 +00:00
wbhart
5d3cf5509d First hack at toom4_mul (unbalanced toom4). 2009-07-23 01:31:29 +00:00
wbhart
87f1f58e90 Saved an unnecessary copy in lehmer gcd and fiddled with some parameters
in gcdext which sped it up slightly.
2009-07-22 04:26:36 +00:00
wbhart
d5e7b36cb0 Added strassen multiplication and increased the gcd test sizes so that
it actually gets used a few more times.
2009-07-22 00:44:05 +00:00
wbhart
899a1df461 Slight speedup by allowing tdiv_qr to alias and reduction of memory
usage in gcdext.
2009-07-20 14:35:31 +00:00
wbhart
bd57ca8fa6 Made some minor improvements to gcdext.c. 2009-07-20 12:59:25 +00:00
wbhart
23f24f3a23 Implemented Lehmer nxgcd and turned it on. 2009-07-20 06:27:34 +00:00
wbhart
aceee52323 Improved the mpn_gcdinv_1 function for speed. 2009-07-20 01:24:21 +00:00
wbhart
8347f89d14 Added mpn_gcdinv_1 and turned on MPN_ZERO and mpn_store assembly code in
FFT.
2009-07-19 23:08:09 +00:00
wbhart
f2e91a0543 Switched on lgcd for small gcd computations. 2009-07-19 19:11:40 +00:00
wbhart
342fb36ced Cleaned up some of the comments in gcdext to do with the "cofactors" u0 and u1. 2009-07-19 17:43:15 +00:00
wbhart
fc6f037682 Added reference to the FFT paper of Gaudy, Kruppa and Zimmermann. 2009-06-06 18:17:53 +00:00
wbhart
4e3ab104c2 Updated all version number, author, changelog info etc, for new release,
and added my copyright to the new FFT code I modified.
2009-05-31 20:17:12 +00:00
jasonmoxham
ebee2bc09d int to mp_size_t fix 2009-05-31 11:55:57 +00:00
jasonmoxham
3a5ca8e73a int to mp_size_t fix 2009-05-31 11:54:46 +00:00
wbhart
ca73396faa Added workaround for gcc 4.1.2 on ia64 in toom4 and toom4 squaring code. 2009-05-30 10:03:10 +00:00
wbhart
0d90e4faa8 Fixed a bug in FFT squaring code. 2009-05-27 15:58:27 +00:00
wbhart
c605f1e498 Removed some compiler warnings for MSVC from mul_fft.c. 2009-05-27 13:00:01 +00:00
jasonmoxham
5e1c28e1df divrem_2 generic correction 2009-05-20 17:34:55 +00:00
jasonmoxham
01da1f0caa divrem update 2009-05-19 12:48:09 +00:00
jasonmoxham
483fe4ed21 divrem updates 2009-05-19 12:27:10 +00:00
jasonmoxham
b5980c95b1 divrem bits 2009-05-19 09:51:30 +00:00
gladman
0af849c1f2 1. Fix minor bug in Windows build
2. change gcdext.c to avoid C99 features
2009-05-19 09:44:06 +00:00
jasonmoxham
9c68614d77 Add new function generic mpn_divrem_euclidean_qr_2 2009-05-19 09:30:34 +00:00
wbhart
3d66bd5322 Added tuning values for core2 and fixed a minor bug in mul_n.c. 2009-05-19 04:03:49 +00:00
wbhart
d96ef5e5d9 Reverted a change which slows things down on k8. 2009-05-19 02:04:09 +00:00
wbhart
e330cc79bc Fixed some bugs related to tuning gcdext and added tuning for toom4 and
toom7 squaring code.
2009-05-19 00:57:17 +00:00