Commit Graph

528 Commits

Author SHA1 Message Date
(no author)
048820278c Added tdiv_qr.c from GMP. 2010-02-11 14:23:21 +00:00
(no author)
64da22761e Fixed a bug I accidentally introduced into the code. 2010-02-11 13:59:20 +00:00
(no author)
f83a14a538 More fiddling with tuning. 2010-02-11 00:20:44 +00:00
(no author)
1d08ade198 Added sb_div_qr and dc_div_qr from GMP sources. Fixed some
bugs, incorrect #defines and fiddled with tuning.
2010-02-10 22:48:46 +00:00
(no author)
490c26c544 Removed and error. 2010-02-10 11:38:05 +00:00
(no author)
25e405dee5 Restored some of original GMP code. 2010-02-10 11:36:40 +00:00
(no author)
808c57b5b3 Fixed some typos. 2010-02-10 11:22:39 +00:00
(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)
61e882ef48 Added sb_div_q based on dc_div_q code.
Added better tuning values.
Fixed a segfault.
2010-02-10 02:09:24 +00:00
(no author)
068f94dd5c Fixed a segfault. 2010-02-09 23:25:48 +00:00
(no author)
9086a12d6c Moved dcpi1_dc_div_q.c from GMP to dc_div_q.c (modified trivially).
Moved dcpi1_divappr_q.c from GMP to dc_divappr_q.c (modified heavily to use 
only MPIR functions), removing dcpi1_divappr_q_n function. Moved div_q.c 
from GMP to tdiv_q.c (modified trivially). 

Currently tests do not pass. More work required!
2010-02-09 21:19:08 +00:00
(no author)
bf50a2d72e Add another missed mp_bitcnt_t change 2010-02-09 10:22:47 +00:00
(no author)
1758461822 Another minor change to core2 tuning values. Seems to slightly improve
timings (though almost imperceptibly).
2010-02-09 00:43:06 +00:00
(no author)
88c8b3e0f3 Add mp_bitcnt_t type to MPIR 2010-02-08 17:06:12 +00:00
(no author)
00f292cc48 adjust windows tune slightly 2010-02-08 10:02:55 +00:00
(no author)
6b59c6b0ba Fixed some bugs in mpn_sqr_n to do with SQR_THRESHOLDS. 2010-02-07 20:58:21 +00:00
(no author)
a909902fe4 Fixed a bug in toom7_sqr_n. 2010-02-07 20:46:54 +00:00
(no author)
015ce32bf7 correct bug in new assembler code 2010-02-07 17:59:56 +00:00
(no author)
3306eae2a2 Add HAVE_NATIVE defines for Windows code 2010-02-07 17:33:56 +00:00
(no author)
9639773959 Hand tuned SQR thresholds for core2/penryn. 2010-02-07 15:43:19 +00:00
(no author)
3c16b2f566 1. Update g2y.py to cope with GMP assembler
2. add new assembler to Windows build
2010-02-07 14:48:02 +00:00
(no author)
2edb3c830a Added a clarification to the copyright. 2010-02-07 14:07:42 +00:00
(no author)
0c7b48b1fd Convert divrem_2.asm to yasm format. 2010-02-07 14:02:39 +00:00
(no author)
a54d23d652 Convert divem_euclidean_qr_1.asm to yasm format. 2010-02-07 13:32:16 +00:00
(no author)
0f5bb75287 New tuning values for core2/penryn. 2010-02-07 03:28:55 +00:00
(no author)
c7ade0be6f Replaced nhgcd2 with the GMP hgcd2.c file, removing the matrix1_vector fns and
replacing them with the original.
2010-02-06 15:51:49 +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
(no author)
0bd0a87f7e Temporarily committing these so they can be converted to yasm format. 2010-02-06 03:16:22 +00:00
wbhart
1c2f0506f5 Fixed a bug in mpn_gcdext reported by Dan Grayson. 2010-01-30 22:27:37 +00:00
wbhart
c8d33128b5 Made a change to hopefully support unaligned memory allocation as requested by
Dan Grayson. Passes make check and try mpn_lshift.
2010-01-10 23:54:55 +00:00
gladman
0ac38fd71c 1. repair Windows build script
2. Add tuning for nehalem on Windows
2010-01-06 15:07:32 +00:00
wbhart
0200f63f3b Added tuning params for K102. Added new fft code to main directory. 2010-01-01 14:06:41 +00:00
gladman
73dccb229b correct bug I introduced into invert.c 2009-12-09 20:30:32 +00:00
gladman
aaf7949430 1. update run-test.py for Windows build
2. remove test code in invert.c in Windows build
2009-12-09 20:02:31 +00:00
wbhart
52a2c8b839 Added my copyright to the file mpn/generic/invert.c. 2009-12-09 18:56:38 +00:00
wbhart
7db71713ef Removed a mid block declaration. 2009-12-09 18:40:54 +00:00
gladman
8d7347c60c 1. Add mpn.invert test to Windows
2. remove test subroutine from mpn/invert.c
2009-12-09 09:06:31 +00:00
gladman
7e5051b5d6 1. Add a new test to Windows build
2. Remove C99 features from two new files
2009-12-07 09:18:30 +00:00
wbhart
d252f5b22e Fixed the test code for mpz_likely_prime_p. 2009-12-07 01:06:47 +00:00
wbhart
ce52d5515b Removed a small bit of unnecessary code. 2009-12-06 21:55:07 +00:00
wbhart
90f2cf62f0 Rewrte dc_divappr giving proof sketch and making it slightly different. 2009-12-06 21:14:36 +00:00
gladman
11c4a69572 Add Windows build for Intel nehalem 2009-12-03 17:32:55 +00:00
gladman
e3f6129a64 2009-12-02 17:09:35 +00:00
gladman
1485e3dc1b 1. Add Jason's new assembler code to the Windows builds
2. Tidy up assembler to prepare for Windows nehalem build
2009-12-02 16:24:00 +00:00
gladman
b086474ddf Bring Windows naming into line with that on Linux
Rename 'amd64' elemnts to 'k8'
2009-12-02 12:29:38 +00:00
jasonmoxham
829dacd87a New core2/penryn asm functions popcount hamdist 2009-11-19 10:53:45 +00:00
jasonmoxham
afc620f493 new K8 asm functions mpn_popcount mpn_hamdist 2009-11-19 10:38:40 +00:00
jasonmoxham
367f00f4fe New K8 asm functions mpn_and,ior,xor 2009-11-19 10:35:17 +00:00
jasonmoxham
beb4d5b735 New K8 asm funtions mpn_lshift2,3,4,5,6 2009-11-19 10:32:03 +00:00
jasonmoxham
7bd0558974 New atom asm funtion mpn-copyi 2009-11-19 09:09:50 +00:00