Commit Graph

77 Commits

Author SHA1 Message Date
(no author)
f4a69eec60 Added sb_div_q, sb_divappr_q from GMP and tdiv_3by2 and invert_1 from GMP
and changed everything to use them.
2010-02-10 11:17:59 +00:00
(no author)
784d46a913 Fixed some SQR_THRESHOLD typos in gmp-impl.h. 2010-02-07 15:52:37 +00:00
(no author)
06d4a32943 Added divrem_1 and divrem_2 x86_64 assembly code from GMP, replaced
divrem_euclidean_qr_1 with divrem_1.
2010-02-06 13:28:23 +00:00
gladman
8490a2bc0c Update Windows build to cope with huge numbers 2010-01-08 19:12:52 +00:00
gladman
48edb06e9f 1. Set mp_size_t & mp_exp_t as signed 64-bit integers on Windows x64 2010-01-05 20:21:32 +00:00
wbhart
c3cf3b5716 Added a test for the sqrt code and made them work all the way up to 2009-12-08 01:54:07 +00:00
wbhart
d252f5b22e Fixed the test code for mpz_likely_prime_p. 2009-12-07 01:06:47 +00:00
wbhart
39d0df2b75 Added is_likely_prime_BPSW code and test. 2009-12-07 00:08:56 +00:00
jasonmoxham
d10523b3f6 Add threshold for euclid/hensel divrem_1 switchover 2009-10-04 02:56:20 +00:00
jasonmoxham
bf0f5c4e6f add carry limb into the existing rsh_divrem_hensel 2009-10-04 02:16:25 +00:00
jasonmoxham
cdaad5bffc New AMD asm function mpn_rsh_divrem_hensel_qr_1_2 2009-10-03 22:21:44 +00:00
jasonmoxham
a7eee56d24 autotools and a few tweeks 2009-10-02 00:41:53 +00:00
jasonmoxham
adfded6fe5 split out mpn_mod_1_? from divrem_euclidean_r and add New asm function for AMD for mod_1_1 2009-10-01 22:04:24 +00:00
jasonmoxham
9bbfba8e5e New generic functions for two limb inverse of divrem_hensel_qr_1 and tunes,tests 2009-09-30 02:24:29 +00:00
jasonmoxham
61c42e5ae1 New generic divrem_hensel's functions and tests,tunes 2009-09-29 16:41:28 +00:00
jasonmoxham
d440c1e891 split out trial division from both probable prime tests and creat new function 2009-09-10 12:59:50 +00:00
jasonmoxham
22e95a9b01 expose mulmod_2exp+-1 to the User , no docs, adjust fermat,mersenne to compile without gmp-impl,longlong 2009-09-09 03:41:37 +00:00
jasonmoxham
40971ae506 New C functions mpn_mod_1_k etc 2009-09-07 00:42:22 +00:00
jasonmoxham
7ef0cacb9b New mpn_rootrem 2009-09-03 15:16:59 +00:00
jasonmoxham
573b911273 New asm functions K8/K10 mpn_addlsh_n mpn_sublsh_n and carry-in varients 2009-08-23 22:20:49 +00:00
jasonmoxham
dcf8f1053b tweek macros 2009-08-23 17:34:39 +00:00
jasonmoxham
e115636d83 tweek macros 2009-08-23 17:32:26 +00:00
jasonmoxham
e91944e71c macros for mpn_inclsh,mpn_addlsh1 in terms of mpn_addlsh etc 2009-08-23 17:11:02 +00:00
jasonmoxham
da44b12898 add generic new function HAVE_NATIVE function mpn_addlsh_n mpn_sublsh_n mpn_inclsh_n mpn_declsh_n 2009-08-23 15:54:11 +00:00
jasonmoxham
eba14d65ba have-native only bits 2009-08-12 06:13:55 +00:00
jasonmoxham
1a7781ade8 New K8 asm function mpn_lshiftc 2009-08-12 03:13:11 +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
6668b221cb Add Robert Gerbicz mpz factorial code + tuning threshold 2009-08-03 23:09:30 +00:00
jasonmoxham
db6b81922d New generic function mpn_neg_n and tests 2009-08-03 01:59:50 +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
jasonmoxham
bafa599edb tuning for mullow and mulhigh 2009-07-24 21:31:28 +00:00
wbhart
1f5523b9d6 Attempt to add test code for mulmid and mulmid_n. 2009-07-24 06:09:04 +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
9d8438f70b Added toom53 and fiddled with the toom4 cutoff on penryn. 2009-07-23 07:48:34 +00:00
wbhart
e96d091c2f Fixed some missing definitions. 2009-07-23 02:39:58 +00:00
wbhart
61d7ae5b73 Fixed all the bugs I just implemented. 2009-07-23 02:10:46 +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
23f24f3a23 Implemented Lehmer nxgcd and turned it on. 2009-07-20 06:27:34 +00:00
jasonmoxham
9c68614d77 Add new function generic mpn_divrem_euclidean_qr_2 2009-05-19 09:30:34 +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
wbhart
2bf28e3c63 Added toom7 squaring and sped up multiplication slightly by better use
of the FFT.
2009-05-18 20:55:01 +00:00
wbhart
8d8a26e60b Added toom4 squaring code - no tuning code yet! 2009-05-18 07:13:00 +00:00
jasonmoxham
a1b14414c6 New generic mpn_store and tests/tune etc 2009-05-14 19:29:28 +00:00
jasonmoxham
3b7c555c8e New generic functions/macros mpn_lshift2 mpn_rshift2 and tests/speed etc 2009-05-14 02:44:19 +00:00
wbhart
21f51a706c Added toom32 for unbalanced multiplications. 2009-05-12 18:28:20 +00:00
wbhart
ae48f90e2f Fix speed regression in mul.c, switch unbalanced toom back on. Add
missing toom3_interpolate prototype.
2009-05-11 12:30:17 +00:00
wbhart
9e56c61071 Added toom42 and code to handle unbalanced multiplication. 2009-05-11 10:09:09 +00:00
wbhart
c8aa69c789 Added toom3_mul_n with better memory usage. 2009-05-10 04:24:39 +00:00
wbhart
72f93a085c Added new toom3 code. 2009-05-09 20:56:34 +00:00