1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402
|
------------------------------------------------------------------------
r1878 | zimmerma | 2012-03-19 10:11:57 +0100 (Mon, 19 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
M /trunk/ecm-params.h.corei5
updated default tuning parameters
------------------------------------------------------------------------
r1877 | bouvierc | 2012-03-18 22:31:30 +0100 (Sun, 18 Mar 2012) | 2 lines
Changed paths:
D /trunk/gpu/gpu_ecm_cc13
Remove old gpu code.
------------------------------------------------------------------------
r1876 | brian_gladman | 2012-03-17 22:42:08 +0100 (Sat, 17 Mar 2012) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm/ecm.vcxproj.filters
remove trial.c from VC++ build
------------------------------------------------------------------------
r1875 | zimmerma | 2012-03-17 10:36:43 +0100 (Sat, 17 Mar 2012) | 3 lines
Changed paths:
M /trunk/NEWS
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/sp.h
M /trunk/spm.c
implement new LSB reduction of residues mod small primes in mpzspv.c,
yields significant speedup
------------------------------------------------------------------------
r1874 | zimmerma | 2012-03-17 08:08:46 +0100 (Sat, 17 Mar 2012) | 3 lines
Changed paths:
M /trunk/batch.c
M /trunk/ellparam_batch.c
[batch.c] fixed copyright years and typo
[ellparam_batch.c] fixed copyright years
------------------------------------------------------------------------
r1873 | bouvierc | 2012-03-16 18:38:41 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ellparam_batch.c
Wrong names in the Copyright.
------------------------------------------------------------------------
r1872 | zimmerma | 2012-03-16 18:35:39 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
D /trunk/gpu/getprime.c
D /trunk/gpu/getprime.h
D /trunk/gpu/makefile
D /trunk/gpu/modular_arithmetic.c
D /trunk/gpu/modular_arithmetic.h
D /trunk/gpu/prototype.c
D /trunk/gpu/prototype.h
D /trunk/gpu/stage1-c.c
D /trunk/gpu/stage1.c
removed obsolete files
------------------------------------------------------------------------
r1871 | bouvierc | 2012-03-16 18:08:34 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ellparam_batch.c
M /trunk/main.c
Add licence in batch.c and ellparam_batch.c
------------------------------------------------------------------------
r1867 | zimmerma | 2012-03-16 17:03:40 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/Makefile.am
M /trunk/NEWS
M /trunk/auxarith.c
M /trunk/auxi.c
M /trunk/auxlib.c
M /trunk/b1_ainc.c
M /trunk/bestd.c
M /trunk/build.vc10/config.h
M /trunk/candi.c
M /trunk/configure.in
D /trunk/countsmooth.c
M /trunk/ecm-ecm.h
M /trunk/ecm-gmp.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/ecm2.c
M /trunk/ecm_ntt.c
M /trunk/ecmfactor.c
M /trunk/eval.c
M /trunk/factor.c
M /trunk/getprime.c
M /trunk/gpu/getprime.c
M /trunk/gpu/modular_arithmetic.c
M /trunk/gpu/prototype.c
M /trunk/gpu/stage1-c.c
M /trunk/gpu/stage1.c
M /trunk/ks-multiply.c
M /trunk/listz.c
M /trunk/lucas.c
M /trunk/main.c
M /trunk/median.c
M /trunk/memory.c
M /trunk/mpmod.c
M /trunk/mpmod.h
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/mul_fft.c
M /trunk/mul_lo.c
A /trunk/nodist/rho.gp (from /trunk/rho.gp:1864)
M /trunk/ntt_gfp.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/polyeval.c
M /trunk/powerpc64/mulredc.m4
M /trunk/powerpc64/mulredc_1_2.m4
M /trunk/powerpc64/redc.asm
M /trunk/pp1.c
M /trunk/random.c
M /trunk/resume.c
M /trunk/rho.c
D /trunk/rho.gp
D /trunk/runecm2.c
M /trunk/schoen_strass.c
M /trunk/sets_long.c
M /trunk/sp.c
M /trunk/sp.h
M /trunk/spm.c
M /trunk/spv.c
M /trunk/stage2.c
M /trunk/test.ecm
M /trunk/test.pm1
M /trunk/test.pp1
M /trunk/testlong.pp1
M /trunk/toomcook.c
M /trunk/tune.c
updated the copyright headers to GPL 3 and LGPL 3
------------------------------------------------------------------------
r1866 | zimmerma | 2012-03-16 16:05:59 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
A /trunk/nodist/countsmooth.c (from /trunk/countsmooth.c:1864)
A /trunk/nodist/runecm2.c (from /trunk/runecm2.c:1864)
moved countsmooth.c and runecm2.c to nodist
------------------------------------------------------------------------
r1865 | zimmerma | 2012-03-16 16:04:58 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
A /trunk/nodist
[nodist] new directory for non-distributed files
------------------------------------------------------------------------
r1864 | bouvierc | 2012-03-16 14:50:33 +0100 (Fri, 16 Mar 2012) | 3 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/utils.h
Forgot to commit the new Makefile!
Now include also directly ecm-ecm.h in gpu/gpu_ecm/utils.h
------------------------------------------------------------------------
r1863 | bouvierc | 2012-03-16 14:37:12 +0100 (Fri, 16 Mar 2012) | 7 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.h
M /trunk/random.c
Rewriting Makefile of GPUECM to separate libecm file from ecm-ecm file.
[Makefile] Separate file from libecm. Goal: linking directly libecm.
[batch.c] Now only include ecm-impl.h
[random.c] No outputf in GPUECM
[main.c] change #define to avoid conflicts
------------------------------------------------------------------------
r1862 | zimmerma | 2012-03-16 10:21:32 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
D /trunk/ecmfactor2.c
[ecmfactor2.c] removed unmaintained program
------------------------------------------------------------------------
r1861 | zimmerma | 2012-03-16 10:16:14 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
D /trunk/bestdaux.c
[bestdaux.c] removed unused file
------------------------------------------------------------------------
r1860 | zimmerma | 2012-03-16 10:05:05 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
D /trunk/trial.c
[trial.c] removed unmaintained and untested file
------------------------------------------------------------------------
r1859 | zimmerma | 2012-03-16 09:39:46 +0100 (Fri, 16 Mar 2012) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/mpmod.c
M /trunk/test.ecm
[test.ecm] added one test
[mpmod.c] added an ASSERT
[Makefile.am] missing tab
------------------------------------------------------------------------
r1858 | zimmerma | 2012-03-16 08:51:11 +0100 (Fri, 16 Mar 2012) | 2 lines
Changed paths:
M /trunk/tune.c
[tune.c] removed trailing blank
------------------------------------------------------------------------
r1857 | zimmerma | 2012-03-16 08:13:22 +0100 (Fri, 16 Mar 2012) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/test.pm1
M /trunk/test.pp1
[test.pp1] added one test and removed blank line at the end
[test.pm1] removed blank line at the end
[Makefile.am] added blank line between tests
------------------------------------------------------------------------
r1856 | bouvierc | 2012-03-15 19:05:05 +0100 (Thu, 15 Mar 2012) | 2 lines
Changed paths:
M /trunk/batch.c
Forgot to remove unused variables.
------------------------------------------------------------------------
r1855 | zimmerma | 2012-03-15 19:00:20 +0100 (Thu, 15 Mar 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] fixed wrong patch in r1851
------------------------------------------------------------------------
r1854 | bouvierc | 2012-03-15 16:01:21 +0100 (Thu, 15 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Changes in Cuda_Dbl_mod
------------------------------------------------------------------------
r1853 | bouvierc | 2012-03-15 13:29:24 +0100 (Thu, 15 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Rewrite Normalize function.
------------------------------------------------------------------------
r1852 | bouvierc | 2012-03-15 13:27:47 +0100 (Thu, 15 Mar 2012) | 2 lines
Changed paths:
M /trunk/batch.c
Rewrite dup_add_batch2 with 6 residues (like dup_add_batch1)
------------------------------------------------------------------------
r1851 | zimmerma | 2012-03-15 12:09:28 +0100 (Thu, 15 Mar 2012) | 5 lines
Changed paths:
M /trunk/batch.c
M /trunk/mpmod.c
[mpmod.c] fixed bug in ecm_redc_n (found on gcc45 and gcc61),
probably a new release 6.4.2 is needed
[batch.c] reduced number of auxiliary variables from 5 to 2 in dup_add_batch1
(remains to do the same in dup_add_batch2)
------------------------------------------------------------------------
r1850 | zimmerma | 2012-03-15 08:08:05 +0100 (Thu, 15 Mar 2012) | 4 lines
Changed paths:
M /trunk/NEWS
M /trunk/build.vc10/config.h
M /trunk/configure.in
M /trunk/main.c
M /trunk/test.ecm
[configure.in,build.vc10/config.h] bump version to 7.0-dev
[main.c] make batch=1 mode the default one for ECM
[test.ecm] added -batch=0 where needed
------------------------------------------------------------------------
r1847 | zimmerma | 2012-03-14 23:19:47 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/mpzspv.c
[mpzspv.c] added note about possible improvement in mpzspv_from_mpzv_slow()
------------------------------------------------------------------------
r1846 | zimmerma | 2012-03-14 20:38:17 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] added tag for 6.4.1 release
------------------------------------------------------------------------
r1844 | zimmerma | 2012-03-14 18:29:22 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/build.vc10/config.h
M /trunk/configure.in
This will be the 6.4.1 release (if all final tests pass)
------------------------------------------------------------------------
r1842 | zimmerma | 2012-03-14 18:25:52 +0100 (Wed, 14 Mar 2012) | 5 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-impl.h
M /trunk/ecm-params.h.hppa2.0
M /trunk/ecm-params.h.ia64
M /trunk/ecm-params.h.mips64el
M /trunk/ecm-params.h.powerpc970
M /trunk/ecm-params.h.sparc64
updated various tuning parameters
[configure.in] tuning parameters for ia64 and hppa2.0 were not used!
Also fixed check for MPIR
[ecm-impl.h] fixed // comment
------------------------------------------------------------------------
r1840 | zimmerma | 2012-03-14 16:46:05 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm.c
[ecm.c] removed computation of number of MULs and SQRs, to save a few cycles
------------------------------------------------------------------------
r1839 | bouvierc | 2012-03-14 15:47:08 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Change in modular substraction.
------------------------------------------------------------------------
r1838 | zimmerma | 2012-03-14 15:35:59 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/tune.c
[tune.c] check for failed memory allocation
------------------------------------------------------------------------
r1837 | bouvierc | 2012-03-14 15:28:56 +0100 (Wed, 14 Mar 2012) | 4 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Add specific code for mul for CC 2.0 cards.
Treat differently access to constant variables.
-> results in significant speed-up.
------------------------------------------------------------------------
r1836 | bouvierc | 2012-03-14 15:04:39 +0100 (Wed, 14 Mar 2012) | 3 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Rewriting addition, substraction and multiplication by 2. No comparison is
needed anymore so Cuda_Cmp is removed.
------------------------------------------------------------------------
r1835 | bouvierc | 2012-03-14 14:53:30 +0100 (Wed, 14 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
Rewrite #define for asm statement.
------------------------------------------------------------------------
r1834 | zimmerma | 2012-03-14 09:27:53 +0100 (Wed, 14 Mar 2012) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/bench_mulredc.c
[bench_mulredc.c] only print to stdout what goes to ecm-params.h so that we can
do ./bench_mulredc >> ecm-params.h
[Makefile.am] build bench_mulredc by default
------------------------------------------------------------------------
r1833 | zimmerma | 2012-03-13 21:04:49 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.core2
[ecm-params.h.core2] updated
------------------------------------------------------------------------
r1832 | zimmerma | 2012-03-13 18:19:44 +0100 (Tue, 13 Mar 2012) | 3 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/build.vc10/config.h
M /trunk/configure.in
[configure.in,build.vc10/config.h] changed version to 6.4.1-rc3
[ChangeLog] updated
------------------------------------------------------------------------
r1831 | zimmerma | 2012-03-13 13:47:38 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/mpzspv.c
[mpzspv.c] removed call to ecm_bdiv_r_1 since it is not working
------------------------------------------------------------------------
r1830 | zimmerma | 2012-03-13 13:15:09 +0100 (Tue, 13 Mar 2012) | 5 lines
Changed paths:
M /trunk/ecm-params.h.corei5
M /trunk/mpzspv.c
[ecm-params.h.corei5] updated
[mpzspv.c] removed new code with mpn_preinv_mod_1() in mpzspv_from_mpzv_slow
since it was wrong (added comment explaining why)
added new ecm_bdiv_r_1 code (disabled for now)
------------------------------------------------------------------------
r1829 | brian_gladman | 2012-03-13 10:22:16 +0100 (Tue, 13 Mar 2012) | 1 line
Changed paths:
M /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj
M /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj.filters
M /trunk/sp.h
ensure ATTRIBUTE_UNUSED is defined as empty for MSVC in sp.h
------------------------------------------------------------------------
r1828 | bouvierc | 2012-03-13 09:47:07 +0100 (Tue, 13 Mar 2012) | 3 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/cudakernel.cu
[cudakernel.cu] Fix a bug
[Makefile] Add 32-bit lib for CUDA
------------------------------------------------------------------------
r1827 | brian_gladman | 2012-03-13 09:43:40 +0100 (Tue, 13 Mar 2012) | 1 line
Changed paths:
M /trunk/build.vc10/bench_mulredc
D /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj.user
remove file uploaded in error
------------------------------------------------------------------------
r1826 | zimmerma | 2012-03-13 09:24:34 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
[ecm-params.h.athlon64] redo tuning
------------------------------------------------------------------------
r1825 | zimmerma | 2012-03-13 08:46:17 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/README
M /trunk/bench_mulredc.c
changes suggested by David Cleaver for Windows+MingW64+Msys
------------------------------------------------------------------------
r1824 | zimmerma | 2012-03-13 08:30:42 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/sp.h
[sp.h] removed more compiler warnings (on gcc110)
------------------------------------------------------------------------
r1823 | zimmerma | 2012-03-13 08:17:49 +0100 (Tue, 13 Mar 2012) | 2 lines
Changed paths:
M /trunk/eval.c
[eval.c] fixed compiler warnings (found on gcc70)
------------------------------------------------------------------------
r1822 | zimmerma | 2012-03-12 23:00:07 +0100 (Mon, 12 Mar 2012) | 4 lines
Changed paths:
M /trunk/configure.in
M /trunk/mpzspv.c
M /trunk/spm.c
[mpzspv.c] use __gmpn_preinv_mod_1 in mpzspv_from_mpzv_slow()
[configure.in] recognize __gmpn_preinv_mod_1
[spm.c] fixed typo
------------------------------------------------------------------------
r1821 | zimmerma | 2012-03-12 19:59:40 +0100 (Mon, 12 Mar 2012) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] modified batch1 test which was not working on 32-bit
------------------------------------------------------------------------
r1820 | zimmerma | 2012-03-12 18:25:09 +0100 (Mon, 12 Mar 2012) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] added two non-regression tests for bug fixed by r1819
------------------------------------------------------------------------
r1819 | zimmerma | 2012-03-12 17:43:22 +0100 (Mon, 12 Mar 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] fixed bug in mpresn_addsub (found on gcc45)
------------------------------------------------------------------------
r1818 | zimmerma | 2012-03-12 16:18:22 +0100 (Mon, 12 Mar 2012) | 5 lines
Changed paths:
M /trunk/bench_mulredc.c
[bench_mulredc.c] use same cputime() function as in auxlib.c
(should work on Windows too) and setup number of iterations
to get about 100ms for each test (avoid long time on slow
computers)
------------------------------------------------------------------------
r1817 | zimmerma | 2012-03-12 14:48:29 +0100 (Mon, 12 Mar 2012) | 7 lines
Changed paths:
M /trunk/COPYING
M /trunk/COPYING.LIB
M /trunk/Makefile.am
M /trunk/NEWS
M /trunk/bench_mulredc.c
M /trunk/longlong.h
M /trunk/mpmod.c
M /trunk/pm1fs2.c
[COPYING,COPYING.LIB] switched to GPL v3 and LGPL v3
[bench_mulredc.c,Makefile.am] fix for --disable-asm-redc
[NEWS] added new items
[longlong.h] copied umul_ppmm code for MIPS from GMP 5.0.4
[mpmod.c] now use mulredc_1 when available
[pm1fs2.c] fixed issue when sizeof(unsigned long) < sizeof(sp_t)
------------------------------------------------------------------------
r1816 | brian_gladman | 2012-03-12 12:28:43 +0100 (Mon, 12 Mar 2012) | 1 line
Changed paths:
D /trunk/build.vc10/ecm.cuda.sln
A /trunk/build.vc10/gpu_ecm.sln (from /trunk/build.vc10/ecm.cuda.sln:1814)
rename the Visual Studio solution for the gpu build to gpu_ecm
------------------------------------------------------------------------
r1815 | brian_gladman | 2012-03-12 12:21:16 +0100 (Mon, 12 Mar 2012) | 1 line
Changed paths:
A /trunk/build.vc10/getopt.c
A /trunk/build.vc10/getopt.h
add files needed for the gpu build with MS Visual Studio and Nvidia Nsight
------------------------------------------------------------------------
r1814 | brian_gladman | 2012-03-12 12:05:58 +0100 (Mon, 12 Mar 2012) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
update to match MPIR 2.5.1 (which now has mpn_redc_2)
------------------------------------------------------------------------
r1813 | zimmerma | 2012-03-12 09:25:24 +0100 (Mon, 12 Mar 2012) | 2 lines
Changed paths:
M /trunk/bench_mulredc.c
[bench_mulredc.c] fixed compiler warning
------------------------------------------------------------------------
r1809 | zimmerma | 2012-03-11 18:55:19 +0100 (Sun, 11 Mar 2012) | 3 lines
Changed paths:
M /trunk/batch.c
M /trunk/build.vc10/config.h
M /trunk/configure.in
[batch.c] fixed bug since d_1 might not fit in an "unsigned long" on Windows
[configure.in,build.vc10/config.h] bump version number to 6.4.1-rc2
------------------------------------------------------------------------
r1808 | zimmerma | 2012-03-10 11:47:44 +0100 (Sat, 10 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
M /trunk/ecm-params.h.corei5
added tuning parameters for MPIR
------------------------------------------------------------------------
r1807 | zimmerma | 2012-03-10 11:26:20 +0100 (Sat, 10 Mar 2012) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] recognize if GMP is MPIR
------------------------------------------------------------------------
r1806 | zimmerma | 2012-03-10 10:49:20 +0100 (Sat, 10 Mar 2012) | 3 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/mpmod.c
[mpmod.c] new function mpresn_unpad to normalize mpz_t values
[batch.c] don't forget to normalize x1 and z1 at the end!!!
------------------------------------------------------------------------
r1805 | zimmerma | 2012-03-10 10:33:46 +0100 (Sat, 10 Mar 2012) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] fixed for new batch1 reduction
------------------------------------------------------------------------
r1804 | zimmerma | 2012-03-09 22:50:17 +0100 (Fri, 09 Mar 2012) | 2 lines
Changed paths:
M /trunk/README
M /trunk/bench_mulredc.c
M /trunk/configure.in
M /trunk/ecm-gmp.h
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
M /trunk/ecm-params.h.corei5
M /trunk/mpmod.c
M /trunk/mpmod.h
M /trunk/test_mulredc.c
M /trunk/x86_64/Makefile.am
removed ecm_redc3 code from x86_64 (variable-size REDC assembly code)
------------------------------------------------------------------------
r1802 | zimmerma | 2012-03-09 18:21:09 +0100 (Fri, 09 Mar 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] fixed error when __gmpn_add_nc is not defined
------------------------------------------------------------------------
r1801 | zimmerma | 2012-03-09 18:13:48 +0100 (Fri, 09 Mar 2012) | 5 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/test.ecm
Change the definition of d in batch1 mode from mp_limb_t to mp_limb_t/B
so that we can use LSB (Montgomery) division instead of MSB division,
this gives a nice speedup. However this changes the input parameter A,
and some tests are still failing. Do not use this version in production!
------------------------------------------------------------------------
r1800 | bouvierc | 2012-03-09 15:21:35 +0100 (Fri, 09 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
Dependencies in Makefile for GPU-ECM
------------------------------------------------------------------------
r1799 | zimmerma | 2012-03-09 10:49:47 +0100 (Fri, 09 Mar 2012) | 6 lines
Changed paths:
M /trunk/README.dev
M /trunk/batch.c
M /trunk/configure.in
M /trunk/ecm-impl.h
M /trunk/mpmod.c
fixed various problems with ecm-6.4.1-rc1 reported by David Cleaver
(http://lists.gforge.inria.fr/pipermail/ecm-discuss/2012-March/004144.html):
* replaced unsigned long by mp_limb_t in batch=1 (under Windows, unsigned long
has 32 bits only)
* configure.in: added -lm for mathematical functions
------------------------------------------------------------------------
r1798 | zimmerma | 2012-03-08 13:11:00 +0100 (Thu, 08 Mar 2012) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] GMPLIB is not needed for libecm
------------------------------------------------------------------------
r1797 | zimmerma | 2012-03-08 10:11:52 +0100 (Thu, 08 Mar 2012) | 2 lines
Changed paths:
M /trunk/sets_long.c
[sets_long.c] added comments
------------------------------------------------------------------------
r1796 | zimmerma | 2012-03-08 08:40:29 +0100 (Thu, 08 Mar 2012) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] forgot ecm-params.h.corei5
------------------------------------------------------------------------
r1795 | zimmerma | 2012-03-07 16:41:21 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/NEWS
[NEWS] fixed typo
------------------------------------------------------------------------
r1794 | zimmerma | 2012-03-07 16:36:37 +0100 (Wed, 07 Mar 2012) | 7 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/INSTALL-ecm
M /trunk/NEWS
M /trunk/README.dev
M /trunk/bench_mulredc.c
M /trunk/ecmbench
[bench_mulredc.c] fix for Svoboda
[NEWS] updated for 6.4.1
[ChangeLog] idem
[INSTALL-ecm] ibidem
[ecmbench] rm -> rm -f
[README.dev] updated
------------------------------------------------------------------------
r1793 | bouvierc | 2012-03-07 15:12:28 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
Some changes in the Makefile for GPU-ECM
------------------------------------------------------------------------
r1792 | zimmerma | 2012-03-07 15:11:10 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.powerpc970
[ecm-params.h.powerpc970] removed exec flag
------------------------------------------------------------------------
r1791 | zimmerma | 2012-03-07 15:02:14 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
[ecm-impl.h,mpmod.c] removed mult_modulus (was always equal to orig_modulus)
------------------------------------------------------------------------
r1790 | zimmerma | 2012-03-07 14:22:50 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
[pm1fs2.c] changed assert to avoid compiler warning with clang 2.9
------------------------------------------------------------------------
r1789 | zimmerma | 2012-03-07 13:54:25 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] added missing build.vc10/bench_mulredc/Makefile
------------------------------------------------------------------------
r1788 | zimmerma | 2012-03-07 13:46:16 +0100 (Wed, 07 Mar 2012) | 3 lines
Changed paths:
M /trunk/README.dev
M /trunk/build.vc10/config.h
M /trunk/configure.in
M /trunk/ecm-gmp.h
change version to 6.4.1-rc1
switched assertions to off for the release candidate
------------------------------------------------------------------------
r1787 | zimmerma | 2012-03-07 13:13:20 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/listz.c
M /trunk/stage2.c
[listz.c] cleanup, and removed some dead code in #if 0 ... #endif
------------------------------------------------------------------------
r1786 | zimmerma | 2012-03-07 10:40:51 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm_ntt.c
M /trunk/listz.c
fix NEGATED_ROOTS=1 once for all
------------------------------------------------------------------------
r1785 | zimmerma | 2012-03-07 10:12:57 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] -treefile is valid for ECM only
------------------------------------------------------------------------
r1784 | zimmerma | 2012-03-07 10:01:19 +0100 (Wed, 07 Mar 2012) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] added test with -treefile
------------------------------------------------------------------------
r1783 | zimmerma | 2012-03-05 08:56:02 +0100 (Mon, 05 Mar 2012) | 3 lines
Changed paths:
M /trunk/ecm.c
[ecm.c] with -v -v, print A=... and x0=... for coherence with command line
options
------------------------------------------------------------------------
r1782 | zimmerma | 2012-03-02 17:27:57 +0100 (Fri, 02 Mar 2012) | 3 lines
Changed paths:
M /trunk/README.dev
M /trunk/TODO
[README.dev] added check of -treefile before a release
[TODO] at some point we should raise sigma to 64 bits
------------------------------------------------------------------------
r1781 | bouvierc | 2012-03-01 17:43:16 +0100 (Thu, 01 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
M /trunk/gpu/gpu_ecm/main.c
Better measurement of actual running time.
------------------------------------------------------------------------
r1779 | bouvierc | 2012-03-01 13:44:35 +0100 (Thu, 01 Mar 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/check.sh
M /trunk/gpu/gpu_ecm/cudakernel.cu
M /trunk/gpu/gpu_ecm/main.c
Don't do modular reduction anymore in GPU arithmetic.
------------------------------------------------------------------------
r1778 | bouvierc | 2012-02-29 15:50:23 +0100 (Wed, 29 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
M /trunk/gpu/gpu_ecm/main.c
Prepare the code to use Montgomery-Svoboda algorithm for REDC
------------------------------------------------------------------------
r1777 | bouvierc | 2012-02-29 15:49:02 +0100 (Wed, 29 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
Add an include when linked for GPU-ECM
------------------------------------------------------------------------
r1775 | bouvierc | 2012-02-28 15:50:25 +0100 (Tue, 28 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/main.c
Batch mode: allow to save and load s from a file.
------------------------------------------------------------------------
r1774 | bouvierc | 2012-02-27 11:45:40 +0100 (Mon, 27 Feb 2012) | 2 lines
Changed paths:
M /trunk/test.ecm
Replace ecm and ./ecm by $ECM in two lines of the test file.
------------------------------------------------------------------------
r1773 | brian_gladman | 2012-02-24 16:47:31 +0100 (Fri, 24 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm/ecm.vcxproj.filters
------------------------------------------------------------------------
r1772 | brian_gladman | 2012-02-24 16:43:18 +0100 (Fri, 24 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
M /trunk/build.vc10/gpu_ecm/gpu_ecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj.filters
Update the gpu_ecm build for Windows
------------------------------------------------------------------------
r1771 | bouvierc | 2012-02-24 15:15:31 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
M /trunk/gpu/gpu_ecm/cudakernel.h
Make the CPU code handling the GPU clearer.
------------------------------------------------------------------------
r1770 | bouvierc | 2012-02-24 13:58:59 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
Minor change in main.c. Add some comments.
------------------------------------------------------------------------
r1769 | bouvierc | 2012-02-24 13:43:26 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
Fix a problem reported by Brian Gladman.
------------------------------------------------------------------------
r1768 | bouvierc | 2012-02-24 11:24:31 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
All factors found and cofactors are printed the same way.
------------------------------------------------------------------------
r1767 | bouvierc | 2012-02-24 11:02:51 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/main.c
Use the struct mpcandi_t.
------------------------------------------------------------------------
r1766 | bouvierc | 2012-02-24 10:45:26 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/resume.c
Write the right program name and right version in resume file.
------------------------------------------------------------------------
r1765 | bouvierc | 2012-02-24 10:32:36 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudakernel.cu
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
More clear variables' name. More comment in main.c
------------------------------------------------------------------------
r1764 | bouvierc | 2012-02-24 09:47:36 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
Use write_resumefile_line from GMP-ECM.
------------------------------------------------------------------------
r1763 | zimmerma | 2012-02-24 08:19:43 +0100 (Fri, 24 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/check.sh
[check.sh] translated error message in english
------------------------------------------------------------------------
r1762 | bouvierc | 2012-02-23 18:19:07 +0100 (Thu, 23 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/README
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
Using more functions from GMP-ECM.
------------------------------------------------------------------------
r1761 | bouvierc | 2012-02-23 18:18:26 +0100 (Thu, 23 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/check.sh
Keep temp files when an error occurs in check.sh.
------------------------------------------------------------------------
r1760 | bouvierc | 2012-02-23 17:55:03 +0100 (Thu, 23 Feb 2012) | 2 lines
Changed paths:
M /trunk/ecm-ecm.h
Delete duplicate prototypes.
------------------------------------------------------------------------
r1759 | bouvierc | 2012-02-23 17:11:10 +0100 (Thu, 23 Feb 2012) | 2 lines
Changed paths:
M /trunk/auxi.c
M /trunk/ecm-ecm.h
M /trunk/main.c
Move some functions out of main.c in order to use them with GPU-ECM.
------------------------------------------------------------------------
r1758 | bouvierc | 2012-02-23 16:23:58 +0100 (Thu, 23 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/def.h
M /trunk/gpu/gpu_ecm/main.c
M /trunk/gpu/gpu_ecm/utils.c
M /trunk/gpu/gpu_ecm/utils.h
Start to use GMP-ECM functions in GPU-ECM when they exist.
------------------------------------------------------------------------
r1757 | bouvierc | 2012-02-23 14:54:11 +0100 (Thu, 23 Feb 2012) | 4 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
A /trunk/gpu/gpu_ecm/README.dev
D /trunk/gpu/gpu_ecm/cudaarith.cu
D /trunk/gpu/gpu_ecm/cudaarith.h
A /trunk/gpu/gpu_ecm/cudakernel.cu (from /trunk/gpu/gpu_ecm/cudautils.cu:1756)
A /trunk/gpu/gpu_ecm/cudakernel.h (from /trunk/gpu/gpu_ecm/cudautils.h:1756)
D /trunk/gpu/gpu_ecm/cudautils.cu
D /trunk/gpu/gpu_ecm/cudautils.h
A /trunk/gpu/gpu_ecm/def.h (from /trunk/gpu/gpu_ecm/main.h:1756)
A /trunk/gpu/gpu_ecm/main.c (from /trunk/gpu/gpu_ecm/main.cu:1756)
D /trunk/gpu/gpu_ecm/main.cu
D /trunk/gpu/gpu_ecm/main.h
A /trunk/gpu/gpu_ecm/utils.c (from /trunk/gpu/gpu_ecm/utils.cu:1756)
D /trunk/gpu/gpu_ecm/utils.cu
M /trunk/gpu/gpu_ecm/utils.h
Reorganization of the code. C code is put in C files compiled with gcc and Cuda
code is put in .cu files and compiled with nvcc.
------------------------------------------------------------------------
r1756 | bouvierc | 2012-02-22 21:18:28 +0100 (Wed, 22 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/utils.cu
Fix a bug reported by Brian Gladman.
------------------------------------------------------------------------
r1755 | bouvierc | 2012-02-22 16:12:37 +0100 (Wed, 22 Feb 2012) | 5 lines
Changed paths:
M /trunk/ecm.c
M /trunk/main.c
M /trunk/test.ecm
[ecm.c] Fix a problem for batch mode 2 when the value obtained from the
parametrization is printed
[main.c] Print which batch mode is used.
[test.ecm] Add a test for batch mode 2.
------------------------------------------------------------------------
r1754 | bouvierc | 2012-02-22 16:09:58 +0100 (Wed, 22 Feb 2012) | 2 lines
Changed paths:
D /trunk/gpu/gpu_ecm/obj
D /trunk/gpu/gpu_ecm/test.sh
Delete useless files
------------------------------------------------------------------------
r1753 | bouvierc | 2012-02-22 16:07:10 +0100 (Wed, 22 Feb 2012) | 4 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
A /trunk/gpu/gpu_ecm/README
M /trunk/gpu/gpu_ecm/check.sh
M /trunk/gpu/gpu_ecm/main.h
[Makefile] A more-easy-to-use Makefile
[README] README explaining how to compile and execute GPU-ECM and how to use
check.sh
------------------------------------------------------------------------
r1752 | bouvierc | 2012-02-22 12:04:26 +0100 (Wed, 22 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
fix a bug in batch mode 2
------------------------------------------------------------------------
r1751 | bouvierc | 2012-02-22 11:42:57 +0100 (Wed, 22 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm.c
Fix batch mode 1 which didn't pass all the test because of previous commits.
------------------------------------------------------------------------
r1750 | bouvierc | 2012-02-22 10:21:27 +0100 (Wed, 22 Feb 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/main.cu
M /trunk/gpu/gpu_ecm/utils.cu
Fix some bugs for 32-bits machines.
------------------------------------------------------------------------
r1749 | bouvierc | 2012-02-21 18:25:00 +0100 (Tue, 21 Feb 2012) | 4 lines
Changed paths:
M /trunk/batch.c
D /trunk/batchmode.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/main.c
Now the choice of the which batch mode is used is not done by a #define.
It can be passed as a argument: -batch[=1|2], with -batch being equivalent to
-batch=1
------------------------------------------------------------------------
r1748 | bouvierc | 2012-02-21 17:46:23 +0100 (Tue, 21 Feb 2012) | 2 lines
Changed paths:
A /trunk/batchmode.h
A /trunk/ellparam_batch.c
Forgot to add 2 new files in the last commit.
------------------------------------------------------------------------
r1747 | bouvierc | 2012-02-21 17:45:28 +0100 (Tue, 21 Feb 2012) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/batch.c
M /trunk/ecm.c
M /trunk/main.c
Add elliptic parametrization for batch mode 2
Move the choice of A for batch mode in ecm.c (as the choice of sigma for Suyama)
------------------------------------------------------------------------
r1746 | brian_gladman | 2012-02-16 18:40:14 +0100 (Thu, 16 Feb 2012) | 1 line
Changed paths:
M /trunk/gpu/gpu_ecm/main.cu
set IDLE priority for GPU application on Windows
------------------------------------------------------------------------
r1745 | brian_gladman | 2012-02-16 17:31:39 +0100 (Thu, 16 Feb 2012) | 1 line
Changed paths:
A /trunk/build.vc10/readme_gpu.txt
add short readme for the Windows GPU build
------------------------------------------------------------------------
r1744 | brian_gladman | 2012-02-16 17:18:53 +0100 (Thu, 16 Feb 2012) | 1 line
Changed paths:
A /trunk/build.vc10/ecm.cuda.sln
Add Visual Studio build for the GPU code
------------------------------------------------------------------------
r1743 | brian_gladman | 2012-02-16 17:15:45 +0100 (Thu, 16 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/getrusage.h
A /trunk/build.vc10/gpu_ecm
A /trunk/build.vc10/gpu_ecm/gpu_ecm.vcxproj
M /trunk/gpu/gpu_ecm/main.cu
M /trunk/gpu/gpu_ecm/main.h
M /trunk/gpu/gpu_ecm/utils.cu
M /trunk/gpu/gpu_ecm/utils.h
M /trunk/gpu/modular_arithmetic.c
------------------------------------------------------------------------
r1742 | brian_gladman | 2012-02-13 22:33:07 +0100 (Mon, 13 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
correct conflicted config.h
------------------------------------------------------------------------
r1741 | brian_gladman | 2012-02-13 22:06:19 +0100 (Mon, 13 Feb 2012) | 1 line
Changed paths:
M /trunk/bench_mulredc.c
M /trunk/build.vc10/Makefile.am
M /trunk/build.vc10/assembler/Makefile.am
A /trunk/build.vc10/assembler/mulredc.asm
M /trunk/build.vc10/assembler/mulredc.h
A /trunk/build.vc10/assembler/redc.asm
A /trunk/build.vc10/bench_mulredc
A /trunk/build.vc10/bench_mulredc/Makefile.am
A /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj
A /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj.filters
A /trunk/build.vc10/bench_mulredc/bench_mulredc.vcxproj.user
M /trunk/build.vc10/config.h
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm.sln
A /trunk/build.vc10/getrusage.c
A /trunk/build.vc10/getrusage.h
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj.filters
M /trunk/build.vc10/tune/tune.vcxproj
M /trunk/build.vc10/tune/tune.vcxproj.filters
Revamp the Windows Visual Studio 2010 build
------------------------------------------------------------------------
r1738 | zimmerma | 2012-02-12 23:46:20 +0100 (Sun, 12 Feb 2012) | 3 lines
Changed paths:
M /trunk/bench_mulredc.c
[bench_mulredc.c] added some Svoboda code (not tested so far) and avoid some
warnings if mpn_redc_2 and mpn_redc_n are not defined
------------------------------------------------------------------------
r1737 | dcleaver | 2012-02-12 23:24:37 +0100 (Sun, 12 Feb 2012) | 1 line
Changed paths:
M /trunk/Fgw.c
M /trunk/test.ecm
Clean up comments and make ecm test deterministic
------------------------------------------------------------------------
r1736 | zimmerma | 2012-02-12 23:05:25 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] fixed misplaced #ifdef, added comments, MPN_COPY -> mpn_copyi
------------------------------------------------------------------------
r1735 | dcleaver | 2012-02-12 21:50:37 +0100 (Sun, 12 Feb 2012) | 1 line
Changed paths:
M /trunk/test.ecm
Added/fixed test to exercise r1734 patch
------------------------------------------------------------------------
r1734 | dcleaver | 2012-02-12 21:44:33 +0100 (Sun, 12 Feb 2012) | 1 line
Changed paths:
M /trunk/Fgw.c
M /trunk/test.ecm
Patched Fgw.c to allocate adequate memory for special inputs
------------------------------------------------------------------------
r1733 | zimmerma | 2012-02-12 20:15:50 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/bench_mulredc.c
M /trunk/configure.in
M /trunk/mpmod.h
also consider mpn_redc_n in bench_mulredc (not yet used in mpmod.c)
------------------------------------------------------------------------
r1732 | brian_gladman | 2012-02-12 19:54:10 +0100 (Sun, 12 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/assembler/mulredc.h
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/tune/tune.vcxproj
Make use of assembler code the default for Windows
------------------------------------------------------------------------
r1731 | zimmerma | 2012-02-12 17:34:08 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] fixed problem reported by David Cleaver on ecm-discuss
------------------------------------------------------------------------
r1730 | zimmerma | 2012-02-12 17:23:22 +0100 (Sun, 12 Feb 2012) | 5 lines
Changed paths:
M /trunk/bench_mulredc.c
M /trunk/configure.in
M /trunk/ecm-params.h.core2
M /trunk/mpmod.c
[configure.in] bump minimal GMP version to 5.0.0
[bench_mulredc.c,mpmod.c] since mpn_sqr is defined in GMP >= 5, no need to test
it
[ecm-params.h.core2] updated
------------------------------------------------------------------------
r1729 | zimmerma | 2012-02-12 16:12:25 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/build.vc10/assembler/Makefile.am
[assembler/Makefile.am] added missing mulredc.h
------------------------------------------------------------------------
r1726 | zimmerma | 2012-02-12 12:03:54 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/bench_mulredc.c
M /trunk/mpmod.c
A /trunk/mpmod.h
define macros for different choices of redc modular arithmetic
------------------------------------------------------------------------
r1725 | zimmerma | 2012-02-12 08:35:20 +0100 (Sun, 12 Feb 2012) | 2 lines
Changed paths:
M /trunk/build.vc10/Makefile.am
[build.vc10/Makefile.am] removed non-existent file ecm-params.h.x64.core2
------------------------------------------------------------------------
r1724 | brian_gladman | 2012-02-12 00:07:15 +0100 (Sun, 12 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/Makefile.am
add distributed in build.vc10 to files to makefile.am
------------------------------------------------------------------------
r1723 | zimmerma | 2012-02-11 14:37:39 +0100 (Sat, 11 Feb 2012) | 15 lines
Changed paths:
M /trunk/README
M /trunk/bench_mulredc.c
M /trunk/ecm-impl.h
M /trunk/ecm-params.h.alpha-ev56
M /trunk/ecm-params.h.armv5tel
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
M /trunk/ecm-params.h.corei5
M /trunk/ecm-params.h.hppa2.0
M /trunk/ecm-params.h.ia64
M /trunk/ecm-params.h.mips64el
M /trunk/ecm-params.h.pentium-m
M /trunk/ecm-params.h.pentium4
M /trunk/ecm-params.h.powerpc970
M /trunk/ecm-params.h.sparc64
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/test.pm1
M /trunk/tune.c
Complete rewrite of the tuning mechanism for mulredc and sqrredc: instead of
having a simple threshold, we have a full table for each one up to 20 limbs,
where each entry for n limbs is an integer saying which function(s) should be
used for the modular multiplication or squaring.
Those tables are computed by bench_mulredc.
On processors where assembly redc is available, I suggest we always have
--enable-asm-redc, since the best routine will be chosen by bench_mulredc.
On processors where assembly redc is not available, I suggest we still can
use/compile bench_mulredc to choose the best routines.
Ultimately bench_mulredc should be incorporated into "make tune".
------------------------------------------------------------------------
r1722 | brian_gladman | 2012-02-11 12:09:52 +0100 (Sat, 11 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/Makefile.am
M /trunk/build.vc10/libecm/Makefile.am
M /trunk/build.vc10/tune/Makefile.am
Add IDE filters to the GMP-ECM distrubution
------------------------------------------------------------------------
r1721 | zimmerma | 2012-02-11 09:45:15 +0100 (Sat, 11 Feb 2012) | 2 lines
Changed paths:
M /trunk/build.vc10/Makefile.am
A /trunk/build.vc10/tune/Makefile.am
M /trunk/configure.in
another try to fix missing vc10 files
------------------------------------------------------------------------
r1720 | brian_gladman | 2012-02-10 21:40:28 +0100 (Fri, 10 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/tests.py
another Windows build correction
------------------------------------------------------------------------
r1719 | zimmerma | 2012-02-10 21:38:19 +0100 (Fri, 10 Feb 2012) | 3 lines
Changed paths:
M /trunk/bench_mulredc.c
M /trunk/x86_64/Makefile.am
M /trunk/x86_64/mulredc.h
[x86_64] enable back redc3 code (can be useful for modular squaring)
[bench_mulredc.c] print results of tuning at the end
------------------------------------------------------------------------
r1718 | zimmerma | 2012-02-10 20:52:57 +0100 (Fri, 10 Feb 2012) | 2 lines
Changed paths:
M /trunk/Makefile.am
A /trunk/build.vc10/Makefile.am
A /trunk/build.vc10/assembler/Makefile.am
A /trunk/build.vc10/ecm/Makefile.am
A /trunk/build.vc10/libecm/Makefile.am
M /trunk/configure.in
put in "make dist" missing build.vc10 files (to be checked)
------------------------------------------------------------------------
r1717 | zimmerma | 2012-02-10 20:12:15 +0100 (Fri, 10 Feb 2012) | 3 lines
Changed paths:
M /trunk/ecm.c
[ecm.c] for the batch mode and A=4d-2 with d "random", the torsion smoothness
multiplier is 1/(3*3^(1/128)) = 0.330... and not 1/3 !
------------------------------------------------------------------------
r1716 | brian_gladman | 2012-02-10 13:32:53 +0100 (Fri, 10 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/libecm/libecm.vcxproj
minor windows build change
------------------------------------------------------------------------
r1715 | brian_gladman | 2012-02-10 10:49:38 +0100 (Fri, 10 Feb 2012) | 1 line
Changed paths:
M /trunk/build.vc10/ecm-params.h
M /trunk/build.vc10/ecm-params.h.win32.amd
M /trunk/build.vc10/ecm-params.h.win32.intel
M /trunk/build.vc10/ecm-params.h.x64.amd
M /trunk/build.vc10/ecm-params.h.x64.intel
M /trunk/build.vc10/tune/tune.vcxproj
M /trunk/build.vc10/tune/tune.vcxproj.filters
correct windows tuning errors
------------------------------------------------------------------------
r1714 | zimmerma | 2012-02-09 12:42:54 +0100 (Thu, 09 Feb 2012) | 2 lines
Changed paths:
M /trunk/bench_mulredc.c
[bench_mulredc.c] updated to measure more low-level functions
------------------------------------------------------------------------
r1713 | zimmerma | 2012-02-08 12:29:36 +0100 (Wed, 08 Feb 2012) | 3 lines
Changed paths:
M /trunk/ecm.c
[ecm.c] corrected the value of BATCH_EXTRA_SMOOTHNESS for GMP_NUMB_BITS >= 64,
where we use A=4d-2 with d a square
------------------------------------------------------------------------
r1712 | zimmerma | 2012-02-07 22:24:56 +0100 (Tue, 07 Feb 2012) | 4 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] new function sqrredc in C (not used yet because slower than the
assembly mulredc)
use redc_basecase_n in mpresn_sqr and mpresn_mul: small speedup
------------------------------------------------------------------------
r1711 | zimmerma | 2012-02-06 17:15:47 +0100 (Mon, 06 Feb 2012) | 3 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] use TUNE_SQRREDC_THRESH and TUNE_MULREDC_THRESH in the mpresn_*
functions
------------------------------------------------------------------------
r1710 | zimmerma | 2012-02-06 16:10:32 +0100 (Mon, 06 Feb 2012) | 3 lines
Changed paths:
M /trunk/README.dev
M /trunk/ecmbench
[ecmbench] use $1 to allow testing different versions
[README.dev] added item for efficiency non-regression
------------------------------------------------------------------------
r1708 | zimmerma | 2012-02-06 15:58:01 +0100 (Mon, 06 Feb 2012) | 2 lines
Changed paths:
M /trunk/ecm.c
M /trunk/ecm2.c
M /trunk/lucas.c
M /trunk/mpmod.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
M /trunk/tune.c
replaced all occurrences of mpres_mul (a, x, x, m) by mpres_sqr (a, x, m)
------------------------------------------------------------------------
r1706 | zimmerma | 2012-02-06 14:34:35 +0100 (Mon, 06 Feb 2012) | 7 lines
Changed paths:
M /trunk/NEWS
M /trunk/README.dev
M /trunk/configure.in
M /trunk/ecm-impl.h
A /trunk/ecm-params.h.corei5
A /trunk/ecmbench
M /trunk/mpmod.c
M /trunk/tune.c
[tune.c] cleaned up comptutation of TUNE_MULREDC_THRESH and TUNE_SQRREDC_THRESH
[ecm-params.h.corei5] new parameters for Core i5
[configure.in] now recognize Core i5
[ecmbench] new bench utility
[ecm-impl.h] new macro MULREDC_ASSEMBLY_MAX
[mpmod.c] use MULREDC_ASSEMBLY_MAX
------------------------------------------------------------------------
r1703 | zimmerma | 2012-02-04 09:47:09 +0100 (Sat, 04 Feb 2012) | 2 lines
Changed paths:
M /trunk/build.vc10/config.h
M /trunk/configure.in
switch version to 6.5-dev, and assertions on by default
------------------------------------------------------------------------
r1701 | zimmerma | 2012-02-03 20:59:21 +0100 (Fri, 03 Feb 2012) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/mpmod.c
make new batch-mode code also work with --disable-asm-redc
------------------------------------------------------------------------
r1700 | zimmerma | 2012-02-03 17:14:22 +0100 (Fri, 03 Feb 2012) | 6 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/mpmod.c
M /trunk/pm1fs2.c
[pm1fs2.c] renamed mpmod_copy into mpmod_init_set
[batch.c] use new function mpresn_pad
[ecm-impl.h] added mult_modulus (currrently initialized to N)
[mpmod.c] simplified the mpresn_* functions (assuming repr=ECM_MOD_MODMULN)
[ecm.c] in batch mode, force repr=ECM_MOD_MODMULN
------------------------------------------------------------------------
r1697 | zimmerma | 2012-02-03 10:07:59 +0100 (Fri, 03 Feb 2012) | 4 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/mpmod.c
[ecm-impl.h] added missing prototypes
[batch.c] removed debug printf() statements
[mpmod.c] fixed compiler warnings
------------------------------------------------------------------------
r1696 | zimmerma | 2012-02-02 20:08:19 +0100 (Thu, 02 Feb 2012) | 2 lines
Changed paths:
M /trunk/NEWS
[NEWS] added --enable-mulredc-svodoba
------------------------------------------------------------------------
r1695 | bouvierc | 2012-02-02 15:57:09 +0100 (Thu, 02 Feb 2012) | 4 lines
Changed paths:
M /trunk/batch.c
M /trunk/mpmod.c
Replace mpz operations by mpn operations in dup_add in batch.c
For now only mul, sqr, add and sub have been modified.
Reduction have not changed.
------------------------------------------------------------------------
r1694 | kruppa | 2012-02-02 15:52:19 +0100 (Thu, 02 Feb 2012) | 2 lines
Changed paths:
M /trunk/configure.in
M /trunk/x86_64/mulredc.m4
Support for Svoboda mulredc in x86_64/. Matching support in mpmod.c TBD
------------------------------------------------------------------------
r1693 | zimmerma | 2012-01-30 17:58:24 +0100 (Mon, 30 Jan 2012) | 2 lines
Changed paths:
M /trunk/getprime.c
[getprime.c] fixed typo in commented printf()
------------------------------------------------------------------------
r1690 | kruppa | 2012-01-16 16:00:54 +0100 (Mon, 16 Jan 2012) | 2 lines
Changed paths:
M /trunk/mpzspv.c
Slight cleanup
------------------------------------------------------------------------
r1684 | zimmerma | 2012-01-09 14:12:38 +0100 (Mon, 09 Jan 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] perform lazy reduction in REDC when N < B^n/4
------------------------------------------------------------------------
r1678 | zimmerma | 2012-01-07 16:45:28 +0100 (Sat, 07 Jan 2012) | 2 lines
Changed paths:
M /trunk/INSTALL-ecm
M /trunk/Makefile.am
M /trunk/configure.in
removed leftover references to build.vc9
------------------------------------------------------------------------
r1677 | zimmerma | 2012-01-06 18:32:22 +0100 (Fri, 06 Jan 2012) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm_cc13/Makefile
cleaned up Makefiles
------------------------------------------------------------------------
r1676 | brian_gladman | 2012-01-04 18:14:22 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk
D /trunk/build.vc9
Remove some errors from the Visual Studio readme.txt filesremove unmaintained Visual Studio 2008 build files
------------------------------------------------------------------------
r1675 | zimmerma | 2012-01-04 09:53:53 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] fixed warning on 32-bit processor
------------------------------------------------------------------------
r1674 | zimmerma | 2012-01-04 00:44:48 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] added tag for 6.4
------------------------------------------------------------------------
r1672 | zimmerma | 2012-01-04 00:42:50 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/ChangeLog
[ChangeLog] updated, this is the GMP-ECM 6.4 release
------------------------------------------------------------------------
r1671 | brian_gladman | 2012-01-04 00:39:25 +0100 (Wed, 04 Jan 2012) | 1 line
Changed paths:
M /trunk/build.vc10/readme.txt
M /trunk/build.vc9/readme.txt
Remove some errors from the Visual Studio readme.txt files
------------------------------------------------------------------------
r1670 | zimmerma | 2012-01-04 00:38:05 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
A /trunk/INSTALL-ecm (from /trunk/INSTALL:1662)
[INSTALL-ecm] specific INSTALL file for GMP-ECM
------------------------------------------------------------------------
r1669 | zimmerma | 2012-01-04 00:34:36 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
M /trunk/resume.c
removed compiler warnings found with gcc 4.6.1
------------------------------------------------------------------------
r1668 | zimmerma | 2012-01-04 00:26:26 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] added code to check for Pentium 4
------------------------------------------------------------------------
r1667 | zimmerma | 2012-01-04 00:24:49 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
D /trunk/INSTALL
[INSTALL] removed from svn, since it is now autogenerated by the autotools
------------------------------------------------------------------------
r1666 | zimmerma | 2012-01-04 00:24:01 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/ChangeLog
[ChangeLog] updated for 6.4
------------------------------------------------------------------------
r1665 | zimmerma | 2012-01-04 00:21:36 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/TODO
[TODO] removed several done items
------------------------------------------------------------------------
r1664 | zimmerma | 2012-01-04 00:21:13 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/README
[README] added sample example
------------------------------------------------------------------------
r1663 | zimmerma | 2012-01-04 00:20:54 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] added INSTALL-ecm (INSTALL is now the generic GNU package file)
------------------------------------------------------------------------
r1662 | zimmerma | 2012-01-04 00:13:33 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/NEWS
[NEWS] added one item
------------------------------------------------------------------------
r1661 | zimmerma | 2012-01-04 00:13:06 +0100 (Wed, 04 Jan 2012) | 3 lines
Changed paths:
M /trunk/ecm-gmp.h
M /trunk/mpmod.c
M /trunk/schoen_strass.c
use of mpn_mullo_n when available
check if _mpz_realloc sets value to 0
------------------------------------------------------------------------
r1660 | zimmerma | 2012-01-04 00:12:03 +0100 (Wed, 04 Jan 2012) | 3 lines
Changed paths:
M /trunk/build.vc10/config.h
M /trunk/build.vc9/config.h
M /trunk/configure.in
changed version to 6.4
added check for mpn_mullo_n
------------------------------------------------------------------------
r1659 | zimmerma | 2012-01-04 00:03:08 +0100 (Wed, 04 Jan 2012) | 2 lines
Changed paths:
M /trunk/build.vc10/readme.txt
M /trunk/build.vc9/readme.txt
fixed typos
------------------------------------------------------------------------
r1658 | zimmerma | 2012-01-03 23:49:23 +0100 (Tue, 03 Jan 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.pentium4
[ecm-params.h.pentium4] updated for ecm-6.4
------------------------------------------------------------------------
r1657 | zimmerma | 2012-01-03 23:31:19 +0100 (Tue, 03 Jan 2012) | 3 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
[ecm-params.h.athlon64] updated on a true AMD machine
[ecm-params.h.core2] added model name
------------------------------------------------------------------------
r1656 | zimmerma | 2012-01-03 23:25:27 +0100 (Tue, 03 Jan 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.core2
[ecm-params.h.core2] updated for ecm-6.4
------------------------------------------------------------------------
r1655 | zimmerma | 2012-01-03 23:20:11 +0100 (Tue, 03 Jan 2012) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
[ecm-params.h.athlon64] updated for ecm 6.4
------------------------------------------------------------------------
r1653 | kruppa | 2012-01-03 04:28:57 +0100 (Tue, 03 Jan 2012) | 2 lines
Changed paths:
M /trunk/mpmod.c
nn must be initialised before testing assertions involving nn
------------------------------------------------------------------------
r1647 | zimmerma | 2011-12-30 10:27:49 +0100 (Fri, 30 Dec 2011) | 2 lines
Changed paths:
M /trunk/INSTALL
[INSTALL] modified instructions for GWNUM
------------------------------------------------------------------------
r1644 | zimmerma | 2011-12-27 16:28:42 +0100 (Tue, 27 Dec 2011) | 2 lines
Changed paths:
M /trunk/AUTHORS
M /trunk/README.dev
added Cyril Bouvier as author, small fixes in README.dev
------------------------------------------------------------------------
r1643 | zimmerma | 2011-12-27 16:22:31 +0100 (Tue, 27 Dec 2011) | 2 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/INSTALL
M /trunk/NEWS
M /trunk/README.dev
M /trunk/build.vc10/config.h
M /trunk/build.vc9/config.h
M /trunk/configure.in
prepare for the 6.4 release: now 6.4-rc1
------------------------------------------------------------------------
r1642 | zimmerma | 2011-12-27 15:39:10 +0100 (Tue, 27 Dec 2011) | 3 lines
Changed paths:
M /trunk/main.c
[main.c] on 64-bit processors, take d a square in batch mode, which gives
a larger average torsion, and thus a larger success probability
------------------------------------------------------------------------
r1641 | zimmerma | 2011-12-27 12:06:43 +0100 (Tue, 27 Dec 2011) | 13 lines
Changed paths:
M /trunk/main.c
M /trunk/pm1.c
work on "bug" reported by Jason Papadopoulos: the choice between NTT and no-NTT
code for P-1 was wrong. In fact, since revision 1558, we prefer the variant
with the larger transform length, which is sometimes a bad choice. For example
with the following resume file the new choice is twice as slow:
METHOD=P-1; B1=10000000; N=29799904256775982671863388319999573561548825027149399972531599612392671227006866151136667908641695103422986028076864929902803267437351318167549013218980573566942647077444419419003164546362008247462049; X=0x58bcade9a21209a49e884562ffac2b1dc3041ba75aacb160628223b64bc056cd2212ea489c9dfebe3336df2359ad41cb5ddfa54f7e1ed908cf5b47feed64d7b7daf309751bd9d5aa5848079de14d5590d13be1; CHECKSUM=2706566245; PROGRAM=GMP-ECM 6.3; X0=0xd13920f9; WHO=jasonp@COMPUTER; TIME=Mon Dec 12 07:50:07 2011;
Moreover even with -ntt we could not force the NTT code to be used. This patch
only fixes that problem: we can now force the NTT code with -ntt for PM1.
Apart from the efficiency problem above (still to be solved), there is another
problem: in case both NTT and no-NTT are tried, and finally NTT is preferred,
the computed B2 value is wrong (it is that of no-NTT).
------------------------------------------------------------------------
r1640 | brian_gladman | 2011-12-20 13:22:32 +0100 (Tue, 20 Dec 2011) | 1 line
Changed paths:
M /trunk/build.vc10/readme.txt
update Visual Studio readme.txt to reflect output directory change
------------------------------------------------------------------------
r1639 | brian_gladman | 2011-12-20 09:03:09 +0100 (Tue, 20 Dec 2011) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/mp_lib.props
M /trunk/build.vc10/tune/tune.vcxproj
move Visual Studio build output directories up one level in the directory tree
------------------------------------------------------------------------
r1638 | kruppa | 2011-12-14 16:07:17 +0100 (Wed, 14 Dec 2011) | 7 lines
Changed paths:
M /trunk/ecm_ntt.c
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
M /trunk/sp.h
Moved some NTT related functions from pm1fs2.c to mpzspv.c
Added NTT mul function that does forward transforms, point-wise multiply,
and inverse transforms one small-prime vector at a time, which slightly
improves memory access locality (also perhaps in preparation for later
disk-stored vectors)
------------------------------------------------------------------------
r1637 | brian_gladman | 2011-11-21 22:43:09 +0100 (Mon, 21 Nov 2011) | 1 line
Changed paths:
M /trunk/build.vc10/tune/tune.vcxproj
Add _WIN64 compiler define to the Windows x64 tune build
------------------------------------------------------------------------
r1636 | bouvierc | 2011-11-09 21:59:11 +0100 (Wed, 09 Nov 2011) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/cudaarith.cu
M /trunk/gpu/gpu_ecm/main.cu
M /trunk/gpu/gpu_ecm/main.h
M /trunk/gpu/gpu_ecm/utils.cu
Translate comments from french to english in gpu_ecm's code
------------------------------------------------------------------------
r1635 | zimmerma | 2011-11-08 21:15:24 +0100 (Tue, 08 Nov 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/mpmod.c
removed compiler warnings
------------------------------------------------------------------------
r1634 | zimmerma | 2011-11-08 21:11:47 +0100 (Tue, 08 Nov 2011) | 4 lines
Changed paths:
M /trunk/athlon/mulredc.h
M /trunk/batch.c
M /trunk/configure.in
M /trunk/ecm-impl.h
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/pentium4/mulredc.h
M /trunk/powerpc64/mulredc.h
M /trunk/x86_64/mulredc.h
changed NATIVE_REDC into USE_ASM_REDC to be coherent with --enable-asm-redc
added new mpres_sqr function, to make it easier if/when we implement a faster
modular squaring function
------------------------------------------------------------------------
r1633 | bouvierc | 2011-11-04 17:37:31 +0100 (Fri, 04 Nov 2011) | 3 lines
Changed paths:
A /trunk/gpu/gpu_ecm/check.sh
To check the correctness of gpu_ecm
use : ./check B1
------------------------------------------------------------------------
r1632 | bouvierc | 2011-11-04 17:35:53 +0100 (Fri, 04 Nov 2011) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/cudaarith.cu
M /trunk/gpu/gpu_ecm/cudautils.cu
M /trunk/gpu/gpu_ecm/cudautils.h
D /trunk/gpu/gpu_ecm/gpu_ecm
M /trunk/gpu/gpu_ecm/main.cu
M /trunk/gpu/gpu_ecm/main.h
M /trunk/gpu/gpu_ecm/utils.cu
M /trunk/gpu/gpu_ecm/utils.h
New version of gpu_ecm (compatible with Fermi cards)
------------------------------------------------------------------------
r1631 | dcleaver | 2011-10-24 04:30:28 +0200 (Mon, 24 Oct 2011) | 1 line
Changed paths:
M /trunk/batch.c
use original compute_s with increased MAX_HEIGHT
------------------------------------------------------------------------
r1630 | zimmerma | 2011-10-23 13:16:09 +0200 (Sun, 23 Oct 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/main.c
[batch.c, main.c] removed useless code + gnu coding style
------------------------------------------------------------------------
r1629 | dcleaver | 2011-10-23 06:01:57 +0200 (Sun, 23 Oct 2011) | 1 line
Changed paths:
M /trunk/batch.c
M /trunk/ecm-ecm.h
M /trunk/factor.c
M /trunk/main.c
clear s in proper place, show correct time to calculate s, make output defines the same between ecm-ecm.h and ecm-impl.h
------------------------------------------------------------------------
r1628 | dcleaver | 2011-10-23 05:13:25 +0200 (Sun, 23 Oct 2011) | 1 line
Changed paths:
M /trunk/ecm-ecm.h
corrected function prototype
------------------------------------------------------------------------
r1627 | dcleaver | 2011-10-23 05:08:25 +0200 (Sun, 23 Oct 2011) | 1 line
Changed paths:
M /trunk/batch.c
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/factor.c
M /trunk/main.c
update compute_s to allow larger B1, and compute s once per B1
------------------------------------------------------------------------
r1626 | zimmerma | 2011-10-18 14:06:23 +0200 (Tue, 18 Oct 2011) | 2 lines
Changed paths:
M /trunk/ecm.c
[ecm.c] added #define for batch mode smoothness constant
------------------------------------------------------------------------
r1625 | brian_gladman | 2011-10-15 20:03:36 +0200 (Sat, 15 Oct 2011) | 1 line
Changed paths:
M /trunk
------------------------------------------------------------------------
r1624 | zimmerma | 2011-10-13 11:36:46 +0200 (Thu, 13 Oct 2011) | 4 lines
Changed paths:
M /trunk/ecm.c
M /trunk/rho.c
[rho.c] added comments about EXTRA_SMOOTHNESS factor (Alex please complete)
[ecm.c] take into account experimental factor of 3 less in torsion for batch
mode (for expected number of curves and time)
------------------------------------------------------------------------
r1623 | brian_gladman | 2011-10-10 18:18:13 +0200 (Mon, 10 Oct 2011) | 1 line
Changed paths:
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj.filters
add batch.c to VC++ build
------------------------------------------------------------------------
r1622 | dcleaver | 2011-10-09 19:58:34 +0200 (Sun, 09 Oct 2011) | 1 line
Changed paths:
M /trunk/batch.c
Test: removed some trailing white space
------------------------------------------------------------------------
r1621 | zimmerma | 2011-10-02 22:27:01 +0200 (Sun, 02 Oct 2011) | 2 lines
Changed paths:
M /trunk/batch.c
[batch.c] fix on 32-bit machines when s has >= 2^31 bits
------------------------------------------------------------------------
r1620 | zimmerma | 2011-10-02 09:10:05 +0200 (Sun, 02 Oct 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
[Fgw.c] added math.h header
------------------------------------------------------------------------
r1619 | zimmerma | 2011-10-01 17:12:52 +0200 (Sat, 01 Oct 2011) | 3 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/factor.c
M /trunk/main.c
included code from David Cleaver to recognize inputs of the form k*b^n+c
(only with GWNUM)
------------------------------------------------------------------------
r1618 | bouvierc | 2011-09-29 14:53:25 +0200 (Thu, 29 Sep 2011) | 2 lines
Changed paths:
M /trunk/ecm-ecm.h
Modify MAX_B1 in order to avoid error during char to double conversion
------------------------------------------------------------------------
r1617 | zimmerma | 2011-09-29 14:47:29 +0200 (Thu, 29 Sep 2011) | 3 lines
Changed paths:
M /trunk/batch.c
[batch.c] MAX_B1 -> MAX_B1_BATCH to avoid conflict with MAX_B1 defined in
ecm-ecm.h
------------------------------------------------------------------------
r1616 | zimmerma | 2011-09-29 14:39:55 +0200 (Thu, 29 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
[batch.c] added comments and rewritten compute_s()
------------------------------------------------------------------------
r1615 | bouvierc | 2011-09-29 10:28:42 +0200 (Thu, 29 Sep 2011) | 3 lines
Changed paths:
M /trunk/batch.c
New compute_s fonction with only one array to accumulate
------------------------------------------------------------------------
r1614 | zimmerma | 2011-09-29 08:16:12 +0200 (Thu, 29 Sep 2011) | 3 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/batch.c
[Fgw.c] fixed error in ASSERT_ALWAYS
[batch.c] added missing mpz_clear for s
------------------------------------------------------------------------
r1613 | zimmerma | 2011-09-28 16:46:16 +0200 (Wed, 28 Sep 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
[Fgw.c] added constraints on gw_c, and fixed stupid error
------------------------------------------------------------------------
r1612 | zimmerma | 2011-09-28 16:43:52 +0200 (Wed, 28 Sep 2011) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/mpmod.c
M /trunk/mul_fft.c
removed dead code (reported by gcc 4.6.1)
------------------------------------------------------------------------
r1611 | zimmerma | 2011-09-28 14:24:29 +0200 (Wed, 28 Sep 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
[Fgw.c] added assertions on gw_k
------------------------------------------------------------------------
r1610 | zimmerma | 2011-09-26 08:53:04 +0200 (Mon, 26 Sep 2011) | 2 lines
Changed paths:
M /trunk/factor.c
[factor.c] set batch=0 in ecm_init
------------------------------------------------------------------------
r1609 | zimmerma | 2011-09-25 21:48:04 +0200 (Sun, 25 Sep 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/ecm.c
more changes from David Cleaver for GWNUM and batch mode
------------------------------------------------------------------------
r1608 | zimmerma | 2011-09-23 16:43:33 +0200 (Fri, 23 Sep 2011) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] added one test for -batch that did fail on 32-bit computers
------------------------------------------------------------------------
r1607 | zimmerma | 2011-09-23 16:28:24 +0200 (Fri, 23 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-impl.h
M /trunk/mpmod.c
[batch.c] tiny speedup using new mpres_mul_2exp function
------------------------------------------------------------------------
r1606 | bouvierc | 2011-09-23 14:57:00 +0200 (Fri, 23 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
Correct the bug reported by David Cleaver on 32-bit system
------------------------------------------------------------------------
r1605 | zimmerma | 2011-09-23 08:45:28 +0200 (Fri, 23 Sep 2011) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] added one test for the batch mode
------------------------------------------------------------------------
r1604 | zimmerma | 2011-09-22 12:06:04 +0200 (Thu, 22 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/test.ecm
[batch.c] check that A = 2 (mod 4) for the batch mode
------------------------------------------------------------------------
r1603 | zimmerma | 2011-09-21 07:50:50 +0200 (Wed, 21 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
[batch.c] better fix
------------------------------------------------------------------------
r1602 | zimmerma | 2011-09-20 17:41:13 +0200 (Tue, 20 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
[batch.c] small changes
------------------------------------------------------------------------
r1601 | zimmerma | 2011-09-20 17:29:40 +0200 (Tue, 20 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/resume.c
fixed a few compiler warnings with batch mode
------------------------------------------------------------------------
r1600 | zimmerma | 2011-09-20 08:49:15 +0200 (Tue, 20 Sep 2011) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] fixed stupid error in batch mode (thanks David Cleaver)
------------------------------------------------------------------------
r1599 | brian_gladman | 2011-09-19 23:26:40 +0200 (Mon, 19 Sep 2011) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm/ecm.vcxproj.filters
add batch mode file to Visual Studio 2010 builds
------------------------------------------------------------------------
r1598 | zimmerma | 2011-09-19 20:45:04 +0200 (Mon, 19 Sep 2011) | 2 lines
Changed paths:
M /trunk/batch.c
M /trunk/ecm.c
M /trunk/main.c
cleanup of the batch mode
------------------------------------------------------------------------
r1597 | bouvierc | 2011-09-16 15:54:32 +0200 (Fri, 16 Sep 2011) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/TODO
A /trunk/batch.c
M /trunk/configure.in
M /trunk/ecm-ecm.h
M /trunk/ecm-gmp.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/factor.c
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/test.ecm
Implementation of the batch mode (option -batch)
Use Montgomery's parametrization to save 1 multiplication
------------------------------------------------------------------------
r1596 | zimmerma | 2011-09-15 18:41:42 +0200 (Thu, 15 Sep 2011) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/pp1.c
got rid of the obsolete mpres_normalize and mpres_semi_normalize functions
------------------------------------------------------------------------
r1595 | zimmerma | 2011-09-03 09:33:12 +0200 (Sat, 03 Sep 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
[Fgw.c] more changes from David Cleaver, for future new version of GWNUM
------------------------------------------------------------------------
r1594 | zimmerma | 2011-09-02 20:19:45 +0200 (Fri, 02 Sep 2011) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
[ecm-params.h.athlon64] updated (from David Cleaver)
------------------------------------------------------------------------
r1593 | zimmerma | 2011-09-02 16:47:44 +0200 (Fri, 02 Sep 2011) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] deal with MPIR in print_config() too
------------------------------------------------------------------------
r1592 | zimmerma | 2011-09-02 16:37:02 +0200 (Fri, 02 Sep 2011) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] added item for a new release
------------------------------------------------------------------------
r1591 | zimmerma | 2011-09-01 19:03:25 +0200 (Thu, 01 Sep 2011) | 2 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/INSTALL
fixed typo in name of David Cleaver (sorry)
------------------------------------------------------------------------
r1590 | zimmerma | 2011-08-22 13:58:47 +0200 (Mon, 22 Aug 2011) | 3 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/INSTALL
M /trunk/Makefile.am
added changes contributed by David Cleaver to use gwnum 26.6 on Windows x64
with MingW64 in Msys
------------------------------------------------------------------------
r1589 | kruppa | 2011-07-25 16:11:38 +0200 (Mon, 25 Jul 2011) | 2 lines
Changed paths:
M /trunk/configure.in
Patch to make configure.in work with autoconf 2.68, provided by Ralf Recker
------------------------------------------------------------------------
r1588 | zimmerma | 2011-06-30 13:37:01 +0200 (Thu, 30 Jun 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] bumped P-1 value
------------------------------------------------------------------------
r1587 | bouvierc | 2011-06-24 14:02:32 +0200 (Fri, 24 Jun 2011) | 3 lines
Changed paths:
M /trunk/gpu/gpu_ecm/Makefile
M /trunk/gpu/gpu_ecm/cudaarith.cu
M /trunk/gpu/gpu_ecm/cudautils.cu
M /trunk/gpu/gpu_ecm/cudautils.h
M /trunk/gpu/gpu_ecm/main.cu
M /trunk/gpu/gpu_ecm/main.h
M /trunk/gpu/gpu_ecm/test.sh
M /trunk/gpu/gpu_ecm/utils.cu
M /trunk/gpu/gpu_ecm/utils.h
Latest improvements.
------------------------------------------------------------------------
r1586 | zimmerma | 2011-06-20 16:34:33 +0200 (Mon, 20 Jun 2011) | 3 lines
Changed paths:
M /trunk/main.c
[main.c] fixed error message
allow 1 as factor found (when input number is 1)
------------------------------------------------------------------------
r1585 | zimmerma | 2011-06-20 16:19:19 +0200 (Mon, 20 Jun 2011) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] GNU coding style
------------------------------------------------------------------------
r1584 | bouvierc | 2011-06-20 16:12:14 +0200 (Mon, 20 Jun 2011) | 3 lines
Changed paths:
M /trunk/main.c
Add a test to forbid nonpositive integers.
------------------------------------------------------------------------
r1583 | bouvierc | 2011-06-20 15:11:36 +0200 (Mon, 20 Jun 2011) | 3 lines
Changed paths:
M /trunk/auxi.c
Fix a bug for number of digits with negative number.
------------------------------------------------------------------------
r1582 | zimmerma | 2011-06-15 07:43:23 +0200 (Wed, 15 Jun 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] minimal size for ECM is now 67 digits
------------------------------------------------------------------------
r1581 | bouvierc | 2011-06-01 15:04:35 +0200 (Wed, 01 Jun 2011) | 5 lines
Changed paths:
A /trunk/gpu/gpu_ecm
A /trunk/gpu/gpu_ecm/Makefile
A /trunk/gpu/gpu_ecm/cudaarith.cu
A /trunk/gpu/gpu_ecm/cudaarith.h
A /trunk/gpu/gpu_ecm/cudautils.cu
A /trunk/gpu/gpu_ecm/cudautils.h
A /trunk/gpu/gpu_ecm/gpu_ecm
A /trunk/gpu/gpu_ecm/main.cu
A /trunk/gpu/gpu_ecm/main.h
A /trunk/gpu/gpu_ecm/obj
A /trunk/gpu/gpu_ecm/test.sh
A /trunk/gpu/gpu_ecm/utils.cu
A /trunk/gpu/gpu_ecm/utils.h
gpu_ecm for GPU of compute capability 1.3 and above
Optimize for 1024bits modulus but can be compiled for 256 and 512bits
modulus with make v=1 and make v=2
------------------------------------------------------------------------
r1580 | brian_gladman | 2011-05-31 23:44:26 +0200 (Tue, 31 May 2011) | 1 line
Changed paths:
M /trunk/build.vc10/tests.py
add overall timing to the Windows test program (tests.py)
------------------------------------------------------------------------
r1579 | brian_gladman | 2011-05-31 17:33:52 +0200 (Tue, 31 May 2011) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/tests.py
update Windows builds to add missing defines and add OpenMP support
------------------------------------------------------------------------
r1578 | zimmerma | 2011-05-18 12:11:45 +0200 (Wed, 18 May 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] updated for P+1
------------------------------------------------------------------------
r1577 | zimmerma | 2011-05-05 13:05:45 +0200 (Thu, 05 May 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] updated P+1 size
------------------------------------------------------------------------
r1576 | zimmerma | 2011-05-04 13:19:18 +0200 (Wed, 04 May 2011) | 2 lines
Changed paths:
M /trunk/test.ecm
[test.ecm] added some tests to exercise patch from David Cleaver (r1575)
------------------------------------------------------------------------
r1575 | zimmerma | 2011-05-04 12:45:37 +0200 (Wed, 04 May 2011) | 4 lines
Changed paths:
M /trunk/TODO
M /trunk/configure.in
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/lucas.c
M /trunk/pp1.c
added patch from David Cleaver <wraithx at morpheus dot net> to allow B1>=2^32
on machines where "unsigned long" has 32 bits only, by using
"unsigned long long"
------------------------------------------------------------------------
r1574 | bouvierc | 2011-04-21 16:30:48 +0200 (Thu, 21 Apr 2011) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm_cc13/cudaarith.cu
Correct a little mistake in the compare function.
------------------------------------------------------------------------
r1573 | bouvierc | 2011-04-20 17:40:57 +0200 (Wed, 20 Apr 2011) | 2 lines
Changed paths:
M /trunk/gpu/gpu_ecm_cc13/Makefile
M /trunk/gpu/gpu_ecm_cc13/cudaarith.cu
M /trunk/gpu/gpu_ecm_cc13/cudaarith.h
M /trunk/gpu/gpu_ecm_cc13/cudautils.cu
M /trunk/gpu/gpu_ecm_cc13/main.cu
M /trunk/gpu/gpu_ecm_cc13/test.sh
M /trunk/gpu/gpu_ecm_cc13/utils.h
Some improvements (especially on multiplication). 30% gain in time.
------------------------------------------------------------------------
r1572 | bouvierc | 2011-04-14 15:33:22 +0200 (Thu, 14 Apr 2011) | 1 line
Changed paths:
M /trunk/gpu/gpu_ecm_cc13/cudautils.cu
M /trunk/gpu/gpu_ecm_cc13/main.cu
Corrections of the copy between CPU and GPU which only worked for half of the curves.
------------------------------------------------------------------------
r1571 | bouvierc | 2011-04-13 10:46:45 +0200 (Wed, 13 Apr 2011) | 1 line
Changed paths:
A /trunk/gpu/gpu_ecm_cc13
A /trunk/gpu/gpu_ecm_cc13/Makefile
A /trunk/gpu/gpu_ecm_cc13/cudaarith.cu
A /trunk/gpu/gpu_ecm_cc13/cudaarith.h
A /trunk/gpu/gpu_ecm_cc13/cudautils.cu
A /trunk/gpu/gpu_ecm_cc13/main.cu
A /trunk/gpu/gpu_ecm_cc13/obj
A /trunk/gpu/gpu_ecm_cc13/test.sh
A /trunk/gpu/gpu_ecm_cc13/utils.h
Implementation of ecm for NVIDIA GPU of compute capability 1.3\n./test.sh provides a example.
------------------------------------------------------------------------
r1570 | zimmerma | 2011-04-08 13:56:38 +0200 (Fri, 08 Apr 2011) | 2 lines
Changed paths:
M /trunk/TODO
[TODO] added one item
------------------------------------------------------------------------
r1569 | zimmerma | 2011-04-08 08:31:37 +0200 (Fri, 08 Apr 2011) | 2 lines
Changed paths:
M /trunk/README
[README] updated OpenPFGW url
------------------------------------------------------------------------
r1568 | zimmerma | 2011-03-30 13:05:10 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] updated for P-1
------------------------------------------------------------------------
r1567 | brian_gladman | 2011-03-30 11:01:16 +0200 (Wed, 30 Mar 2011) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
Adjust stack size options for Windows
------------------------------------------------------------------------
r1566 | zimmerma | 2011-03-10 11:50:33 +0100 (Thu, 10 Mar 2011) | 2 lines
Changed paths:
M /trunk/champions.h
[champions.h] updated P+1 minimum digits
------------------------------------------------------------------------
r1565 | zimmerma | 2011-01-18 17:44:09 +0100 (Tue, 18 Jan 2011) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing blank (commit test)
------------------------------------------------------------------------
r1564 | brian_gladman | 2011-01-14 17:46:08 +0100 (Fri, 14 Jan 2011) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm/ecm.vcxproj.filters
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj.filters
Add champions.h to Windows builds
------------------------------------------------------------------------
r1563 | zimmerma | 2011-01-12 14:55:15 +0100 (Wed, 12 Jan 2011) | 3 lines
Changed paths:
M /trunk/main.c
[main.c] print assertions too (if enabled) in the startup line, and cleaned up
the corresponding code
------------------------------------------------------------------------
r1562 | kruppa | 2011-01-06 16:48:16 +0100 (Thu, 06 Jan 2011) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
Better asm code for AMD cpus
------------------------------------------------------------------------
r1561 | kruppa | 2011-01-06 13:49:16 +0100 (Thu, 06 Jan 2011) | 2 lines
Changed paths:
M /trunk/Makefile.am
A /trunk/champions.h
M /trunk/main.c
Put champions list in own file to avoid frequent updates to main.c
------------------------------------------------------------------------
r1560 | brian_gladman | 2010-12-30 16:19:42 +0100 (Thu, 30 Dec 2010) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
minor change to Windows win32 build configuration
------------------------------------------------------------------------
r1559 | kruppa | 2010-12-17 17:18:11 +0100 (Fri, 17 Dec 2010) | 2 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Fix spurious error messages introduced in last commit
------------------------------------------------------------------------
r1558 | kruppa | 2010-12-17 17:11:47 +0100 (Fri, 17 Dec 2010) | 4 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
Bugfix for choosing between NTT and non-NTT.
Needs more testing before doing choice for P+1 the same way
------------------------------------------------------------------------
r1557 | zimmerma | 2010-12-17 16:14:22 +0100 (Fri, 17 Dec 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed one blank (test commit)
------------------------------------------------------------------------
r1556 | kruppa | 2010-12-17 14:18:02 +0100 (Fri, 17 Dec 2010) | 2 lines
Changed paths:
M /trunk/configure.in
Link Woltman's GWNUM with -lpthread, abort if GWNUM+OpenMP is requested
------------------------------------------------------------------------
r1555 | zimmerma | 2010-12-09 15:32:17 +0100 (Thu, 09 Dec 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing blank (test)
------------------------------------------------------------------------
r1554 | zimmerma | 2010-12-05 22:21:25 +0100 (Sun, 05 Dec 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] now recognizes MPIR
------------------------------------------------------------------------
r1553 | zimmerma | 2010-11-24 16:13:11 +0100 (Wed, 24 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] we now need at least a p66 to enter the ECM top ten!
------------------------------------------------------------------------
r1552 | brian_gladman | 2010-11-22 20:17:10 +0100 (Mon, 22 Nov 2010) | 1 line
Changed paths:
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/libecm/libecm.vcxproj
M /trunk/build.vc10/mp_lib.props
M /trunk/build.vc10/tune/tune.vcxproj
minor Windows build changes
------------------------------------------------------------------------
r1551 | brian_gladman | 2010-11-22 13:33:06 +0100 (Mon, 22 Nov 2010) | 1 line
Changed paths:
M /trunk/build.vc10/config.h
M /trunk/build.vc10/ecm/ecm.vcxproj
M /trunk/build.vc10/ecm.sln
M /trunk/build.vc10/libecm/libecm.vcxproj
minor Windows build changes
------------------------------------------------------------------------
r1550 | zimmerma | 2010-11-19 15:03:23 +0100 (Fri, 19 Nov 2010) | 3 lines
Changed paths:
M /trunk/mul_fft.c
[mul_fft.c] check for malloc return value in main memory allocation,
and point to -maxmem option
------------------------------------------------------------------------
r1549 | zimmerma | 2010-11-18 21:14:06 +0100 (Thu, 18 Nov 2010) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
[pm1fs2.c] fixed typos in comments
------------------------------------------------------------------------
r1548 | zimmerma | 2010-11-18 20:57:40 +0100 (Thu, 18 Nov 2010) | 2 lines
Changed paths:
M /trunk/pm1.c
[pm1.c] p-1 -> P-1
------------------------------------------------------------------------
r1547 | zimmerma | 2010-11-12 15:12:10 +0100 (Fri, 12 Nov 2010) | 2 lines
Changed paths:
M /trunk/NEWS
[NEWS] added more stuff
------------------------------------------------------------------------
r1546 | zimmerma | 2010-11-12 15:01:48 +0100 (Fri, 12 Nov 2010) | 3 lines
Changed paths:
M /trunk/NEWS
M /trunk/configure.in
[configure.in] fixed problem with SSE2 support
(http://trac.sagemath.org/sage_trac/ticket/10252)
------------------------------------------------------------------------
r1545 | zimmerma | 2010-11-10 11:16:13 +0100 (Wed, 10 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing blank
------------------------------------------------------------------------
r1544 | zimmerma | 2010-11-10 11:04:02 +0100 (Wed, 10 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed another trailing blank
------------------------------------------------------------------------
r1543 | zimmerma | 2010-11-10 10:52:14 +0100 (Wed, 10 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed another trailing blank (another commit log test)
------------------------------------------------------------------------
r1542 | zimmerma | 2010-11-10 10:36:46 +0100 (Wed, 10 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing blank (commit log test)
------------------------------------------------------------------------
r1541 | zimmerma | 2010-11-08 17:50:20 +0100 (Mon, 08 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing blank
------------------------------------------------------------------------
r1540 | zimmerma | 2010-11-08 07:53:35 +0100 (Mon, 08 Nov 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] removed trailing space
------------------------------------------------------------------------
r1539 | brian_gladman | 2010-10-30 19:31:28 +0200 (Sat, 30 Oct 2010) | 1 line
Changed paths:
A /trunk/build.vc10
A /trunk/build.vc10/assembler
A /trunk/build.vc10/assembler/a_win32a_mulredc.asm
A /trunk/build.vc10/assembler/a_win32a_redc.asm
A /trunk/build.vc10/assembler/a_win32p_mulredc.asm
A /trunk/build.vc10/assembler/a_win32p_redc.asm
A /trunk/build.vc10/assembler/a_x64_mulredc.asm
A /trunk/build.vc10/assembler/a_x64_redc.asm
A /trunk/build.vc10/assembler/mulredc.h
A /trunk/build.vc10/assembler/test_mulredc.c
A /trunk/build.vc10/config.h
A /trunk/build.vc10/ecm
A /trunk/build.vc10/ecm/ecm.vcxproj
A /trunk/build.vc10/ecm/ecm.vcxproj.filters
A /trunk/build.vc10/ecm-params.h
A /trunk/build.vc10/ecm-params.h.win32.amd
A /trunk/build.vc10/ecm-params.h.win32.intel
A /trunk/build.vc10/ecm-params.h.x64.amd
A /trunk/build.vc10/ecm-params.h.x64.intel
A /trunk/build.vc10/ecm.sln
A /trunk/build.vc10/file_copy.bat
A /trunk/build.vc10/libecm
A /trunk/build.vc10/libecm/libecm.vcxproj
A /trunk/build.vc10/libecm/libecm.vcxproj.filters
A /trunk/build.vc10/mp_lib.props
A /trunk/build.vc10/mul_fft-params.h.win32.amd
A /trunk/build.vc10/mul_fft-params.h.win32.intel
A /trunk/build.vc10/mul_fft-params.h.x64.amd
A /trunk/build.vc10/mul_fft-params.h.x64.intel
A /trunk/build.vc10/readme.txt
A /trunk/build.vc10/tests.py
A /trunk/build.vc10/tune
A /trunk/build.vc10/tune/tune.vcxproj
A /trunk/build.vc10/tune/tune.vcxproj.filters
A /trunk/build.vc10/vsyasm.props
A /trunk/build.vc10/vsyasm.targets
A /trunk/build.vc10/vsyasm.xml
Add a Visual Studio 2010 build
------------------------------------------------------------------------
r1538 | brian_gladman | 2010-10-30 19:07:41 +0200 (Sat, 30 Oct 2010) | 1 line
Changed paths:
M /trunk/longlong.h
Further correction of _PROTO define
------------------------------------------------------------------------
r1537 | brian_gladman | 2010-10-30 16:57:34 +0200 (Sat, 30 Oct 2010) | 2 lines
Changed paths:
M /trunk/mul_fft.c
Correct bug in definition of _PROTO in mul_fft.c
------------------------------------------------------------------------
r1536 | zimmerma | 2010-10-22 10:28:43 +0200 (Fri, 22 Oct 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] updated champions table
------------------------------------------------------------------------
r1535 | zimmerma | 2010-09-10 16:58:27 +0200 (Fri, 10 Sep 2010) | 2 lines
Changed paths:
A /trunk/gpu/modular_arithmetic.h
[modular_arithmetic.h] header file for routines in modular_arithmetic.c
------------------------------------------------------------------------
r1534 | zimmerma | 2010-09-10 16:57:45 +0200 (Fri, 10 Sep 2010) | 2 lines
Changed paths:
A /trunk/gpu/stage1-c.c
[stage1-c.c] new file, plain-C version of stage1.c
------------------------------------------------------------------------
r1533 | zimmerma | 2010-09-10 16:41:33 +0200 (Fri, 10 Sep 2010) | 3 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/modular_arithmetic.c
M /trunk/gpu/prototype.c
M /trunk/gpu/prototype.h
now stage1-c seems to give similar results as stage1
(but the efficiency can still be improved)
------------------------------------------------------------------------
r1532 | zimmerma | 2010-09-08 13:34:01 +0200 (Wed, 08 Sep 2010) | 2 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/modular_arithmetic.c
cleanup in file modular_arithmetic.c
------------------------------------------------------------------------
r1531 | zimmerma | 2010-09-08 13:19:50 +0200 (Wed, 08 Sep 2010) | 2 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/prototype.c
M /trunk/gpu/stage1.c
small changes to avoid compiler warnings
------------------------------------------------------------------------
r1530 | zimmerma | 2010-09-08 11:50:53 +0200 (Wed, 08 Sep 2010) | 3 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/prototype.c
M /trunk/gpu/stage1.c
fixed computation of d=(a+2)/4 mod N in prototype.c, added copyright notice,
and started to clean up code
------------------------------------------------------------------------
r1529 | zimmerma | 2010-09-08 11:04:36 +0200 (Wed, 08 Sep 2010) | 2 lines
Changed paths:
M /trunk/INSTALL
[INSTALL] updated info about sparc problem
------------------------------------------------------------------------
r1528 | zimmerma | 2010-09-07 08:37:27 +0200 (Tue, 07 Sep 2010) | 2 lines
Changed paths:
M /trunk/INSTALL
[INSTALL] added know problem on sparc with GCC 4.4.5
------------------------------------------------------------------------
r1527 | kruppa | 2010-07-31 15:35:01 +0200 (Sat, 31 Jul 2010) | 3 lines
Changed paths:
M /trunk/athlon/Makefile.am
M /trunk/pentium4/Makefile.am
M /trunk/powerpc64/Makefile.am
M /trunk/x86_64/Makefile.am
Avoid spurious dependency of libmulredc on GMP and libm.
------------------------------------------------------------------------
r1526 | kruppa | 2010-07-31 15:33:57 +0200 (Sat, 31 Jul 2010) | 5 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc1.asm
M /trunk/x86_64/mulredc1.m4
PIC-ify calls to abort(). We always call abort@plt now, which on Linux
seems to work even in a static library, but may not be portable. Needs
testing.
------------------------------------------------------------------------
r1525 | zimmerma | 2010-07-28 11:09:59 +0200 (Wed, 28 Jul 2010) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] patch from Laurent Fousse (libecm.so was not linked against gmp)
------------------------------------------------------------------------
r1524 | kruppa | 2010-07-24 13:35:53 +0200 (Sat, 24 Jul 2010) | 3 lines
Changed paths:
M /trunk/Makefile.am
Removed linker flags from LDADD to avoid spurious dependencies
Include mulredc in libecm.la only if asm redc is actually used
------------------------------------------------------------------------
r1523 | zimmerma | 2010-07-09 11:14:01 +0200 (Fri, 09 Jul 2010) | 2 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/modular_arithmetic.c
fixed bug in mul()
------------------------------------------------------------------------
r1522 | zimmerma | 2010-07-09 10:29:10 +0200 (Fri, 09 Jul 2010) | 2 lines
Changed paths:
M /trunk/gpu/makefile
[makefile] added target
------------------------------------------------------------------------
r1521 | feltin | 2010-07-08 17:07:38 +0200 (Thu, 08 Jul 2010) | 1 line
Changed paths:
A /trunk/gpu/getprime.c
A /trunk/gpu/getprime.h
M /trunk/gpu/modular_arithmetic.c
------------------------------------------------------------------------
r1520 | feltin | 2010-07-07 17:09:57 +0200 (Wed, 07 Jul 2010) | 2 lines
Changed paths:
A /trunk/gpu/modular_arithmetic.c
Modular arithmetic version in C without using the GMP library
------------------------------------------------------------------------
r1519 | zimmerma | 2010-07-02 16:34:15 +0200 (Fri, 02 Jul 2010) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] better fix for #10648 (contributed from Vincent Lefvre)
------------------------------------------------------------------------
r1518 | zimmerma | 2010-07-01 17:38:51 +0200 (Thu, 01 Jul 2010) | 4 lines
Changed paths:
M /trunk/configure.in
[configure.in] better fix from Vincent Lefevre: even on x86_64, we might use
GMP with ABI=32, in which case we shouldn't use the (64-bit)
assembly redc from x86_64
------------------------------------------------------------------------
r1517 | zimmerma | 2010-07-01 17:31:34 +0200 (Thu, 01 Jul 2010) | 3 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] patch to solve bug #10648 from tracker, however I'm not sure
this solution is the right one, if needed we can revert it.
------------------------------------------------------------------------
r1516 | zimmerma | 2010-06-30 15:50:19 +0200 (Wed, 30 Jun 2010) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] patch from Vincent Lefevre (see bug tracker #10646)
------------------------------------------------------------------------
r1515 | zimmerma | 2010-06-30 14:54:20 +0200 (Wed, 30 Jun 2010) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] added comment
------------------------------------------------------------------------
r1514 | zimmerma | 2010-06-30 14:28:04 +0200 (Wed, 30 Jun 2010) | 4 lines
Changed paths:
M /trunk/configure.in
[configure.in] fixed bug reported by Vincent Lefevre:
incorrect configure --help output for --enable-asm-redc
(#10649 on bug tracker)
------------------------------------------------------------------------
r1513 | zimmerma | 2010-06-30 14:18:56 +0200 (Wed, 30 Jun 2010) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] fixed typo
------------------------------------------------------------------------
r1512 | feltin | 2010-06-21 11:03:53 +0200 (Mon, 21 Jun 2010) | 2 lines
Changed paths:
M /trunk/gpu/makefile
M /trunk/gpu/prototype.c
M /trunk/gpu/prototype.h
M /trunk/gpu/stage1.c
Stage1 of algorithm ECM (version 2)
------------------------------------------------------------------------
r1511 | zimmerma | 2010-06-15 16:25:05 +0200 (Tue, 15 Jun 2010) | 2 lines
Changed paths:
M /trunk/INSTALL
[INSTALL] new section with known problems
------------------------------------------------------------------------
r1510 | feltin | 2010-06-15 15:48:17 +0200 (Tue, 15 Jun 2010) | 2 lines
Changed paths:
A /trunk/gpu/makefile
A /trunk/gpu/prototype.c
A /trunk/gpu/prototype.h
A /trunk/gpu/stage1.c
first version of ECM (using GMP)
------------------------------------------------------------------------
r1509 | zimmerma | 2010-06-15 09:15:29 +0200 (Tue, 15 Jun 2010) | 2 lines
Changed paths:
A /trunk/gpu
[gpu] new subdirectory to experiment with GPU code for stage 1
------------------------------------------------------------------------
r1508 | zimmerma | 2010-05-22 12:39:45 +0200 (Sat, 22 May 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] updated smallest champion size for P-1
------------------------------------------------------------------------
r1507 | zimmerma | 2010-05-17 00:38:19 +0200 (Mon, 17 May 2010) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] now we need at least 64 digits to enter the ECM champion list!
------------------------------------------------------------------------
r1506 | kruppa | 2010-04-27 13:52:26 +0200 (Tue, 27 Apr 2010) | 2 lines
Changed paths:
M /trunk/build.vc9/Makefile.am
M /trunk/build.vc9/assembler/Makefile.am
A /trunk/build.vc9/tune/Makefile.am
M /trunk/configure.in
Added missing files for Visual C build
------------------------------------------------------------------------
r1505 | zimmerma | 2010-04-24 23:05:26 +0200 (Sat, 24 Apr 2010) | 2 lines
Changed paths:
M /trunk/TODO
[TODO] updated done item
------------------------------------------------------------------------
r1504 | zimmerma | 2010-04-24 22:59:28 +0200 (Sat, 24 Apr 2010) | 3 lines
Changed paths:
M /trunk/configure.in
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/sp.h
M /trunk/spm.c
implemented fast conversion from mpz_t to RNS (hard-coded threshold is
2^7 moduli, which seems close to optimal on a 64-bit machine)
------------------------------------------------------------------------
r1502 | kruppa | 2010-04-19 11:19:49 +0200 (Mon, 19 Apr 2010) | 3 lines
Changed paths:
M /trunk/ChangeLog
Last commits for 6.3 added
------------------------------------------------------------------------
r1501 | kruppa | 2010-04-18 22:14:22 +0200 (Sun, 18 Apr 2010) | 5 lines
Version 6.3.
Assertions off by default.
Added new thresholds to 64-bit parameter files in build.vc9/.
------------------------------------------------------------------------
r1500 | kruppa | 2010-04-17 01:40:06 +0200 (Sat, 17 Apr 2010) | 4 lines
Include ecm-params.h.core2 in distribution
Updated record factor sizes
------------------------------------------------------------------------
r1499 | kruppa | 2010-04-17 01:26:15 +0200 (Sat, 17 Apr 2010) | 4 lines
Specify source dir path for /powerpc64/powerpc-defs.m4 include to make
out-of-source builds work
------------------------------------------------------------------------
r1498 | kruppa | 2010-04-16 23:41:03 +0200 (Fri, 16 Apr 2010) | 4 lines
Detect Core 2 cpus if /proc/cpuinfo exists and use correct parameter file;
warn about choosing right paramters if no /proc/cpuinfo exists on x86_64
------------------------------------------------------------------------
r1497 | kruppa | 2010-04-16 18:11:31 +0200 (Fri, 16 Apr 2010) | 4 lines
Threshold 100 for using multi-threading in mpzspv_from_mpzv() was
too low for ECM, actually increased run-time. Threshold increased
to 16384
------------------------------------------------------------------------
r1496 | kruppa | 2010-04-15 12:11:20 +0200 (Thu, 15 Apr 2010) | 2 lines
Add underscores to abort call on systems that need it
------------------------------------------------------------------------
r1495 | kruppa | 2010-04-14 23:16:48 +0200 (Wed, 14 Apr 2010) | 2 lines
Test for mpn_sqr() and if it doesn't exist, fall back to mpn_mul()
------------------------------------------------------------------------
r1494 | kruppa | 2010-04-13 19:15:12 +0200 (Tue, 13 Apr 2010) | 4 lines
Fixed missing return value that caused compiler warning
Removed OMP critical that was left over from debugging
------------------------------------------------------------------------
r1493 | kruppa | 2010-04-11 21:46:36 +0200 (Sun, 11 Apr 2010) | 3 lines
Small changes: check if --with-gmp dir exists, clarification of comment,
remove duplicate case
------------------------------------------------------------------------
r1492 | kruppa | 2010-04-11 00:44:00 +0200 (Sun, 11 Apr 2010) | 4 lines
Get addresses of input operands to mpres_mul() after realloc for result.
Input operands may change address if input and output are the same mpz_t,
and reading from the old, now free()'d, address makes valgrind unhappy
------------------------------------------------------------------------
r1491 | kruppa | 2010-04-10 23:45:24 +0200 (Sat, 10 Apr 2010) | 2 lines
ASSERT input < modulus was too strict, NTT code itself does not fully reduce
------------------------------------------------------------------------
r1490 | kruppa | 2010-04-10 23:34:11 +0200 (Sat, 10 Apr 2010) | 2 lines
Fixed missing mod reductions that could lead to NTT overflows
------------------------------------------------------------------------
r1489 | zimmerma | 2010-04-09 20:57:52 +0200 (Fri, 09 Apr 2010) | 2 lines
[TODO] corrected item about mpn_redc_2
------------------------------------------------------------------------
r1488 | zimmerma | 2010-04-09 19:45:57 +0200 (Fri, 09 Apr 2010) | 2 lines
[TODO] forgot to commit 2nd item in last change
------------------------------------------------------------------------
r1487 | zimmerma | 2010-04-09 19:45:29 +0200 (Fri, 09 Apr 2010) | 2 lines
[TODO] added two items suggested by T. Granlund
------------------------------------------------------------------------
r1486 | zimmerma | 2010-04-09 19:31:09 +0200 (Fri, 09 Apr 2010) | 2 lines
bumped version number to 6.3-rc4 (just to try "make dist")
------------------------------------------------------------------------
r1485 | zimmerma | 2010-04-09 19:25:07 +0200 (Fri, 09 Apr 2010) | 4 lines
[ecm-params.h.alpha-ev56] new parameter file for Alpha ev56
[Makefile.am] added ecm-params.h.alpha-ev56 in "make dist"
[configure.in] now takes new default parameter files
------------------------------------------------------------------------
r1484 | kruppa | 2010-04-09 19:10:09 +0200 (Fri, 09 Apr 2010) | 4 lines
Small changes to make building outside of the source directory work.
Make libmulredc.a depend on config.m4 in all asm subdirectories.
------------------------------------------------------------------------
r1483 | zimmerma | 2010-04-09 19:06:09 +0200 (Fri, 09 Apr 2010) | 2 lines
[README.dev] added item to make a new release
------------------------------------------------------------------------
r1482 | zimmerma | 2010-04-09 19:03:13 +0200 (Fri, 09 Apr 2010) | 3 lines
[ecm-params.h.pentium4] updated parameters for ecm-6.3
[Makefile.am] added hppa2.0 default parameters
------------------------------------------------------------------------
r1481 | kruppa | 2010-04-09 17:44:31 +0200 (Fri, 09 Apr 2010) | 4 lines
Looks like gas wants "#" as comment separater and Apple Mac OS X assembler
wants ";" so now we use M4 to discard comments
------------------------------------------------------------------------
r1480 | kruppa | 2010-04-09 16:13:09 +0200 (Fri, 09 Apr 2010) | 4 lines
Make -printconfig print whether Windows ABI is used for assembler functions
Q&D (and #define'd out) test of mulredc1_*() functions
------------------------------------------------------------------------
r1479 | kruppa | 2010-04-09 16:02:40 +0200 (Fri, 09 Apr 2010) | 3 lines
Likewise fixed incorrect reading of inv_m and missing quotes
------------------------------------------------------------------------
r1478 | kruppa | 2010-04-09 15:27:37 +0200 (Fri, 09 Apr 2010) | 6 lines
Fixed incorrect quoting which broke the asserts and the switch to MS ABI
in mulredc.m4.
Fixed incorrect reading of inv_m from the stack.
No longer include x86_64/redc.asm in build or distribution.
------------------------------------------------------------------------
r1477 | zimmerma | 2010-04-08 16:07:04 +0200 (Thu, 08 Apr 2010) | 2 lines
[ecm-params.h.hppa2.0] parameter file for hppa2.0
------------------------------------------------------------------------
r1476 | zimmerma | 2010-04-08 15:19:34 +0200 (Thu, 08 Apr 2010) | 2 lines
[sp.h] fix to make umul_ppmm() work properly on hppa2.0 (gcc61.fsffrance.org)
------------------------------------------------------------------------
r1475 | zimmerma | 2010-04-08 15:07:29 +0200 (Thu, 08 Apr 2010) | 2 lines
[ecm-params.h.pentium-m] updated
------------------------------------------------------------------------
r1474 | zimmerma | 2010-04-07 17:48:22 +0200 (Wed, 07 Apr 2010) | 3 lines
[ecm-params.h.ia64] new parameter file
[Makefile.am] added ecm-params.h.ia64 in make dist
------------------------------------------------------------------------
r1473 | kruppa | 2010-04-07 17:36:19 +0200 (Wed, 07 Apr 2010) | 6 lines
Changed comments from C++ style "//" to assembler style "#" to avoid
.S files which cause trouble on case-insensitive filesystems.
Removed mulredc*.asm files from SVN as these are generated code.
Added rules to Makefile.am to generate the mulredc*.asm files.
------------------------------------------------------------------------
r1472 | zimmerma | 2010-04-07 15:13:59 +0200 (Wed, 07 Apr 2010) | 3 lines
[ecm-params.h.sparc64] parameter file for sparc64
[Makefile.am] added ecm-params.h.sparc64 to make dist
------------------------------------------------------------------------
r1471 | zimmerma | 2010-04-07 14:00:27 +0200 (Wed, 07 Apr 2010) | 2 lines
[Makefile.am] added new parameter files to make dist
------------------------------------------------------------------------
r1470 | zimmerma | 2010-04-07 13:52:53 +0200 (Wed, 07 Apr 2010) | 2 lines
[ecm-params.h.athlon] added comment (this is for Opteron)
------------------------------------------------------------------------
r1469 | zimmerma | 2010-04-07 13:04:26 +0200 (Wed, 07 Apr 2010) | 3 lines
[ecm-params.h.armv5tel] new parameter file for ARM
[ecm-params.h.mips64el,ecm-params.h.powerpc970] added version of GMP used
------------------------------------------------------------------------
r1468 | zimmerma | 2010-04-07 11:12:54 +0200 (Wed, 07 Apr 2010) | 2 lines
[ecm-params.h.mips64el] new parameter file for MIPS64
------------------------------------------------------------------------
r1467 | zimmerma | 2010-04-07 09:56:05 +0200 (Wed, 07 Apr 2010) | 2 lines
[ecm-params.h.powerpc970] updated tuning parameters for 6.3
------------------------------------------------------------------------
r1466 | kruppa | 2010-04-06 17:25:50 +0200 (Tue, 06 Apr 2010) | 3 lines
Test if compiler understands __attribute__((hot)) at configure time
Marked some hot-spot functions of ECM accordingly
------------------------------------------------------------------------
r1465 | kruppa | 2010-04-02 14:41:42 +0200 (Fri, 02 Apr 2010) | 3 lines
Removed duplicate LT_PREREQ, lowered requirement from 2.2.6b
to 2.2.6.
------------------------------------------------------------------------
r1464 | kruppa | 2010-04-01 17:16:34 +0200 (Thu, 01 Apr 2010) | 6 lines
Separate thresholds for mulredc*() functions for squaring and
general multiplication, since GMP mpn_sqr() is faster than mpn_mul_n()
Use __gmpn_redc_1() function if configure finds it, although
at this time it doesn't seem to be faster than the loop over mpn_addmul_1()
------------------------------------------------------------------------
r1463 | kruppa | 2010-03-31 11:35:48 +0200 (Wed, 31 Mar 2010) | 2 lines
Print TUNE_MULREDC_THRESH with -printconfig
------------------------------------------------------------------------
r1462 | kruppa | 2010-03-31 10:27:19 +0200 (Wed, 31 Mar 2010) | 2 lines
Fixed uninitialised variable in assertion
------------------------------------------------------------------------
r1461 | zimmerma | 2010-03-31 10:22:47 +0200 (Wed, 31 Mar 2010) | 2 lines
[README.dev] added two reminders for making a new release
------------------------------------------------------------------------
r1460 | kruppa | 2010-03-31 01:53:51 +0200 (Wed, 31 Mar 2010) | 9 lines
Switch assembly code to Windows ABI under MinGW
Assembly redc3() function disabled on x86_84, GMP is faster
New threshold for tuning: TUNE_MULREDC_THRESH, determines when to switch
from asm mulredc*() functions to GMP
Changed functions called by mpres_mul() to reduce call overhead
Added "longcheck" target which runs the test scripts with different
parameters and with valgrind, if configure found valgrind
------------------------------------------------------------------------
r1459 | kruppa | 2010-03-18 17:46:07 +0100 (Thu, 18 Mar 2010) | 3 lines
Make asm code switch to Windows 64 ABI if WINDOWS64_ABI is defined
in config.m4. Completely untested. mulredc1.m4 is to be done yet
------------------------------------------------------------------------
r1458 | kruppa | 2010-03-17 23:10:02 +0100 (Wed, 17 Mar 2010) | 2 lines
Auto-generated files, should not be in SVN
------------------------------------------------------------------------
r1457 | kruppa | 2010-03-17 22:03:23 +0100 (Wed, 17 Mar 2010) | 2 lines
Added -printconfig parameter
------------------------------------------------------------------------
r1456 | kruppa | 2010-03-17 19:01:40 +0100 (Wed, 17 Mar 2010) | 5 lines
Try to import CC and CFLAGS from gmp.h (copied from MPFR 2.4.2)
Detect SSE2 support by test compilation
Use CCASFLAGS with CCAS
Stricter quoting
------------------------------------------------------------------------
r1455 | kruppa | 2010-03-17 18:58:36 +0100 (Wed, 17 Mar 2010) | 3 lines
Commented out .asm -> .S rule to avoid problems on case-insensitive
filesystems
------------------------------------------------------------------------
r1454 | kruppa | 2010-03-16 17:47:49 +0100 (Tue, 16 Mar 2010) | 2 lines
Truncating pointer conversion bug fixed, pointed out by David Cleaver
------------------------------------------------------------------------
r1453 | kruppa | 2010-03-16 17:34:39 +0100 (Tue, 16 Mar 2010) | 5 lines
Change use of CFLAGS, CCASFLAGS and LDFLAGS when checking for underscores
to match that in the resulting Makefile. Fixes error when -m64 was added
to CCASFLAGS.
------------------------------------------------------------------------
r1452 | kruppa | 2010-03-10 22:15:44 +0100 (Wed, 10 Mar 2010) | 8 lines
Use autoconf's test to determine how to enable OpenMP in the compiler.
Enable OpenMP only for those targets that need it to avoid spurious
library dependencies.
Link GSL only to rho in test-drive mode to avoid spurious library
dependency. Compile GSL-dependent code in rho.c only in test-drive mode.
More consistent quoting in configure.in
------------------------------------------------------------------------
r1451 | kruppa | 2010-03-10 13:59:21 +0100 (Wed, 10 Mar 2010) | 3 lines
Keep linking to GMP library while checking for GMP functions such as
__gmpn_add_nc and __gmpn_mod_34lsub1
------------------------------------------------------------------------
r1450 | zimmerma | 2010-03-09 11:35:21 +0100 (Tue, 09 Mar 2010) | 3 lines
[ecm.c] clean up the code to print expected number of curves and time
also changed to print from 35 to 80 digits instead of 20 to 65
------------------------------------------------------------------------
r1449 | kruppa | 2010-03-07 21:53:40 +0100 (Sun, 07 Mar 2010) | 4 lines
powerpc64 needs -m64 flag for gcc to produce 64 bit build. Without the flag,
it produces a 32 bit build seemingly successfully, but the 64-bit mulredc
asm code produces incorrect arithmetic.
------------------------------------------------------------------------
r1447 | kruppa | 2010-03-07 17:25:37 +0100 (Sun, 07 Mar 2010) | 8 lines
Changed rules for building manpage ecm.1. Previously the man page would be
built if ecm.1 was missing or was older than ecm.xml, even if xsltproc or
docbook.xsl were not found by ./configure, causing "make" to exit with
error.
Furthermore, listing ecm.1 in two output variables would cause
"make install" to try to install the same man page twice, leading to a
warning.
------------------------------------------------------------------------
r1446 | kruppa | 2010-03-07 16:18:06 +0100 (Sun, 07 Mar 2010) | 2 lines
File locking item removed, it's done
------------------------------------------------------------------------
r1445 | kruppa | 2010-03-07 02:23:44 +0100 (Sun, 07 Mar 2010) | 2 lines
Changed paths:
M /trunk/README
Point out explicitly that -save saves after stage 2
------------------------------------------------------------------------
r1444 | kruppa | 2010-03-07 00:47:56 +0100 (Sun, 07 Mar 2010) | 2 lines
Changed paths:
M /trunk/resume.c
Process LF, CR, and CR/LF as newline when reading save files
------------------------------------------------------------------------
r1443 | kruppa | 2010-03-05 15:53:07 +0100 (Fri, 05 Mar 2010) | 2 lines
Changed paths:
M /trunk/INSTALL
Refer to latest GMP version 5.0.1
------------------------------------------------------------------------
r1442 | kruppa | 2010-03-03 17:18:47 +0100 (Wed, 03 Mar 2010) | 8 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
On Darwin x86_64 systems, see if we need to pass -m64 to gcc to get
64 bit code.
Don't add the GMP library to LIBS, but let Makefile.am add it to LDADD
instead, to avoid GMP getting copied into the GMP-ECM libraries which
is non-portable and seems to break linking on Darwin systems.
------------------------------------------------------------------------
r1441 | kruppa | 2010-03-03 17:13:40 +0100 (Wed, 03 Mar 2010) | 5 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
M /trunk/rho.c
M /trunk/schoen_strass.c
Fixed operator precedence bug in schoen_strass.c
Compile Buchstab_omega() in rho.c only with GSL to avoid warning
Added mpres_equal() function
------------------------------------------------------------------------
r1440 | kruppa | 2010-03-03 15:48:45 +0100 (Wed, 03 Mar 2010) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Hide omp critical pragma if OMP isn't used to avoid compiler warning
------------------------------------------------------------------------
r1439 | kruppa | 2010-02-15 18:34:20 +0100 (Mon, 15 Feb 2010) | 5 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-ecm.h
M /trunk/main.c
M /trunk/resume.c
Removed some dead code from checkpoint writing.
Changed writing save file lines always to append to the file, with
file locking if fcntl() is available.
------------------------------------------------------------------------
r1438 | kruppa | 2010-02-10 15:17:53 +0100 (Wed, 10 Feb 2010) | 3 lines
Changed paths:
M /trunk/phiP.gp
Slight cleanups
------------------------------------------------------------------------
r1437 | kruppa | 2010-02-10 14:41:32 +0100 (Wed, 10 Feb 2010) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Previous commint included P values where code could not factor phi(P). Fixed
------------------------------------------------------------------------
r1436 | kruppa | 2010-02-10 13:41:29 +0100 (Wed, 10 Feb 2010) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
More P values to allow larger B2 in a single run
------------------------------------------------------------------------
r1435 | kruppa | 2010-02-10 01:49:03 +0100 (Wed, 10 Feb 2010) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
More parallelization while building f(x)
------------------------------------------------------------------------
r1434 | kruppa | 2010-02-01 17:39:17 +0100 (Mon, 01 Feb 2010) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Cleanup in list_scale_V(), slightly more parallelization
------------------------------------------------------------------------
r1433 | kruppa | 2010-02-01 14:48:52 +0100 (Mon, 01 Feb 2010) | 3 lines
Changed paths:
M /trunk/bestd.c
M /trunk/ecm-impl.h
M /trunk/ks-multiply.c
M /trunk/mpmod.c
M /trunk/pm1fs2.c
M /trunk/schoen_strass.c
M /trunk/sp.h
M /trunk/stage2.c
Replaced __GMP_BITS_PER_MP_LIMB and most mp_bits_per_limb
by GMP_NUMB_BITS
------------------------------------------------------------------------
r1432 | zimmerma | 2010-01-30 22:21:43 +0100 (Sat, 30 Jan 2010) | 2 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/INSTALL
M /trunk/Makefile.am
M /trunk/NEWS
M /trunk/build.vc9/config.h
M /trunk/ecm.h
preparation for the release of ecm-6.3
------------------------------------------------------------------------
r1431 | kruppa | 2010-01-23 20:55:47 +0100 (Sat, 23 Jan 2010) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Make "one-pass" P+1 stage 2 use parallel transforms
------------------------------------------------------------------------
r1430 | kruppa | 2010-01-22 23:36:34 +0100 (Fri, 22 Jan 2010) | 5 lines
Changed paths:
M /trunk/mpmod.c
Changed __GMP_BITS_PER_MP_LIMB to GMP_NUMB_BITS
Bugfix in expensive assert check for mulredc
Cleanup in powering functions
------------------------------------------------------------------------
r1429 | kruppa | 2010-01-22 21:42:31 +0100 (Fri, 22 Jan 2010) | 3 lines
Changed paths:
M /trunk/configure.in
Enable asm mulredc by default only on x86_64 and 64 bit PowerPC
Check for GSL
------------------------------------------------------------------------
r1428 | kruppa | 2010-01-22 21:23:19 +0100 (Fri, 22 Jan 2010) | 3 lines
Changed paths:
M /trunk/bench_mulredc.c
Slightly more readable output
------------------------------------------------------------------------
r1427 | kruppa | 2010-01-20 14:20:32 +0100 (Wed, 20 Jan 2010) | 3 lines
Changed paths:
M /trunk/rho.gp
Make results agree better with those from rho.c
Added functions for P+1 prob, and for small B2
------------------------------------------------------------------------
r1426 | zimmerma | 2010-01-08 19:03:00 +0100 (Fri, 08 Jan 2010) | 2 lines
Changed paths:
M /trunk/sp.h
[sp.h] define __GMP_BITS_PER_MP_LIMB from GMP_LIMB_BITS when undefined
------------------------------------------------------------------------
r1425 | kruppa | 2009-11-06 03:31:28 +0100 (Fri, 06 Nov 2009) | 5 lines
Changed paths:
M /trunk/rho.c
Functions for counting and estimating smooth and rough numbers.
For small B2, estimate stage 2 probability with sum instead of
integral.
------------------------------------------------------------------------
r1424 | kruppa | 2009-11-01 15:53:30 +0100 (Sun, 01 Nov 2009) | 2 lines
Changed paths:
M /trunk/Makefile.am
Add target "rho" to test code in rho.c
------------------------------------------------------------------------
r1423 | kruppa | 2009-11-01 15:39:42 +0100 (Sun, 01 Nov 2009) | 3 lines
Changed paths:
M /trunk/rho.c
Functions for computing \Phi(x,y) and \Psi(x,y) exactly,
and an estimate for Phi(x,y) (number of y-rough numbers)
------------------------------------------------------------------------
r1422 | zimmerma | 2009-08-31 10:23:26 +0200 (Mon, 31 Aug 2009) | 3 lines
Changed paths:
M /trunk/tune.c
[tune.c] replace obsolete mpz_random by mpz_urandomb (suggested by Jason
Moxham)
------------------------------------------------------------------------
r1421 | brian_gladman | 2009-08-11 17:35:55 +0200 (Tue, 11 Aug 2009) | 1 line
Changed paths:
A /trunk/build.vc9/mp_lib.vsprops
------------------------------------------------------------------------
r1420 | brian_gladman | 2009-08-11 17:35:17 +0200 (Tue, 11 Aug 2009) | 1 line
Changed paths:
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/readme.txt
M /trunk/build.vc9/tests.py
M /trunk/build.vc9/tune/tune.vcproj
Update Windows VC++ build to use standard output directories and to use MPIR by default.
------------------------------------------------------------------------
r1419 | kruppa | 2009-05-28 21:48:48 +0200 (Thu, 28 May 2009) | 3 lines
Changed paths:
M /trunk/main.c
Allow -printconfig as only parameter, exit after printing config.
Print tuning parameters, too.
------------------------------------------------------------------------
r1418 | zimmerma | 2009-05-18 13:59:13 +0200 (Mon, 18 May 2009) | 2 lines
Changed paths:
M /trunk/mpzspv.c
[mpzspv.c] get rid of malloc_usable_size (and thus malloc.h)
------------------------------------------------------------------------
r1417 | zimmerma | 2009-05-18 13:19:15 +0200 (Mon, 18 May 2009) | 2 lines
Changed paths:
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/ks-multiply.c
M /trunk/test.pm1
[ks-multiply.c] check allocation failure in kronecker_schonhage
------------------------------------------------------------------------
r1416 | zimmerma | 2009-05-18 13:08:21 +0200 (Mon, 18 May 2009) | 2 lines
Changed paths:
M /trunk/mpzspm.c
[mpzspm.c] fixed typo
------------------------------------------------------------------------
r1415 | kruppa | 2009-05-17 23:20:05 +0200 (Sun, 17 May 2009) | 3 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/pm1fs2.c
M /trunk/sp.c
M /trunk/spm.c
M /trunk/stage2.c
Added some error handling for out-of-memory conditions to NTT code
------------------------------------------------------------------------
r1414 | zimmerma | 2009-05-12 16:07:12 +0200 (Tue, 12 May 2009) | 2 lines
Changed paths:
M /trunk/build.vc9/assembler/test_mulredc.c
M /trunk/ecm_ntt.c
M /trunk/getprime.c
M /trunk/main.c
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/polyeval.c
M /trunk/rho.c
M /trunk/schoen_strass.c
M /trunk/sets_long.c
M /trunk/sp.c
M /trunk/spm.c
M /trunk/stage2.c
M /trunk/test_mulredc.c
M /trunk/tune.c
check return value of malloc in several places (bug reported by Torbjrn Granlund)
------------------------------------------------------------------------
r1413 | zimmerma | 2009-04-25 23:34:58 +0200 (Sat, 25 Apr 2009) | 2 lines
Changed paths:
M /trunk/NEWS
[NEWS] updated with changes between ecm-6.2.2 and ecm-6.2.3
------------------------------------------------------------------------
r1412 | kruppa | 2009-04-21 17:13:49 +0200 (Tue, 21 Apr 2009) | 2 lines
Changed paths:
M /trunk/mul_fft-params.h.default
Missing endline at end of file
------------------------------------------------------------------------
r1411 | kruppa | 2009-04-20 00:02:05 +0200 (Mon, 20 Apr 2009) | 2 lines
Changed paths:
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
Ported recent improvements
------------------------------------------------------------------------
r1410 | kruppa | 2009-04-18 22:47:23 +0200 (Sat, 18 Apr 2009) | 4 lines
Changed paths:
M /trunk/configure.in
Cleanup of tests for asm redc code, test list of cpu types only once
Print configuration at end of configure
Various cleanups (or messups, as the case may be)
------------------------------------------------------------------------
r1409 | zimmerma | 2009-04-18 19:01:08 +0200 (Sat, 18 Apr 2009) | 2 lines
Changed paths:
M /trunk/TODO
[TODO] added item
------------------------------------------------------------------------
r1408 | kruppa | 2009-04-18 17:21:14 +0200 (Sat, 18 Apr 2009) | 3 lines
Changed paths:
M /trunk/main.c
Fixed old bug: if last line did not end in newline, only one curve would
be run on that number in spite of -c parameter
------------------------------------------------------------------------
r1407 | kruppa | 2009-04-18 16:03:45 +0200 (Sat, 18 Apr 2009) | 3 lines
Changed paths:
M /trunk/main.c
Added -printconfig option which prints configuration optinons use for
building GMP-ECM
------------------------------------------------------------------------
r1406 | zimmerma | 2009-04-18 15:40:44 +0200 (Sat, 18 Apr 2009) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] print --enable-asm-redc in header line if used
------------------------------------------------------------------------
r1405 | zimmerma | 2009-04-18 15:07:04 +0200 (Sat, 18 Apr 2009) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] added item
------------------------------------------------------------------------
r1404 | zimmerma | 2009-04-18 15:03:09 +0200 (Sat, 18 Apr 2009) | 3 lines
Changed paths:
M /trunk/configure.in
[configure.in] applied patch from Peter Jeremy
(http://gforge.inria.fr/tracker/index.php?func=detail&aid=7639&group_id=135&atid=623)
------------------------------------------------------------------------
r1403 | kruppa | 2009-04-16 17:51:46 +0200 (Thu, 16 Apr 2009) | 3 lines
Changed paths:
M /trunk/INSTALL
Added warning about incompatible GMP header/library
Updated GMP version to 4.3.0
------------------------------------------------------------------------
r1402 | kruppa | 2009-04-16 17:21:21 +0200 (Thu, 16 Apr 2009) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc2.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
Moving memory load ahead was missing for last unroll step
------------------------------------------------------------------------
r1401 | kruppa | 2009-04-16 16:39:05 +0200 (Thu, 16 Apr 2009) | 2 lines
Changed paths:
M /trunk/README
Replaced long obsolete files list by basic usage examples
------------------------------------------------------------------------
r1400 | kruppa | 2009-04-16 16:32:19 +0200 (Thu, 16 Apr 2009) | 3 lines
Changed paths:
M /trunk/configure.in
GMP 4.3.0 and newer always have three parts in version string (including
patchlevel, even if it's zero). This broke a test in configure
------------------------------------------------------------------------
r1399 | kruppa | 2009-04-10 22:50:33 +0200 (Fri, 10 Apr 2009) | 4 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
Moved memory load ahead one instruction.
Slight speedup on Opteron/Phenom (~1% for 20 words),
noticable speedup on Core 2 (~8% for 20 words)
------------------------------------------------------------------------
r1398 | zimmerma | 2009-04-01 18:25:52 +0200 (Wed, 01 Apr 2009) | 2 lines
Changed paths:
M /trunk/hecm/Makefile
[hecm/Makefile] link against the libecm.a from .., not /usr/lib/libecm.a!
------------------------------------------------------------------------
r1397 | zimmerma | 2009-04-01 17:00:18 +0200 (Wed, 01 Apr 2009) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] check config.guess is recent enough
------------------------------------------------------------------------
r1396 | zimmerma | 2009-04-01 16:39:47 +0200 (Wed, 01 Apr 2009) | 2 lines
Changed paths:
D /trunk/configfsf.guess
D /trunk/configfsf.sub
[configfsf.guess,configfsf.sub] removed unused files
------------------------------------------------------------------------
r1395 | zimmerma | 2009-04-01 14:18:03 +0200 (Wed, 01 Apr 2009) | 2 lines
Changed paths:
M /trunk/README.dev
A /trunk/patch-config.guess.diff
[patch-config.guess.diff] patch to fix config.guess on Mac OS X / PowerPC
------------------------------------------------------------------------
r1394 | kruppa | 2009-03-30 15:50:08 +0200 (Mon, 30 Mar 2009) | 4 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm2.c
M /trunk/stage2.c
Code to find factor of group order of elliptic curve in stage 2 could
segfault if factor (of input number) was re-discovered during initialisation
of arithmetic progressions on the curve
------------------------------------------------------------------------
r1393 | kruppa | 2009-03-30 15:44:52 +0200 (Mon, 30 Mar 2009) | 2 lines
Changed paths:
M /trunk/ecm.c
Bugfix: rhotable did not get freed if a factor was found in stage 1
------------------------------------------------------------------------
r1392 | brian_gladman | 2009-03-29 18:16:04 +0200 (Sun, 29 Mar 2009) | 1 line
Changed paths:
M /trunk/build.vc9/ecm.sln
M /trunk/build.vc9/tune/tune.vcproj
correct error in Windows tune builld
------------------------------------------------------------------------
r1391 | brian_gladman | 2009-03-29 13:44:30 +0200 (Sun, 29 Mar 2009) | 1 line
Changed paths:
D /trunk/build.vc9/ecm-params.win32.amd.h
D /trunk/build.vc9/ecm-params.win32.intel.h
D /trunk/build.vc9/ecm-params.x64.amd.h
D /trunk/build.vc9/ecm-params.x64.intel.h
------------------------------------------------------------------------
r1390 | brian_gladman | 2009-03-29 13:43:13 +0200 (Sun, 29 Mar 2009) | 1 line
Changed paths:
A /trunk/build.vc9/ecm-params.h.win32.amd
A /trunk/build.vc9/ecm-params.h.win32.intel
A /trunk/build.vc9/ecm-params.h.x64.amd
A /trunk/build.vc9/ecm-params.h.x64.intel
M /trunk/build.vc9/libecm/libecm.vcproj
A /trunk/build.vc9/mul_fft-params.h.win32.amd
A /trunk/build.vc9/mul_fft-params.h.win32.intel
A /trunk/build.vc9/mul_fft-params.h.x64.amd
A /trunk/build.vc9/mul_fft-params.h.x64.intel
M /trunk/build.vc9/readme.txt
M /trunk/build.vc9/tune/tune.vcproj
Further update for Windows build
------------------------------------------------------------------------
r1389 | brian_gladman | 2009-03-29 00:05:29 +0100 (Sun, 29 Mar 2009) | 1 line
Changed paths:
M /trunk/build.vc9/tests.py
correct test.py for new directory structure
------------------------------------------------------------------------
r1388 | brian_gladman | 2009-03-28 23:59:27 +0100 (Sat, 28 Mar 2009) | 2 lines
Changed paths:
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
A /trunk/build.vc9/assembler/mulredc.h
M /trunk/build.vc9/config.h
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/ecm-params.h
A /trunk/build.vc9/ecm-params.win32.amd.h
A /trunk/build.vc9/ecm-params.win32.intel.h
A /trunk/build.vc9/ecm-params.x64.amd.h
A /trunk/build.vc9/ecm-params.x64.intel.h
M /trunk/build.vc9/ecm.sln
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/readme.txt
M /trunk/build.vc9/tests.py
A /trunk/build.vc9/tune
A /trunk/build.vc9/tune/tune.vcproj
1. Add tune to the windows GMP-ECM build
2. Add AMD and Intel build configurations (using tune output).
------------------------------------------------------------------------
r1387 | kruppa | 2009-03-28 22:53:42 +0100 (Sat, 28 Mar 2009) | 2 lines
Changed paths:
M /trunk/INSTALL
Updated note, since --enable-asm-redc is default now
------------------------------------------------------------------------
r1386 | brian_gladman | 2009-03-28 17:48:45 +0100 (Sat, 28 Mar 2009) | 1 line
Changed paths:
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/tests.py
M /trunk/ntt_gfp.c
M /trunk/spv.c
Convert SSE2 inline assembler for 32-bit Windows build
------------------------------------------------------------------------
r1385 | zimmerma | 2009-03-28 12:59:04 +0100 (Sat, 28 Mar 2009) | 2 lines
Changed paths:
M /trunk/README.dev
[README.dev] more about INSTALL up-to-date
------------------------------------------------------------------------
r1384 | zimmerma | 2009-03-28 12:56:30 +0100 (Sat, 28 Mar 2009) | 2 lines
Changed paths:
M /trunk/INSTALL
[INSTALL] latest release of GMP is 4.2.4
------------------------------------------------------------------------
r1383 | kruppa | 2009-03-28 12:16:00 +0100 (Sat, 28 Mar 2009) | 2 lines
Changed paths:
M /trunk/INSTALL
Added mention of --enable-asm-redc and --enable-sse2
------------------------------------------------------------------------
r1382 | kruppa | 2009-03-28 11:56:24 +0100 (Sat, 28 Mar 2009) | 3 lines
Changed paths:
M /trunk/configure.in
Enable SSE2 if config.guess identifies the system as "i786" which seems to
be what recent autotools call a Pentium 4 (rather than pentium4 as before)
------------------------------------------------------------------------
r1381 | rcosset | 2009-03-27 10:24:54 +0100 (Fri, 27 Mar 2009) | 1 line
Changed paths:
M /trunk/hecm/auxi.h
M /trunk/hecm/hecm.c
M /trunk/hecm/morphismes.c
Correction of typos in the comments of hecm
------------------------------------------------------------------------
r1380 | zimmerma | 2009-03-26 15:17:15 +0100 (Thu, 26 Mar 2009) | 4 lines
Changed paths:
M /trunk/test.ecm
M /trunk/test.pm1
M /trunk/test.pp1
[test.pm1] added new test, updated copyright years, added comments for return
code
[test.pp1,test.ecm] updated copyright years
------------------------------------------------------------------------
r1379 | kruppa | 2009-03-25 13:42:39 +0100 (Wed, 25 Mar 2009) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
Removed the horrible FASTOBJ kludge. There must be a better way to
specify the order in which object files are to appear on the link command.
------------------------------------------------------------------------
r1378 | kruppa | 2009-03-24 17:00:44 +0100 (Tue, 24 Mar 2009) | 3 lines
Changed paths:
M /trunk/mpmod.c
Bugfix: in ecm_redc_n(), a carry was not propagated correctly if
xp[n - 1] was zero but tp[n - 1] was non-zero.
------------------------------------------------------------------------
r1377 | rcosset | 2009-03-24 11:51:01 +0100 (Tue, 24 Mar 2009) | 1 line
Changed paths:
M /trunk/hecm/hecm.c
Print the imput number in hecm.
------------------------------------------------------------------------
r1376 | rcosset | 2009-03-24 11:40:39 +0100 (Tue, 24 Mar 2009) | 1 line
Changed paths:
A /trunk/hecm
A /trunk/hecm/Jacobi.c
A /trunk/hecm/Jacobi.h
A /trunk/hecm/Makefile
A /trunk/hecm/ariKS.c
A /trunk/hecm/ariKS.h
A /trunk/hecm/auxi.c
A /trunk/hecm/auxi.h
A /trunk/hecm/generation.c
A /trunk/hecm/generation.h
A /trunk/hecm/hecm.c
A /trunk/hecm/hecm.h
A /trunk/hecm/morphismes.c
A /trunk/hecm/morphismes.h
A /trunk/hecm/stage1HECM.c
A /trunk/hecm/stage2HECM.c
Added a new software gmp-hecm based on gmp-ecm. HECM used decomposable hyperelliptic curves of genus 2 instead of elliptic curves. Thus it does two run of ECM in parallel. The used of Kummer surfaces with small parameters make it quicker for numbers >= 10^300.
------------------------------------------------------------------------
r1375 | kruppa | 2009-03-23 15:23:23 +0100 (Mon, 23 Mar 2009) | 2 lines
Changed paths:
M /trunk/NEWS
M /trunk/configure.in
Updated NEWS with 6.2.2 release, bumped version to 6.3
------------------------------------------------------------------------
r1373 | kruppa | 2009-03-23 00:00:25 +0100 (Mon, 23 Mar 2009) | 3 lines
Changed paths:
M /trunk/ntt_gfp.c
M /trunk/spv.c
MacOS assembler doesn't like binary constants in asm code, replaced by hex.
Patch supplied by "jedirock" on mersenneforum.org
------------------------------------------------------------------------
r1372 | rcosset | 2009-03-19 14:01:26 +0100 (Thu, 19 Mar 2009) | 1 line
Changed paths:
M /trunk/mpmod.c
Added a few commentary in mpmod.c
------------------------------------------------------------------------
r1371 | zimmerma | 2009-03-18 17:42:46 +0100 (Wed, 18 Mar 2009) | 2 lines
Changed paths:
M /trunk/mpmod.c
[mpmod.c] added some FIXME's
------------------------------------------------------------------------
r1370 | kruppa | 2009-03-18 01:13:21 +0100 (Wed, 18 Mar 2009) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
Merged in Romain's modifications
------------------------------------------------------------------------
r1369 | kruppa | 2009-03-18 00:20:59 +0100 (Wed, 18 Mar 2009) | 6 lines
Changed paths:
M /trunk/x86_64/Makefile.am
M /trunk/x86_64/mulredc.h
M /trunk/x86_64/mulredc.m4
D /trunk/x86_64/mulredc1.h
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc2.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
Removed mulredc1.h, prototypes are in mulredc.h now
Removed superfluous #include <gmp.h> in mulredc.h
Some small changes in mulredc.m4: replace some movq by movl, change
for-loop so it works with LENGTH=2
------------------------------------------------------------------------
r1368 | kruppa | 2009-03-17 23:34:51 +0100 (Tue, 17 Mar 2009) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/athlon/Makefile.am
M /trunk/pentium4/Makefile.am
M /trunk/powerpc64/Makefile.am
M /trunk/x86_64/Makefile.am
The include path to mulredc.h must use $(srcdir) or a build with
separate source/build directories (as used by make distcheck) fails
------------------------------------------------------------------------
r1367 | kruppa | 2009-03-17 22:16:56 +0100 (Tue, 17 Mar 2009) | 5 lines
Changed paths:
M /trunk/configure.in
New config.guess don't call a Pentium 4 "pentium4" any more, but "i786",
the corresponding case was missing in the first test for asm eligibility.
And autoconf changes the m4 quote characters from ` and ' to [ and ],
so they need to be quoted for shell character-set matching. I hate autotools
------------------------------------------------------------------------
r1366 | kruppa | 2009-03-17 20:54:47 +0100 (Tue, 17 Mar 2009) | 6 lines
Changed paths:
M /trunk/Makefile.am
D /trunk/asmredc.h
A /trunk/bench_mulredc.c
M /trunk/configure.in
M /trunk/mpmod.c
A /trunk/test_mulredc.c
Build mulredc code in subdirectories if enabled, and link to it from the
top directory
Moved bench_mulredc.c and test_mulredc.c to top directory rather than having
identical copies in each subdir
Did I mention that I hate autotools?
------------------------------------------------------------------------
r1365 | kruppa | 2009-03-17 20:45:30 +0100 (Tue, 17 Mar 2009) | 4 lines
Changed paths:
D /trunk/config.guess
D /trunk/config.sub
Removed config.guess and config.sub, they aren't sources and developers
with different versions of autotools installed will overwrite each others'
config.guess/config.sub all the time
------------------------------------------------------------------------
r1364 | kruppa | 2009-03-17 20:41:07 +0100 (Tue, 17 Mar 2009) | 4 lines
Changed paths:
M /trunk/athlon/Makefile.am
M /trunk/athlon/mulredc.h
M /trunk/pentium4/Makefile.am
M /trunk/powerpc64/Makefile.am
D /trunk/powerpc64/bench.c
A /trunk/powerpc64/mulredc.h
D /trunk/powerpc64/test_mulredc.c
Build mulredc as library in powerpc64
Removed extaneous prototypes, EXTRA_DIST entries
------------------------------------------------------------------------
r1363 | kruppa | 2009-03-17 20:34:31 +0100 (Tue, 17 Mar 2009) | 3 lines
Changed paths:
M /trunk/pentium4/Makefile.am
D /trunk/pentium4/bench.c
A /trunk/pentium4/mulredc.h
D /trunk/pentium4/test_mulredc.c
Build mulredc as library
------------------------------------------------------------------------
r1362 | kruppa | 2009-03-17 20:28:22 +0100 (Tue, 17 Mar 2009) | 2 lines
Changed paths:
M /trunk/athlon/Makefile.am
D /trunk/athlon/bench.c
A /trunk/athlon/mulredc.h
D /trunk/athlon/test_mulredc.c
Build mulredc as library
------------------------------------------------------------------------
r1361 | kruppa | 2009-03-17 20:08:17 +0100 (Tue, 17 Mar 2009) | 2 lines
Changed paths:
M /trunk/x86_64/Makefile.am
Forgot to add mulredc.h to distribution
------------------------------------------------------------------------
r1360 | kruppa | 2009-03-17 19:55:46 +0100 (Tue, 17 Mar 2009) | 3 lines
Changed paths:
M /trunk/x86_64/Makefile.am
D /trunk/x86_64/bench.c
A /trunk/x86_64/mulredc.h
D /trunk/x86_64/test_mulredc.c
Build mulredc as library, so GMP-ECM can link it (with ld rather than ln)
Removed bench and test_mulredc, are being moved to parent dir
------------------------------------------------------------------------
r1359 | kruppa | 2009-03-17 15:16:40 +0100 (Tue, 17 Mar 2009) | 2 lines
Changed paths:
D /trunk/x86_64/Makefile.dev
The targets from Makefile.dev are now in Makefile.am
------------------------------------------------------------------------
r1358 | zimmerma | 2009-03-17 11:00:52 +0100 (Tue, 17 Mar 2009) | 6 lines
Changed paths:
A /trunk/m4
added empty directory m4, since autoreconf seems to require it:
patate% autoreconf -i
aclocal: couldn't open directory `m4': No such file or directory
autoreconf: aclocal failed with exit status: 1
------------------------------------------------------------------------
r1357 | kruppa | 2009-03-17 00:00:55 +0100 (Tue, 17 Mar 2009) | 3 lines
Changed paths:
M /trunk/x86_64/redc.asm
Use RIP-relative addressing instead of horrible call/pop for computed
jump. Fixes a compilation error on MacOS
------------------------------------------------------------------------
r1356 | kruppa | 2009-03-15 22:58:34 +0100 (Sun, 15 Mar 2009) | 2 lines
Changed paths:
M /trunk/configure.in
Added i686-apple-darwin* to list of hosts that understand asm code
------------------------------------------------------------------------
r1355 | kruppa | 2009-03-12 16:02:33 +0100 (Thu, 12 Mar 2009) | 5 lines
Changed paths:
M /trunk/tune.c
Fixed generation of NTT_GFP_TWIDDLE_DI[FT]_BREAKOVER values
Avoid calling cputime() excessively often when timing short functions
Fixed access to uninitialised memory
------------------------------------------------------------------------
r1354 | kruppa | 2009-03-12 15:53:28 +0100 (Thu, 12 Mar 2009) | 2 lines
Changed paths:
M /trunk/ecm-params.h.powerpc970
NTT_GFP_TWIDDLE_DI[FT]_BREAKOVER was not in log_2() form
------------------------------------------------------------------------
r1353 | kruppa | 2009-03-08 20:49:41 +0100 (Sun, 08 Mar 2009) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.pentium3
M /trunk/ecm-params.h.pentium4
A /trunk/mul_fft-params.h.athlon64
A /trunk/mul_fft-params.h.default
A /trunk/mul_fft-params.h.pentium3
A /trunk/mul_fft-params.h.pentium4
M /trunk/mul_fft.c
Moved parameters for Schnhage-Strassen into separate file so that
tune output does not overwrite them
------------------------------------------------------------------------
r1352 | zimmerma | 2009-03-04 14:45:34 +0100 (Wed, 04 Mar 2009) | 2 lines
Changed paths:
M /trunk/ecmfactor2.c
[ecmfactor2.c] added wrapper function, and fixed example which did not work
------------------------------------------------------------------------
r1351 | zimmerma | 2009-03-03 15:32:13 +0100 (Tue, 03 Mar 2009) | 2 lines
Changed paths:
M /trunk/main.c
[main.c] update champions sizes
------------------------------------------------------------------------
r1350 | zimmerma | 2009-02-27 17:34:43 +0100 (Fri, 27 Feb 2009) | 2 lines
Changed paths:
M /trunk/NEWS
M /trunk/configure.in
M /trunk/powerpc64/powerpc-defs.m4
the powerpc64 assembly code from Philip McLaughlin now works on Linux too
------------------------------------------------------------------------
r1349 | zimmerma | 2009-02-27 16:56:18 +0100 (Fri, 27 Feb 2009) | 2 lines
Changed paths:
M /trunk/acinclude.m4
[acinclude.m4] too many quotes
------------------------------------------------------------------------
r1348 | zimmerma | 2009-02-27 16:45:36 +0100 (Fri, 27 Feb 2009) | 3 lines
Changed paths:
M /trunk/acinclude.m4
M /trunk/configure.in
M /trunk/powerpc64/Makefile.am
M /trunk/powerpc64/Makefile.dev
M /trunk/powerpc64/mulredc.m4
M /trunk/powerpc64/mulredc1.asm
M /trunk/powerpc64/mulredc10.asm
M /trunk/powerpc64/mulredc11.asm
M /trunk/powerpc64/mulredc12.asm
M /trunk/powerpc64/mulredc13.asm
M /trunk/powerpc64/mulredc14.asm
M /trunk/powerpc64/mulredc15.asm
M /trunk/powerpc64/mulredc16.asm
M /trunk/powerpc64/mulredc17.asm
M /trunk/powerpc64/mulredc18.asm
M /trunk/powerpc64/mulredc19.asm
M /trunk/powerpc64/mulredc2.asm
M /trunk/powerpc64/mulredc20.asm
M /trunk/powerpc64/mulredc3.asm
M /trunk/powerpc64/mulredc4.asm
M /trunk/powerpc64/mulredc5.asm
M /trunk/powerpc64/mulredc6.asm
M /trunk/powerpc64/mulredc7.asm
M /trunk/powerpc64/mulredc8.asm
M /trunk/powerpc64/mulredc9.asm
M /trunk/powerpc64/mulredc_1_2.m4
A /trunk/powerpc64/powerpc-defs.m4
M /trunk/powerpc64/redc.asm
adapt PowerPC assembly files so that they can be used under Linux too
(does not yet work)
------------------------------------------------------------------------
r1347 | kruppa | 2009-02-25 14:51:06 +0100 (Wed, 25 Feb 2009) | 2 lines
Changed paths:
M /trunk/pp1.c
Replaced some mpres_mul_ui() by 2 with mpres_add()
------------------------------------------------------------------------
r1346 | kruppa | 2009-02-24 23:18:20 +0100 (Tue, 24 Feb 2009) | 2 lines
Changed paths:
M /trunk/x86_64/bench.c
Fixed stupid error message about label at end of compound statement
------------------------------------------------------------------------
r1345 | kruppa | 2009-02-24 23:16:05 +0100 (Tue, 24 Feb 2009) | 5 lines
Changed paths:
M /trunk/x86_64/redc.asm
If a redc.s file was generated somehow, it was not run through the
C preprocessor before assembly (only .S fils are), causing address
generation for a computed jump to go wrong. Added a tripwire so that
assembly fails if preprocessor isn't used.
------------------------------------------------------------------------
r1344 | kruppa | 2009-02-24 19:49:27 +0100 (Tue, 24 Feb 2009) | 2 lines
Changed paths:
M /trunk/x86_64/Makefile.am
M /trunk/x86_64/bench.c
A /trunk/x86_64/mulredc1.h
A /trunk/x86_64/mulredc1.m4
M /trunk/x86_64/test_mulredc.c
For Romain: mulredc code for n x 1 products
------------------------------------------------------------------------
r1343 | kruppa | 2009-02-21 22:17:27 +0100 (Sat, 21 Feb 2009) | 2 lines
Changed paths:
D /trunk/powerpc64/Makefile.in
Makefile.in should not be in repository, only Makefile.am
------------------------------------------------------------------------
r1342 | zimmerma | 2009-02-18 23:06:52 +0100 (Wed, 18 Feb 2009) | 3 lines
Changed paths:
M /trunk/tune.c
[tune.c] NTT_GFP_TWIDDLE_DIF_BREAKOVER/NTT_GFP_TWIDDLE_DIT_BREAKOVER should be
the logarithm in base 2 of the corresponding thresholds
------------------------------------------------------------------------
r1341 | kruppa | 2009-02-16 17:03:05 +0100 (Mon, 16 Feb 2009) | 4 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
M /trunk/sets_long.c
Moved maxS() from pm1fs2.c to sets_long.c as sets_max(), as it depends on
how sets_long.c picks sets. Included test of sets_max() in the self-test.
Fixed some typos in comments.
------------------------------------------------------------------------
r1340 | kruppa | 2009-02-15 16:09:34 +0100 (Sun, 15 Feb 2009) | 2 lines
Changed paths:
D /trunk/m4
Delete empty directory
------------------------------------------------------------------------
r1339 | zimmerma | 2009-02-12 10:58:27 +0100 (Thu, 12 Feb 2009) | 2 lines
Changed paths:
M /trunk/Makefile.am
[Makefile.am] forgot ecm-params.h.powerpc970 in make dist
------------------------------------------------------------------------
r1338 | kruppa | 2009-02-11 23:20:32 +0100 (Wed, 11 Feb 2009) | 4 lines
Changed paths:
M /trunk/x86_64/bench.c
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
Added Phil McLaughlin's suggestion to remove a useless carry
propagation. Made bench.c use getrusage() if available which
has better resolution than clock() or times().
------------------------------------------------------------------------
r1337 | kruppa | 2009-02-11 15:26:46 +0100 (Wed, 11 Feb 2009) | 2 lines
Changed paths:
M /trunk/x86_64/Makefile.am
Add targets for bench and test_mulredc
------------------------------------------------------------------------
r1336 | kruppa | 2009-02-11 15:18:50 +0100 (Wed, 11 Feb 2009) | 2 lines
Changed paths:
M /trunk/x86_64/bench.c
M /trunk/x86_64/test_mulredc.c
Made bench compile again, fixed some -pedantic warnings in test_mulredc.c
------------------------------------------------------------------------
r1335 | zimmerma | 2009-02-11 10:00:35 +0100 (Wed, 11 Feb 2009) | 2 lines
Changed paths:
M /trunk/powerpc64/README
[powerpc64/README] added reference to LGPL license
------------------------------------------------------------------------
r1334 | zimmerma | 2009-02-10 09:58:20 +0100 (Tue, 10 Feb 2009) | 2 lines
Changed paths:
A /trunk/ecm-params.h.powerpc970
[ecm-params.h.powerpc970] default tuning parameters for powerpc64
------------------------------------------------------------------------
r1333 | zimmerma | 2009-02-10 09:50:43 +0100 (Tue, 10 Feb 2009) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
A /trunk/powerpc64
A /trunk/powerpc64/Makefile.am
A /trunk/powerpc64/Makefile.dev
A /trunk/powerpc64/Makefile.in
A /trunk/powerpc64/README
A /trunk/powerpc64/bench.c
A /trunk/powerpc64/generate_all
A /trunk/powerpc64/mulredc.m4
A /trunk/powerpc64/mulredc1.asm
A /trunk/powerpc64/mulredc10.asm
A /trunk/powerpc64/mulredc11.asm
A /trunk/powerpc64/mulredc12.asm
A /trunk/powerpc64/mulredc13.asm
A /trunk/powerpc64/mulredc14.asm
A /trunk/powerpc64/mulredc15.asm
A /trunk/powerpc64/mulredc16.asm
A /trunk/powerpc64/mulredc17.asm
A /trunk/powerpc64/mulredc18.asm
A /trunk/powerpc64/mulredc19.asm
A /trunk/powerpc64/mulredc2.asm
A /trunk/powerpc64/mulredc20.asm
A /trunk/powerpc64/mulredc3.asm
A /trunk/powerpc64/mulredc4.asm
A /trunk/powerpc64/mulredc5.asm
A /trunk/powerpc64/mulredc6.asm
A /trunk/powerpc64/mulredc7.asm
A /trunk/powerpc64/mulredc8.asm
A /trunk/powerpc64/mulredc9.asm
A /trunk/powerpc64/mulredc_1_2.m4
A /trunk/powerpc64/redc.asm
A /trunk/powerpc64/test_mulredc.c
incorporated asm redc code for powerpc64 from Philip McLaughlin (still to be
tested)
------------------------------------------------------------------------
r1332 | kruppa | 2009-01-18 16:35:23 +0100 (Sun, 18 Jan 2009) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
Replaced xorq by xorl, added an assert. Cosmetic change, mostly
------------------------------------------------------------------------
r1331 | kruppa | 2009-01-18 16:33:38 +0100 (Sun, 18 Jan 2009) | 2 lines
Changed paths:
M /trunk/techdocs/mulrecip.tex
Small fixes, cleanups
------------------------------------------------------------------------
r1330 | kruppa | 2009-01-18 16:32:10 +0100 (Sun, 18 Jan 2009) | 2 lines
Changed paths:
M /trunk/rho.gp
Small cleanups in comments
------------------------------------------------------------------------
r1329 | kruppa | 2009-01-16 15:35:39 +0100 (Fri, 16 Jan 2009) | 3 lines
Changed paths:
M /trunk/mpzspm.c
Use outputf() instead of printf() for error messages.
Print some timing in mpzspm_init() with DEVVERBOSE.
------------------------------------------------------------------------
r1328 | kruppa | 2009-01-16 15:02:57 +0100 (Fri, 16 Jan 2009) | 3 lines
Changed paths:
M /trunk/rho.c
pmeprob() should not access "go" if it might be a NULL pointer.
Added function for P-1 probability for factors in a known residue class.
------------------------------------------------------------------------
r1327 | zimmerma | 2009-01-07 12:41:32 +0100 (Wed, 07 Jan 2009) | 5 lines
Changed paths:
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/factor.c
M /trunk/main.c
Added patch from Philip McLaughlin which adds new option -nobase2s2 that
disables base-2 arithmetic in Step 2.
This is experimental, and might be removed or replaced by another mechanism
later on; in particular, it seems if breaks the binary compatibility.
------------------------------------------------------------------------
r1326 | zimmerma | 2009-01-07 11:28:03 +0100 (Wed, 07 Jan 2009) | 5 lines
Changed paths:
M /trunk/ecm.c
M /trunk/mpmod.c
[mpmod.c] added code to compare base-2 arithmetic to default one
(disabled for now)
[ecm.c] isbase2() was called twice -> called only once now, should yield a
small speedup, especially for small B1
------------------------------------------------------------------------
r1325 | zimmerma | 2008-12-19 16:01:05 +0100 (Fri, 19 Dec 2008) | 2 lines
Changed paths:
D /trunk/m4/libtool.m4
D /trunk/m4/ltoptions.m4
D /trunk/m4/ltsugar.m4
D /trunk/m4/ltversion.m4
D /trunk/m4/lt~obsolete.m4
removed m4/* files
------------------------------------------------------------------------
r1324 | zimmerma | 2008-12-14 15:05:29 +0100 (Sun, 14 Dec 2008) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
A /trunk/ecmfactor2.c
M /trunk/main.c
M /trunk/pm1.c
M /trunk/pp1.c
(unfinished) change to enable the use of GMP-ECM stage 2 from HECM, where
a curve is given in Weierstrass form (see example in ecmfactor2.c).
It compiles, but remains to be debugged...
------------------------------------------------------------------------
r1323 | zimmerma | 2008-12-14 13:45:34 +0100 (Sun, 14 Dec 2008) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
A /trunk/m4
A /trunk/m4/libtool.m4
A /trunk/m4/ltoptions.m4
A /trunk/m4/ltsugar.m4
A /trunk/m4/ltversion.m4
A /trunk/m4/lt~obsolete.m4
[configure.in,Makefile.am] switch to automake >= 1.10, and added macros
suggested by autoreconf -i
------------------------------------------------------------------------
r1322 | brian_gladman | 2008-11-24 10:46:01 +0100 (Mon, 24 Nov 2008) | 1 line
Changed paths:
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/readme.txt
Update VC++ build project to assume that the GMP root directory is named 'GMP' not 'GMP-version'
------------------------------------------------------------------------
r1321 | brian_gladman | 2008-11-24 10:21:23 +0100 (Mon, 24 Nov 2008) | 1 line
Changed paths:
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/libecm/libecm.vcproj
Update MSVC builds to use GMP-4.2.4
------------------------------------------------------------------------
r1320 | zimmerma | 2008-10-12 14:13:23 +0200 (Sun, 12 Oct 2008) | 2 lines
Changed paths:
M /trunk/configure.in
[configure.in] changed version to 6.2.2
------------------------------------------------------------------------
r1319 | brian_gladman | 2008-09-02 18:15:48 +0200 (Tue, 02 Sep 2008) | 1 line
Changed paths:
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/libecm/libecm.vcproj
correction to VC++ build project to set the GMP include directory to gmp-4.2.3
------------------------------------------------------------------------
r1318 | brian_gladman | 2008-08-30 22:03:27 +0200 (Sat, 30 Aug 2008) | 2 lines
Changed paths:
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/ecm-params.h
M /trunk/build.vc9/readme.txt
Update the Visual Studio build to use GMP-4.2.3
------------------------------------------------------------------------
r1317 | zimmerma | 2008-07-17 11:28:30 +0200 (Thu, 17 Jul 2008) | 2 lines
Changed paths:
M /trunk/configure.in
fixed split infinitive (thanks Paul Leyland)
------------------------------------------------------------------------
r1316 | zimmerma | 2008-06-13 20:50:28 +0200 (Fri, 13 Jun 2008) | 2 lines
Changed paths:
M /trunk/AUTHORS
updated Dave's address
------------------------------------------------------------------------
r1315 | zimmerma | 2008-06-13 02:17:41 +0200 (Fri, 13 Jun 2008) | 2 lines
Changed paths:
M /trunk/TODO
added new item
------------------------------------------------------------------------
r1314 | zimmerma | 2008-06-12 23:53:56 +0200 (Thu, 12 Jun 2008) | 2 lines
Changed paths:
M /trunk/TODO
added comment
------------------------------------------------------------------------
r1313 | zimmerma | 2008-06-12 23:26:27 +0200 (Thu, 12 Jun 2008) | 2 lines
Changed paths:
M /trunk/listz.c
compile list_mul_low only if KS_MULTIPLY is nto defined, to avoid a warning
------------------------------------------------------------------------
r1312 | kruppa | 2008-06-12 02:38:03 +0200 (Thu, 12 Jun 2008) | 2 lines
Changed paths:
M /trunk/pm1.c
Bugfix: new P-1 stage 2 called pm1prob() with uninitialised value for S
------------------------------------------------------------------------
r1311 | zimmerma | 2008-06-09 09:56:58 +0200 (Mon, 09 Jun 2008) | 2 lines
Changed paths:
M /trunk/configure.in
removed --with-gmp-build option (no longer needed as we don't need gmp-impl.h)
------------------------------------------------------------------------
r1310 | zimmerma | 2008-06-06 05:49:50 +0200 (Fri, 06 Jun 2008) | 2 lines
Changed paths:
M /trunk/TODO
added two items
------------------------------------------------------------------------
r1309 | zimmerma | 2008-06-05 03:50:16 +0200 (Thu, 05 Jun 2008) | 3 lines
Changed paths:
M /trunk/README.dev
M /trunk/mul_fft.c
added tags corresponding to 6.2 and 6.2.1 in README.dev
commented out unused function in mul_fft.c
------------------------------------------------------------------------
r1307 | kruppa | 2008-06-04 05:43:25 +0200 (Wed, 04 Jun 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/NEWS
M /trunk/build.vc9/config.h
Set version to 6.2.1 in trunk/build.vc9/config.h, updated NEWS, ChangeLog
------------------------------------------------------------------------
r1306 | kruppa | 2008-06-04 01:53:32 +0200 (Wed, 04 Jun 2008) | 2 lines
Changed paths:
M /trunk/countsmooth.c
Make countsmooth compile again
------------------------------------------------------------------------
r1305 | brian_gladman | 2008-05-30 17:11:07 +0200 (Fri, 30 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/config.h
M /trunk/build.vc9/ecm/ecm.vcproj
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/tests.py
Revert Windows build to use GMP-4.2.1
------------------------------------------------------------------------
r1304 | kruppa | 2008-05-28 16:56:05 +0200 (Wed, 28 May 2008) | 2 lines
Changed paths:
M /trunk/pm1.c
M /trunk/rho.c
Print message about -go with P-1 probabilities
------------------------------------------------------------------------
r1303 | kruppa | 2008-05-28 16:33:34 +0200 (Wed, 28 May 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Print stage 2 time if factor is found
------------------------------------------------------------------------
r1302 | kruppa | 2008-05-28 16:09:12 +0200 (Wed, 28 May 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/rho.c
Print probability of finding factors for P-1
------------------------------------------------------------------------
r1301 | zimmerma | 2008-05-28 10:56:30 +0200 (Wed, 28 May 2008) | 4 lines
Changed paths:
M /trunk/main.c
added warning for -go n1 -go n2 -> only n2 is taken into account
(we could modify the code to take both into account, but we also can
write -go "n1*n2")
------------------------------------------------------------------------
r1300 | zimmerma | 2008-05-28 09:20:57 +0200 (Wed, 28 May 2008) | 2 lines
Changed paths:
M /trunk/README.dev
M /trunk/configure.in
changed the version to 6.2.1, and added hints in README.dev
------------------------------------------------------------------------
r1298 | zimmerma | 2008-05-27 23:04:26 +0200 (Tue, 27 May 2008) | 2 lines
Changed paths:
M /trunk/sp.h
fixed compilation problem on IA65, EV56, ARM
------------------------------------------------------------------------
r1297 | kruppa | 2008-05-27 17:52:50 +0200 (Tue, 27 May 2008) | 2 lines
Changed paths:
M /trunk/ecm.c
M /trunk/main.c
M /trunk/resume.c
Print success probabilities only if B1 == B2min
------------------------------------------------------------------------
r1296 | kruppa | 2008-05-27 17:09:21 +0200 (Tue, 27 May 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pp1.c
Increased default B2 for new P-/+1 stage 2
------------------------------------------------------------------------
r1295 | jasonp | 2008-05-26 18:33:19 +0200 (Mon, 26 May 2008) | 1 line
Changed paths:
M /trunk/tune.c
fix to previous commit
------------------------------------------------------------------------
r1294 | jasonp | 2008-05-26 17:46:51 +0200 (Mon, 26 May 2008) | 1 line
Changed paths:
M /trunk/ecm-params.h.alpha-ev5
M /trunk/ecm-params.h.alpha-ev6
M /trunk/ecm-params.h.athlon
M /trunk/ecm-params.h.athlon64
M /trunk/ecm-params.h.core2
M /trunk/ecm-params.h.default
M /trunk/ecm-params.h.pentium-m
M /trunk/ecm-params.h.pentium3
M /trunk/ecm-params.h.pentium4
M /trunk/ecm-params.h.powerpc7450
M /trunk/ntt_gfp.c
M /trunk/sp.h
M /trunk/spm.c
M /trunk/tune.c
allow tuning of the breakover point between recursive and iterative NTTs
------------------------------------------------------------------------
r1293 | kruppa | 2008-05-25 15:22:55 +0200 (Sun, 25 May 2008) | 3 lines
Changed paths:
A /trunk/rho.gp
Pari/GP file for estimating ECM probability of success, GMP-ECM's rho.c
is a port of this file.
------------------------------------------------------------------------
r1292 | brian_gladman | 2008-05-16 18:22:41 +0200 (Fri, 16 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/config.h
set version to 6.2 for MSVC
------------------------------------------------------------------------
r1291 | zimmerma | 2008-05-16 17:39:54 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/mpzspv.c
removed useless comment (and comment on comment)
------------------------------------------------------------------------
r1290 | kruppa | 2008-05-16 16:43:57 +0200 (Fri, 16 May 2008) | 3 lines
Changed paths:
M /trunk/Makefile.am
A /trunk/ecm-params.h.pentium-m
D /trunk/ecm-params.h.pentiumm
Renamed parameter file from pentiumm to pentium-m, as that is what GMP uses
for the architecture name. gcc uses parameter "-march pentium-m", too
------------------------------------------------------------------------
r1289 | kruppa | 2008-05-16 14:41:48 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
Added latest changes
------------------------------------------------------------------------
r1288 | kruppa | 2008-05-16 14:38:03 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/configure.in
Set version to 6.2, set assertions to off by default
------------------------------------------------------------------------
r1287 | kruppa | 2008-05-16 14:27:26 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/NEWS
Added item: bugfix of Lucas chains for primes close to 3^32
------------------------------------------------------------------------
r1286 | kruppa | 2008-05-16 14:14:06 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/TODO
Extended note telling why B2min<B2 gives weird probabilities.
------------------------------------------------------------------------
r1285 | brian_gladman | 2008-05-16 13:43:37 +0200 (Fri, 16 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/assembler/a_win32a_redc.asm
M /trunk/build.vc9/assembler/a_win32p_redc.asm
M /trunk/build.vc9/assembler/a_x64_redc.asm
update YASM assembler files to match main trunk changes
------------------------------------------------------------------------
r1284 | zimmerma | 2008-05-16 10:06:47 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/NEWS
M /trunk/TODO
clean up done items in TODO
------------------------------------------------------------------------
r1283 | zimmerma | 2008-05-16 09:38:47 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/test.pp1
better suggestion from Laurent
------------------------------------------------------------------------
r1282 | zimmerma | 2008-05-16 09:19:53 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/test.pp1
improved comment
------------------------------------------------------------------------
r1281 | zimmerma | 2008-05-16 09:12:03 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/test.pp1
added comment
------------------------------------------------------------------------
r1280 | zimmerma | 2008-05-16 09:09:32 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
fixed some compiler warnings (comparison between signed and unsigned)
------------------------------------------------------------------------
r1279 | kruppa | 2008-05-16 00:23:28 +0200 (Fri, 16 May 2008) | 2 lines
Changed paths:
M /trunk/athlon/redc.asm
M /trunk/pentium4/redc.asm
M /trunk/x86_64/redc.asm
Slight improvement to asm code, suggested by Torbjorn
------------------------------------------------------------------------
r1278 | kruppa | 2008-05-15 19:47:04 +0200 (Thu, 15 May 2008) | 2 lines
Changed paths:
M /trunk/ecm-ecm.h
M /trunk/ecm.1
M /trunk/ecm.xml
M /trunk/main.c
For ECM, NTT is now disabled by default if input number has > 30 limbs
------------------------------------------------------------------------
r1277 | brian_gladman | 2008-05-13 21:24:37 +0200 (Tue, 13 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/tests.py
------------------------------------------------------------------------
r1276 | kruppa | 2008-05-12 01:16:36 +0200 (Mon, 12 May 2008) | 2 lines
Changed paths:
M /trunk/ecm.c
M /trunk/lucas.c
Fixed integer overflows in PRAC
------------------------------------------------------------------------
r1275 | kruppa | 2008-05-12 01:15:36 +0200 (Mon, 12 May 2008) | 3 lines
Changed paths:
M /trunk/makesmooth.gp
Make it work better with larger stage 1 primes by using nextprime() instead
of forprime()
------------------------------------------------------------------------
r1274 | kruppa | 2008-05-11 21:42:05 +0200 (Sun, 11 May 2008) | 2 lines
Changed paths:
M /trunk/test.pp1
Added test case for bug in PRAC code for P+1
------------------------------------------------------------------------
r1273 | kruppa | 2008-05-09 18:12:22 +0200 (Fri, 09 May 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Parameter selection adjusted for P+1 which prefers smaller s_2
------------------------------------------------------------------------
r1272 | brian_gladman | 2008-05-06 15:20:29 +0200 (Tue, 06 May 2008) | 1 line
Changed paths:
M /trunk/sp.h
improved MSVC assembler code
------------------------------------------------------------------------
r1271 | zimmerma | 2008-05-06 14:31:31 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
replaced s_2 = ... by k = s_2 = ... (continued)
------------------------------------------------------------------------
r1269 | kruppa | 2008-05-06 14:19:27 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
Added lastest changes
------------------------------------------------------------------------
r1268 | kruppa | 2008-05-06 14:17:43 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pp1.c
Added "k = s_2 =" to -v output for new stage 2
------------------------------------------------------------------------
r1266 | kruppa | 2008-05-06 13:59:54 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
Added lastest changes
------------------------------------------------------------------------
r1265 | kruppa | 2008-05-06 13:58:23 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/README.dev
M /trunk/configure.in
Switched assertions to on by default (change to off for official release)
------------------------------------------------------------------------
r1264 | kruppa | 2008-05-06 13:45:04 +0200 (Tue, 06 May 2008) | 2 lines
Changed paths:
M /trunk/README
Added remark explaining that s_2 in new stage 2 is similar to k in old one
------------------------------------------------------------------------
r1263 | kruppa | 2008-05-05 19:20:59 +0200 (Mon, 05 May 2008) | 4 lines
Changed paths:
M /trunk/TODO
Added Torbjorn Granlund's suggestion for faster mpn_mod_1()
Added item on rewriting mpmod.c to use mpn_*, not mpz_* (long term goal)
Removed item on dynamic library, mostly done
------------------------------------------------------------------------
r1262 | kruppa | 2008-05-05 18:28:41 +0200 (Mon, 05 May 2008) | 2 lines
Changed paths:
M /trunk/README
Added remark about much improved performance in 64 bit mode
------------------------------------------------------------------------
r1261 | kruppa | 2008-05-05 18:10:05 +0200 (Mon, 05 May 2008) | 3 lines
Changed paths:
M /trunk/sp.h
Added sp_add() C code for modulus with MSB=0, fixed comments for
sp_add() asm macro
------------------------------------------------------------------------
r1260 | kruppa | 2008-05-05 17:26:30 +0200 (Mon, 05 May 2008) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Mostly rewrote parameter selection to minimize estimated cost, allow
smaller increments of B2
------------------------------------------------------------------------
r1259 | zimmerma | 2008-05-03 00:19:56 +0200 (Sat, 03 May 2008) | 2 lines
Changed paths:
M /trunk/README.dev
we should look in TODO for a new release
------------------------------------------------------------------------
r1258 | zimmerma | 2008-05-03 00:18:44 +0200 (Sat, 03 May 2008) | 2 lines
Changed paths:
M /trunk/TODO
added bug with GWNUM interface
------------------------------------------------------------------------
r1257 | kruppa | 2008-05-02 23:52:10 +0200 (Fri, 02 May 2008) | 7 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-gmp.h
M /trunk/ecm-impl.h
M /trunk/ks-multiply.c
M /trunk/mpmod.c
M /trunk/mpzspv.c
M /trunk/mul_fft.c
M /trunk/pm1fs2.c
M /trunk/schoen_strass.c
Fixed broken help string for --enable-sse2 in configure
Mangled names of mpn_fft_best_k() and mpn_fft_next_size(), moved prototypes
of mpn_fft_*() functions to ecm-impl.h
Declared some functions static that were used only locally and polluted
the namespace
------------------------------------------------------------------------
r1256 | brian_gladman | 2008-05-02 21:42:15 +0200 (Fri, 02 May 2008) | 3 lines
Changed paths:
M /trunk/build.vc9/config.h
M /trunk/build.vc9/ecm-params.h
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/longlong.h
add add MSVC intrinsics to longlong.h
update build files
------------------------------------------------------------------------
r1255 | brian_gladman | 2008-05-01 23:52:03 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/tests.py
------------------------------------------------------------------------
r1254 | brian_gladman | 2008-05-01 23:45:32 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/config.h
M /trunk/build.vc9/tests.py
update version (noticed by Paul)
------------------------------------------------------------------------
r1253 | brian_gladman | 2008-05-01 21:43:33 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/readme.txt
------------------------------------------------------------------------
r1252 | zimmerma | 2008-05-01 21:41:43 +0200 (Thu, 01 May 2008) | 3 lines
Changed paths:
M /trunk/INSTALL
M /trunk/configure.in
INSTALL: added pointer to build.vc9/readme.txt for Windows/VC++
configure.in: changed version to 6.2-rc2
------------------------------------------------------------------------
r1251 | brian_gladman | 2008-05-01 21:36:11 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/readme.txt
further update to the VC++ readme file.
------------------------------------------------------------------------
r1250 | brian_gladman | 2008-05-01 20:42:25 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/config.h
M /trunk/build.vc9/readme.txt
minor non critical changes to readme.txt and config.h
------------------------------------------------------------------------
r1249 | brian_gladman | 2008-05-01 19:20:31 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/tests.py
------------------------------------------------------------------------
r1248 | brian_gladman | 2008-05-01 11:38:19 +0200 (Thu, 01 May 2008) | 1 line
Changed paths:
M /trunk/build.vc9/readme.txt
M /trunk/build.vc9/tests.py
------------------------------------------------------------------------
r1247 | zimmerma | 2008-05-01 01:05:46 +0200 (Thu, 01 May 2008) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
changes to have Brian's VC build files included in "make dist"
------------------------------------------------------------------------
r1246 | zimmerma | 2008-05-01 01:04:51 +0200 (Thu, 01 May 2008) | 2 lines
Changed paths:
A /trunk/build.vc9/Makefile.am
A /trunk/build.vc9/assembler/Makefile.am
A /trunk/build.vc9/ecm/Makefile.am
A /trunk/build.vc9/libecm/Makefile.am
needed makefiles to have the VC build files included in "make dist"
------------------------------------------------------------------------
r1245 | kruppa | 2008-04-30 17:34:22 +0200 (Wed, 30 Apr 2008) | 2 lines
Changed paths:
M /trunk/configure.in
Use -W compiler flag instead of -Wextra so it works with older gcc version
------------------------------------------------------------------------
r1241 | kruppa | 2008-04-29 19:11:41 +0200 (Tue, 29 Apr 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
Added the most recent changes
------------------------------------------------------------------------
r1240 | kruppa | 2008-04-29 16:16:58 +0200 (Tue, 29 Apr 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
More compiler warnings fixed...
------------------------------------------------------------------------
r1239 | zimmerma | 2008-04-29 16:06:38 +0200 (Tue, 29 Apr 2008) | 2 lines
Changed paths:
M /trunk/NEWS
M /trunk/ecm.h
put ecm.h under LGPL (as it should have been from the beginning...)
------------------------------------------------------------------------
r1238 | kruppa | 2008-04-29 15:36:30 +0200 (Tue, 29 Apr 2008) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/longlong.h
M /trunk/mul_fft.c
Fixed some more compiler warnings
------------------------------------------------------------------------
r1237 | kruppa | 2008-04-29 15:14:20 +0200 (Tue, 29 Apr 2008) | 4 lines
Changed paths:
M /trunk/configure.in
Probing for compiler warning flags was unreliable: with Sun CC, -pedantic
succeeds in the test, but fails during compiling. Adding warning flags only
if we use GCC now
------------------------------------------------------------------------
r1236 | kruppa | 2008-04-29 14:01:38 +0200 (Tue, 29 Apr 2008) | 7 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm_ntt.c
M /trunk/eval.c
M /trunk/main.c
M /trunk/pm1fs2.c
M /trunk/polyeval.c
M /trunk/pp1.c
M /trunk/random.c
M /trunk/schoen_strass.c
M /trunk/sp.h
M /trunk/stage2.c
Changed some "#if HAVE_*" to "#ifdef HAVE_*" to avoid warnings with -Wundef
This implies that "#define HAVE_FOO 0" makes the ifdef succeed which is
counter-intuitive.
A test that can properly distinguish macros that are undefined, defined
to empty token, defined to 0 or defined to 1 seems to require token
concatenation and two-level expansion which is horrible.
------------------------------------------------------------------------
r1235 | kruppa | 2008-04-28 20:38:54 +0200 (Mon, 28 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm.1
Man page was out of date, re-made from ecm.xml
------------------------------------------------------------------------
r1234 | kruppa | 2008-04-28 20:36:32 +0200 (Mon, 28 Apr 2008) | 5 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
Fixed bug, test for matching version in gmp.h and libgmp failed due to
missing include path if there was no gmp.h in a default include directory.
Significant rewrite that hopefully is both more correct and cleaner.
Added tests for compiler warning flags.
------------------------------------------------------------------------
r1232 | kruppa | 2008-04-28 16:58:54 +0200 (Mon, 28 Apr 2008) | 2 lines
Changed paths:
M /trunk/ChangeLog
Added recent changes to ChangeLog
------------------------------------------------------------------------
r1231 | kruppa | 2008-04-28 16:38:58 +0200 (Mon, 28 Apr 2008) | 2 lines
Changed paths:
M /trunk/INSTALL
Some updates for 6.2rc1
------------------------------------------------------------------------
r1230 | kruppa | 2008-04-28 16:24:21 +0200 (Mon, 28 Apr 2008) | 3 lines
Changed paths:
M /trunk/Makefile.am
Added .s and .S files to CLEANFILES, as they did not get cleaned up
by default
------------------------------------------------------------------------
r1229 | kruppa | 2008-04-28 12:14:50 +0200 (Mon, 28 Apr 2008) | 2 lines
Changed paths:
M /trunk/test.ecm
M /trunk/test.pm1
M /trunk/test.pp1
Added a test in each file with an input too large for mulredc*()
------------------------------------------------------------------------
r1228 | kruppa | 2008-04-28 01:05:06 +0200 (Mon, 28 Apr 2008) | 3 lines
Changed paths:
M /trunk/configure.in
Fixed problem with ./configure script not cunning correctly if --with-gmp
was given and --enable-shared was not.
------------------------------------------------------------------------
r1227 | zimmerma | 2008-04-27 13:28:14 +0200 (Sun, 27 Apr 2008) | 2 lines
Changed paths:
M /trunk/configure.in
fixed warning "AC_CANONICAL_HOST invoked multiple times"
------------------------------------------------------------------------
r1226 | zimmerma | 2008-04-27 10:30:00 +0200 (Sun, 27 Apr 2008) | 2 lines
Changed paths:
M /trunk/README.dev
we also need to check INSTALL for a new release
------------------------------------------------------------------------
r1225 | zimmerma | 2008-04-27 10:28:35 +0200 (Sun, 27 Apr 2008) | 2 lines
Changed paths:
M /trunk/INSTALL
update GMP latest version
------------------------------------------------------------------------
r1224 | kruppa | 2008-04-25 17:55:01 +0200 (Fri, 25 Apr 2008) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
Trying to make --enable-shared and --with-gmp work together
------------------------------------------------------------------------
r1223 | kruppa | 2008-04-25 14:59:34 +0200 (Fri, 25 Apr 2008) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
M /trunk/x86_64/redc.asm
Fixed problem with compiling x86_64 assembly routines for dynamic library,
a computed jump referenced absolute address of label in .text. Now we compute
target address relative to rip
------------------------------------------------------------------------
r1222 | kruppa | 2008-04-25 11:44:59 +0200 (Fri, 25 Apr 2008) | 3 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pp1.c
Fixed implicit conversion of int constant to double which caused warning
in Visual C
------------------------------------------------------------------------
r1221 | kruppa | 2008-04-25 11:32:24 +0200 (Fri, 25 Apr 2008) | 3 lines
Changed paths:
M /trunk/makesmooth.gp
Added function to produce primes where a given value is a quadratic
non-residue, to make testing P+1 easier
------------------------------------------------------------------------
r1220 | kruppa | 2008-04-24 17:57:18 +0200 (Thu, 24 Apr 2008) | 2 lines
Changed paths:
M /trunk/acinclude.m4
A missing "-c" flag in test compilation of .s files caused configure to fail
------------------------------------------------------------------------
r1219 | lfousse | 2008-04-24 15:37:07 +0200 (Thu, 24 Apr 2008) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
Produce a shared library with libtool.
------------------------------------------------------------------------
r1218 | brian_gladman | 2008-04-20 17:09:00 +0200 (Sun, 20 Apr 2008) | 1 line
Changed paths:
A /trunk/build.vc9/assembler/a_win32a_mulredc.asm
A /trunk/build.vc9/assembler/a_win32a_redc.asm
M /trunk/build.vc9/assembler/a_win32p_mulredc.asm
M /trunk/build.vc9/assembler/a_win32p_redc.asm
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
M /trunk/build.vc9/libecm/libecm.vcproj
add win32 athlon assembler support for Visual C build
------------------------------------------------------------------------
r1217 | brian_gladman | 2008-04-18 12:33:20 +0200 (Fri, 18 Apr 2008) | 1 line
Changed paths:
A /trunk/build.vc9/assembler/a_win32p_mulredc.asm
A /trunk/build.vc9/assembler/a_win32p_redc.asm
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
M /trunk/build.vc9/config.h
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/tests.py
Add 32-bit pentium assembler support for VC++ build
------------------------------------------------------------------------
r1216 | kruppa | 2008-04-17 15:25:51 +0200 (Thu, 17 Apr 2008) | 2 lines
Changed paths:
M /trunk/README
Updated to NTT and SchönhageStrassen sections
------------------------------------------------------------------------
r1215 | kruppa | 2008-04-17 11:30:23 +0200 (Thu, 17 Apr 2008) | 2 lines
Changed paths:
M /trunk/mpzspv.c
Marked floating-point constant "float" to match other operands
------------------------------------------------------------------------
r1214 | brian_gladman | 2008-04-16 15:17:10 +0200 (Wed, 16 Apr 2008) | 1 line
Changed paths:
A /trunk/build.vc9/readme.txt
A /trunk/build.vc9/yasm.rules
Add short description of how to use YASM with VC++ for assembler support and mention Python tests file
------------------------------------------------------------------------
r1213 | brian_gladman | 2008-04-16 13:58:44 +0200 (Wed, 16 Apr 2008) | 1 line
Changed paths:
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
M /trunk/build.vc9/config.h
M /trunk/build.vc9/libecm/libecm.vcproj
M /trunk/build.vc9/tests.py
enable assembler build with VC++
------------------------------------------------------------------------
r1212 | brian_gladman | 2008-04-16 12:32:11 +0200 (Wed, 16 Apr 2008) | 1 line
Changed paths:
M /trunk/build.vc9/assembler/a_x64_mulredc.asm
M /trunk/build.vc9/config.h
M /trunk/build.vc9/libecm/libecm.vcproj
------------------------------------------------------------------------
r1211 | brian_gladman | 2008-04-16 11:56:01 +0200 (Wed, 16 Apr 2008) | 1 line
Changed paths:
A /trunk/build.vc9/assembler
A /trunk/build.vc9/assembler/a_x64_mulredc.asm
A /trunk/build.vc9/assembler/a_x64_redc.asm
A /trunk/build.vc9/assembler/test_mulredc.c
M /trunk/build.vc9/config.h
A /trunk/build.vc9/tests.py
Added YASM assembler code for AMD64 VC++ build
------------------------------------------------------------------------
r1210 | zimmerma | 2008-04-15 18:22:55 +0200 (Tue, 15 Apr 2008) | 2 lines
Changed paths:
M /trunk/README
changed comment about efficiency of NTT to match new code
------------------------------------------------------------------------
r1209 | kruppa | 2008-04-15 17:25:10 +0200 (Tue, 15 Apr 2008) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
M /trunk/sets_long.c
Disabled P > 2^30 in 32 bit machines as they lead to overflow in
integer arithmetic in sets_long.c. This limits B2-B2min to about 10^15.
------------------------------------------------------------------------
r1208 | kruppa | 2008-04-15 16:36:06 +0200 (Tue, 15 Apr 2008) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
M /trunk/sets_long.c
There was an integer overflow problem in sets_sumset_minmax() and maxS()
on 32 bit machines. Changed arithmetic to use GMP for these.
------------------------------------------------------------------------
r1207 | kruppa | 2008-04-15 14:40:15 +0200 (Tue, 15 Apr 2008) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pp1.c
Fixed overflow when converting maxmem from double -> size_t
------------------------------------------------------------------------
r1206 | kruppa | 2008-04-15 14:25:32 +0200 (Tue, 15 Apr 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Print elapsed real time for stage 2 in verbose mode with multi-threading
------------------------------------------------------------------------
r1205 | kruppa | 2008-04-15 11:03:21 +0200 (Tue, 15 Apr 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed small output inconsistency in devverbose mode
------------------------------------------------------------------------
r1204 | kruppa | 2008-04-14 18:46:32 +0200 (Mon, 14 Apr 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Some changes to avoid integer overflow in memory estimation
------------------------------------------------------------------------
r1203 | kruppa | 2008-04-14 16:40:01 +0200 (Mon, 14 Apr 2008) | 3 lines
Changed paths:
M /trunk/mpzspm.c
mpzspm_init() could miss a prime just below SP_MAX, reducing possible input
size for a given transform length.
------------------------------------------------------------------------
r1202 | kruppa | 2008-04-14 16:38:42 +0200 (Mon, 14 Apr 2008) | 3 lines
Changed paths:
M /trunk/README
Mention OMP_NUM_THREADS for OpenMP, explicit limits for input size and
transform length on 32 bit machines.
------------------------------------------------------------------------
r1201 | kruppa | 2008-04-14 15:40:52 +0200 (Mon, 14 Apr 2008) | 4 lines
Changed paths:
M /trunk/auxlib.c
Print number to be factored in decimal in checkpoint files. Conversion
to decimal used to be slow, but is fast enough in recent GMP releases that
this is not an issue any more
------------------------------------------------------------------------
r1200 | kruppa | 2008-04-14 14:14:19 +0200 (Mon, 14 Apr 2008) | 3 lines
Changed paths:
M /trunk/pm1.c
Made code more linear to avoid having two if() braches with almost
identical code.
------------------------------------------------------------------------
r1199 | kruppa | 2008-04-13 23:32:31 +0200 (Sun, 13 Apr 2008) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/pm1.c
M /trunk/pp1.c
Put code to print "Using B1=..." line in function rather than having 3
almost identical copies in pm1.c, pp1.c and ecm.c.
------------------------------------------------------------------------
r1198 | zimmerma | 2008-04-13 10:48:25 +0200 (Sun, 13 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm.c
removed trailing blank
------------------------------------------------------------------------
r1197 | brian_gladman | 2008-04-12 17:09:39 +0200 (Sat, 12 Apr 2008) | 1 line
Changed paths:
M /trunk/README.dev
M /trunk/build.vc9/config.h
Update VC++ build to match configure.in version number
------------------------------------------------------------------------
r1196 | zimmerma | 2008-04-12 14:25:54 +0200 (Sat, 12 Apr 2008) | 2 lines
Changed paths:
M /trunk/AUTHORS
added Brian in author list
------------------------------------------------------------------------
r1195 | zimmerma | 2008-04-12 14:23:54 +0200 (Sat, 12 Apr 2008) | 6 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/NEWS
M /trunk/README
M /trunk/configure.in
NEWS: added some important items
configure.in: changed version to 6.2-rc1
ChangeLog: added missing entries since 6.1
README: changes after complete pass (several issues remain to be solved by
Jason and/or Alex)
------------------------------------------------------------------------
r1194 | brian_gladman | 2008-04-11 23:06:30 +0200 (Fri, 11 Apr 2008) | 1 line
Changed paths:
A /trunk/build.vc9
A /trunk/build.vc9/config.h
A /trunk/build.vc9/ecm
A /trunk/build.vc9/ecm/ecm.vcproj
A /trunk/build.vc9/ecm-params.h
A /trunk/build.vc9/ecm.sln
A /trunk/build.vc9/file_copy.bat
A /trunk/build.vc9/libecm
A /trunk/build.vc9/libecm/libecm.vcproj
------------------------------------------------------------------------
r1193 | kruppa | 2008-04-11 15:58:37 +0200 (Fri, 11 Apr 2008) | 3 lines
Changed paths:
M /trunk/README
Some updates for new release, mention new stage 2 and that it doesn't work
with Brent-Suyama
------------------------------------------------------------------------
r1192 | kruppa | 2008-04-11 14:26:11 +0200 (Fri, 11 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm.1
M /trunk/ecm.xml
Updated man page
------------------------------------------------------------------------
r1191 | kruppa | 2008-04-10 13:47:40 +0200 (Thu, 10 Apr 2008) | 2 lines
Changed paths:
M /trunk/sp.h
Fixed compiler warning about shift-by-32 on 32 bit systems.
------------------------------------------------------------------------
r1190 | zimmerma | 2008-04-10 08:38:03 +0200 (Thu, 10 Apr 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
pragma was ill-positioned
------------------------------------------------------------------------
r1189 | zimmerma | 2008-04-09 21:01:59 +0200 (Wed, 09 Apr 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
incorporated patches for VC++ v9 from Brian Gladman
------------------------------------------------------------------------
r1188 | kruppa | 2008-04-09 18:38:23 +0200 (Wed, 09 Apr 2008) | 4 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/sp.h
Added conversion routines sp_t <-> mpz_t to overcome portability issues
on systems where sp_t is wider than unsigned long and mpz_*_ui() functions
can't be used.
------------------------------------------------------------------------
r1187 | kruppa | 2008-04-09 16:31:36 +0200 (Wed, 09 Apr 2008) | 3 lines
Changed paths:
M /trunk/ecm.c
In verbose mode if a factor was found, memory for table of Dickman rho
values was not freed.
------------------------------------------------------------------------
r1186 | kruppa | 2008-04-09 16:17:08 +0200 (Wed, 09 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm-ecm.h
M /trunk/main.c
M /trunk/sets_long.c
Changed some #if <macro> to #ifdef <macro>. Include alloca.h in sets_long.c
------------------------------------------------------------------------
r1185 | kruppa | 2008-04-09 16:15:28 +0200 (Wed, 09 Apr 2008) | 3 lines
Changed paths:
M /trunk/configure.in
Check for setpriority() function (code tested for HAVE_SETPRIORITY, but
configure never defined it)
------------------------------------------------------------------------
r1184 | kruppa | 2008-04-09 16:13:10 +0200 (Wed, 09 Apr 2008) | 3 lines
Changed paths:
M /trunk/tune.c
Replaced %zd conversion in printf() by %ld with a typecast, z modifier
is C99 and probably not very portable.
------------------------------------------------------------------------
r1183 | kruppa | 2008-04-09 15:33:41 +0200 (Wed, 09 Apr 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed compiler warnings, bug (had comparison instead of assignment)
------------------------------------------------------------------------
r1182 | kruppa | 2008-04-09 15:32:10 +0200 (Wed, 09 Apr 2008) | 2 lines
Changed paths:
M /trunk/sp.h
Fixed data type (was unsigned long instead of sp_t), removed unused variables
------------------------------------------------------------------------
r1181 | kruppa | 2008-04-09 15:30:47 +0200 (Wed, 09 Apr 2008) | 3 lines
Changed paths:
M /trunk/mul_fft.c
Fixed some compiler warnings. Removed inclusion of longlong.h, as it expects
certain data types for arithmetic on one-word integers to be defined.
------------------------------------------------------------------------
r1180 | kruppa | 2008-04-09 15:28:02 +0200 (Wed, 09 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
Made parameter types for ntt_*() functions use the typedefs from sp.h
------------------------------------------------------------------------
r1179 | zimmerma | 2008-04-09 14:23:04 +0200 (Wed, 09 Apr 2008) | 4 lines
Changed paths:
M /trunk/polyeval.c
M /trunk/stage2.c
removed extra argument of polyeval() in stage2.c
polyeval.c: polyeval() and polyeval_tellegen() must always be compiled,
since they are needed in tune.c.
------------------------------------------------------------------------
r1178 | kruppa | 2008-04-09 10:40:54 +0200 (Wed, 09 Apr 2008) | 3 lines
Changed paths:
M /trunk/spm.c
Fixed wrong type which broke arithmetic on machines where unsigned long
has less width than sp_t.
------------------------------------------------------------------------
r1177 | kruppa | 2008-04-08 18:48:10 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/sp.h
Fixed typo in precompiler condition
------------------------------------------------------------------------
r1176 | kruppa | 2008-04-08 17:46:54 +0200 (Tue, 08 Apr 2008) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm2.c
M /trunk/pm1.c
M /trunk/pp1.c
M /trunk/stage2.c
Renamed mis-named function. Fixed output of uninitialised "dickson_a" value
in ECM stage 2.
------------------------------------------------------------------------
r1175 | kruppa | 2008-04-08 16:51:35 +0200 (Tue, 08 Apr 2008) | 3 lines
Changed paths:
M /trunk/mul_fft.c
Fixed bug in MPN_FFT_STORE: the non-asm version wrote too little data
due to bad pointer type.
------------------------------------------------------------------------
r1174 | zimmerma | 2008-04-08 15:55:08 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
added MPN_ZERO if not defined
------------------------------------------------------------------------
r1173 | kruppa | 2008-04-08 15:02:33 +0200 (Tue, 08 Apr 2008) | 3 lines
Changed paths:
M /trunk/main.c
M /trunk/mul_fft.c
M /trunk/sp.h
Included some changes suggested by Brian Gladman to allow compiling under
MS VC 9.
------------------------------------------------------------------------
r1172 | kruppa | 2008-04-08 13:03:51 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed some "variable sized arrays"
------------------------------------------------------------------------
r1171 | zimmerma | 2008-04-08 12:55:37 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/longlong.h
M /trunk/mul_fft.c
define dummy versions of __builtin_constant_p and __builtin_expect when not gcc
------------------------------------------------------------------------
r1170 | kruppa | 2008-04-08 12:49:05 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
Fixed some compiler warnings with -pedantic
------------------------------------------------------------------------
r1169 | zimmerma | 2008-04-08 12:00:42 +0200 (Tue, 08 Apr 2008) | 2 lines
Changed paths:
M /trunk/TODO
added TODO item
------------------------------------------------------------------------
r1168 | zimmerma | 2008-04-08 11:38:43 +0200 (Tue, 08 Apr 2008) | 5 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/asmredc.h
M /trunk/getprime.c
M /trunk/mul_fft.c
Makefile.am: added -pedantic
asmredc.h, mul_fft.c, getprime.c:
- changed C++ style comments //... to C style /* ... */
- fixed type declarations inbetween instructions
------------------------------------------------------------------------
r1167 | jasonp | 2008-04-08 04:30:45 +0200 (Tue, 08 Apr 2008) | 1 line
Changed paths:
M /trunk/sp.h
force the size of small prime residues to explicitly match up with a GMP word
------------------------------------------------------------------------
r1166 | zimmerma | 2008-04-03 21:44:25 +0200 (Thu, 03 Apr 2008) | 3 lines
Changed paths:
M /trunk/ecm.c
reduce the number of tried Lucas chains in PRAC for small numbers
(thanks to Pierrick who noticed the overhead with MPFQ)
------------------------------------------------------------------------
r1165 | kruppa | 2008-03-25 19:40:32 +0100 (Tue, 25 Mar 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
M /trunk/pp1.c
Some unsaved edits that were missing in last commit
------------------------------------------------------------------------
r1164 | kruppa | 2008-03-25 19:33:25 +0100 (Tue, 25 Mar 2008) | 4 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-impl.h
M /trunk/median.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Added code for automatic parameters selection for new P-1 and P+1 stage 2
according to available memory.
Report if there's an error (e.g. out-of-memory condition) in TMulKS().
------------------------------------------------------------------------
r1163 | jasonp | 2008-03-23 00:29:40 +0100 (Sun, 23 Mar 2008) | 4 lines
Changed paths:
M /trunk/ntt_gfp.c
M /trunk/sp.h
M /trunk/spv.c
Use 31-bit primes for the NTT on 32-bit systems. This is
slightly slower than using 30-bit primes but allows arithmetic
on larger polynomials
------------------------------------------------------------------------
r1162 | kruppa | 2008-03-21 18:49:16 +0100 (Fri, 21 Mar 2008) | 3 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/pm1.c
M /trunk/pp1.c
M /trunk/sp.h
New P+1 and P-1 stage 2 now checks maximal supported transform length for
NTT, reduces lmax accordingly
------------------------------------------------------------------------
r1161 | kruppa | 2008-03-20 15:39:11 +0100 (Thu, 20 Mar 2008) | 14 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
M /trunk/main.c
M /trunk/pm1fs2.c
Andreas Schickel reported a problem with new stage 2 on 32 bit: there are
so few suitable NTT primes < 2^30 that only short transform lengths (~2^19)
are possible.
Instead of requiring primes == 1 (mod 3l), code for building
F with weighted convolutions is separate now and uses primes
== 1 (mod 3l/4), the convolution for multipoint evaluation uses primes
== 1 (mod l). This improves the situation a little, but the possible
transform lengths (~20^20) are still rather small.
Also fixed out of bound array access in ntt_sqr_reciprocal().
Print time stamp for each curve now instead of for each new number,
requested by Andreas.
------------------------------------------------------------------------
r1160 | kruppa | 2008-03-20 11:49:17 +0100 (Thu, 20 Mar 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
Enable assertions if so specified in config.h (were always off!)
------------------------------------------------------------------------
r1159 | kruppa | 2008-03-20 11:39:56 +0100 (Thu, 20 Mar 2008) | 2 lines
Changed paths:
M /trunk/mul_fft.c
Added two missing ASSERT for NULL pointer after alloc
------------------------------------------------------------------------
r1158 | jasonp | 2008-03-20 04:16:17 +0100 (Thu, 20 Mar 2008) | 1 line
Changed paths:
M /trunk/ntt_gfp.c
M /trunk/sp.h
M /trunk/spm.c
do not store NTT scratch array on the stack
------------------------------------------------------------------------
r1157 | kruppa | 2008-03-19 19:52:40 +0100 (Wed, 19 Mar 2008) | 5 lines
Changed paths:
M /trunk/pm1fs2.c
Revert bug-"fix" from just before, it breaks the NTT.
Test for NULL pointer from mpzspm_init().
Changed diagnostic output during parameter selection to TRACE level.
------------------------------------------------------------------------
r1156 | kruppa | 2008-03-19 19:29:52 +0100 (Wed, 19 Mar 2008) | 3 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/pm1fs2.c
Fixed bug: required transform length overestimated, reduced possible
transform length on 32 bit machines
------------------------------------------------------------------------
r1155 | kruppa | 2008-03-19 17:57:20 +0100 (Wed, 19 Mar 2008) | 3 lines
Changed paths:
M /trunk/Makefile.am
Added ecm-params.h.pentium3 and ecm-params.h.pentium4 to list of files to
put in distribution.
------------------------------------------------------------------------
r1154 | kruppa | 2008-03-19 16:30:28 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
M /trunk/Makefile.am
Added rule to remove config.m4 on distclean, to make distcheck work
------------------------------------------------------------------------
r1153 | zimmerma | 2008-03-19 13:51:39 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
A /trunk/ecm-params.h.pentiumm
tuning parameters for pentium M
------------------------------------------------------------------------
r1152 | kruppa | 2008-03-19 12:36:38 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
M /trunk/AUTHORS
M /trunk/NEWS
Added Jason, fixed typo
------------------------------------------------------------------------
r1151 | kruppa | 2008-03-19 11:46:37 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
A /trunk/ecm-params.h.pentium4
Parameter file for Pentium 4
------------------------------------------------------------------------
r1150 | kruppa | 2008-03-19 11:45:55 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
M /trunk/ecm-params.h.athlon64
Updated parameters for new NTT
------------------------------------------------------------------------
r1149 | kruppa | 2008-03-19 11:45:40 +0100 (Wed, 19 Mar 2008) | 2 lines
Changed paths:
M /trunk/NEWS
Updated NEWS for 6.2
------------------------------------------------------------------------
r1148 | kruppa | 2008-03-18 20:18:06 +0100 (Tue, 18 Mar 2008) | 3 lines
Changed paths:
M /trunk/configure.in
Added --enable-sse2 option. Default is using SSE2 on Pentium 4, not using
it on other architectures.
------------------------------------------------------------------------
r1147 | kruppa | 2008-03-18 20:16:59 +0100 (Tue, 18 Mar 2008) | 4 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Made -maxmem work with new P+-1 stage 2, also chooses one pass evaluation
(computing convolutions for both coordinates, adding in transform space
to save an inverse transform) for P+1 if memory allows.
------------------------------------------------------------------------
r1146 | kruppa | 2008-03-14 15:14:15 +0100 (Fri, 14 Mar 2008) | 4 lines
Changed paths:
M /trunk/sp.h
Re-wrote asm macro for sp_add, sp_sub. Fixes (I hope!) a subtle bug
in operand constraints (edx could be used as input operand in spite of
being marked "clobbered") and I hope is a bit faster, too.
------------------------------------------------------------------------
r1145 | kruppa | 2008-03-13 15:19:32 +0100 (Thu, 13 Mar 2008) | 2 lines
Changed paths:
M /trunk/configure.in
autoconf doesn't like space in macro
------------------------------------------------------------------------
r1144 | kruppa | 2008-03-13 14:55:54 +0100 (Thu, 13 Mar 2008) | 2 lines
Changed paths:
M /trunk/Fgw.c
Thrown out lots of dead code
------------------------------------------------------------------------
r1143 | kruppa | 2008-03-13 14:52:22 +0100 (Thu, 13 Mar 2008) | 4 lines
Changed paths:
M /trunk/ecm.c
M /trunk/lucas.c
Replaced floating-point constants for PRAC by their reciprocals and
division by multiplication. Some speedup for P+1 with very small numbers,
for other cases very little speedup.
------------------------------------------------------------------------
r1142 | kruppa | 2008-02-27 18:45:43 +0100 (Wed, 27 Feb 2008) | 3 lines
Changed paths:
M /trunk/Fgw.c
Added assert to GWNUM ECM stage 1 interface to test that output residue fits
in allocated space.
------------------------------------------------------------------------
r1141 | kruppa | 2008-02-27 15:54:00 +0100 (Wed, 27 Feb 2008) | 4 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/mpmod.c
M /trunk/schoen_strass.c
Removed code to use GWNUM for individual multiplications modulo Fermat
numbers - I think it was broken, never got used much anyway and if we
really want it, will need a rewrite from scratch
------------------------------------------------------------------------
r1140 | kruppa | 2008-02-27 15:43:21 +0100 (Wed, 27 Feb 2008) | 2 lines
Changed paths:
M /trunk/ecm.c
Removed some remaining dead Montgomery roots code
------------------------------------------------------------------------
r1139 | kruppa | 2008-02-27 12:03:47 +0100 (Wed, 27 Feb 2008) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Added check of result to ntt_sqr_reciprocal(), hoping to find an elusive
bug that appears on my AMD Athlon
------------------------------------------------------------------------
r1138 | kruppa | 2008-02-27 01:36:13 +0100 (Wed, 27 Feb 2008) | 2 lines
Changed paths:
M /trunk/mpzspv.c
Fixed segfault in mpzspv_verify().
------------------------------------------------------------------------
r1137 | kruppa | 2008-02-26 23:46:13 +0100 (Tue, 26 Feb 2008) | 2 lines
Changed paths:
M /trunk/x86_64/README
Added comment on generating mulredc{1,2}.asm from Python script
------------------------------------------------------------------------
r1136 | kruppa | 2008-02-26 23:42:50 +0100 (Tue, 26 Feb 2008) | 2 lines
Changed paths:
M /trunk/x86_64/Makefile.am
M /trunk/x86_64/Makefile.dev
M /trunk/x86_64/generate_all
Updated Makefiles/scripts to make mulredc asm code from autogen.py/mulredc.m4
------------------------------------------------------------------------
r1135 | kruppa | 2008-02-26 23:24:25 +0100 (Tue, 26 Feb 2008) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc1.asm
mulredc1.asm as generated by Python script (without my old comment edits)
------------------------------------------------------------------------
r1134 | kruppa | 2008-02-26 19:59:22 +0100 (Tue, 26 Feb 2008) | 3 lines
Changed paths:
M /trunk/configure.in
M /trunk/ntt_gfp.c
M /trunk/spv.c
configure now defines HAS_SSE2 if running on Pentium 4 so NTT uses
Jason Papadopoulos' SSE2 code.
------------------------------------------------------------------------
r1133 | kruppa | 2008-02-26 19:21:56 +0100 (Tue, 26 Feb 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Parallelized pp1_sequence_h(), last function that hadn't been done yet
------------------------------------------------------------------------
r1132 | kruppa | 2008-02-22 17:53:40 +0100 (Fri, 22 Feb 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
M /trunk/sets_long.c
Fixed typo, spelt out ANTS
------------------------------------------------------------------------
r1131 | kruppa | 2008-02-22 17:42:15 +0100 (Fri, 22 Feb 2008) | 4 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/ntt_gfp.c
M /trunk/pm1fs2.c
M /trunk/sets_long.c
M /trunk/sp.c
M /trunk/sp.h
M /trunk/spm.c
M /trunk/spv.c
M /trunk/tune.c
Included patch by Jason to fix out-of-bounds array access.
Updated copyright information.
------------------------------------------------------------------------
r1130 | kruppa | 2008-02-21 19:36:26 +0100 (Thu, 21 Feb 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Removed dead code, made output of timing info more consistent
------------------------------------------------------------------------
r1129 | kruppa | 2008-02-21 17:18:34 +0100 (Thu, 21 Feb 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
Changed _ui funtions to take unsigned longs, as GMP does
------------------------------------------------------------------------
r1128 | kruppa | 2008-02-21 15:07:54 +0100 (Thu, 21 Feb 2008) | 2 lines
Changed paths:
M /trunk/getprime.c
Fixed access to uninitialised data in getprime()
------------------------------------------------------------------------
r1127 | kruppa | 2008-02-21 12:14:35 +0100 (Thu, 21 Feb 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/getprime.c
M /trunk/mpmod.c
M /trunk/mul_fft.c
Fixed some compiler warnings.
------------------------------------------------------------------------
r1126 | kruppa | 2008-02-21 11:42:33 +0100 (Thu, 21 Feb 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm2.c
M /trunk/pm1.c
M /trunk/pp1.c
M /trunk/stage2.c
Fixed ugly typecast
------------------------------------------------------------------------
r1125 | kruppa | 2008-02-20 15:34:07 +0100 (Wed, 20 Feb 2008) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm2.c
Removed code for ECM stage 2 roots in Montgomery form. Never worked and
probably never will.
------------------------------------------------------------------------
r1124 | kruppa | 2008-02-20 15:19:11 +0100 (Wed, 20 Feb 2008) | 2 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/ntt_gfp.c
M /trunk/pm1fs2.c
M /trunk/sp.c
M /trunk/sp.h
M /trunk/spm.c
M /trunk/spv.c
M /trunk/tune.c
Merging Jason Papadopoulos' new SSE2 NTT code
------------------------------------------------------------------------
r1123 | kruppa | 2008-02-20 15:18:35 +0100 (Wed, 20 Feb 2008) | 2 lines
Changed paths:
M /trunk/techdocs/convolv.tex
Cleanups
------------------------------------------------------------------------
r1122 | kruppa | 2008-02-20 13:56:45 +0100 (Wed, 20 Feb 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Some small cleanup of timing/residue output
------------------------------------------------------------------------
r1121 | kruppa | 2008-02-19 23:53:22 +0100 (Tue, 19 Feb 2008) | 2 lines
Changed paths:
M /trunk/stage2.c
Small changes (mostly comments)
------------------------------------------------------------------------
r1120 | kruppa | 2008-02-19 19:03:30 +0100 (Tue, 19 Feb 2008) | 2 lines
Changed paths:
M /trunk/pm1.c
Made new stage 2 the default. Fixed small memory leak.
------------------------------------------------------------------------
r1119 | kruppa | 2008-02-19 18:59:20 +0100 (Tue, 19 Feb 2008) | 3 lines
Changed paths:
M /trunk/pp1.c
Fixed bug in computing roots of G when i0 < -6. Made the new stage 2
the default. Fixed small memory leak.
------------------------------------------------------------------------
r1118 | zimmerma | 2008-02-18 18:36:44 +0100 (Mon, 18 Feb 2008) | 2 lines
Changed paths:
M /trunk/README.dev
A /trunk/testlong.pp1
added new (long) test file for P+1
------------------------------------------------------------------------
r1117 | zimmerma | 2008-02-18 14:38:34 +0100 (Mon, 18 Feb 2008) | 3 lines
Changed paths:
M /trunk/test.pp1
added test cases that exhibit bug in 6.1.3 with polynomials of degree > 1
(and maybe in earlier versions)
------------------------------------------------------------------------
r1116 | kruppa | 2008-02-18 11:46:12 +0100 (Mon, 18 Feb 2008) | 2 lines
Changed paths:
M /trunk/techdocs/buildpoly.tex
Something about converting polynomial bases, forgot what's it about by now
------------------------------------------------------------------------
r1115 | zimmerma | 2008-02-12 23:40:53 +0100 (Tue, 12 Feb 2008) | 2 lines
Changed paths:
M /trunk/main.c
update P+1 top-ten bound
------------------------------------------------------------------------
r1114 | jasonp | 2008-01-30 08:04:04 +0100 (Wed, 30 Jan 2008) | 1 line
Changed paths:
M /trunk/Makefile.am
allow 'make check' to work in MinGW
------------------------------------------------------------------------
r1113 | kruppa | 2008-01-29 16:57:28 +0100 (Tue, 29 Jan 2008) | 4 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed small memory leak (S_2). Allocate enough memory for mpz_t's to
avoid reallocs.
------------------------------------------------------------------------
r1112 | kruppa | 2008-01-29 16:54:45 +0100 (Tue, 29 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpmod.c
Fixed compiler warning: parantheses around assignment as truth value
------------------------------------------------------------------------
r1111 | kruppa | 2008-01-29 16:53:58 +0100 (Tue, 29 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpzspm.c
Minor changes: replace mpz_add by mpz_mul_2exp, changes to comments
------------------------------------------------------------------------
r1110 | kruppa | 2008-01-23 18:09:04 +0100 (Wed, 23 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpzspv.c
Multi-threading pragmas for mpzspv_from_mpzv()
------------------------------------------------------------------------
r1109 | kruppa | 2008-01-21 23:20:26 +0100 (Mon, 21 Jan 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
A little more parallelism in ntt_sqr_recip() to improve timings
------------------------------------------------------------------------
r1108 | kruppa | 2008-01-21 20:11:24 +0100 (Mon, 21 Jan 2008) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
M /trunk/sp.h
Some more parallelization to get nicer timings for the final paper
------------------------------------------------------------------------
r1107 | kruppa | 2008-01-21 20:10:57 +0100 (Mon, 21 Jan 2008) | 3 lines
Changed paths:
M /trunk/mpmod.c
ECM_MOD_MPZ reduction uses aux_modulus now, but that was not copied by
mpmod_copy(). Fixed.
------------------------------------------------------------------------
r1106 | kruppa | 2008-01-21 14:57:23 +0100 (Mon, 21 Jan 2008) | 2 lines
Changed paths:
A /trunk/phiP.gp
A pari script to make P values for new stage 2
------------------------------------------------------------------------
r1105 | kruppa | 2008-01-21 01:16:13 +0100 (Mon, 21 Jan 2008) | 4 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
M /trunk/sp.h
Changed ntt_sqr_recip() to use Montgomery's idea of using a primitive 3rd
root of unity for the weight signal.
------------------------------------------------------------------------
r1104 | zimmerma | 2008-01-17 08:52:20 +0100 (Thu, 17 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpmod.c
fixed a bug in mpres_mpz_mod when n=1
------------------------------------------------------------------------
r1103 | zimmerma | 2008-01-16 11:56:32 +0100 (Wed, 16 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpmod.c
fixed bug in mpres_mpz_mod in case T has more than 2n limbs
------------------------------------------------------------------------
r1102 | zimmerma | 2008-01-16 10:42:19 +0100 (Wed, 16 Jan 2008) | 5 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/ecm2.c
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/pp1.c
mpmod_init code was duplicated: now call mpmod_init directly
this also solved some inconsistencies in arithmetic options: in some
cases ECM did not use mpz_mod although -mpzmod was given
added new algorithm which speeds up -mpzmod arithmetic
------------------------------------------------------------------------
r1101 | kruppa | 2008-01-15 18:02:11 +0100 (Tue, 15 Jan 2008) | 2 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/spm.c
Allow computation of roots of unity whose order isn't a power of 2
------------------------------------------------------------------------
r1100 | zimmerma | 2008-01-15 15:45:23 +0100 (Tue, 15 Jan 2008) | 3 lines
Changed paths:
M /trunk/TODO
A /trunk/TODO.kunz
added suggestions from Thomas Kunz, to make it easier to port GMP-ECM to
specific architectures
------------------------------------------------------------------------
r1099 | kruppa | 2008-01-14 15:53:22 +0100 (Mon, 14 Jan 2008) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed bug in computation of g sequence for P-1 with many threads: negative
value could get assigned to unsigned long.
------------------------------------------------------------------------
r1098 | kruppa | 2008-01-13 11:38:53 +0100 (Sun, 13 Jan 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Modified ntt_sqr_recip to work as described in the paper, parallelized it
------------------------------------------------------------------------
r1097 | zimmerma | 2008-01-13 10:21:21 +0100 (Sun, 13 Jan 2008) | 2 lines
Changed paths:
M /trunk/TODO
A /trunk/TODO.fat
added suggestion from Peter Montgomery
------------------------------------------------------------------------
r1096 | kruppa | 2008-01-12 15:37:28 +0100 (Sat, 12 Jan 2008) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
If NTT is used, ensure s_1 < lmax/2 so that poly degrees stay just below
a power of two while bulding F.
------------------------------------------------------------------------
r1095 | kruppa | 2008-01-11 20:37:24 +0100 (Fri, 11 Jan 2008) | 2 lines
Changed paths:
M /trunk/techdocs/mulrecip.tex
More details on DWT mul for RLPs
------------------------------------------------------------------------
r1094 | kruppa | 2008-01-10 19:47:02 +0100 (Thu, 10 Jan 2008) | 2 lines
Changed paths:
A /trunk/techdocs/mulrecip.tex
D /trunk/techdocs/mulrecipdwt.tex
Added something on multiplying RLP without DWT/NTT
------------------------------------------------------------------------
r1093 | kruppa | 2008-01-10 19:44:08 +0100 (Thu, 10 Jan 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Rewrote list_mul_reciprocal() to use less temp memory.
------------------------------------------------------------------------
r1092 | kruppa | 2008-01-09 22:44:22 +0100 (Wed, 09 Jan 2008) | 4 lines
Changed paths:
M /trunk/Makefile.am
A /trunk/auxarith.c
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/ecm2.c
M /trunk/pm1fs2.c
Moved functions for simple unsigned long arithmetic to auxarith.c
Added function for squaring an RLP with a discrete weighted NTT of
half length.
------------------------------------------------------------------------
r1091 | kruppa | 2008-01-07 23:04:55 +0100 (Mon, 07 Jan 2008) | 2 lines
Changed paths:
M /trunk/techdocs/mulrecipdwt.tex
Small changes
------------------------------------------------------------------------
r1090 | kruppa | 2008-01-07 22:45:01 +0100 (Mon, 07 Jan 2008) | 2 lines
Changed paths:
A /trunk/techdocs/mulrecipdwt.tex
A note on (hopefully) multiplying RLPs with a weighted FFT
------------------------------------------------------------------------
r1089 | kruppa | 2008-01-07 22:43:23 +0100 (Mon, 07 Jan 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
New function for squaring RLPs, simpler than general multiply one
------------------------------------------------------------------------
r1088 | kruppa | 2008-01-07 22:41:13 +0100 (Mon, 07 Jan 2008) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
M /trunk/sets_long.c
Some more cleanups
------------------------------------------------------------------------
r1087 | kruppa | 2008-01-06 22:12:24 +0100 (Sun, 06 Jan 2008) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
M /trunk/sets_long.c
M /trunk/x86_64/README
M /trunk/x86_64/test_mulredc.c
More cleanup and bugfixes
------------------------------------------------------------------------
r1086 | kruppa | 2008-01-02 11:22:55 +0100 (Wed, 02 Jan 2008) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
M /trunk/sets_long.c
More code cleanup in sets_long.c, made pm1fs2.c use those functions
------------------------------------------------------------------------
r1085 | zimmerma | 2007-12-25 17:20:25 +0100 (Tue, 25 Dec 2007) | 2 lines
Changed paths:
M /trunk/main.c
updated champions thresholds
------------------------------------------------------------------------
r1084 | kruppa | 2007-12-21 16:20:41 +0100 (Fri, 21 Dec 2007) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
A /trunk/sets_long.c
Rewrote most of the operations on sets of longs for clarity, moved them
into own source file.
------------------------------------------------------------------------
r1083 | kruppa | 2007-12-20 10:37:57 +0100 (Thu, 20 Dec 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
Fixed bug in mpmod_copy() with 2^n-1 numbers.
------------------------------------------------------------------------
r1082 | kruppa | 2007-12-19 11:53:59 +0100 (Wed, 19 Dec 2007) | 4 lines
Changed paths:
M /trunk/mul_fft.c
Fixed unparenthesized parameter in __GMP_ALLOCATE_FUNC_LIMBS macro.
Changed copy of inputs in mpn_mul_fft_aux() to use malloc instead of alloca.
Added ASSERT != NULL to temp space allocs.
------------------------------------------------------------------------
r1081 | kruppa | 2007-12-18 11:37:01 +0100 (Tue, 18 Dec 2007) | 2 lines
Changed paths:
M /trunk/factor.c
Updated default parameters so ugly hack works outside of GMP-ECM
------------------------------------------------------------------------
r1080 | kruppa | 2007-12-18 11:00:28 +0100 (Tue, 18 Dec 2007) | 2 lines
Changed paths:
M /trunk/factor.c
M /trunk/main.c
Added ugly hack to pass B2scale parameter to library
------------------------------------------------------------------------
r1079 | kruppa | 2007-12-17 21:44:14 +0100 (Mon, 17 Dec 2007) | 2 lines
Changed paths:
M /trunk/x86_64/README
Updated README for new m4 script.
------------------------------------------------------------------------
r1078 | zimmerma | 2007-12-17 14:25:56 +0100 (Mon, 17 Dec 2007) | 2 lines
Changed paths:
M /trunk/TODO
reorganized, added a table of contents, and added a section "installation"
------------------------------------------------------------------------
r1077 | kruppa | 2007-12-17 13:38:13 +0100 (Mon, 17 Dec 2007) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/configure.in
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
If GMP is linked statically, link mpmod.o and GMP first to put speed critical
functions close together, hoping to avoid cache collisions.
------------------------------------------------------------------------
r1076 | zimmerma | 2007-12-14 21:45:36 +0100 (Fri, 14 Dec 2007) | 4 lines
Changed paths:
M /trunk/Makefile.am
Hard-coded compilation line for alternate binary (ecm2) with speed-critical
routines close together. Should be removed once somebody figures out how to
do this properly.
------------------------------------------------------------------------
r1075 | kruppa | 2007-12-13 15:24:22 +0100 (Thu, 13 Dec 2007) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
More optimization of mulredc, up to 4% faster
------------------------------------------------------------------------
r1074 | kruppa | 2007-12-05 16:08:00 +0100 (Wed, 05 Dec 2007) | 4 lines
Changed paths:
M /trunk/mul_fft.c
Some functions caused symbol conflict when linking GMP statically. Made
those functions "static" in mul_fft.c, as they do not seem to be used
outside of that file.
------------------------------------------------------------------------
r1073 | kruppa | 2007-12-05 15:25:20 +0100 (Wed, 05 Dec 2007) | 2 lines
Changed paths:
M /trunk/x86_64/bench.c
M /trunk/x86_64/mulredc.m4
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
M /trunk/x86_64/test_mulredc.c
Fixed comments to match code
------------------------------------------------------------------------
r1072 | kruppa | 2007-12-05 10:19:31 +0100 (Wed, 05 Dec 2007) | 3 lines
Changed paths:
M /trunk/mpmod.c
Added an assertion to modmul_basecase which compares results with
redc_basecase. Enable with -DWANT_ASSERT_EXPENSIVE
------------------------------------------------------------------------
r1071 | kruppa | 2007-12-05 10:10:32 +0100 (Wed, 05 Dec 2007) | 2 lines
Changed paths:
M /trunk/ntt_gfp.c
Added DCT function, but does not work correctly yet - output is not a DCT-II
------------------------------------------------------------------------
r1070 | kruppa | 2007-12-05 10:09:19 +0100 (Wed, 05 Dec 2007) | 3 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
Fixed m4 quotes to allow generation of .asm files (which get processed
by m4 again during compilation)
------------------------------------------------------------------------
r1069 | kruppa | 2007-12-04 18:19:36 +0100 (Tue, 04 Dec 2007) | 4 lines
Changed paths:
M /trunk/x86_64/mulredc10.asm
M /trunk/x86_64/mulredc11.asm
M /trunk/x86_64/mulredc12.asm
M /trunk/x86_64/mulredc13.asm
M /trunk/x86_64/mulredc14.asm
M /trunk/x86_64/mulredc15.asm
M /trunk/x86_64/mulredc16.asm
M /trunk/x86_64/mulredc17.asm
M /trunk/x86_64/mulredc18.asm
M /trunk/x86_64/mulredc19.asm
M /trunk/x86_64/mulredc20.asm
M /trunk/x86_64/mulredc3.asm
M /trunk/x86_64/mulredc4.asm
M /trunk/x86_64/mulredc5.asm
M /trunk/x86_64/mulredc6.asm
M /trunk/x86_64/mulredc7.asm
M /trunk/x86_64/mulredc8.asm
M /trunk/x86_64/mulredc9.asm
Assembler files generated with
m4 -DLENGTH=3 mulredc.m4 > mulredc3.asm
etc.
------------------------------------------------------------------------
r1068 | kruppa | 2007-12-04 17:47:21 +0100 (Tue, 04 Dec 2007) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc.m4
Somewhat faster. Speedup over Python script generated code is 7-10%.
------------------------------------------------------------------------
r1067 | zimmerma | 2007-12-04 09:39:32 +0100 (Tue, 04 Dec 2007) | 4 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-gmp.h
M /trunk/ks-multiply.c
M /trunk/listz.c
M /trunk/mpmod.c
M /trunk/schoen_strass.c
do not use any more GMP's mpn_mul_fft (which was not public),
and always use instead ecm_mpn_mul_fft (included in GMP-ECM, and faster).
Yields small speedup for Fermat numbers.
------------------------------------------------------------------------
r1066 | zimmerma | 2007-12-03 21:07:30 +0100 (Mon, 03 Dec 2007) | 5 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm-params.h.athlon64
A /trunk/ecm-params.h.pentium3
M /trunk/mul_fft.c
configure.in: added tuning (ecm-params) for pentium3
mul_fft.c: added default values of parameters
ecm-params.h.pentium3: new file with tuned values for pentium M
ecm-params.h.athlon64: removed useless values
------------------------------------------------------------------------
r1065 | kruppa | 2007-12-03 21:04:20 +0100 (Mon, 03 Dec 2007) | 4 lines
Changed paths:
A /trunk/x86_64/mulredc.m4
Rewrite of ASM-generating script for mulredc, this time written in m4.
Produces slightly faster (on Opteron) code than the old one, probably can
be improved yet.
------------------------------------------------------------------------
r1064 | zimmerma | 2007-12-03 18:08:44 +0100 (Mon, 03 Dec 2007) | 2 lines
Changed paths:
A /trunk/mul_fft.c
new FFT code, adapted for GMP-ECM
------------------------------------------------------------------------
r1063 | zimmerma | 2007-12-03 18:01:36 +0100 (Mon, 03 Dec 2007) | 4 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/ecm-params.h.athlon64
M /trunk/ks-multiply.c
incorporated new FFT code into GMP-ECM: yields nice speedup in stage 2
with -no-ntt. Works so far only on x86_64, still remains to create parameter
files on other architectures.
------------------------------------------------------------------------
r1062 | zimmerma | 2007-12-02 22:41:26 +0100 (Sun, 02 Dec 2007) | 2 lines
Changed paths:
M /trunk/TODO
added efficiency item
------------------------------------------------------------------------
r1061 | kruppa | 2007-11-26 17:25:28 +0100 (Mon, 26 Nov 2007) | 3 lines
Changed paths:
M /trunk/countsmooth.c
M /trunk/ecm-ecm.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/eval.c
M /trunk/getprime.c
M /trunk/pm1.c
M /trunk/pp1.c
M /trunk/trial.c
P-1 and P+1 now skip from sqrt(B1) to B1done in stage 1 when resuming. Large
speedup when increasing large B1 in small steps.
------------------------------------------------------------------------
r1060 | kruppa | 2007-11-26 16:57:42 +0100 (Mon, 26 Nov 2007) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
More P values, malloc() for spv's in parallel region (cpu binding tbd),
some changes to comments.
------------------------------------------------------------------------
r1059 | kruppa | 2007-11-16 18:18:30 +0100 (Fri, 16 Nov 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Parallelized P+1 sequence g and DCT of h
------------------------------------------------------------------------
r1058 | zimmerma | 2007-11-16 15:42:26 +0100 (Fri, 16 Nov 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
removed space before 'ms' to be coherent with previous versions of GMP-ECM
------------------------------------------------------------------------
r1057 | kruppa | 2007-11-16 15:04:50 +0100 (Fri, 16 Nov 2007) | 3 lines
Changed paths:
M /trunk/configure.in
M /trunk/mpmod.c
M /trunk/pm1fs2.c
Some parallelization in the new P+-1 stage 2. Enable with --enable-openmp.
Building f, sequence h for P-1, and sequences g and h for P+1 are TBD.
------------------------------------------------------------------------
r1056 | kruppa | 2007-11-09 17:24:26 +0100 (Fri, 09 Nov 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
Added mpmod_copy() to clone a mpmod_t, i.e. for threads
------------------------------------------------------------------------
r1055 | kruppa | 2007-11-08 18:45:59 +0100 (Thu, 08 Nov 2007) | 3 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1fs2.c
M /trunk/pp1.c
Added P+1 fast stage 2 variant that generates the coordinates of g one at
a time. This saves about 30% memory.
------------------------------------------------------------------------
r1054 | kruppa | 2007-11-03 19:42:16 +0100 (Sat, 03 Nov 2007) | 3 lines
Changed paths:
M /trunk/ecm.c
M /trunk/pm1.c
M /trunk/pp1.c
Fixed bug where resuming and immediately interrupting would produce a lower
B1 value in save file than was in input file.
------------------------------------------------------------------------
r1053 | kruppa | 2007-10-30 23:53:18 +0100 (Tue, 30 Oct 2007) | 2 lines
Changed paths:
M /trunk/main.c
Install signal handler only if a save file was specified.
------------------------------------------------------------------------
r1052 | kruppa | 2007-10-30 23:50:18 +0100 (Tue, 30 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed parameters selection, was slow and produced suboptimal parameters.
------------------------------------------------------------------------
r1051 | kruppa | 2007-10-30 17:52:30 +0100 (Tue, 30 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixes bug in parameter selection, loop condition was wrong
------------------------------------------------------------------------
r1050 | kruppa | 2007-10-30 00:15:24 +0100 (Tue, 30 Oct 2007) | 2 lines
Changed paths:
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
Cleanups. Convert from NTT in MPZSPV_NORMALISE_STRIDE blocks.
------------------------------------------------------------------------
r1049 | kruppa | 2007-10-29 16:54:27 +0100 (Mon, 29 Oct 2007) | 2 lines
Changed paths:
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
Fixes bug where negative value in mpz_t was passed to mpzspv_to_ntt().
------------------------------------------------------------------------
r1048 | kruppa | 2007-10-29 15:11:28 +0100 (Mon, 29 Oct 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
Restored non-NTT P-1 stage 2. Small cleanups.
------------------------------------------------------------------------
r1047 | zimmerma | 2007-10-29 14:22:00 +0100 (Mon, 29 Oct 2007) | 2 lines
Changed paths:
M /trunk/main.c
updated champion size for P-1
------------------------------------------------------------------------
r1046 | kruppa | 2007-10-27 18:42:22 +0200 (Sat, 27 Oct 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
M /trunk/sp.h
Added NTT variant of new P+1 stage 2
------------------------------------------------------------------------
r1045 | kruppa | 2007-10-27 18:37:50 +0200 (Sat, 27 Oct 2007) | 2 lines
Changed paths:
A /trunk/makesmooth.gp
PARI script for generating test numbers for P-1 and P+1
------------------------------------------------------------------------
r1044 | kruppa | 2007-10-24 18:22:57 +0200 (Wed, 24 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Reduced temp memory use in list_mul_symmetric()
------------------------------------------------------------------------
r1043 | kruppa | 2007-10-23 15:52:20 +0200 (Tue, 23 Oct 2007) | 3 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
In new P-1 stage 2, only the lmax/2+1 distinct coefficients of the NTT
of h are stored now.
------------------------------------------------------------------------
r1042 | kruppa | 2007-10-22 17:42:21 +0200 (Mon, 22 Oct 2007) | 2 lines
Changed paths:
M /trunk/mpzspm.c
M /trunk/pm1fs2.c
Small fix and cleanup of pm1_sequence_[gh].
------------------------------------------------------------------------
r1041 | kruppa | 2007-10-22 05:00:35 +0200 (Mon, 22 Oct 2007) | 3 lines
Changed paths:
M /trunk/mpzspv.c
M /trunk/pm1fs2.c
M /trunk/sp.c
M /trunk/sp.h
M /trunk/spv.c
New P-1 stage 2 changed to use NTT for convolution product.
Beware: there is a bug, sometimes misses factors. To be fixed.
------------------------------------------------------------------------
r1040 | kruppa | 2007-10-19 17:25:10 +0200 (Fri, 19 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Rewrite of pp1_sequence_g() to use only 5 multiplications per g_i
------------------------------------------------------------------------
r1039 | kruppa | 2007-10-18 15:04:15 +0200 (Thu, 18 Oct 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Take -k parameter into account when choosing parameters for new stage 2
------------------------------------------------------------------------
r1038 | kruppa | 2007-10-18 15:02:05 +0200 (Thu, 18 Oct 2007) | 2 lines
Changed paths:
M /trunk/main.c
Print hostname of machine it's running on in verbose mode
------------------------------------------------------------------------
r1037 | kruppa | 2007-10-17 02:13:16 +0200 (Wed, 17 Oct 2007) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Function for exponentiating in extension ring can take mpz_t now, fixes an
unsigned long overflow
------------------------------------------------------------------------
r1036 | kruppa | 2007-10-16 16:02:30 +0200 (Tue, 16 Oct 2007) | 4 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
P+1 does gcd on first coordinate in extension ring of product polynomial now,
this fixes the problem with getting 0 in the second coordinate in the last
point of evaluation and when m_1 is negative.
------------------------------------------------------------------------
r1035 | zimmerma | 2007-10-13 20:08:15 +0200 (Sat, 13 Oct 2007) | 3 lines
Changed paths:
M /trunk/eval.c
got rid of quadratic memory reallocation in main eval routine
(thanks to Alban Nonymous)
------------------------------------------------------------------------
r1034 | zimmerma | 2007-10-11 22:26:05 +0200 (Thu, 11 Oct 2007) | 2 lines
Changed paths:
M /trunk/auxi.c
fixed copyright line
------------------------------------------------------------------------
r1033 | zimmerma | 2007-10-11 22:15:09 +0200 (Thu, 11 Oct 2007) | 2 lines
Changed paths:
M /trunk/auxi.c
fixed efficiency issue in nb_digits: cost was O(n^2) for n-digit input
------------------------------------------------------------------------
r1032 | kruppa | 2007-10-10 13:58:51 +0200 (Wed, 10 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Sped up computation of g_i sequence for P-1
------------------------------------------------------------------------
r1031 | kruppa | 2007-10-09 17:39:27 +0200 (Tue, 09 Oct 2007) | 4 lines
Changed paths:
M /trunk/ks-multiply.c
Changed max(deg(A)+1, deg(B)+1) to min(...) in estimate of product coeff size.
Added code to print message if resulting FFT size differs, currently disabled
(enable by #define-ing TEST_OLD_S)
------------------------------------------------------------------------
r1030 | kruppa | 2007-10-09 12:02:13 +0200 (Tue, 09 Oct 2007) | 4 lines
Changed paths:
M /trunk/pm1fs2.c
Sped up finding parameters for large lmax and small s_1. Timing output
for h_i and g_i sequences.
------------------------------------------------------------------------
r1029 | zimmerma | 2007-10-06 18:13:47 +0200 (Sat, 06 Oct 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
fixed typos in comments
------------------------------------------------------------------------
r1028 | kruppa | 2007-10-06 15:17:58 +0200 (Sat, 06 Oct 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
mpres_mul_z_to_z() now always produces non-negative, fully reduced result
------------------------------------------------------------------------
r1027 | kruppa | 2007-10-06 15:17:17 +0200 (Sat, 06 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
P+1 fast stage 2 aborts if m_1 < 0 until bug is fixed
------------------------------------------------------------------------
r1026 | kruppa | 2007-10-06 14:44:11 +0200 (Sat, 06 Oct 2007) | 2 lines
Changed paths:
M /trunk/pp1.c
Print parameters correctly for new stage 2
------------------------------------------------------------------------
r1025 | kruppa | 2007-10-05 21:29:18 +0200 (Fri, 05 Oct 2007) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed last step in P+1 stage 2 (accumulating product) which always has 0
in last term, causing N to be found as factor. TODO: find out why
------------------------------------------------------------------------
r1024 | kruppa | 2007-10-05 21:08:06 +0200 (Fri, 05 Oct 2007) | 3 lines
Changed paths:
M /trunk/test.pp1
Fixed test where 3^2-4 was a QR so P+1 really did P-1 (which just happened
to work as well with the old code). Uses x0=6 now.
------------------------------------------------------------------------
r1023 | kruppa | 2007-10-05 19:32:33 +0200 (Fri, 05 Oct 2007) | 2 lines
Changed paths:
M /trunk/pp1.c
Changed lmax to 2^20.
------------------------------------------------------------------------
r1022 | kruppa | 2007-10-05 17:56:05 +0200 (Fri, 05 Oct 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
M /trunk/pp1.c
Fast P+1 stage 2 stared working. More testing and optimization needed.
------------------------------------------------------------------------
r1021 | kruppa | 2007-10-04 17:54:53 +0200 (Thu, 04 Oct 2007) | 3 lines
Changed paths:
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Generating sequences g and h for P+1 (hopefully) works now. Not well
optimized yet.
------------------------------------------------------------------------
r1020 | kruppa | 2007-09-27 18:35:11 +0200 (Thu, 27 Sep 2007) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed bug in maxS(). Fixed bugs in gfp_ext_rn2(). Extended table of P values.
Started pp1fs2() function for P+1 stage 2.
------------------------------------------------------------------------
r1019 | kruppa | 2007-09-25 16:15:26 +0200 (Tue, 25 Sep 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/pm1.c
M /trunk/pm1fs2.c
Choose and print parameters for new P-1 stage 2 at start of pm1().
------------------------------------------------------------------------
r1018 | kruppa | 2007-09-25 16:07:47 +0200 (Tue, 25 Sep 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
Moved MPZ_REALLOC from ecm_mulredc_basecase to mpres_mul* functions
------------------------------------------------------------------------
r1017 | kruppa | 2007-09-25 14:53:20 +0200 (Tue, 25 Sep 2007) | 3 lines
Changed paths:
M /trunk/mpmod.c
Made ecm_mulredc_basecase() reallocate space in R instead of failing
an assertion
------------------------------------------------------------------------
r1016 | kruppa | 2007-09-24 14:53:34 +0200 (Mon, 24 Sep 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed bug in computing max(S_1 + S_2) during parameter selection.
------------------------------------------------------------------------
r1015 | kruppa | 2007-09-23 22:33:13 +0200 (Sun, 23 Sep 2007) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/ecm_ntt.c
M /trunk/listz.c
M /trunk/mpmod.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/polyeval.c
Fast P-1 stage 2 now uses parameterization as in the paper.
------------------------------------------------------------------------
r1014 | zimmerma | 2007-09-14 08:48:50 +0200 (Fri, 14 Sep 2007) | 5 lines
Changed paths:
M /trunk/ChangeLog
M /trunk/Makefile.am
M /trunk/README.dev
M /trunk/configure.in
ChangeLog: added changes since release 6.1 that were missing
README.dev: added hint about man page
Makefile.am: ensure that ecm.1 is in the tarball
configure.in: fixed warning from autoconf
------------------------------------------------------------------------
r1013 | kruppa | 2007-09-10 14:15:00 +0200 (Mon, 10 Sep 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Added code for computing r^(n^2) over quadratic extension ring
------------------------------------------------------------------------
r1012 | kruppa | 2007-09-10 14:13:47 +0200 (Mon, 10 Sep 2007) | 2 lines
Changed paths:
M /trunk/NEWS
Changes for 6.1.2 and 6.1.3
------------------------------------------------------------------------
r1011 | zimmerma | 2007-09-10 09:16:45 +0200 (Mon, 10 Sep 2007) | 3 lines
Changed paths:
M /trunk/mpmod.c
M /trunk/pm1fs2.c
mpmod.c: patch from Alex (wrong initialization in mpmod_init_MPZ)
pm1fs2.c: default is now method=1 instead of method=0
------------------------------------------------------------------------
r1010 | zimmerma | 2007-09-07 17:05:31 +0200 (Fri, 07 Sep 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
use Mulder's algorithm (ecm_redc_n) in REDC only when xn=2n
------------------------------------------------------------------------
r1009 | zimmerma | 2007-09-07 16:44:56 +0200 (Fri, 07 Sep 2007) | 2 lines
Changed paths:
M /trunk/TODO
added analysis of slowdown reported by Ch. Clavier
------------------------------------------------------------------------
r1008 | zimmerma | 2007-09-07 16:42:20 +0200 (Fri, 07 Sep 2007) | 4 lines
Changed paths:
M /trunk/mpmod.c
modified ecm_redc_n to allow xn = 2n-1 too (happens often when the high limb
of the modulus has few bits); unfortunately for large inputs (e.g. the c58672
in TODO) this seems to be slower than the else-branch in REDC
------------------------------------------------------------------------
r1007 | zimmerma | 2007-09-07 14:24:17 +0200 (Fri, 07 Sep 2007) | 3 lines
Changed paths:
M /trunk/configure.in
changed version number of development version to 6.2
(6.1.1 was already an existing release)
------------------------------------------------------------------------
r1006 | zimmerma | 2007-09-07 14:15:55 +0200 (Fri, 07 Sep 2007) | 2 lines
Changed paths:
M /trunk/ecm-gmp.h
fixed incorrect comment
------------------------------------------------------------------------
r1005 | zimmerma | 2007-09-07 14:10:00 +0200 (Fri, 07 Sep 2007) | 3 lines
Changed paths:
M /trunk/INSTALL
M /trunk/ecm-gmp.h
INSTALL: updated GMP web page and version
ecm-gmp.h: mpn_mul_fft now returns int (>= GMP 4.2.1)
------------------------------------------------------------------------
r1004 | kruppa | 2007-09-04 16:44:51 +0200 (Tue, 04 Sep 2007) | 2 lines
Changed paths:
M /trunk/mpmod.c
Corrected bugfix for using mpn_mul_fft().
------------------------------------------------------------------------
r1003 | kruppa | 2007-09-03 12:22:00 +0200 (Mon, 03 Sep 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Fixed some compiler warnings about unused variables and functions.
------------------------------------------------------------------------
r1002 | kruppa | 2007-08-31 19:35:28 +0200 (Fri, 31 Aug 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
Marked input arguments of funcions "const".
------------------------------------------------------------------------
r1001 | kruppa | 2007-08-31 19:34:40 +0200 (Fri, 31 Aug 2007) | 2 lines
Changed paths:
M /trunk/ecm_ntt.c
Fixed warning the right way this time
------------------------------------------------------------------------
r1000 | kruppa | 2007-08-31 19:33:54 +0200 (Fri, 31 Aug 2007) | 2 lines
Changed paths:
M /trunk/ecm.c
Made return values use the FACTOR_FOUND defines
------------------------------------------------------------------------
r999 | kruppa | 2007-08-30 22:34:36 +0200 (Thu, 30 Aug 2007) | 2 lines
Changed paths:
M /trunk/ecm_ntt.c
Circumvent compiler warnings
------------------------------------------------------------------------
r998 | kruppa | 2007-08-30 16:42:49 +0200 (Thu, 30 Aug 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
M /trunk/pm1fs2.c
M /trunk/test.pm1
Some code rearrangements in preparation for fast P+1 stage 2
------------------------------------------------------------------------
r997 | zimmerma | 2007-08-29 16:46:17 +0200 (Wed, 29 Aug 2007) | 3 lines
Changed paths:
M /trunk/TODO
M /trunk/ecm2.c
M /trunk/sp.h
M /trunk/tune.c
TODO: added item (efficiency regression)
tune.c, ecm2.c, sp.h: fixed compiler warnings with -W -Wall
------------------------------------------------------------------------
r996 | kruppa | 2007-08-24 15:48:33 +0200 (Fri, 24 Aug 2007) | 3 lines
Changed paths:
M /trunk/pm1.c
Fixes bug reported by P.L.Montgomery: B1 was converted from double to
unsigned long before assigning it to B2min, causing truncation.
------------------------------------------------------------------------
r995 | zimmerma | 2007-08-01 17:57:38 +0200 (Wed, 01 Aug 2007) | 2 lines
Changed paths:
M /trunk/TODO
updated reference
------------------------------------------------------------------------
r994 | zimmerma | 2007-07-31 13:52:59 +0200 (Tue, 31 Jul 2007) | 2 lines
Changed paths:
M /trunk/TODO
added pointer to new algorithm
------------------------------------------------------------------------
r993 | zimmerma | 2007-07-22 13:24:41 +0200 (Sun, 22 Jul 2007) | 2 lines
Changed paths:
M /trunk/ecm.h
applied patch from Emmanuel Thome to use the library mode from a C++ program
------------------------------------------------------------------------
r992 | zimmerma | 2007-07-15 10:22:57 +0200 (Sun, 15 Jul 2007) | 2 lines
Changed paths:
M /trunk/main.c
updated P-1 champion size
------------------------------------------------------------------------
r991 | kruppa | 2007-06-18 13:01:29 +0200 (Mon, 18 Jun 2007) | 2 lines
Changed paths:
M /trunk/stage2.c
Fixes incorrect memory estimate for stage 2
------------------------------------------------------------------------
r990 | zimmerma | 2007-06-16 21:19:05 +0200 (Sat, 16 Jun 2007) | 2 lines
Changed paths:
M /trunk/main.c
fixed bug #3448: better check for invalid B2
------------------------------------------------------------------------
r989 | zimmerma | 2007-06-05 18:33:29 +0200 (Tue, 05 Jun 2007) | 2 lines
Changed paths:
M /trunk/eval.c
fixed bug #3363 (Expression parser needs to check for remainder in division)
------------------------------------------------------------------------
r988 | kruppa | 2007-04-22 17:06:41 +0200 (Sun, 22 Apr 2007) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/mpmod.c
M /trunk/pm1fs2.c
Speedups and cleanups for fast stage 2 code.
------------------------------------------------------------------------
r987 | kruppa | 2007-04-22 17:05:54 +0200 (Sun, 22 Apr 2007) | 3 lines
Changed paths:
M /trunk/median.c
Removed unneccesary recursive calls in TToomCookMul_space() which could
inflate run-time considerably for degenerate cases.
------------------------------------------------------------------------
r986 | kruppa | 2007-04-22 17:04:23 +0200 (Sun, 22 Apr 2007) | 2 lines
Changed paths:
M /trunk/ks-multiply.c
Added ASSERTS to check that input coefficients are non-negative.
------------------------------------------------------------------------
r985 | kruppa | 2007-04-16 12:57:28 +0200 (Mon, 16 Apr 2007) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/pm1fs2.c
Building symmetric polynomial as in draft 8.1 implemented. Some clean up
work left to be done yet. Added Makefile target for pm1fs2 test drive binary.
------------------------------------------------------------------------
r984 | kruppa | 2007-03-30 14:43:19 +0200 (Fri, 30 Mar 2007) | 2 lines
Changed paths:
M /trunk/techdocs/buildpoly.tex
Fixes. Added case p^k | n, i.e. n not squarefree.
------------------------------------------------------------------------
r983 | kruppa | 2007-03-28 19:05:08 +0200 (Wed, 28 Mar 2007) | 2 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/main.c
M /trunk/mpmod.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
Implemented building F from arithmetic progressions of prime length.
------------------------------------------------------------------------
r982 | kruppa | 2007-03-19 18:25:05 +0100 (Mon, 19 Mar 2007) | 3 lines
Changed paths:
M /trunk/techdocs/buildpoly.tex
M /trunk/techdocs/convolv.tex
More details on sets of coprime residues in buildpoly.tex.
Small corrections and additions in convolv.tex.
------------------------------------------------------------------------
r981 | zimmerma | 2007-03-19 08:23:00 +0100 (Mon, 19 Mar 2007) | 2 lines
Changed paths:
M /trunk/main.c
updated champion sizes
------------------------------------------------------------------------
r980 | kruppa | 2007-03-16 15:28:44 +0100 (Fri, 16 Mar 2007) | 2 lines
Changed paths:
M /trunk/techdocs/buildpoly.tex
Small corrections, additions
------------------------------------------------------------------------
r979 | kruppa | 2007-03-15 21:06:05 +0100 (Thu, 15 Mar 2007) | 2 lines
Changed paths:
A /trunk/techdocs/buildpoly.tex
A note on Montgomery's idea for fast building F from its roots
------------------------------------------------------------------------
r978 | kruppa | 2007-03-12 18:35:54 +0100 (Mon, 12 Mar 2007) | 2 lines
Changed paths:
M /trunk/techdocs/schoen_strass.tex
Small fixes.
------------------------------------------------------------------------
r977 | kruppa | 2007-03-07 23:36:31 +0100 (Wed, 07 Mar 2007) | 2 lines
Changed paths:
M /trunk/pm1.c
Removed duplicated "special division for 2^n+-1" message in P-1.
------------------------------------------------------------------------
r976 | zimmerma | 2007-03-07 18:56:25 +0100 (Wed, 07 Mar 2007) | 2 lines
Changed paths:
M /trunk/pm1fs2.c
Output "Step 2 took ..." in normal mode (as in stage2.c)
------------------------------------------------------------------------
r975 | kruppa | 2007-03-07 10:41:57 +0100 (Wed, 07 Mar 2007) | 3 lines
Changed paths:
M /trunk/pm1fs2.c
Print total stage 2 time. Fix memory allocation bug when modulus->bits < 0,
i.e. for 2^n-1 numbers.
------------------------------------------------------------------------
r974 | kruppa | 2007-03-06 11:25:22 +0100 (Tue, 06 Mar 2007) | 2 lines
Changed paths:
M /trunk/schoen_strass.c
Make transposed Karatsuba return the number of multiplications used
------------------------------------------------------------------------
r973 | kruppa | 2007-03-06 10:43:51 +0100 (Tue, 06 Mar 2007) | 2 lines
Changed paths:
A /trunk/techdocs
A /trunk/techdocs/convolv.tex
A /trunk/techdocs/curve_convert.tex
A /trunk/techdocs/schoen_strass.tex
Notes on some of the math and algoritms used in GMP-ECM
------------------------------------------------------------------------
r972 | kruppa | 2007-03-05 18:37:11 +0100 (Mon, 05 Mar 2007) | 2 lines
Changed paths:
M /trunk/bestd.c
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/mpmod.c
M /trunk/pm1.c
M /trunk/pm1fs2.c
M /trunk/pp1.c
Debugging and speedups for Fast P-1 stage 2
------------------------------------------------------------------------
r971 | kruppa | 2007-03-05 18:35:38 +0100 (Mon, 05 Mar 2007) | 2 lines
Changed paths:
M /trunk/schoen_strass.c
Debugging for lenA == lenB/2+1 case
------------------------------------------------------------------------
r970 | kruppa | 2007-03-05 18:33:07 +0100 (Mon, 05 Mar 2007) | 2 lines
Changed paths:
M /trunk/median.c
Added some ASSERT()s
------------------------------------------------------------------------
r969 | kruppa | 2007-03-05 18:31:58 +0100 (Mon, 05 Mar 2007) | 2 lines
Changed paths:
M /trunk/listz.c
Added/corrected some ASSERT()s
------------------------------------------------------------------------
r968 | kruppa | 2007-02-26 11:21:33 +0100 (Mon, 26 Feb 2007) | 2 lines
Changed paths:
M /trunk/x86_64/mulredc2.asm
Reverting this file to revision 908
------------------------------------------------------------------------
r967 | kruppa | 2007-02-26 03:08:58 +0100 (Mon, 26 Feb 2007) | 3 lines
Changed paths:
M /trunk/Makefile.am
M /trunk/ecm-impl.h
M /trunk/ecm_ntt.c
M /trunk/listz.c
M /trunk/main.c
M /trunk/median.c
M /trunk/mpmod.c
M /trunk/pm1.c
A /trunk/pm1fs2.c
M /trunk/schoen_strass.c
M /trunk/stage2.c
M /trunk/x86_64/bench.c
M /trunk/x86_64/mulredc1.asm
M /trunk/x86_64/mulredc2.asm
Changes in preparation of a fast P-1 stage 2.
Crude and incomplete implementation of fast P-1 stage 2.
------------------------------------------------------------------------
r966 | zimmerma | 2007-02-15 22:48:33 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
M /trunk/ecm-params.h.core2
removed extra line break
------------------------------------------------------------------------
r965 | zimmerma | 2007-02-15 22:39:06 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
A /trunk/ecm-params.h.core2
tuned parameters contributed by tom@womack.net
------------------------------------------------------------------------
r964 | zimmerma | 2007-02-05 18:15:21 +0100 (Mon, 05 Feb 2007) | 2 lines
Changed paths:
M /trunk/bestd.c
extended again the d-table with good phi(d)
------------------------------------------------------------------------
r963 | zimmerma | 2007-02-05 18:01:21 +0100 (Mon, 05 Feb 2007) | 2 lines
Changed paths:
M /trunk/bestd.c
extended table for d values with good phi(d)
------------------------------------------------------------------------
r962 | kruppa | 2007-02-04 00:17:46 +0100 (Sun, 04 Feb 2007) | 2 lines
Changed paths:
M /trunk/ecm.c
Print point and curve in Weierstrass form at beginning of stage 2 with -v -v
------------------------------------------------------------------------
r961 | zimmerma | 2007-01-02 16:58:44 +0100 (Tue, 02 Jan 2007) | 2 lines
Changed paths:
A /trunk/c200
new test number (from 10^284+1)
------------------------------------------------------------------------
r960 | zimmerma | 2006-12-18 10:45:08 +0100 (Mon, 18 Dec 2006) | 2 lines
Changed paths:
M /trunk/AUTHORS
added NTT contribution for Dave
------------------------------------------------------------------------
r959 | zimmerma | 2006-12-18 09:44:03 +0100 (Mon, 18 Dec 2006) | 2 lines
Changed paths:
M /trunk/COPYING
M /trunk/COPYING.LIB
M /trunk/Fgw.c
M /trunk/auxi.c
M /trunk/auxlib.c
M /trunk/b1_ainc.c
M /trunk/bestd.c
M /trunk/bestdaux.c
M /trunk/candi.c
M /trunk/config.guess
M /trunk/config.sub
M /trunk/configfsf.guess
M /trunk/configfsf.sub
M /trunk/countsmooth.c
M /trunk/ecm-ecm.h
M /trunk/ecm-gmp.h
M /trunk/ecm-impl.h
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/ecm2.c
M /trunk/ecm_ntt.c
M /trunk/ecmfactor.c
M /trunk/eval.c
M /trunk/factor.c
M /trunk/getprime.c
M /trunk/ks-multiply.c
M /trunk/listz.c
M /trunk/longlong.h
M /trunk/lucas.c
M /trunk/main.c
M /trunk/median.c
M /trunk/memory.c
M /trunk/mpmod.c
M /trunk/mpzspm.c
M /trunk/mpzspv.c
M /trunk/mul_lo.c
M /trunk/ntt_gfp.c
M /trunk/pm1.c
M /trunk/polyeval.c
M /trunk/pp1.c
M /trunk/random.c
M /trunk/resume.c
M /trunk/rho.c
M /trunk/runecm2.c
M /trunk/schoen_strass.c
M /trunk/sp.c
M /trunk/sp.h
M /trunk/spm.c
M /trunk/spv.c
M /trunk/stage2.c
M /trunk/test.ecm
M /trunk/test.pm1
M /trunk/test.pp1
M /trunk/toomcook.c
M /trunk/trial.c
M /trunk/tune.c
changed address of FSF to new one
------------------------------------------------------------------------
r958 | zimmerma | 2006-12-12 13:32:34 +0100 (Tue, 12 Dec 2006) | 4 lines
Changed paths:
M /trunk/mpmod.c
moved "using special division" from mpmod_init to mpmod_init_base2
(the latter is called directly from ecm.c, thus the message was not
displayed, as noticed by Peter Montgomery)
------------------------------------------------------------------------
r957 | kruppa | 2006-10-10 12:45:57 +0200 (Tue, 10 Oct 2006) | 2 lines
Changed paths:
M /trunk/trial.c
Avoid infinite loop in trial division with zero as input number.
------------------------------------------------------------------------
r956 | zimmerma | 2006-10-05 09:18:21 +0200 (Thu, 05 Oct 2006) | 2 lines
Changed paths:
M /trunk/INSTALL
added hint about -max_log2_len option for tune
------------------------------------------------------------------------
r955 | zimmerma | 2006-10-05 09:14:30 +0200 (Thu, 05 Oct 2006) | 3 lines
Changed paths:
M /trunk/tune.c
max_log2_len is now a command-line parameter in tune.c
(suggestion from Thomas M.Ott)
------------------------------------------------------------------------
r954 | kruppa | 2006-08-22 12:34:55 +0200 (Tue, 22 Aug 2006) | 3 lines
Changed paths:
M /trunk/ecm-ecm.h
M /trunk/main.c
Print first and last ten digits of numbers >1000 digits.
Small cleanup in ecm-ecm.h (duplicated #define's).
------------------------------------------------------------------------
r953 | kruppa | 2006-08-06 14:46:56 +0200 (Sun, 06 Aug 2006) | 2 lines
Changed paths:
M /trunk/TODO
Added several ideas
------------------------------------------------------------------------
r952 | kruppa | 2006-08-05 08:56:44 +0200 (Sat, 05 Aug 2006) | 2 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/ecm-impl.h
More cleanups of -chkpnt code
------------------------------------------------------------------------
r951 | kruppa | 2006-08-04 17:16:17 +0200 (Fri, 04 Aug 2006) | 4 lines
Changed paths:
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/stage2.c
Fixed stupid segfault in chkpnt code. Changed checkpoint interval to 10 min.
Fixed bug when cleaning up treefiles after receiving signal.
------------------------------------------------------------------------
r950 | kruppa | 2006-08-03 21:10:44 +0200 (Thu, 03 Aug 2006) | 3 lines
Changed paths:
M /trunk/README
M /trunk/auxlib.c
M /trunk/ecm-impl.h
M /trunk/ecm.1
M /trunk/ecm.c
M /trunk/ecm.h
M /trunk/ecm.xml
M /trunk/factor.c
M /trunk/main.c
M /trunk/pm1.c
M /trunk/pp1.c
M /trunk/resume.c
M /trunk/stage2.c
By popular request: added option to write checkpoints periodically during
stage 1.
------------------------------------------------------------------------
r949 | kruppa | 2006-08-03 18:54:47 +0200 (Thu, 03 Aug 2006) | 2 lines
Changed paths:
M /trunk/ecm-impl.h
M /trunk/listz.c
M /trunk/stage2.c
stage2.c did not #include config.h, so unistd.h was not included either.
------------------------------------------------------------------------
r948 | zimmerma | 2006-07-27 14:16:43 +0200 (Thu, 27 Jul 2006) | 2 lines
Changed paths:
M /trunk/main.c
new size for P-1 champion
------------------------------------------------------------------------
r947 | zimmerma | 2006-07-25 14:10:22 +0200 (Tue, 25 Jul 2006) | 2 lines
Changed paths:
M /trunk/sp.h
added copyright information
------------------------------------------------------------------------
r946 | zimmerma | 2006-07-25 13:29:42 +0200 (Tue, 25 Jul 2006) | 2 lines
Changed paths:
M /trunk/ecm2.c
M /trunk/main.c
M /trunk/stage2.c
fixed some compiler warnings
------------------------------------------------------------------------
r945 | kruppa | 2006-07-25 12:09:07 +0200 (Tue, 25 Jul 2006) | 4 lines
Changed paths:
M /trunk/stage2.c
Following a comment of P.L.Montgomery, added message when computing product
of the F(g_i) at end of stage 2 to avoid unexplained delay for large input
numbers.
------------------------------------------------------------------------
r944 | lfousse | 2006-07-19 22:30:59 +0200 (Wed, 19 Jul 2006) | 2 lines
Changed paths:
M /trunk/stage2.c
Include header for `unlink' in stage2.c.
------------------------------------------------------------------------
r943 | zimmerma | 2006-07-17 10:10:51 +0200 (Mon, 17 Jul 2006) | 2 lines
Changed paths:
M /trunk/main.c
new size for P+1 champion
------------------------------------------------------------------------
r942 | zimmerma | 2006-07-07 10:59:37 +0200 (Fri, 07 Jul 2006) | 2 lines
Changed paths:
M /trunk/factor.c
stage1time and use_ntt were not initialized in ecm_init()
------------------------------------------------------------------------
r941 | zimmerma | 2006-05-30 08:56:15 +0200 (Tue, 30 May 2006) | 2 lines
Changed paths:
M /trunk/main.c
changed mininum size of ecm champions
------------------------------------------------------------------------
r940 | lfousse | 2006-05-24 13:28:47 +0200 (Wed, 24 May 2006) | 2 lines
Changed paths:
M /trunk/runecm2.c
Use a *real* dummy domain instead of an existing one for the example email.
------------------------------------------------------------------------
r939 | zimmerma | 2006-05-13 08:19:37 +0200 (Sat, 13 May 2006) | 2 lines
Changed paths:
M /trunk/runecm2.c
changed email
------------------------------------------------------------------------
r938 | zimmerma | 2006-05-05 17:20:28 +0200 (Fri, 05 May 2006) | 2 lines
Changed paths:
M /trunk/configure.in
fixed calls to AC_ARG_ENABLE()
------------------------------------------------------------------------
r937 | lfousse | 2006-05-05 17:08:43 +0200 (Fri, 05 May 2006) | 2 lines
Changed paths:
M /trunk/configure.in
Use proper invocation of AC_ARG_ENABLE for asm-redc.
------------------------------------------------------------------------
r936 | zimmerma | 2006-05-05 17:05:37 +0200 (Fri, 05 May 2006) | 2 lines
Changed paths:
M /trunk/configure.in
M /trunk/ecm.1
M /trunk/ecm.xml
changed mailing-list address
------------------------------------------------------------------------
r935 | gaudry | 2006-05-05 16:34:32 +0200 (Fri, 05 May 2006) | 1 line
Changed paths:
M /trunk/configure.in
fixed error message for --enable-asm-redc
------------------------------------------------------------------------
r934 | lfousse | 2006-05-05 16:01:31 +0200 (Fri, 05 May 2006) | 2 lines
Changed paths:
M /trunk/Makefile.am
A /trunk/athlon/Makefile.am
M /trunk/configure.in
A /trunk/pentium4/Makefile.am
A /trunk/x86_64/Makefile.am
Use automake's DIST_DIRS feature for a cleaner `dist' target.
------------------------------------------------------------------------
r933 | lfousse | 2006-05-05 15:49:15 +0200 (Fri, 05 May 2006) | 2 lines
Changed paths:
M /trunk/Makefile.am
redc assembly files in toplevel dir are symlinks and should not be part of `dist'.
------------------------------------------------------------------------
r932 | zimmerma | 2006-05-03 12:08:07 +0200 (Wed, 03 May 2006) | 2 lines
Changed paths:
M /trunk/INSTALL
added url of mailing-list archive
------------------------------------------------------------------------
r931 | zimmerma | 2006-05-03 09:36:15 +0200 (Wed, 03 May 2006) | 2 lines
Changed paths:
M /trunk/Fgw.c
M /trunk/configure.in
M /trunk/mpzspv.c
get rid of valloc
------------------------------------------------------------------------
r930 | zimmerma | 2006-05-02 17:50:04 +0200 (Tue, 02 May 2006) | 2 lines
Changed paths:
M /trunk/AUTHORS
M /trunk/INSTALL
M /trunk/Makefile.am
M /trunk/README.dev
M /trunk/configure.in
fixed stupid removal in Makefile.am, prepared for release 6.1.1
------------------------------------------------------------------------
r928 | zimmerma | 2006-05-01 22:51:53 +0200 (Mon, 01 May 2006) | 2 lines
Changed paths:
M /trunk/ChangeLog
added 'tag' for release 6.1 in ChangeLog
Mon May 01 2006 22:49:07 zimmerma -- r927
Released version 6.1.
Mon May 01 2006 13:01:15 kruppa -- r923
* trunk/Fgw.c, trunk/main.c, trunk/ecm2.c: modified
Small cleanups. Added exit code 143 when exiting due to signal.
Sun Apr 02 2006 18:38:08 zimmerma -- r922
* trunk/INSTALL: modified
updated to gmp-4.2 and ecm-6.1
Fri Mar 31 2006 13:36:34 zimmerma -- r921
* trunk/TODO: modified
added item
Wed Mar 22 2006 11:46:18 gaudry -- r920
* trunk/configure.in: modified
When asm-redc is enabled, check whether the computer is not too hold,
because the default asm code needs at least a PPro or a k7.
Fri Mar 17 2006 15:31:58 zimmerma -- r919
* trunk/TODO, trunk/configure.in, trunk/Makefile.am: modified
added missing sources in Makefile.am
added suggestion from James Wanless
Fri Mar 17 2006 14:18:39 zimmerma -- r918
* trunk/README.dev: modified
updated ChangeLog instructions
Fri Mar 17 2006 13:55:41 zimmerma -- r917
* trunk/ecm.1, trunk/ecm.xml, trunk/AUTHORS, trunk/TODO,
trunk/configure.in, trunk/ChangeLog, trunk/README.dev, trunk/NEWS:
modified
updated NEWS/ChangeLog for 6.0.1 release
Fri Mar 17 2006 08:51:14 zimmerma -- r916
* trunk/pm1.c, trunk/pp1.c, trunk/ecm.c, trunk/ecm-impl.h: modified
default B2 is less aggressive (exponent 1.43 instead of 1.5)
put exponent and costs as macros in ecm-impl.h
Tue Mar 14 2006 15:45:26 zimmerma -- r915
* trunk/mpmod.c, trunk/test.ecm: modified
fixed bug reported by Allan Steel
Fri Mar 10 2006 15:42:07 zimmerma -- r914
* trunk/test.pp1: modified
fixed new test to work on 32-bit machine too
Fri Mar 10 2006 15:11:54 zimmerma -- r913
* trunk/test.pp1: modified
added test case for P+1 bug
Fri Mar 10 2006 14:45:29 zimmerma -- r912
* trunk/TODO: modified
added workaround
Fri Mar 10 2006 14:11:26 zimmerma -- r911
* trunk/TODO: modified
added suggestion from Bernstein
Tue Mar 07 2006 16:15:54 zimmerma -- r910
* trunk/lucas.c: modified
fixed overflow bug in P+1 (unsigned int -> unsigned long)
P+1 was probably not working for B1>2^32 on 64-bit machines
Tue Mar 07 2006 15:59:57 zimmerma -- r909
* trunk/README: modified
changed s into x0
Mon Mar 06 2006 13:49:35 gaudry -- r908
* (MANY FILES) : added
* trunk/redc.asm: deleted
* trunk/mpmod.c, trunk/ecm.c, trunk/configure.in, trunk/Makefile.am:
modified
Redc and combined Mul/Redc in asm for different archi (p4, athlon,
amd64)
Configure.in and Makefile.am modified accordingly.
Wed Feb 22 2006 15:58:39 zimmerma -- r907
* trunk/mpmod.c, trunk/schoen_strass.c, trunk/Fgw.c: modified
added warnings for uses of _mpz_realloc
Wed Feb 22 2006 15:05:45 zimmerma -- r906
* trunk/TODO: modified
modified one bug item
Thu Feb 16 2006 13:40:16 gaudry -- r905
* trunk/ecm2.c: modified
Fixed some memory bugs in multiplyW2n(), that occured in -v -v and/or
WANT_ASSERT mode, because it is called with NULL as first arguments.
Fixed a double free of variables "coeffs" and a missing free for fd.
Wed Feb 15 2006 14:08:12 zimmerma -- r904
* trunk/TODO, trunk/INSTALL: modified
modified instructions for gwnum
Wed Feb 15 2006 13:50:49 zimmerma -- r903
* trunk/TODO, trunk/stage2.c: modified
disable NTT for Fermat numbers
Tue Feb 14 2006 10:49:15 zimmerma -- r902
* trunk/TODO: modified
added more examples of problems with Fermat numbers
Mon Feb 13 2006 13:06:33 zimmerma -- r901
* trunk/TODO: modified
added item
Thu Jan 19 2006 17:40:59 zimmerma -- r900
* trunk/TODO: modified
added item in TODO
Mon Jan 16 2006 21:47:11 zimmerma -- r899
* trunk/ecm.c, trunk/lucas.c: modified
improved to 17-digit values of decimal constants used in PRAC
Sun Jan 15 2006 21:31:16 kruppa -- r898
* trunk/pm1.c, trunk/pp1.c, trunk/ecm.c, trunk/stage2.c, trunk/ecm-
impl.h: modified
Added some stop_asap() checks to stage 2.
Sun Jan 15 2006 09:13:20 zimmerma -- r897
* trunk/TODO: modified
added item in TODO (CPUTIME)
Fri Jan 13 2006 21:22:14 kruppa -- r896
* trunk/pm1.c, trunk/factor.c, trunk/pp1.c, trunk/ecm.c,
trunk/main.c, trunk/ecm-impl.h, trunk/ecm.h: modified
Signal handling for P+1 added, save files contain correct B1done
value.
Stage 2 and cleanup TBD.
Thu Jan 12 2006 23:08:21 kruppa -- r895
* trunk/pm1.c, trunk/factor.c, trunk/pp1.c, trunk/ecm.c,
trunk/main.c, trunk/configure.in, trunk/ecm.h: modified
Add signal handler to exit gracefully. ECM and P-1 stage 1 mostly
done, rest
TBD.
Wed Dec 21 2005 08:36:30 kruppa -- r894
* trunk/schoen_strass.c: modified
Bugfix: static mpz_t gt might be used after being mpz_clear()'ed
Wed Dec 21 2005 00:38:10 kruppa -- r893
* trunk/schoen_strass.c, trunk/stage2.c: modified
Mem leak fix: clear static mpz_t in schoen_strass.c at end of stage 2.
Wed Dec 21 2005 00:31:33 kruppa -- r892
* trunk/mpmod.c, trunk/test.ecm, trunk/listz.c, trunk/stage2.c,
trunk/ecm2.c, trunk/ecm-impl.h: modified
Print stage 2 prime of group order if factor was found and -v -v.
Needs more polishing and not tested as much as I'd like yet.
Sun Nov 13 2005 09:29:37 kruppa -- r891
* trunk/README, trunk/ecm.1, trunk/ecm.xml, trunk/main.c: modified
Added -idlecmd option to pause or quit GMP-ECM when system is busy
Sat Nov 12 2005 07:40:08 kruppa -- r890
* trunk/ecm.c: modified
Tests in stage 1 if point at infinity is reached and prints message in
verbose mode. Nice for finding group order of curves.
Fri Nov 11 2005 07:18:51 zimmerma -- r889
* trunk/main.c: modified
changed champs information, and updated minimal digit size to get
champions
Thu Oct 27 2005 11:11:19 zimmerma -- r888
* trunk/ecm.1: modified
file generated from ecm.xml, with empty lines manually removed in
the last paragraph
Thu Oct 27 2005 11:01:53 zimmerma -- r887
* trunk/ecm.xml: modified
added line-breaks in AUTHORS section
Thu Oct 27 2005 07:54:42 zimmerma -- r886
* trunk/README.dev: modified
add hint for autoreconf
Wed Oct 26 2005 07:51:56 zimmerma -- r885
* trunk/ecm-impl.h: modified
patch for old gcc versions
Wed Oct 26 2005 07:01:04 zimmerma -- r884
* trunk/TODO: modified
added item
Mon Oct 24 2005 17:13:15 zimmerma -- r883
* trunk/ecm.c: modified
changed default B2 for ecm
Sat Oct 22 2005 15:45:43 zimmerma -- r882
* trunk/AUTHORS: modified
added pointer to gforge
Thu Sep 29 2005 19:26:35 zimmerma -- r881
* trunk/runecm2.c: modified
fixed potential buffer overrun
Thu Sep 29 2005 12:08:52 zimmerma -- r880
* trunk/runecm2.c: added
contribution from Torbjo"rn
Wed Sep 28 2005 13:30:51 kruppa -- r879
* trunk/ecm.c: modified
Added warning about prac() bug (calling add3() with identical
points)
Sat Sep 10 2005 19:56:55 kruppa -- r878
* trunk/README, trunk/main.c: modified
Slight cleanup of shell command code, replaced "-prp*" section of
README by shellcmd section.
Thu Sep 08 2005 19:51:02 kruppa -- r877
* trunk/README, trunk/candi.c, trunk/main.c, trunk/TODO: modified
Made -one work better when used with -resume
Tue Sep 06 2005 14:02:20 zimmerma -- r876
* trunk/TODO: modified
added item
Mon Sep 05 2005 12:09:53 zimmerma -- r875
* trunk/Makefile.am: modified
added missing entries for "make dist"
Thu Sep 01 2005 15:17:44 dnewman -- r874
* trunk/stage2.c: modified
Make memory_use take into account sp_F.
Thu Sep 01 2005 13:15:42 dnewman -- r873
* trunk/stage2.c, trunk/ecm-impl.h, trunk/ecm_ntt.c, trunk/tune.c:
modified
Precompute transform of F for use in ntt_PrerevertDivision.
Wed Aug 24 2005 13:55:52 zimmerma -- r872
* trunk/check.mpl: modified
added add3/duplicate code in Montgomery's coordinates
Sat Aug 20 2005 18:41:19 kruppa -- r871
* trunk/TODO: modified
Marked -stage1time done, removed shell commands entry (also done)
Sat Aug 20 2005 18:37:59 kruppa -- r870
* trunk/Fgw.c, trunk/ecm.c: modified
Assume ecm stage 1 always available in GWNUM library, pass error
codes from gw_stage_1() back correctly
Sat Aug 20 2005 18:16:24 kruppa -- r869
* trunk/test.ecm: modified
Some more tests for base 2 numbers, for testing the GWNUM stage 1
Fri Aug 19 2005 21:00:35 kruppa -- r868
* trunk/Makefile.am: modified
Fixed filenames in EXTRA_DIST
Fri Aug 19 2005 14:23:03 dnewman -- r867
* (MANY FILES) : modified
Comprehensive header cleanup; in particular, headers now satisfy
their dependencies on other headers. Moved the -n / -nn renicing code
from main.c to macros NICE10 / NICE20 in ecm-ecm.h. Added the
configure option --enable-memory-debug to conditionally compile
memory.c. Fixed some printf format/argument mismatches in tune.c and
memory.c. Added some info on NTT and tune to README and documented
-no-ntt in ecm.xml.
Wed Aug 17 2005 22:47:58 dnewman -- r866
* trunk/mpzspv.c, trunk/TODO, trunk/configure.in, trunk/mpzspm.c,
trunk/sp.h, trunk/spv.c, trunk/tune.c: modified
Changed mpzspm_t to use spm's instead of __spm_struct's. Added code
to use memmove in spv_set. Removed all bovine activity in configure.in.
Minor update to TODO.
Wed Aug 17 2005 16:11:28 dnewman -- r865
* trunk/schoen_strass.c, trunk/spv.c, trunk/ecm-gmp.h, trunk/tune.c:
modified
Changed RNG in tune.c to avoid using get_random_ui() as on some
platforms (MinGW) it's too slow to be called many times. Fixed
declarations of __gmpn_add_nc and __gmpn_mod_34lsub1 which were
causing segfaults under Cygwin.
Wed Aug 10 2005 12:22:34 dnewman -- r864
* trunk/spm.c, trunk/sp.c, trunk/sp.h, trunk/tune.c: modified
Fixed potential problem with spm_init's generation of primitive roots.
Tue Aug 09 2005 16:31:34 dnewman -- r863
* trunk/tune.c: modified
Changed GRANULARITY to 250ms for more precision. Added a '-v' cmdline
option that prints every function evaluation to stderr; also added a
TUNE_SLOW define to give possibly more consistent results.
Wed Aug 03 2005 20:45:24 dnewman -- r862
* trunk/nbdigits.c: deleted
* trunk/auxi.c: modified
Rewrote nb_digits() to remove dependency on string.h and FREE().
Deleted an empty file.
Wed Aug 03 2005 20:13:48 dnewman -- r861
* trunk/redc.asm: added
* trunk/redc.s: deleted
* trunk/acinclude.m4, trunk/configure.in, trunk/Makefile.am: modified
Imported some more routines from GMP's acinclude.m4 to fix problem
with --enable-asm-redc under windows. Renamed redc.s back to redc.asm
as it now goes through m4 before the assembler. Fixed a minor issue
with architecture detection in configure.in.
Wed Aug 03 2005 09:14:19 dnewman -- r860
* trunk/ecm-params.h.athlon, trunk/ecm-params.h.powerpc7450: added
* trunk/ecm-params.h.athlonxp, trunk/ecm-params.h.power4: deleted
* trunk/configure.in: modified
Some tweaks to ecm-params detection.
Wed Aug 03 2005 08:42:27 dnewman -- r859
* trunk/config.sub, trunk/configfsf.guess, trunk/config.guess,
trunk/configfsf.sub: added
Added GMP's finer-grained CPU detection (useful for selecting the right
ecm-params.h)
Tue Aug 02 2005 18:47:24 kruppa -- r858
* trunk/ecm.1: added
Adding man page ecm.1 to CVS (xsltproc/docbook not available
everywhere)
Tue Aug 02 2005 17:46:09 dnewman -- r857
* trunk/pm1.c, trunk/factor.c, trunk/pp1.c, trunk/bestd.c,
trunk/TODO, trunk/ecm.c, trunk/main.c, trunk/configure.in,
trunk/stage2.c, trunk/Makefile.am, trunk/ecm-impl.h, trunk/ecm.h,
trunk/tune.c: modified
Removed the configure option --enable-ntt. Now ntt code is used by
default but can be disabled with the command-line option -no-ntt.
Lots of changes to function prototypes to accommodate this.
Tue Aug 02 2005 16:58:46 kruppa -- r856
* trunk/test.pp1, trunk/test.ecm, trunk/test.pm1: modified
Changed syntax of function to sh (Bourne shell) instead of bash
Tue Aug 02 2005 16:30:21 dnewman -- r855
* trunk/getprime2.c, trunk/random2.c: deleted
* trunk/test.pp1, trunk/random.c, trunk/test.ecm, trunk/Makefile.am,
trunk/test.pm1: modified
Changed test script shell to /bin/sh as MinGW doesn't have bash.
Makefile.am now replaces the getprime2.c and random2.c hacks. Fixed
CryptGenRandom() in random.c (maybe) and cleaned up the #includes a
bit.
Tue Aug 02 2005 15:14:30 kruppa -- r854
* trunk/bestd.c, trunk/ks-multiply.c, trunk/tune.c, trunk/trial.c:
modified
Fixed compiler warnings with gcc -Wall -W
Tue Aug 02 2005 10:06:02 kruppa -- r853
* trunk/ecm.xml: modified
Removed -prp* section, added shell commands section. Fixed exit
code tables.
Mon Aug 01 2005 22:52:06 dnewman -- r852
* trunk/main.c, trunk/trial.c: modified
Cleanups to trial.c. Bugfix to probab_prime_p.
Mon Aug 01 2005 22:00:03 kruppa -- r851
* trunk/smartprp.c: deleted
* trunk/candi.c, trunk/main.c, trunk/configure.in, trunk/Makefile.am,
trunk/ecm-ecm.h: modified
Removed -prp* options and smartprp.c, added -prpcmd option
Mon Aug 01 2005 20:13:11 kruppa -- r850
* trunk/pm1.c, trunk/factor.c, trunk/pp1.c, trunk/random.c,
trunk/auxlib.c, trunk/main.c, trunk/ecm.c, trunk/stage2.c,
trunk/ecm2.c, trunk/ecm-impl.h, trunk/memory.c, trunk/ecm.h, trunk
/ks-multiply.c, trunk/tune.c: modified
Added -stage1time option. All time-keeping variables are of type
long now.
Mon Aug 01 2005 16:45:56 kruppa -- r849
* trunk/mul_fft.c: deleted
Not needed for GMP-ECM (part of GMP)
Sun Jul 31 2005 18:10:36 kruppa -- r848
* trunk/mpmod.c, trunk/factor.c, trunk/bestd.c, trunk/auxlib.c,
trunk/TODO, trunk/main.c, trunk/ecm.c, trunk/listz.c,
trunk/stage2.c, trunk/ecm2.c: modified
Allocate more memory to mpz_t's in stage 2 to avoid reallocs. More
allocation locations tagged for mem leak/realloc debugging. Fixed
segfault in stage 2 (if factor found in roots of F)
Sun Jul 31 2005 18:00:32 kruppa -- r847
* trunk/memory.c: modified
Prints peak memory allocation
Sat Jul 30 2005 15:24:49 kruppa -- r846
* trunk/mpmod.c, trunk/median.c, trunk/TODO, trunk/listz.c,
trunk/stage2.c, trunk/ecm2.c, trunk/ecm-impl.h, trunk/memory.c,
trunk/ks-multiply.c, trunk/ecm-ecm.h, trunk/polyeval.c: modified
Some changes to avoid unnecessary reallocs. memory.c can print
location of mpz_init() that led to mem leak/realloc (if tagged)
Sat Jul 30 2005 15:08:14 kruppa -- r845
* trunk/configure.in: modified
Looks for DocBook stylesheets in several directories
Sat Jul 30 2005 15:07:08 kruppa -- r844
* trunk/README.lib: modified
Added maxmem entry
Fri Jul 29 2005 13:50:56 kruppa -- r843
* trunk/random.c: modified
Removed leftover debug output
Thu Jul 28 2005 23:17:58 kruppa -- r842
* trunk/pm1.c, trunk/factor.c, trunk/random.c, trunk/pp1.c,
trunk/ecm.c, trunk/main.c, trunk/ecm.h: modified
Seed RNG only once per program invocation. Use GetRandCrypt() under
Windows, but untested yet: Wine lacks required dlls.
Thu Jul 28 2005 20:55:16 kruppa -- r841
* trunk/pm1.c, trunk/factor.c, trunk/pp1.c, trunk/bestd.c,
trunk/ecm.xml, trunk/TODO, trunk/auxlib.c, trunk/ecm.c,
trunk/main.c, trunk/stage2.c, trunk/ecm2.c, trunk/ecm-impl.h,
trunk/rho.c, trunk/ecm.h: modified
Added -maxmem option. Memory estimate not perfectly accurate yet.
Sun Jul 24 2005 21:40:14 kruppa -- r840
* trunk/pm1.c, trunk/test.pp1, trunk/pp1.c, trunk/bestd.c,
trunk/test.ecm, trunk/ecm.c, trunk/stage2.c, trunk/test.pm1:
modified
Fixed bug that occurred when B2 < B2min (did a stage 2, but shouldn't)
Sun Jul 24 2005 19:51:36 kruppa -- r839
* trunk/Fgw.c, trunk/ecm.c, trunk/main.c: modified
Cleanups in Fgw.c
Sat Jul 23 2005 23:00:51 kruppa -- r838
* trunk/ecm.xml: modified
Added chapter for exit status values
Sat Jul 23 2005 21:51:24 kruppa -- r837
* trunk/mpmod.c, trunk/schoen_strass.c, trunk/configure.in,
trunk/Makefile.am: modified
Correctly aligns GWDATA segment when GWNUM libaray is used. Fixed
compilation of tune when using GWNUM.
Fri Jul 22 2005 21:14:45 kruppa -- r836
* trunk/Fgw.c, trunk/Makefile.am: modified
Speedup for mpz_t <-> gwnum conversion. An elusive bug remains.
Thu Jul 21 2005 13:22:12 dnewman -- r835
* trunk/tune2.c: deleted
* trunk/ecm-params.h.alpha-ev6, trunk/mpmod.c, trunk/ecm-
params.h.default, trunk/TODO, trunk/ecm-params.h.athlonxp,
trunk/mul_lo.c, trunk/sp.h, trunk/Makefile.am, trunk/ecm-
params.h.athlon64, trunk/ecm_ntt.c, trunk/mpzspv.c,
trunk/ntt_gfp.c, trunk/configure.in, trunk/ecm-impl.h, trunk/ecm-
params.h.power4, trunk/ecm-params.h.alpha-ev5, trunk/tune.c:
modified
Added mpn_mul_n tuning to tune.c and erased tune2.c. Moved all the
'#ifdef TUNE' blocks to sp.h and ecm-impl.h. Updated ecm-params.*.
Fixed minor bug in configure.in. Updated TODO.
Wed Jul 20 2005 23:37:17 dnewman -- r834
* trunk/test.pp1, trunk/mpzspv.c, trunk/test.ecm, trunk/auxlib.c,
trunk/TODO, trunk/configure.in, trunk/mpzspm.c, trunk/spv.c,
trunk/Makefile.am, trunk/test.pm1, trunk/tune.c: modified
Complete overhaul of cputime () in auxlib.c, including changes to
configure.in. This fixes the mingw issue of cputime () giving
calendar time instead of process time. Tested on cygwin, mingw, athlon,
athlon 64, alpha.
Fixed tune.c to use elltime (). Some portability fixes in spv.c,
mpzspv.c. Changed /bin/bash to /bin/sh in the test scripts.
Shortened an unnecessarily long expression in mpzspm.c. Updated TODO.
Tue Jul 19 2005 16:13:28 dnewman -- r833
* trunk/TODO, trunk/TODO.sp, trunk/stage2.c: modified
Adjusted the expected memory calculation to take into account -treefile
and NTT memory. Removed some items from TODO, TODO.sp
Tue Jul 19 2005 13:49:33 dnewman -- r832
* trunk/tune-ecm_ntt.c, trunk/tune-mpmod.c, trunk/tune-mpzspv.c,
trunk/tune-ntt_gfp.c: deleted
* trunk/configure.in, trunk/Makefile.am, trunk/tune.c: modified
Removed the dirty hack used to compile tune separately from the main
code. Fixed a segfault bug in tune.c. Now configure links ecm-
params.h.xxx to ecm-params.h (but see the TODO in configure.in)
Fri Jul 15 2005 14:59:11 dnewman -- r831
* trunk/ecm-params.h.power4: added
* trunk/mpzspv.c, trunk/mpzspm.c, trunk/spv.c: modified
Corrected header for malloc() to fix compilation problem on OS X.
Added ecm-params.h for the power4 line of cpus.
Wed Jul 13 2005 20:53:53 dnewman -- r830
* trunk/ecm-params.h.alpha-ev6, trunk/ecm-params.h.default, trunk
/tune-mpmod.c, trunk/ecm-params.h.athlonxp, trunk/ecm-
params.h.athlon64, trunk/tune-ecm_ntt.c, trunk/tune-mpzspv.c, trunk
/tune-ntt_gfp.c, trunk/ecm-params.h.alpha-ev5: added
* trunk/mpmod.c, trunk/sp.h, trunk/Makefile.am, trunk/ecm_ntt.c,
trunk/test.pm1, trunk/test.pp1, trunk/mpzspv.c, trunk/ntt_gfp.c,
trunk/test.ecm, trunk/ecm-impl.h, trunk/tune.c: modified
Added computation of NTT thresholds to tune.c by means of tune-*.c.
Added ecm-params target to Makefile.am and ecm-params.h for some
architectures. Fixed minor problem in test.* that was causing
script errors on alphas.
Wed Jul 13 2005 10:35:28 dnewman -- r829
* trunk/ntt_gfp.c, trunk/configure.in, trunk/sp.h, trunk/tune.c:
modified
Rewrote tune.c to use a function pointer framework for computing
thresholds.
Removed a redundant line from configure.in. Commented out unused
functions in ntt_gfp.c.
Tue Jul 12 2005 17:19:19 kruppa -- r828
* trunk/getprime.c, trunk/mpmod.c, trunk/factor.c,
trunk/schoen_strass.c, trunk/main.c, trunk/stage2.c, trunk/ecm2.c,
trunk/eval.c, trunk/test.pm1, trunk/test.pp1, trunk/pm1.c,
trunk/pp1.c, trunk/test.ecm, trunk/ecm.c, trunk/lucas.c, trunk/ecm-
impl.h, trunk/ecm.h, trunk/ecm-ecm.h, trunk/tune.c: modified
Return code of ecm reflects primality of factor (if any) and
cofactor. Renamed MOD_* macros to ECM_MOD_* and moved to ecm.h
Mon Jul 11 2005 22:19:32 kruppa -- r827
* trunk/TODO: modified
Removed entries for Montgomery roots, moving param selection out of
stage 2. Added entries for fixing cputime and RNG seeding under Windows
Mon Jul 11 2005 09:48:56 zimmerma -- r826
* trunk/mpmod.c: modified
fixed bug in mpmod_init (use of mpz_sizeinbase instead of mpz_size)
Sat Jul 09 2005 22:05:42 kruppa -- r825
* trunk/ecm.c, trunk/ecm2.c, trunk/ecm-impl.h: modified
Added code for generating roots of F,G for ECM in Montgomery
coordinates if S==1. Does now work yet and will probably never be
fast. Disabled by default
Thu Jul 07 2005 13:07:58 kruppa -- r824
* trunk/mpmod.c, trunk/pm1.c, trunk/ecm-impl.h: modified
Fixes bug introduced with negative i0
Wed Jul 06 2005 15:29:12 kruppa -- r823
* trunk/pp1.c, trunk/stage2.c, trunk/ecm-impl.h: modified
Fixes bug in P+1 introduced in last update
Wed Jul 06 2005 07:34:04 dnewman -- r822
* trunk/mpzspv.c, trunk/TODO.sp: modified
Rewrote mpzspv_to_mpzv to use a constant amount of memory, with a
small resulting speedup. Updated TODO.sp.
Wed Jul 06 2005 06:37:19 dnewman -- r821
* trunk/acinclude.m4: added
* trunk/configure.in, trunk/Makefile.am: modified
Some improvements to configure.in. Now --enable-redc verifies that
the cpu really is a 32-bit x86 (with the help of a macro in
acinclude.m4), and the manpage is only compiled if xsltproc and
docbook.xsl are present.
Tue Jul 05 2005 22:00:03 dnewman -- r820
* trunk/Fgw.c, trunk/TODO, trunk/configure.in, trunk/Makefile.am,
trunk/ecm-impl.h: modified
Added options --enable-asm-redc and --enable-ntt - now the gwnum,
redc.s and ntt code compiles conditionally. Removed corresponding items
from TODO, added one more.
Tue Jul 05 2005 21:05:43 dnewman -- r819
* trunk/redc.s: added
* trunk/redc.asm: deleted
Renamed redc.asm to redc.s
Mon Jul 04 2005 22:24:06 dnewman -- r818
* trunk/stage2.c: modified
Changed how sp_num is displayed when using -v
Mon Jul 04 2005 21:13:00 kruppa -- r817
* trunk/mpmod.c, trunk/pm1.c, trunk/schoen_strass.c, trunk/resume.c,
trunk/bestd.c, trunk/auxlib.c, trunk/stage2.c, trunk/rho.c,
trunk/ecm_ntt.c, trunk/ecm-gmp.h, trunk/ecm-ecm.h,
trunk/polyeval.c: modified
Some cleanups to avoid compiler warnings
Mon Jul 04 2005 20:20:52 dnewman -- r816
* trunk/configure.in: modified
Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC from configure.in, see
http://lists.gnu.org/archive/html/bug-autoconf/2002-10/msg00075.html
Mon Jul 04 2005 19:49:38 dnewman -- r815
* trunk/mpzspv.c, trunk/sp.h, trunk/ecm_ntt.c: modified
Added missing config.h include to sp.h. Commented memory usage in
many of the ntt functions. Reduced memory usage of mpzspv_normalise,
resulting in a speedup.
Mon Jul 04 2005 19:43:14 kruppa -- r814
* trunk/ecm2.c: modified
Replaced variable length array in multiplyW2n with an mpz_t
Mon Jul 04 2005 18:45:57 dnewman -- r813
* trunk/TODO: modified
Added estimated memory item to TODO.
Mon Jul 04 2005 06:39:03 dnewman -- r812
* (MANY FILES) : modified
Replaced snprintf with malloc + sprintf throughout. Fixed incorrect
prototype for ceil_log2(). Removed prototype for (static) usage().
Changed #include "gmp.h" to #include <gmp.h> throughout.
Sun Jul 03 2005 21:33:49 kruppa -- r811
* trunk/pm1.c, trunk/pp1.c, trunk/bestd.c, trunk/ecm.c, trunk/main.c,
trunk/listz.c, trunk/stage2.c, trunk/ecm2.c, trunk/ecm-impl.h,
trunk/ecm.h: modified
Moved selection of dF, k, d1, d2 out of stage 2 so correct
parameters can be printed immediately. Print expected number of
curves before stage 1. Made dF and k unsigned long throughout.
Sun Jul 03 2005 21:12:34 dnewman -- r810
* trunk/mpmod.c, trunk/schoen_strass.c, trunk/mpzspv.c,
trunk/random.c, trunk/main.c, trunk/listz.c, trunk/configure.in,
trunk/stage2.c, trunk/sp.h, trunk/spv.c, trunk/ecm-impl.h,
trunk/ecm_ntt.c, trunk/ks-multiply.c, trunk/ecm-ecm.h,
trunk/polyeval.c: modified
Preliminary changes to configure script, now configure.in generates
config.h. Added some autoconf checks. Renamed some #defines for
standardisation purposes. Commented out some unused functions in spv.c.
Sat Jul 02 2005 19:47:25 kruppa -- r809
* trunk/TODO: modified
Some updates
Sat Jul 02 2005 19:35:30 kruppa -- r808
* trunk/pp1.c, trunk/bestd.c, trunk/ecm2.c: modified
Code to init roots of G can deal with negative i0 now
Sat Jul 02 2005 16:18:28 dnewman -- r807
* trunk/sp.c, trunk/sp.h: modified
Added 64-bit primality test for 64-bit machines. Defined UDItype in
sp.h for longlong.h (fixes compilation on Athlon 64).
Sat Jul 02 2005 15:26:32 kruppa -- r806
* trunk/pm1.c, trunk/pp1.c, trunk/stage2.c, trunk/ecm2.c: modified
Cleanup. Removed redundant variable "s", using "i0" instead
Sat Jul 02 2005 10:21:56 kruppa -- r805
* trunk/Fgw.c: modified
Added dummy function to avoid "empty file" warning. To be fixed, use
conditional compilation instead
Sat Jul 02 2005 10:09:01 kruppa -- r804
* trunk/stage2.c: modified
Removed stray "%" (caused segfault)
Sat Jul 02 2005 09:40:34 kruppa -- r803
* trunk/mpzspv.c: modified
Added <stdlib.h> for valloc() etc. Fixes crash on Sparc v9
Fri Jul 01 2005 20:08:28 kruppa -- r802
* trunk/stage2.c: modified
Avoid floating point division by 0. when printing expected nr. of
curves
Thu Jun 30 2005 22:41:30 dnewman -- r801
* trunk/tune2.c, trunk/schoen_strass.c, trunk/TODO,
trunk/configure.in, trunk/stage2.c, trunk/mul_lo.c, trunk/sp.h,
trunk/ecm-impl.h: modified
Added item to TODO. Fixed compilation for when HAVE_NTT not defined.
Added AC_C_INLINE to configure.in and changed INLINE to inline
everywhere.
Wed Jun 15 2005 12:28:17 zimmerma -- r800
* trunk/TODO: modified
added new item
Mon Jun 13 2005 12:31:58 dnewman -- r799
* trunk/mpzspv.c, trunk/ecm_ntt.c: modified
Minor fixes to header inclusion.
Thu Jun 09 2005 14:35:21 dnewman -- r798
* trunk/ecm_ntt.c: modified
Fixed potential segfault
Thu Jun 09 2005 14:00:38 dnewman -- r797
* trunk/mpzspv.c, trunk/ntt_gfp.c, trunk/Fgw.c, trunk/stage2.c,
trunk/spv.c, trunk/ecm_ntt.c: modified
Removed declaration-within-code ISO-C unorthodoxy
Thu Jun 09 2005 13:17:57 zimmerma -- r796
* trunk/stage2.c: modified
// -> /* ... */
Thu Jun 09 2005 13:13:49 zimmerma -- r795
* trunk/sp.h: modified
removed C++-style comments
Thu Jun 09 2005 13:12:34 zimmerma -- r794
* trunk/Makefile.am: modified
added longlong.h in noinst_HEADERS
Thu Jun 09 2005 12:05:05 dnewman -- r793
* trunk/stage2.c, trunk/ecm-impl.h, trunk/ecm_ntt.c: modified
Added -treefile support to ntt_PolyFromRoots_Tree and ntt_polyevalT
Tue Jun 07 2005 19:34:46 kruppa -- r792
* trunk/rho.c: modified
Minor cleanups (no change in functionality)
Tue Jun 07 2005 19:32:43 kruppa -- r791
* trunk/mpmod.c, trunk/Fgw.c, trunk/ecm.c, trunk/ecm-impl.h: modified
Interface to Woltman's GWNUM stage 1 for ECM
Wed May 18 2005 11:56:07 kruppa -- r790
* trunk/mpzspv.c: modified
#ifdef'd an malloc_usable_size()
Sun Apr 24 2005 13:40:50 dnewman -- r789
* trunk/mpzspv.c, trunk/configure.in: modified
Check for malloc_usable_size in autoconf as not all libc's have it.
Sat Apr 23 2005 04:57:32 zimmerma -- r788
* trunk/getprime.c: modified
improved getprime main loop
Mon Apr 11 2005 16:12:23 dnewman -- r787
* trunk/ntt_gfp.c: modified
Changed large length DIT's to use a recursive algorithm, rather
than scramble + DIF + scramble.
Sun Apr 10 2005 14:50:51 kruppa -- r786
* trunk/TODO: modified
Added sliding window multiplication for ECM entry
Thu Apr 07 2005 16:07:06 dnewman -- r785
* trunk/mpzspv.c: added
* trunk/spm.c, trunk/ntt_gfp.c, trunk/stage2.c, trunk/sp.h,
trunk/spv.c: modified
Changed mpzspp to mpzspv and mpzp to mpzv.
Added mpzspv_verify and lots of mpzspv assertions.
Minor speedup by using valloc rather than malloc for sp coeff
alignment. Speedup for ntt_PolyFromRoots.
Memory reduction and speedup for ntt_polyevalT, also fixed a memory
leak.
mpzspv_to_mpzv no longer clobbers the input.
Minor cosmetic changes.
Fixed (probably) and documented the upper bound on sp_num in
mpzspm_init.
Check for some malloc errors.
Thu Apr 07 2005 15:48:30 dnewman -- r784
* trunk/mpzspp.c: deleted
* trunk/TODO.sp, trunk/mpzspm.c, trunk/Makefile.am, trunk/ecm-impl.h,
trunk/ecm_ntt.c: modified
Renamed mpzspp.c to mpzspv.c
Tue Apr 05 2005 17:43:10 kruppa -- r783
* trunk/main.c: modified
Added -faccmd option, compiled in only if WANT_FACCMD is defined
Sat Apr 02 2005 00:40:57 dnewman -- r782
* trunk/stage2.c, trunk/sp.h, trunk/ecm-impl.h, trunk/mpzspp.c,
trunk/ecm_ntt.c, trunk/polyeval.c: modified
Added a preliminary version of ntt_polyevalT (without treefile
support) and a couple of helper routines in mpzspp.c. Minor change to
alignment of sp_invF.
Un-static'd TUpTree in polyeval.c so ntt_polyevalT can use it.
Minor change to thresholds in sp.h.
Fri Apr 01 2005 08:15:57 kruppa -- r781
* trunk/NEWS: modified
Added news entries for 6.0.1
Thu Mar 31 2005 21:57:41 dnewman -- r780
* trunk/TODO.sp, trunk/stage2.c, trunk/sp.h, trunk/ecm-impl.h,
trunk/mpzspp.c, trunk/ecm_ntt.c: modified
Adjusted functions in ecm_ntt.c so mpzspm_init is now only
called once (ever). Abandoned the "automatic transform" idea.
Rewrote ntt_PolyInvert and saved a transform per level. Rewrote
ntt_PrerevertDivision to use a cached transform of 1/F. Fixed
potential bug in mpzspp_normalise.
Updated TODO.sp
Thu Mar 31 2005 21:50:35 kruppa -- r779
* trunk/INSTALL: modified
Added detail to, removed typo from Win install instruction
Thu Mar 31 2005 19:35:36 fousse -- r778
* trunk/INSTALL: modified
Typo.
Thu Mar 31 2005 19:22:16 kruppa -- r777
* trunk/INSTALL: modified
Added install instructions for Windows/MinGW
Wed Mar 30 2005 15:53:29 kruppa -- r776
* trunk/README: modified
Updated Note on ECM extra smoothness
Wed Mar 30 2005 15:34:47 kruppa -- r775
* trunk/rho.c: modified
Remove GSL dilog_series code (is GPL, not LGPL). Changed
EXTRA_SMOOTHNESS
to 23.4 (Montgomery's value)
Mon Mar 28 2005 18:07:54 kruppa -- r774
* trunk/TODO: modified
Added shell command on event entry
Mon Mar 28 2005 18:05:52 kruppa -- r773
* trunk/main.c: modified
Fix segfault when parsing B2, work around MinGW scanf() bug
Mon Mar 28 2005 18:04:57 kruppa -- r772
* trunk/stage2.c, trunk/rho.c: modified
Free rhotable memory at end of stage 2
Wed Mar 23 2005 19:45:30 zimmerma -- r771
* trunk/ecm-impl.h: modified
added missing macro
Wed Mar 23 2005 19:36:35 zimmerma -- r770
* trunk/pp1.c, trunk/ecm.c, trunk/mul_lo.c: modified
added comments and normalization when FULL_REDUCTION is not defined
Wed Mar 23 2005 17:07:25 kruppa -- r769
* trunk/TODO: modified
Added negative i0, composite d2, avoiding reallocs, getting bestD()
out of stage 2. Added release targets for some entries.
Tue Mar 22 2005 15:02:43 zimmerma -- r768
* trunk/bestd.c, trunk/TODO: modified
added one TODO item
added one dF value (600600)
Mon Mar 14 2005 01:24:18 dnewman -- r767
* trunk/ntt_gfp.c, trunk/sp.h, trunk/spv.c, trunk/mpzspp.c,
trunk/ecm_ntt.c: modified
Started work on a framework for transform caching - now mpzspp's
should automatically cache transforms and normalise. Added
mpzspp_[to/from]_ntt functions to facilitate this and help simplify
ntt_PrerevertDivision. Fixed an incorrect assertion in spv_mul.
Sat Mar 12 2005 19:24:44 dnewman -- r766
* trunk/sp.h, trunk/mpzspp.c, trunk/ecm_ntt.c: modified
mpzspp_t's are now passed by reference instead of by value.
Tue Mar 08 2005 17:22:18 dnewman -- r765
* trunk/listz.c: modified
Fixed a bug in list_neg
Tue Mar 08 2005 13:50:34 zimmerma -- r764
* trunk/listz.c: modified
fixed potential bug in list_neg
Tue Mar 08 2005 13:35:27 dnewman -- r763
* trunk/ecm.xml: modified
Corrected Dave Newman's email address from firstname.lastname@...
to david.lastname@...
Tue Mar 08 2005 01:21:37 dnewman -- r762
* trunk/sp.h, trunk/ecm_ntt.c: modified
Unrolled recursion in ntt_PolyInvert and added a DEBUG block to
verify it gives the right answer. Adjusted NTT_POLYINVERT_THRESHOLD in
sp.h
Mon Mar 07 2005 11:57:47 dnewman -- r761
* trunk/sp.h, trunk/ecm_ntt.c: modified
Rewrote ntt_PolyInvert. This seems to stop the "Found input number
N" errors. Adjusted POLYINVERT_NTT_THRESHOLD accordingly.
Sun Mar 06 2005 19:21:41 kruppa -- r760
* trunk/ecm.xml: modified
Small corrections, Sch"onhage now spelled with oe.
Sun Mar 06 2005 13:29:07 zimmerma -- r759
* trunk/TODO, trunk/configure.in: modified
changed version to 6.1
added item in TODO
Sat Mar 05 2005 21:29:25 zimmerma -- r758
* trunk/resume.c, trunk/main.c, trunk/eval.c, trunk/ecm.h: modified
patch for Apple ('\r' instead of '\n' for newline)
Fri Mar 04 2005 20:46:07 kruppa -- r757
* trunk/README.lib, trunk/main.c, trunk/INSTALL: modified
Small correction to --help output (missing abs bars in -base2 option)
Fri Mar 04 2005 13:05:24 kruppa -- r756
* trunk/Fgw.c: modified
Added copyright notice for GWNUM based code
Fri Mar 04 2005 12:33:06 dnewman -- r755
* trunk/spm.c, trunk/ntt_gfp.c, trunk/sp.c, trunk/longlong.h,
trunk/mpzspm.c, trunk/sp.h, trunk/spv.c, trunk/ecm_ntt.c,
trunk/mpzspp.c: modified
added licence headers
Fri Mar 04 2005 12:07:47 dnewman -- r754
* trunk/ecm-impl.h: modified
added ecm-specific ntt functions
Fri Mar 04 2005 11:51:38 dnewman -- r753
* trunk/stage2.c: modified
added HAVE_NTT option to enable sp code, changed dF to be always a
power-of-two
Fri Mar 04 2005 11:49:40 dnewman -- r752
* trunk/spv.c: added
added spv.c
Fri Mar 04 2005 11:49:29 dnewman -- r751
* trunk/spm.c: added
added spm.c
Fri Mar 04 2005 11:49:04 dnewman -- r750
* trunk/ntt_gfp.c: added
added ntt_gfp.c
Fri Mar 04 2005 11:48:47 dnewman -- r749
* trunk/mpzspp.c: added
added mpzspp.c
Fri Mar 04 2005 11:48:29 dnewman -- r748
* trunk/mpzspm.c: added
added mpzspm.c
Fri Mar 04 2005 11:48:08 dnewman -- r747
* trunk/longlong.h: added
added longlong.h (copy from gmp-4.1.4)
Fri Mar 04 2005 11:47:33 dnewman -- r746
* trunk/listz.c: modified
removed static from list_mul and list_neg so the sp code can use them
Fri Mar 04 2005 11:46:23 dnewman -- r745
* trunk/ecm_ntt.c: added
added ecm_ntt.c
Fri Mar 04 2005 11:46:02 dnewman -- r744
* trunk/TODO.sp: added
added TODO.sp
Fri Mar 04 2005 11:45:34 dnewman -- r743
* trunk/Makefile.am: modified
added sp sources
Fri Mar 04 2005 10:39:30 dnewman -- r742
* trunk/sp.c: added
added sp.c
Fri Mar 04 2005 10:39:12 dnewman -- r741
* trunk/sp.h: added
added sp.h
Fri Mar 04 2005 09:11:07 zimmerma -- r740
* trunk/README: modified
added note about GMP thresholds
Wed Mar 02 2005 22:46:58 zimmerma -- r739
* trunk/tune2.c: modified
added ECM_STDOUT, ECM_STDERR
Wed Mar 02 2005 22:06:00 zimmerma -- r738
* trunk/schoen_strass.c, trunk/random.c, trunk/main.c, trunk/listz.c,
trunk/stage2.c, trunk/ecm2.c, trunk/eval.c, trunk/ks-multiply.c,
trunk/polyeval.c: modified
small changes for _MSC_VER
prints memory usage (with -v)
prints argv[0] instead of "ecm" in case of error
Wed Mar 02 2005 22:02:34 zimmerma -- r737
* trunk/TODO: modified
added item (-maxmem)
Wed Mar 02 2005 22:02:06 zimmerma -- r736
* trunk/README: modified
added "10. Known problems"
Wed Mar 02 2005 22:01:17 zimmerma -- r735
* trunk/AUTHORS: modified
added beta-testers
Wed Mar 02 2005 21:30:08 kruppa -- r734
* trunk/README: modified
Mention default S for Fermat numbers (S=1 or 2). "he thinks" -> "it
thinks".
Wed Mar 02 2005 12:37:53 zimmerma -- r733
* trunk/main.c: modified
put back "Run xxx out of yyy" in loop mode
Wed Mar 02 2005 12:24:42 zimmerma -- r732
* trunk/TODO: modified
added new item
Tue Mar 01 2005 21:52:27 kruppa -- r731
* trunk/rho.c: modified
Fixed array out-of-bounds access, reported by Jon Becker
Tue Mar 01 2005 21:51:31 kruppa -- r730
* trunk/b1_ainc.c, trunk/pm1.c, trunk/pp1.c, trunk/ecm.c: modified
Calculation of default B2 in ecm(), pm1() or pp1() would overwrite
caller's
B2min, B2 (mpz_t), using local copies now. Auto-increment returns
rounded B1.
Fixes bug reported by "Phil MjX" on mersenneforum.org
Tue Mar 01 2005 10:19:55 zimmerma -- r729
* trunk/test.ecm: modified
simplified test so that it takes less time (overall gain of about 3)
Tue Mar 01 2005 08:30:01 zimmerma -- r728
* trunk/mpmod.c, trunk/ecm.c, trunk/tune.c: modified
fix to link problem for "tune"
Mon Feb 28 2005 16:07:28 kruppa -- r727
* trunk/stage2.c, trunk/configure.in, trunk/polyeval.c: modified
Checks for snprintf(), if not available falls back to sprintf()
Mon Feb 28 2005 13:11:10 kruppa -- r726
* trunk/Fgw.c: modified
Removed original gwnum dword->fft conversion code
Mon Feb 28 2005 11:40:55 zimmerma -- r724
* trunk/ChangeLog, trunk/README.dev: modified
updated ChangeLog/README.dev
2005-02-28 paul <zimmerma>
* release version 6.0
* ecm.xml: updated -primetest
2005-02-27 alex <kruppa>
* pm1.c, pp1.c, ecm.c:
For Fermat numbers, S=1 (S=2 for P-1) is now default
* Makefile.am, configure.in, ecm-impl.h, main.c, mpmod.c, schoen_strass.c, Fgw.c:
More changes for linking gwnum
2005-02-24 alex <kruppa>
* Fgw.c, configure.in: Changes for linking gwnum (incomplete)
* main.c: Added option -h for getting help
* ecm.xml: More cleanup
2005-02-23 paul <zimmerma>
* auxlib.c, ecm-impl.h, ecm.c, ecm2.c, ks-multiply.c, pm1.c, pp1.c, stage2.c, tune.c, tune2.c:
hopefully fixed the wrap-around bug of cputime()
* INSTALL, NEWS, README, configure.in: changed version to 6.0
removed "Known problems" in README (were obsolete)
* random2.c, smartprp.c, trial.c, auxi.c, b1_ainc.c, candi.c, eval.c, getprime2.c, main.c:
fixed copyright years/names
2005-02-23 alex <kruppa>
* ecm.xml: Some inconsistent typesetting fixed
* ecm.xml: added -base2, -timestamp, -savea, different loglevels
2005-02-23 paul <zimmerma>
* ChangeLog, Makefile.am, README, README.lib, auxi.c, configure.in, ecmfactor.c, factor.c, pp1.c, smartprp.c, tune2.c:
gmp -> GMP
fixed one memory leak
added missing (L)GPL headers
2005-02-22 paul <zimmerma>
* Makefile.am, README: forgot to install ecm.h
* AUTHORS, ChangeLog, INSTALL, Makefile.am, NEWS, README, README.lib, TODO, ecm-ecm.h, ecm-impl.h, ecm.xml, eval.c, mpmod.c, mul_lo.c, polyeval.c, tune2.c:
changes after remarks from Torbjo"rn on rc4
* INSTALL, Makefile.am, auxi.c, candi.c, eval.c, main.c, memory.c:
don't install tune*, ecmfactor
fixed problems with -DMEMORY_DEBUG
2005-02-22 paul <zimmerma>
* INSTALL, Makefile.am, auxi.c, candi.c, eval.c, main.c, memory.c:
don't install tune*, ecmfactor
fixed problems with -DMEMORY_DEBUG
2005-02-22 alex <kruppa>
* stage2.c:
bestD() overwriting original B2 caused B2 to keep ever growing. Fixed
* README, bestd.c:
Corrected computation of effective B2 value in bestD(). It did not account
for rounding up due to integer block size. This changes computed
probabilities, table in README updated accordingly
* main.c: Added option -timestamp
* INSTALL:
On SunOS, the compiler and flags must be specified at configure time, or
testing for GMP lib/header version match fails
* TODO: Removed -base2 entry, it's done
2005-02-22 laurent <fousse>
* Makefile.am: Distribute ecm.xml too.
2005-02-22 paul <zimmerma>
* factor.c, main.c: fixed memory leaks
* listz.c: moved declaration outside a #ifdef
2005-02-22 alex <kruppa>
* bestd.c, rho.c, stage2.c, README:
bestD() computes new effective B2 value. ecmprob() now assumes group order
divisible by 24 on average (README updated).
* auxlib.c:
outputf() was missing the va_end(). Not sure if it is really needed (i.e. to
avoid memleaks), but it's cleaner to have it
2005-02-22 paul <zimmerma>
* TODO, auxlib.c: fixed problem under MinGW (thanks Japke Rosink)
2005-02-22 alex <kruppa>
* main.c:
Added #include <time.h>, missing it causes segfault on Amd64 because
sizeof(int) != sizeof(char*)
2005-02-22 paul <zimmerma>
* ecmprob.magma: added some results
2005-02-21 alex <kruppa>
* stage2.c, main.c, pm1.c, pp1.c, ecm.c, ecm.h, factor.c, bestd.c, ecm-impl.h:
Changed B2, B2min to mpz_t, can now be arbitrarily large so long as
B2-B2min < ~1e24.
2005-02-19 paul <zimmerma>
* pm1.c, pp1.c: put back x0=... in normal verbose mode (P-1/P+1)
2005-02-19 alex <kruppa>
* ecm2.c, main.c, mpmod.c, pm1.c, pp1.c, ecm-impl.h, ecm.c:
Added option -base2. Added option -savea (appending to save files). Fixed
bug in ecm2.c multiplyWn() debugging code
* pp1.c, stage2.c, pm1.c, ecm.c, ecm-impl.h:
Added another verbosity level: RESVERBOSE, enabled with "-v -v". Prints
intermediate residues (after stage 1 etc), mere "-v" does not anymore
2005-02-18 paul <zimmerma>
* pp1.c:
fixed problem with |S|=1 (was: pp1_mul did modify the exponent passed)
2005-02-18 alex <kruppa>
* pp1.c: A bug for |S| > 1 fixed, |S| == 1 still mysteriously broken
* stage2.c, bestd.c, ecm-impl.h, ecm.h, ecm2.c, main.c, pm1.c, pp1.c:
Using mpz_t for i0, s and related vars. Eliminates most overflow conditions.
Currently, P+1 with S=1 does not work correctly, to be fixed later
2005-02-17 alex <kruppa>
* ChangeLog:
Added treefile, double sieve, new ECM root generation that reduces extgcds
* TODO: treefile is done, removed
2005-02-17 paul <zimmerma>
* ecm-impl.h, ecm.c, pp1.c, ChangeLog, TODO:
changed default poly. choice in P+1 (now same as in ECM)
2005-02-17 alex <kruppa>
* stage2.c:
Fixed segfault: n could get mpz_clear'd without having been inited
Fixed overflow condition in fin_diff_coeff() by using mpz_t's. Makes
test.pp1 work with |S| > 1.
Small comment changes.
* pm1.c:
Changed printf to outputf, #ifdef DEBUG to WANT_ASSERT and exit() to return
with error status
2005-02-17 paul <zimmerma>
* ecmprob.magma, pm1.c, pp1.c, stage2.c, ecm-impl.h, ecm.h:
finished Brent-Suyama's extension for P+1
2005-02-16 paul <zimmerma>
* ecm-impl.h, ecm2.c, pp1.c, stage2.c: Brent/Suyama for P+1 (cont'd)
2005-02-16 alex <kruppa>
* ecm2.c: Replaced printf by outputf
2005-02-16 paul <zimmerma>
* stage2.c, ecm-impl.h, ecm2.c, pp1.c:
preliminary code for Brent/Suyama's extension in P+1
2005-02-15 alex <kruppa>
* ecm.c: Increased thresholds for high Brent-Suyama degrees
* README: A small correction about mem saving with treefiles, and typo
* ecm-impl.h, pp1.c, stage2.c, bestd.c:
My latest attempt to get bestD() right: new conditions for i0 and i1, and
fixed init of progressions if i0 != 0 (mod d2)
2005-02-14 alex <kruppa>
* polyeval.c, stage2.c: Small cleanups of treefile code
2005-02-13 alex <kruppa>
* README: Added description of -treefile, plus some small changes
2005-02-11 paul <zimmerma>
* random.c: commented the outputf calls in non-library mode
2005-02-11 alex <kruppa>
* bestd.c, random.c, stage2.c, TODO:
Small changes to use ECM_ERROR and outputf(), updated TODO
2005-02-11 paul <zimmerma>
* polyeval.c: removed unused variable
2005-02-11 alex <kruppa>
* pp1.c, stage2.c, main.c, pm1.c, polyeval.c, ecm.h, factor.c, listz.c, ecm-impl.h, ecm.c:
Storing product tree of F in files pretty much works now. Some cleanups tbd
2005-02-10 alex <kruppa>
* test.ecm: Small comment change
2005-02-09 paul <zimmerma>
* pp1.c, stage2.c, README.lib, ecm.c, ecm.h, factor.c, main.c, pm1.c:
updated README.lib
now use the library function ecm_factor() in main.c too!
2005-02-09 alex <kruppa>
* schoen_strass.c: Changes for library, uses ASSERT and outputf() now
2005-02-08 paul <zimmerma>
* Makefile.am, README, auxlib.c, bestd.c, ecm-impl.h, ecm2.c, ecmfactor.c, main.c, mul_lo.c, trial.c, tune.c, tune2.c:
further cleanup
* README.lib: documentation for libecm
* pm1.c, pp1.c, stage2.c, factor.c, listz.c, main.c, mpmod.c, ecm-impl.h, ecm.c, ecm.h, ecm2.c, auxlib.c:
got rid of verbose parameter through outputf() interface
* random.c, ecm.h, ecm2.c, ecmfactor.c, factor.c, main.c, pm1.c, pp1.c, auxi.c, ecm-ecm.h, ecm-impl.h, ecm.c:
further work for library interface
* mul_lo.c, stage2.c, main.c: fixed problems to please icc
* test.pm1: added test for step 2 primes near B2min
* Makefile.am, ecm-ecm.h, ecm-impl.h, ecm.c, ecm.h, factor.c, main.c, pm1.c, pp1.c, resume.c, stage2.c:
preliminary new file factor.c for library interface
2005-02-07 alex <kruppa>
* rho.c: Changed error testing/handling to ASSERT.
2005-02-07 paul <zimmerma>
* auxlib.c, bestd.c, ecm-impl.h, ecm2.c, getprime.c, ks-multiply.c, mpmod.c, rho.c, stage2.c, toomcook.c:
got rid of xmalloc() [now allocation errors are signaled to caller]
replaced abort, exit, stdout, stderr, printf, gmp_printf...
* schoen_strass.c, configure.in:
check for __gmpn_mod_34lsub1 in configure, and wrote a replacement for it
when it does not exist
* auxlib.c: use ECM_STDOUT/ECM_STDERR
* auxi.c, ecm-ecm.h: removed gcd in auxi.c, ecm-ecm.h
* ks-multiply.c, listz.c, lucas.c, median.c, mpmod.c, mul_lo.c, pm1.c, polyeval.c, pp1.c, rho.c, schoen_strass.c, stage2.c, tune2.c, TODO, auxlib.c, bestd.c, ecm-ecm.h, ecm-impl.h, ecm.c, ecm2.c, getprime.c:
removed FILE arguments
2005-02-06 alex <kruppa>
* ecm-ecm.h, ecm-impl.h, ecm.c, main.c, stage2.c, auxlib.c:
Encapsuled output control in outputf() function, made stage2.c and ecm.c use
that function
* rho.c: For B1=1, computation would go into very long loop. Fixed
* stage2.c:
Removed experimental SAVE_TREE code, put <math.h> back in for pow() etc.
2005-02-05 alex <kruppa>
* rho.c, stage2.c:
Got rid of finite() in stage2.c, made sure ecmprob() does not return
negative values
2005-02-04 paul <zimmerma>
* TODO: put proposal from Karim Belabas
* schoen_strass.c, stage2.c, toomcook.c, mul_lo.c, polyeval.c, rho.c, median.c, listz.c, ks-multiply.c, TODO, ecm-impl.h:
more changes to catch errors and specify output/error streams
* ecm-impl.h, stage2.c, test.pm1:
changed one P-1 test (B2 was too near from 2^53, so that B2' overflowed)
2005-02-04 alex <kruppa>
* bestd.c: Fixed bug in bestd() ...again (following PaulZ's suggestion)
2005-02-04 paul <zimmerma>
* bestd.c, mul_lo.c: added FIXME in bestd.c
changed mul_lo.c to use table computed by tune2.c
* tune2.c: fixed pb with return value
* median.c, mpmod.c, pm1.c, polyeval.c, pp1.c, stage2.c, ecmfactor.c, getprime.c, listz.c, lucas.c, main.c, ecm2.c, ecm-impl.h, ecm.c, ecm.h:
put back changes from Alex (rev 1.57 to 1.58 of pm1.c) that I removed by error
added control for output/error streams
changed exit(1) into error return values
2005-02-03 paul <zimmerma>
* TODO, configure.in: updated TODO
removed useless message in configure
2005-02-03 alex <kruppa>
* ecm-impl.h, ecm2.c, mpmod.c, pm1.c, pp1.c:
Replaced UNUSED by ATTRIBUTE_UNUSED, following GMP convention (see
gmp-impl.h)
* TODO: Montgomery's double sieve is pretty much implemented now
* bestd.c:
Fixed bug in bestd() which sometimes caused too small d values to be chosen,
thus failing to test entire [B2min,B2] interval
* auxlib.c: SunOS needs time.h for CLOCKS_PER_SEC
2005-02-03 paul <zimmerma>
* pm1.c, polyeval.c, pp1.c, random.c, rho.c, schoen_strass.c, stage2.c, toomcook.c, mpmod.c, mul_lo.c, ecm2.c, getprime.c, ks-multiply.c, listz.c, lucas.c, median.c, auxlib.c, bestd.c, ecm.c:
changed header from GPL to LGPL
added missing years if any
* ecmfactor.c: improved readability
2005-02-03 laurent <fousse>
* median-aux.c: Removed unused file median-aux.c.
* ecm.xml: ecm.xml validates again.
2005-02-03 paul <zimmerma>
* Makefile.am: added missing headers
* getprime.c: added main() to compile with -DMAIN
* countsmooth.c: added missing #ifndef and url for primegen
2005-02-03 alex <kruppa>
* schoen_strass.c: Made F_mod_*() static, hopefully to please icc
2005-02-03 paul <zimmerma>
* auxlib.c, ecm-ecm.h, ecm-impl.h, ecmfactor.c, getprime2.c, nbdigits.c, random.c, random2.c:
new files for library
* stage2.c, toomcook.c, trial.c, tune.c, tune2.c, smartprp.c, resume.c, rho.c, schoen_strass.c, mul_lo.c, pm1.c, polyeval.c, pp1.c, ks-multiply.c, listz.c, lucas.c, main.c, median.c, mpmod.c, ecm.h, ecm2.c, eval.c, getprime.c, bestd.c, candi.c, configure.in, countsmooth.c, ecm-gmp.h, ecm.c, Makefile.am, auxi.c, b1_ainc.c:
complete rewrite to separate library/frontend
* test.pp1, check.mpl, ecm.h, listz.c, stage2.c: modified one P+1 test
* ecm-gmp.h, pm1.c, tune.c, tune2.c:
fixed warnings (with -W -Wall -pedantic -Wmissing-prototypes)
2005-02-02 alex <kruppa>
* ecm2.c, pm1.c, stage2.c, ecm.h:
Cleanup of ecm/pm1_rootsF code. Small speedup in pm1_rootsF init.
2005-02-02 paul <zimmerma>
* Makefile.am, ecm.h, mul_lo.c, tune.c, tune2.c:
added new file tune2.c for tuning mpn_mul_lo_n()
* ecm-gmp.h: added missing MPN_OVERLAP_P
* ecm.xml: changed email for Jim
* AUTHORS: added item for Jim
* AUTHORS: mungled email addresses
* README, configure.in, ecm-gmp.h, ecm.h, ks-multiply.c, mpmod.c, mul_lo.c, pm1.c, tune.c:
added --enable-assert to configure
got rid of WANT_GMP_IMPL
* README, ecm.xml: added -prp options in ecm.xml
cleaned README
* main.c, pm1.c, stage2.c, eval.c: more cleanup
* README, bestd.c, countsmooth.c, ecm.c, ecm.h, eval.c, getprime.c, main.c, mpmod.c, pm1.c, pp1.c, trial.c:
more cleanup (fixed icc warnings)
* Makefile.am, README, TODO, configure.in, ecm.xml, mpmod.c:
updated README
added target tune in Makefile
2005-02-01 alex <kruppa>
* pp1.c, stage2.c, ecm.h:
Printing of mul count in rootsF/G for P+1 put back in
* ecm2.c:
Better selection of number of parallel progressions in ecm_rootsF(), avoids
unreasonably long init times
2005-02-01 paul <zimmerma>
* main.c, pm1.c, pp1.c, test.ecm, README, candi.c, ecm.c, ecm.h:
made -go work for P+1 and ECM
2005-02-01 alex <kruppa>
* pm1.c: Merge errors. :( Fixed
* ecm2.c, pm1.c:
Put counting of muls/extgcds when computing roots of F/G back in. Only
printed with "-v -v" (or more -v)
2005-02-01 paul <zimmerma>
* ChangeLog, Makefile.am, README.dev, TODO, configure.in, ecm.xml, main.c:
updated TODO, ChangeLog, ecm.xml
* AUTHORS: obscured my email
2005-02-01 alex <kruppa>
* AUTHORS: Updated (and obscured) my email address
2005-02-01 paul <zimmerma>
* configure.in: avoid AC_CHECK_LIB
2005-02-01 alex <kruppa>
* INSTALL: Minor corrections
2005-02-01 paul <zimmerma>
* configure.in: check mpn_mul_fft *after* LDFLAGS/LIBS are defined
* TODO, ecm.c, ecm.h, main.c, pm1.c, pp1.c, stage2.c, ChangeLog, README:
removed -ticdelay option (was unsupported)
* INSTALL, Makefile.am, ecm.xml: added man page (ecm.1) in distribution
added install instruction in INSTALL
* auxi.c: added missing years
* ecm.xml: added missing <para> </para>
* INSTALL, ecm.xml: modified INSTALL for new configure/make
2005-01-31 paul <zimmerma>
* bestd.c, ecm.h, ks-multiply.c, listz.c, median.c, resume.c, toomcook.c:
code cleanup (removed muls count, unused code, ...)
* AUTHORS, README, ecm.xml, ks-multiply.c, listz.c:
improved documentation
2005-01-31 alex <kruppa>
* resume.c: Fixed possible unterminated string
2005-01-31 paul <zimmerma>
* Makefile.am, README.dev, configure.in: simplified LDFLAGS/LIBS
* README.dev, ecm.1, ecm.xml:
source documentation is now ecm.xml (docbook)
* main.c: updated champion's digits
2005-01-28 paul <zimmerma>
* test.ecm: removed last line
2005-01-28 laurent <fousse>
* configure.in: Configure.in needs to set LDFLAGS.
2005-01-28 paul <zimmerma>
* ks-multiply.c, listz.c, ecm.h: fixed bug (MPN_COPY requires size > 0)
* ks-multiply.c, test.ecm, test.pm1, test.pp1:
check non-zero size in MPN_COPY
2005-01-28 laurent <fousse>
* ecm.h, main.c, resume.c: VERSION is defined in configure.in now.
2005-01-28 paul <zimmerma>
* pp1.c, schoen_strass.c, stage2.c, Makefile.am, README, TODO, bestd.c, configure.in, ecm.c, ecm.h, ecm2.c, eval.c, listz.c, lucas.c, main.c, mul_lo.c, ntl.c, pm1.c, polyeval.c, polyz.c:
removed counting of multiplications
removed use of NTL
updated TODO
2005-01-27 paul <zimmerma>
* AUTHORS, ks-multiply.c: filled AUTHORS file
* main.c: typo
* README.dev: need aclocal too
* Makefile: removed -> switch to autotools
* AUTHORS, NEWS, README.dev: new files for autotools
* ecm2.c, ks-multiply.c, listz.c, stage2.c: fixed a few memory leaks
2005-01-27 alex <kruppa>
* pm1.c: Fixed mem leak (pointed out by PaulZ)
2005-01-26 paul <zimmerma>
* INSTALL, README, b1_ainc.c, main.c: updated README
* ChangeLog, mpmod.c: modified ChangeLog
added special base2mod for Fermat numbers
2005-01-26 laurent <fousse>
* Makefile.am, configure.in: Rules cleaning.
* Makefile.am, configure.in: More autotools voodoo, borrowed from MPFR.
2005-01-26 paul <zimmerma>
* listz.c, mpmod.c, pm1.c, schoen_strass.c, INSTALL:
further cleaning of "unused" variables
* bestd.c, ecm.c, ecm.h, listz.c, main.c, pm1.c, pp1.c:
removed unused code and variables
2005-01-25 paul <zimmerma>
* bestd.c, ecm.h, ks-multiply.c, listz.c: fixed a problem in bestD
changed version to 5.2.0
implemented wrap-around trick in division
2005-01-17 laurent <fousse>
* Makefile.am: Add missing source file.
* bestd.c:
No need to bother with values.h, float.h is enough and seems to work just
as well.
2005-01-15 laurent <fousse>
* auxi.c: Correct call to getrusage.
2005-01-14 alex <kruppa>
* ecm.h, pm1.c, pp1.c, stage2.c, ecm.c:
Expected time to find a factor printed at end of stage 2
2005-01-07 paul <zimmerma>
* redc.asm: added copyright header
* mpmod.c, redc.asm, Makefile: added assembly support for redc
2005-01-05 paul <zimmerma>
* mpmod.c: renamed ecm functions with mpz_ or mpn_ prefix
2005-01-04 paul <zimmerma>
* mpmod.c: improved mpz_mod_n
2004-10-24 alex <kruppa>
* rho.c: Added missing prototypes
* ecm.h, rho.c, stage2.c, Makefile:
Dickman's rho function for computing ECM's probability of success. Is
printed for various factor sizes with -v parameter.
2004-10-12 alex <kruppa>
* ecm-gmp.h: Replaced #if ... /#else #if ... by /#elif ...
* schoen_strass.c: Fixed checksum debugging code for NOPAD case
2004-10-06 paul <zimmerma>
* mul_fft.c:
this is the mul_fft.c code from GMP (gmp-cvs-20040917 patched)
* main.c: changed default k to 2
2004-09-29 paul <zimmerma>
* ks-multiply.c, listz.c, stage2.c:
added wrapmul in ks-multiply.c (not used so far)
removed check for number of multiplies in stage2.c (not possible with KS)
2004-09-28 alex <kruppa>
* stage2.c:
Print final residue (product of polyeval output) if verbosity >= 3,
i.e. "-v -v"
* schoen_strass.c, mpmod.c, Fgw.c, Makefile, ecm.h:
Interface to use George Woltman's gwnum library for Fermat numbers
2004-09-23 alex <kruppa>
* mpmod.c: Stupid bug: = instead of == in comparison. :(
2004-09-21 paul <zimmerma>
* mpmod.c: fixed misusage of mpn_mul_fft()
2004-09-21 alex <kruppa>
* ecm.h, mpmod.c, schoen_strass.c:
Use of GMP FFT in mpmod.c self-contained now, and used only for exponent
>=32768. Use of GMP FFT added to schoen_strass.c, but currently disabled -
misses a factor of F15.
* README: Small changes to Note on Fermat numbers section
2004-09-21 paul <zimmerma>
* mpmod.c:
with HAVE_FFT defined, mpres_mul() directly calls mpn_mul_fft()
* README: removed one sentence
2004-09-13 alex <kruppa>
* README:
Some changes to Brent-Suyama section. Added note on factoring Fermat
numbers.
2004-09-13 paul <zimmerma>
* main.c: disable Line=... messages by default
* ks-multiply.c: fixed bug when m=0
* Makefile: added CFLAGS to LD (needed on Sparc)
2004-09-11 alex <kruppa>
* schoen_strass.c, listz.c:
PolyInvert() now uses a middle product for Fermat numbers
* schoen_strass.c, stage2.c:
Moved global var Fermat from stage2.c to schoen_strass.c
2004-09-10 alex <kruppa>
* polyeval.c:
Oops - accidentally deleted a list_mod() statement. Fixed.
* polyeval.c, bestd.c:
polyeval_tellegen() still used a short product instead of Schoenhage-Strassen
for Fermat numbers! Fixed, approx. doubles speed for POLYEVAL and mul count
matches theory now.
* median.c: Additional paramter check for Fermat case of KMulGen()
* ecm.h: KS_MULTIPLY was accidentally #undef'd, now #define'd again
* median.c:
TMulGen would call TMulKS() even if KS_MULTIPLY was undef'd. Fixed.
2004-09-09 alex <kruppa>
* bestd.c, ecm.h, pp1.c, stage2.c:
Double sieve for P+1 (does not use multiple progressions, only skips)
bestD() takes d2 into account.
2004-09-09 laurent <fousse>
* configure.in: Verify that GMP was compiled with FFT enabled.
* Makefile.am, configure.in:
Actually test for GMP presence in configure.
Support for test targets in Makefile.am.
2004-09-09 paul <zimmerma>
* median.c, test.pm1, ecm.h, ks-multiply.c, listz.c, main.c, bestd.c:
use middle product in PolyInvert
changed bestD() for new KS routines
now TMulKS takes an additional parameter "rev"
2004-09-09 alex <kruppa>
* mpmod.c, pm1.c, stage2.c, test.ecm, bestd.c, ecm.h, ecm2.c:
Double sieve for generating roots of ECM and P-1, see Montgomery "Speeding",
section 9. P+1 tbd. bestD() does not know about larger block length yet,
tbd.
2004-09-09 paul <zimmerma>
* ks-multiply.c: malloc -> xmalloc
* ks-multiply.c: fixed malloc bug
* trial.c, auxi.c: fixed warning
2004-09-08 alex <kruppa>
* listz.c:
added #else to avoid warning about unreachable code by Sun CC.
2004-09-08 paul <zimmerma>
* polyeval.c, ecm2.c, ks-multiply.c, median.c, ecm.h, ecm-gmp.h:
added TMulKS() [and macro FFT_WRAP, and KS_TMUL_THRESHOLD]
moved ASSERT() to ecm.h
fixed typo in ecm2.c
* ecm.h, listz.c, median.c, polyeval.c: added list_swap
fixed inefficiency in polyeval_tellegen (list_mul_high call did not
reduce coefficients mod n)
2004-09-07 paul <zimmerma>
* listz.c, median-aux.c, median.c, polyeval.c, ecm.h, ks-multiply.c:
cleaned up polyeval_tellegen and median.c:
- converted comments in english
- use functions of listz.c when possible
- translate mpz_mul_ui (.., .., 2) into mpz_mul_2exp
- other tiny optimizations
* TODO: sorted items
* pm1.c, pp1.c, main.c: default for -ticdelay is now -1
* ecm.h: added comments about #define's
2004-09-06 paul <zimmerma>
* mpmod.c: oops, modulus->bits can be negative
* mpmod.c: modulus->bits is always positive
* ecm.h, mpmod.c, pm1.c:
now isbase2() is called with same threshold BASE2_THRESHOLD (in ecm.h)
base2mod() changed to perform no division any more
2004-09-03 alex <kruppa>
* stage2.c, listz.c:
Where possible, polynomials F, G and invF are deallocated before calling
polyeval(), polyeval_tellegen() or poly_gcd().
* ecm.h:
POLYEVAL got set whenever POLYEVALTELLEGEN was set, overriding POLYGCD.
Changed so that POLYGCD overrides both POLYEVAL and POLYEVALTELLEGEN.
2004-09-03 paul <zimmerma>
* stage2.c: experimental code to save/restore the product tree
2004-09-03 alex <kruppa>
* schoen_strass.c, listz.c:
PrerevertDivision() uses a non-zeropadded transforms for Fermat numbers if
poly degree is not too large.
Removed Matrix Fourier Algorithm (no faster) and testing code in
schoen_strass.c
2004-09-03 paul <zimmerma>
* ks-multiply.c: added comment
2004-09-01 laurent <fousse>
* Makefile.am, configure.in: Autoconf'ing the project.
2004-09-01 alex <kruppa>
* ecm.h, listz.c, schoen_strass.c:
Added option for transform without zero padding to Sch"onhage-Strassen.
2004-08-31 paul <zimmerma>
* ks-multiply.c: thresholds now takes into account number size too
2004-08-31 alex <kruppa>
* TODO:
Added entry for idea of choosing roots of F and G from Montgomery
"Speeding", 9.1.3
2004-08-31 paul <zimmerma>
* Makefile, ks-multiply.c, listz.c:
improved PrerevertDivision when KS_MULTIPLY defined
2004-08-30 alex <kruppa>
* Makefile, auxi.c, ecm.h, listz.c, schoen_strass.c, toomcook.c:
Sch"onhage-Strassen code now can multiply monic polynomials directly. This
saves adds when building polys from their roots, unfortunately the speed
gain is minimal.
mpz_divby3_1op() moved to auxi.c
2004-08-30 paul <zimmerma>
* ks-multiply.c:
Kronecker-Scho"nhage's code, contributed by David Newman <david.newman@jesus.ox.ac.uk>
* Makefile, bestd.c, ecm-gmp.h, ecm.h, listz.c, mpmod.c, polyeval.c, stage2.c:
integrated David Newman's Kronecker-Scho"nhage's code
* schoen_strass.c: commented out mpz_divby3_1op (already in toomcook.c)
* TODO: added one todo line (KS mult)
2004-08-26 alex <kruppa>
* bestd.c, ecm.h, ecm2.c, stage2.c:
bestd_po2() examines both B2min and B2 instead of just their difference, and
has better d values for very small polynomial degrees.
* resume.c: Resuming now always reduces the x-coordinate (mod N).
* schoen_strass.c:
Multiplication of transformed coefficients inside the MFA transform. Should
save uncached memory accessed but isn't much faster in practice.
* ecm.h, ecm2.c, stage2.c:
Correct handling of adding identical points in addWnm() by doubling.
* Makefile: Commented out Sun cc specific options
* schoen_strass.c:
Routines for Sch"onhage-Strassen multiplication of polynomials
2004-07-28 alex <kruppa>
* pm1.c, pp1.c, resume.c, stage2.c, Makefile, auxi.c, bestd.c, ecm-gmp.h, ecm.h, ecm2.c, listz.c, main.c, median.c:
Schoenhage-Strassen for multiplying polynomials modulo Fermat numbers.
Computation of roots for F and G for ECM does several progressions in
parallel, to reduce number of extgcds and, for F, reduce the number of roots
computed.
* eval.c:
Sun cc doesn't like leading underscores in variable names. _B and _N renamed
to B and N.
2004-06-24 laurent <fousse>
* Makefile, README, ecm.1:
Fix typo in documentation and clarify the `nobase2' option.
2004-04-06 paul <zimmerma>
* bestd.c, listz.c: added Weimerskirch/Paar trick for Karatsuba (K=3)
2004-02-13 laurent <fousse>
* median.c: Deleted some unused lines.
2004-01-21 laurent <fousse>
* ecm.1: Added ecm.1 man page; needs update.
2004-01-20 laurent <fousse>
* ecm.h, main.c:
Added usage function and changed usage output stream to stdout.
2004-01-20 jim <jfoug>
* main.c: Fixed for MinGW builds (no res/resource.h)
2004-01-20 laurent <fousse>
* main.c: Fixed "-n" and "-nn" parameters for unix.
2004-01-16 jim <jfoug>
* README, TODO, candi.c, ecm.c, ecm.h, main.c, pm1.c, pp1.c:
Added -go <INTEGER> handling. The code to use this has NOT been added to ecm_stage1()
or pp1_stage1(). It has been placed into pm1_stage1(). Also, the full syntax processing
has been added to main.c. Candi.c has a new structure to handle this (mpgocandi_t).
<INTEGER> can be of any valid expression form, and may contain N letter(s) as a placeholder
for the current processing candidate number.
* stage2.c, pp1.c, pm1.c:
Modifications to allow screen percentage ticks to run through a global function.
That function will only update at the proper delay, or possibly NOT show anything at all
* main.c:
Modifications to allow screen percentage ticks to run through a global function.
That function will only update at the proper delay, or possibly NOT show anything at all
The showscreenticks() and showscreenticks_change_stage() functions are in this source file.
* ecm.h, ecm.c:
Modifications to allow screen percentage ticks to run through a global function.
That function will only update at the proper delay, or possibly NOT show anything at all
* TODO:
Added information about -ticdelay n (note ticdelay -1 turns off the percentage done stuff).
Any other n value simply is the number of ms between percentage done stderr updates.
2004-01-12 jim <jfoug>
* smartprp.c: Bug in the hex escape sequence parser in the -prp cmd
* README: Added explanation of the escape %xH[H] to the -prp cmd
* smartprp.c: Added the excape %xH[H] to the -prp cmd cmd parsing.
2004-01-12 paul <zimmerma>
* smartprp.c: new file (added for Jim)
2004-01-12 jim <jfoug>
* ecm.h:
Updated beta version and added new declarations for the smart prp function
* main.c:
Use the new "smart" prp function and parse the new -prp* command args
* candi.c: Use the new "smart" prp function
* Makefile:
Updated with new smartprp.c (and updated DIST to be all .c files)
* README:
Added new section about exteral spawned prp app, and added to the command line section
* ChangeLog: Added info about changes since 5.1-beta
(Hex expressions and VC porting in 5.1.1-beta)
(External PRP program spawning in 5.1.2-beta)
2004-01-12 paul <zimmerma>
* ecm.h, eval.c, main.c, pm1.c, pp1.c, candi.c:
number of primality loops is now controlled by PROBAB_PRIME_TESTS (ecm.h)
2004-01-09 laurent <fousse>
* main.c:
Fixed "warning: C++ style comments are not allowed in ISO C90"
2004-01-09 jim <jfoug>
* auxi.c, resume.c, trial.c, main.c: Porting needed for VC to build
* median.c: Port change needed to compile under VC
* ecm-gmp.h:
Porting needed for VC to build This latest change taken from the latest (4.1.2) GMP's gmp-impl.h file.
* eval.c, candi.c, bestd.c: Porting needed for VC to build
* ecm.h:
Bumped up beta version number. This version has hex number handling in expressions, and is ported to VC
2004-01-06 jim <jfoug>
* eval.c: Added handling of Hex numbers to the expression parser.
* median.c: Modified to build under MinGW (and VC)
* bestd.c: Modified to comiple under MinGW
2003-12-12 paul <zimmerma>
* polyeval.c: changed copyright line
* Makefile, bestd.c, ecm.h, listz.c, median.c, polyeval.c, stage2.c:
several improvements in polyeval_tellegen (now default)
2003-12-11 paul <zimmerma>
* ecm.h, median.c, polyeval.c, bestd.c:
added option -DCHECK_MULS to check number of muls
* stage2.c: added warning when estimated and computed muls differ
* polyeval.c: a factor of 2 was missing in muls_tuptree (case l=m)
* median.c: now muls_tgen calls directly muls_gen
* listz.c: replaced calls to toomcook4/toomcook4_low/toomcook4_high
by calls to LIST_MULT_N/list_mul_low/list_mul_high
* ecm.h:
type of multiplication (kara, toom3, toom4) is now defined in ecm.h
* bestd.c: replaced muls_toom4 by muls_gen
2003-12-10 laurent <fousse>
* polyeval.c: Multiplication accounting is added in polyeval_tellegen.
2003-12-09 laurent <fousse>
* stage2.c: Timing added when using polyeval_tellegen.
2003-12-09 paul <zimmerma>
* mpmod.c: changed temp1 -> temp2 in mpres_out_str
2003-12-09 laurent <fousse>
* ecm.h, median-aux.c, median.c, polyeval.c:
Polyeval_tellegen now uses transposed Toom Cook.
2003-12-05 alex <kruppa>
* countsmooth.c:
Reports values of lucky Brent-Suyama matches. Barely tested, beware!
2003-12-05 laurent <fousse>
* median.c: Used better ad hoc divisions by 2 and 3.
2003-12-04 laurent <fousse>
* median.c:
Fixed bugs in transposed Toom Cook multiplication with weird argument
sizes.
2003-12-03 alex <kruppa>
* Makefile, countsmooth.c:
computes roots at 1 (mod 6). -pm1, -blocks and -ecm flags. Makefile target.
2003-12-03 laurent <fousse>
* Makefile, median.c: Transposed Toom-Cook3 should work now.
2003-12-02 alex <kruppa>
* countsmooth.c: Can use getprime() now.
* countsmooth.c: Tool to count smooth values. Supports Brent-Suyama.
2003-12-01 alex <kruppa>
* TODO:
Added Colin Percivals generalized DWT, moved rootsF [j*d, i] -> [j*d+1, i]
to done.
2003-12-01 laurent <fousse>
* ecm.h, median.c, polyeval.c: Fixed muls_tkara.
2003-11-27 paul <zimmerma>
* TODO: added new entry
2003-11-27 laurent <fousse>
* Makefile, bestd.c, ecm.h, median.c, polyeval.c, stage2.c:
Added a new multipoint evaluation function in stage2
(polyeval_tellegen) with associated functions.
#define POLYEVALTELLEGEN if you want to use it.
2003-11-26 paul <zimmerma>
* COPYING.LIB, Makefile: added COPYING.LIB (for ecm-gmp.h and memory.c)
2003-11-24 paul <zimmerma>
* test.ecm: put in sh syntax
* stage2.c: comptue one more term of 1/F (needed for TupTree)
2003-11-19 paul <zimmerma>
* INSTALL: new timings for ppc
2003-11-18 paul <zimmerma>
* main.c: updated minimum sizes for potential champions
* INSTALL: updated timings for ppc
2003-11-17 paul <zimmerma>
* INSTALL: added timings for ppc
2003-11-07 paul <zimmerma>
* ecm.h: new function mpres_realloc
* ecm.c, ecm2.c: defined local procedures as 'static'
* mpmod.c: mpz_mod_n now always assumes ALLOC(r) >= nn
* stage2.c: check alloc. size of f (used as mpres_t)
* test.ecm: added new tests for ecm-5.0.1 bug
2003-11-05 paul <zimmerma>
* ecm.h: changed some prototypes, added some others
* toomcook.c: redirect directly to karatsuba in toom4
* test.pp1: added newline before ok
* test.pm1: added newline before ok message
* test.ecm: ok message made similar to other tests
* stage2.c: now compute estimated number of muls for stage2
(and prints corresponding percentage)
* polyeval.c: modified calls to RecursiveDivision
* pm1.c: removed unused variable
* mpmod.c:
incorporated changes to fix ecm-5.0.1 bug (overflow in input of mpz_mod_n)
* listz.c: new routines to compute short products (low and high)
* check.mpl:
new routines to determine numbers of muls of short products
* bestd.c:
completely rewritten (now determine the exact number of muls and not
an estimation)
* TODO: removed several done items
2003-10-31 paul <zimmerma>
* test.ecm: added test for bug in 5.0.1
2003-10-20 paul <zimmerma>
* Makefile, auxi.c, bestd.c, candi.c, eval.c:
changes suggested by Laurent Fousse to enable compilation with gcc 3.3.2
* TODO: removed done item
2003-10-17 paul <zimmerma>
* ChangeLog, ecm.c, ecm.h, main.c, pm1.c, pp1.c, stage2.c, test.ecm, test.pp1:
changed quiet mode (-q) to print all factors on same line (contributed by
Laurent Fousse)
2003-10-16 paul <zimmerma>
* Makefile, bestd.c, ecm.h, ecm2.c, stage2.c, test.ecm, test.pm1, test.pp1:
put in patch from Alex to solve "B2min too small" problem
2003-07-22 paul <zimmerma>
* TODO: added one item (-Q)
* TODO: added one item
* polyeval.c: fixed potential memory leak
2003-07-02 paul <zimmerma>
* bestdaux.c, candi.c, ecm2.c, eval.c, getprime.c, listz.c, main.c, ntl.c, pm1.c, stage2.c:
added check for return value of malloc
2003-06-20 paul <zimmerma>
* Makefile, ntl.c:
applied patches from Christian Cornelssen <ccorn@cs.tu-berlin.de>
* stage2.c: moved check for overflow at the beginning
* TODO: added suggestion from one user
2003-06-19 paul <zimmerma>
* TODO: added one item
2003-05-09 paul <zimmerma>
* main.c: smallest P+1 champion is now 37 digits
2003-04-22 alex <kruppa>
* Makefile, mul_lo.c, stage2.c: Changes to make building with NTL work
2003-04-22 paul <zimmerma>
* INSTALL: fixed typo
* test_sh.ecm, test_sh.pm1, test_sh.pp1: now replaced by test.*
* test.ecm, test.pm1, test.pp1: converted from csh to sh
* Makefile: now only GMP is linked statically
2003-04-16 jim <jfoug>
* main.c: Changes for incremental saving (but commented out).
* resume.c: Changes to incremental resuming (but it is commented out)
* stage2.c, pp1.c: Stage 2 overflow fixes from 5.01
* pm1.c: Stage 2 overflow fixes from 5.01
Added some new logic for the incremental save/resume, but it is commented out.
* ecm2.c: Stage 2 overflow fixes from 5.01
* ecm.h: Stage 2 overflow fixes (from 5.01).
* ecm.c: Partial resume code commented out for now.
* test_sh.ecm, test_sh.pm1, test_sh.pp1, test.ecm, test.pp1, test.pm1:
Added stage2 overflow test
* Makefile: Added ChangeLog to EXTRADIST section
* ChangeLog: Version 5.01 additional file to ECM project
* INSTALL: Added new changes which were in release 5.01
Added new information about MinGW32 timings (and compiling switches)
* README: Updated to Pauls changes in 5.01
2003-04-11 paul <zimmerma>
* main.c: limit for P+1 champion is now 35 digits
2003-04-09 jim <jfoug>
* auxi.c:
Failed to set the "first time flag" and convert the double to unsigned to fix a roundoff bug.
2003-04-05 alex <kruppa>
* mpmod.c: GMP prior to 4.1 does not have GMP_NUMB_BITS defined. Using
__GMP_BITS_PER_MP_LIMB in that case.
* resume.c:
Bugfix: save file lines were not correct if both sigma and A value was
given (a semikolon was missing).
2003-03-30 jim <jfoug>
* README:
Added section 6 "ECM-GMP Expression syntax" (and adjusted original sections 6-10 to 7-11)
Added docs about b1_ainc.c candi.c trial.c eval.c and the test_sh.* files which are newly added to version 5.1
List trial div, expressions, and looping in section 2 (new major items since ecm4c).
Added the -I f and -i n and -B2scale switches to section 3 (efficient use of ecm-gmp)
Changed section 5 (memory usage) to list that in -b breadthfirst mode (the default for -inp),
that the whole file is read into memory at one time, thus increasing memory footprint (but for good reasons).
Added [-inp file] as an optional paramter (even though it is really an option), and list that the
redirection of a file i.e. < file is now optional [ < file]. It is optional because of -inp file.
Added -t n to "Options to control factorization method"
Added -B2scale f to Options to control step 2
Added -cofdec and -ve n to Options to control output
Added info about incremental saving during B1 stage, and also documented that it is currently NOT working
Added options "-i n", "-I f", "-n", "-nn", "-one" and "-b -d" to Miscellaneous options section.
Added information that the first known problem has been eliminated (at least I know it is gone in my MinGW32 builds).
Added 2 new "known problems" which are caused by the new stderr output for the 1 line output, and
for the stage1/stage2 "percentage" done screen output (which btw, the stage2 percentage done is not
yet done ;) The "second" of these new known problems is not a "certain" problem. It is one that
someone (Paul) needs to look into and see how the interaction of this new stderr output works with
the client server, and with things like nohup & under unix (I myself don't have access to any *nix shell)
* main.c, pm1.c, pp1.c, ecm.h, ecm.c:
Added a B2 scaling factor (user supplied multipler for calculated B2 values)
2003-03-25 jim <jfoug>
* ecm2.c:
ecm.h was modified, but ecm2.c was missed and needed modified also.
* resume.c:
The incremental saving function has been neutered until it is working correctly in ecm/pm1/pp1 stage 1 functions.
* main.c:
Added -cofdef (forced cofactor in decimal even if an expression is "valid")
Added a Cnnn "header" to the B1= .. line listing the length of the candidate (unless the candidate expression is explicitily listed)
Fixed a couple of spots where the stderr 1 line output (in > redirection mode) was not erasing the prior line
* auxi.c: Added high resulution timers to MinGW and MSVC builds.
2003-03-14 jim <jfoug>
* main.c:
B2min was broken due to handling of the -i n and -I f auto incrementation code.
2003-03-14 paul <zimmerma>
* main.c: smallest top-ten P-1 has now 39 digits
* test.pm1: B1 was too small in new test
* pp1.c, stage2.c, test.pm1, pm1.c:
added check for overflow in stage2 + test
* ecm.h: changed "unsigned int" into "unsigned long" for s parameter
2003-03-12 paul <zimmerma>
* Makefile: added -pedantic
2003-03-12 jim <jfoug>
* main.c:
On "usage" screen, had not renamed -a n to -i n, nor had -I f been added.
Removed a C++ comment.
* main.c: Removed C++ comment
* resume.c, candi.c: Removed C++ comments
* resume.c: Removed a couple C++ comments
* pp1.c: Fixed Boo boo.
* pm1.c: Fixed boo boo.
* eval.c: Removed C++ comments
* ecm.c: fixed boo boo.
* b1_ainc.c, auxi.c: Removed some C++ comments
* main.c:
Changed default "shallow" mode factor finding to "deep" mode (continues to find more factors
Removed the -deep command line switch
Added command line switch -one (forces ECM back into shallow mode).
-i file changed to -inp file. -ib file removed.
-i defaults to width-first and cat file | ecm b1 defaults to depth-first searching.
added a -d for depth-first processing (to complement the -b breadth-first mode).
Removed -a n (constant B1 increment mode)
Added -i n (constant B1 increment mode)
Added -I f (Auto calculation (with scaling by f) B1 increment mode)
Removed stage 1 precentage "setup" output. That is now output in the 3 stage1 functions.
* README:
Added new options to document, but there is very little docmentation about them yet. THIS IS STILL todo
* TODO:
Updated todo list with new items, and moved items that are done, or partly done
* pp1.c: Finished stage 1 percentage counter
* pm1.c: Finished stage1 percentage done
* ecm.c:
Completed percentage done in stage one, and removed 'setup' output for stage2
* stage2.c: Added "starting" code for percentage counter on stage 2
* ecm.h: Added declaration of B1 incrementation function
* b1_ainc.c: Code to do auto-incrementation of B1.
It works with a constant increment value, or
it computes the "ideal" increment (based on current B1).
It can also scale this calculated "ideal"
* toomcook.c: Removed ABS define, since it is now in ecm.h
* Makefile:
Added new source file b1_ainc.c (does "auto" incrementation of B1 values)
2003-03-11 paul <zimmerma>
* main.c: changed P-1 champion limit
* main.c, pp1.c:
fixed problem with potential champions for -pp1, when it performs P-1
* ecm-gmp.h, ecm.h: moved ABS to ecm.h
2003-03-07 jim <jfoug>
* TODO: Updated the % done item.
* pp1.c, pm1.c: Added Stage 1 screen percentage updating.
Added Stage 1 Auto incremental saving
* main.c: Added -deep to trial factoring (actually added !(-deep)
Added space after function calls to bring my code into existing coding specifications.
* ecm.h: Added -deep command to trial factoring
* trial.c:
If we are not in -deep mode, then bail out after first factor is found
* TODO:
Added -qq for ultra quiet mode (i.e. for running under the client/server)
* eval.c:
Fixed bugs introduced removing C++'ism. The max val needed to be adjusted before the
realloc, or we would simply realloc the same sized buffer (and then overwrite it)
* main.c: Placed the fprintf(T:000) back where it needed to be.
Remove any temp AutoSaved B1 file since it is no longer needed.
* candi.c: Wrong function title in the validation check logic.
* ecm.c:
Added "plumbing" for incremental AutoSaving of B1 (every 15 minutes) !!NOT YET WORKING CORRECTLY!!
Changed 1:000 percentage screen updates to once every 30 seconds.
2003-03-07 paul <zimmerma>
* Makefile, ecm.h: changed version to 5.1-beta
2003-03-07 jim <jfoug>
* resume.c:
Added const to char * in resume, and put an else so that sigma AND A could not both be written
Created write_temp_resumefile() and kill_temp_resume_file() functions.
* ecm.h:
Added defines for write_temp_resumefile and kill_temp_resume_file (found in resume.c)
Added spaces to my function declarations to more conform to the ecm standard.
* eval.c:
Added a strnicmp() function (in VC and MinGW, we use the native version)
* TODO:
Changed incremental saving and Percentage done to be partially done
2003-03-07 paul <zimmerma>
* ecm-gmp.h, ecm.c, eval.c, main.c, trial.c:
fixed a few C++-specific idioms
2003-03-07 jim <jfoug>
* ecm.c: Stage 1 ECM code for 1:000 to 1:100 done and working fine.
* trial.c:
The "testing code" for the T:000 to T:100 was not quite in the right place
2003-03-06 jim <jfoug>
* main.c:
Added some code to do T:000 to T:100 (and 1: 2:) "percentage done" output to stderr (i.e. dummy lights)
Changed Factors= to factors= on the stderr line
in Breadthfirst mode, now show "loop count" stderr line on first loop.
in Breadthfirst mode, show the current line processing/total lines in file on the output line.
* eval.c: Added C++ style sinle line comment to expression parser
Now lines starting with '#' is a comment, and from where ever a // is found, to the end of a line is a comment.
* TODO:
Added information about 80 dots and how to do that with the existing stderr output of the lines/loops
* trial.c:
Added code to do T:000 to T:100 "percentage done" output to stderr (i.e. dummy lights)
* ecm.h: Updated "internal" version to current interim build
2003-03-05 jim <jfoug>
* test_sh.pp1: P+1 Test script file (for borne shell)
* test_sh.pm1: P-1 Test script file (for borne shell)
* test_sh.ecm: ECM Test script file (for borne shell)
* dummy:
Bye bye dummy
* dummy:
Test for PauZ (and help for me)
2003-03-05 paul <zimmerma>
* candi.c, eval.c, trial.c: files from Jim
2003-03-04 jim <jfoug>
* main.c: LOT of changes.
New switches:
-a n (auto increment B1 after each loop)
-i file (input file, not from stdin)
-ib file (breadth-first looping)
-b (breadth-first looping for stdin)
-deep (continued factoring after a factor is found)
-n (nice mode, only fully implemented in Win32)
-nn (VERY nice mode, i.e. idle)
-t n (trial factoring, up to n)
-ve n (verbose expression printing, for expressions < n chars)
The read_number() now calls the expression parser. read_number is only
used to skip blank (or commented) lines. The expression parser does the rest.
Most changes took place in the "looping" code, since now we loop either width
first (the current 5.0 default), or "breadth-first", and since during looping
the program may handle found factors either "shallow" (the current default
5.0 mode), or -deep.
* auxi.c: nb_bits now const.
A MUCH improved rand generator for Win32
* TODO:
Expression parse done. -nice done (not -kill). a "key" added so that todo's and done's can be listed
* ecm-gmp.h:
alloc.h did not work with MinGW. The change was taken from a GMP header
* ecm.h:
Created mpcandi_t struction (for warehousing info about the candidate)
Use the mpcandi_t object instead of simple mpz_t where it is needed
Added functions from candi.c, eval.c, trial.c (and main.c since read_number is needed by resume code)
Made nb_bits be const
* resume.c: Use mpcand_t for candidate numbers
Output expressions in save/resume file (if expression exists)
Patches for MinGW and MSVC for machine name
* Makefile: Added candi.c eval.c and trial.c to Makefile
2003-03-04 paul <zimmerma>
* main.c: check mp_bits_per_limb = GMP_NUMB_BITS
* toomcook.c: rewrote comparison in toomcook4()
* test.ecm: updated for new bestD()
* stage2.c: use new bestD() function
* main.c: new semantics of -k
* README: new semantics for -k option
* main.c: now default k is 0 (lower bound)
* ecm.h: updated wrt changes in bestd.c
* check.mpl: new functions to compute number of multiplies in step 2
* bestd.c: new code using data generated by bestdaux.c
* TODO: added several new items
* Makefile, bestdaux.c:
added bestdaux.c, auxiliary file to determine optimal parameters for bestd.c
2003-03-03 paul <zimmerma>
* INSTALL: updated timings for Athlon and EV6
* README: added comments about probability wrt Table 1
* tune.c: print MUL_KARATSUBA_THRESHOLD and DIV_DC_THRESHOLD
* main.c: error when factor found is 1
* TODO: added 3 items
* mul_lo.c: put ecm.h after gmp-impl.h
* ecm-gmp.h, ecm.h:
now all thresholds are in ecm.h (should go after gmp-impl.h or ecm-gmp.h)
* tune.c: fixed typo found by Christian Cornelssen
* mpmod.c: changes from Christian Cornelssen to change thresholds
* README: added info on "tune"
* Makefile: use LDFLAGS for tune
added tune in clean target
* INSTALL: added info on Darwin
2003-02-28 paul <zimmerma>
* test.ecm: added tests for bug found by Jim
* ecm.c: fixed bug found by Jim Fougeron
2003-02-24 paul <zimmerma>
* TODO: added 1 item
* INSTALL, Makefile: get rid of -LNTL/... in Makefile
added instructions for LDFLAGS/-D__freebsd in INSTALL
2003-02-24 alex <kruppa>
* pm1.c: Added comment to why we use Dickson(4), Dickson(6), x^12,..
2003-02-24 paul <zimmerma>
* TODO: updated
2003-02-23 alex <kruppa>
* README: small changes, notably maximum possible B1 for ECM and P+1.
2003-02-23 paul <zimmerma>
* ecm.c, main.c:
now prints the *exact* number of digits for large numbers
* TODO, listz.c: updated TODO
changed list_gcd to use 'p' only at the end
* README: stage -> step
* Makefile, ecm.h: version is now 5.0
* INSTALL: minor changes
* memory.c: added tests_memory_status
* mpmod.c: changed threshold for isbase2
* resume.c: added space
2003-02-23 alex <kruppa>
* toomcook.c: Made indentation more Gnuish
* main.c: Revered order of opening save and resume file
2003-02-23 paul <zimmerma>
* ecm.h: removed __gmp_default_free
* listz.c: style editing
* getprime.c: forgot to reinitialize offset
* ecm.c: style editing
static val -> non static
* TODO: added 2 items
* Makefile: CFLAGS not needed in link phase
2003-02-22 alex <kruppa>
* listz.c, lucas.c, main.c, mpmod.c, mul_lo.c, ntl.c, pm1.c, polyeval.c, polyz.c, pp1.c, resume.c, stage2.c, test.ecm, test.pm1, test.pp1, toomcook.c, tune.c, Makefile, TODO, auxi.c, bestd.c, ecm.c, ecm.h, ecm2.c, getprime.c:
Changed copyright notice
* auxi.c: Small cleanup of get_random_ui()
2003-02-21 alex <kruppa>
* main.c:
Initialising comment etc. with empty string to avoid comment fields containig
garbage being printed.
* pp1.c: Using n^2-1 instead of n-1 for inclusion in stage 1.
Unconditionally setting g to 1 afterwards to avoid including n^2-1 again
later.
2003-02-20 alex <kruppa>
* README:
Small changes. Comments on default values of k and Brent-Suyama updated.
* ecm.h, mpmod.c: mpres_clear, mpres_set and mpres_swap are now macros
* resume.c:
addef fflush() after writing save file lines to avoid partial line in case
of abort
* main.c: Added test for existing save file
2003-02-20 paul <zimmerma>
* test.pm1: rm -> /bin/rm
* README, ecm-gmp.h:
put back #include <alloca.h> by default (unless __freebsd is defined)
* ecm.h: defined macro FREE
* pm1.c, pp1.c: don't print x0 when resume
* memory.c: exported tests_free
* main.c: __gmp_free_func -> FREE
* ecm2.c: use variable for 2S+2
* ecm.c: use fprintf for error
* ecm-gmp.h: use alloca when __sun is defined
* auxi.c: use macro FREE
* TODO: added some items
* README: added note about different -save and -resume names
added note about alloca.h problems
* Makefile: added -static
* Makefile: more changes from Granlund
* Makefile, ecm.h: changed version to 5.0-beta-pl3
improved Makefile clean entry
2003-02-19 alex <kruppa>
* auxi.c: Made changes suggested by Torbjorn
* ecm2.c: Fixed bug freeing unallocated vars in ecm_rootsG_init().
(thanks again Torbjorn)
* auxi.c, ecm.h, main.c: Better seed for RNG
2003-02-19 paul <zimmerma>
* Makefile, auxi.c, ecm-gmp.h: patches from Granlund for FreeBSD
* Makefile, ecm-gmp.h, ecm.h, mpmod.c, test.ecm:
put extract from gmp-impl.h in separate file (copyright is different)
2003-02-19 alex <kruppa>
* ecm.c, ecm.h, ecm2.c, mpmod.c, pm1.c, pp1.c, stage2.c:
P-1 selects reasonable degree for Brent-Suyama if none given by user
*_roots[FG] return number of multiplies used
2003-02-19 paul <zimmerma>
* stage2.c, test.ecm, README, TODO, main.c: added -c <count> option
improved documentation
* Makefile, ecm.h: changed version to ecm-5.0-beta-pl2
* Makefile, ecm.c, ecm.h, ecm2.c, mpmod.c, pp1.c, stage2.c:
fixed warnings with -W
* test.pm1: forced remove
2003-02-18 paul <zimmerma>
* bestd.c, ecm2.c, lucas.c, main.c, memory.c, resume.c, stage2.c:
changed stream back to stdout for factors found
* README, TODO: note on B2 > 100*B1
added items in TODO
2003-02-18 alex <kruppa>
* ecm.c:
The temp variable "t" was passed around, but never actually used anywhere.
Removed.
* ecm.h, ecm2.c, mpmod.c, pm1.c, stage2.c, test.pm1:
ECM and P-1 print a message if a factor is found during the computation of
the roots of F or G and verbosity is >= 2
Eliminated "comparison between signed and unsigned" warnings when compiling
with -W
Added a test for saving/resuming to test.pm1
2003-02-16 alex <kruppa>
* ecm.c: Added default values for Brent-Suyama's extension for ECM.
* TODO: Added a suggestion from Jay Berg, and one from me
2003-02-16 paul <zimmerma>
* INSTALL, Makefile, README, TODO, bestd.c, ecm.c, ecm.h, main.c, mpmod.c, pm1.c, pp1.c, stage2.c, test.pm1, test.pp1:
fixed several issues found by Jay Berg
2003-02-16 alex <kruppa>
* main.c:
Fixed generation of random sigmas (new sigma for each input number)
2003-02-15 alex <kruppa>
* pm1.c:
cascade_mul_ui replaced by cascade_mul_d to avoid nasty bug: the power of a
small prime is accumulated and *then* passed to cascade_mul_ui, so that
overflow would occur for B1 >= 2^32.
* resume.c:
Make read_resumefile_line less ugly. Also reads Prime95 v22 ECM residues
now.
The users name and machine name are written when saving to file.
2003-02-14 paul <zimmerma>
* README, TODO: remarks from Jay Berg
* INSTALL, README: added advertizing for ECMNET
* TODO, pm1.c: fixed problem with mul_casc (powerpc630-ibm-aix5.1.0.0)
* Makefile, README: added c155 in distrib
* Makefile, README, ecm.h: version is back to 5.0-beta
added timings in README
* Makefile: missing tab
* Makefile: get rid of recursive make
* mpmod.c, mul_lo.c: __GMP_BITS_PER_MP_LIMB -> GMP_NUMB_BITS
use inline only with gcc
* INSTALL: moved comments about CC/CFLAGS
* c155: test number for ecm efficiency
* INSTALL: added comment about CC/CFLAGS
* resume.c:
changed char c to int c in freadstrn (otherwise c != EOF always true
on irix64)
* mpmod.c: put back reduction in mpres_add/sub
* Makefile: transfer LD in recursive make
* mpmod.c:
fixed two problems (missing include alloca.h, add_nc not always defined)
* pm1.c: include gmp-mparam.h only when WANT_GMP_IMPL
* ecm.h, listz.c, polyeval.c: now list_mul_z also reduces mod modulus
* pm1.c: fixed typo
* mpmod.c:
now mpz_mod_n takes both source and destination, to avoid copies
* main.c: added -primetest option
* listz.c: added function to check size of residues (DEBUG)
* ecm.c: used swap in add3 to avoid copies
* TODO: removed done item (-primetest)
2003-02-13 paul <zimmerma>
* Makefile, ecm.h: changed version
* mul_lo.c, pp1.c, stage2.c, mpmod.c: minor editing
* main.c: updated on-line help
* listz.c: added missing space
* cputime.h: now in auxi.c
* TODO: removed 2 done items
* README: updated with -resume, new files, etc
* ecm.h, main.c, mpmod.c, pm1.c, pp1.c, ecm.c:
implemented -nobase2 option
* mpmod.c, mul_lo.c: got rid of gmp-impl.h
(if WANT_GMP_IMPL not defined)
* Makefile: removed -pedantic
now -DPOLYEVAL is no longer needed (it is the default)
* ecm.h: define MUL_KARATSUBA_THRESHOLD (if not already)
define POLYEVAL (if not POLYGCD)
* main.c:
replaced #ifdef POLYEVAL by #ifndef POLYGCD (now POLYEVAL is the default)
2003-02-13 alex <kruppa>
* main.c:
Small change to "Usage" text: added remark that -resume can read from stdin.
2003-02-12 paul <zimmerma>
* main.c: updated on-line help
2003-02-12 alex <kruppa>
* resume.c: I'll try to stop violating my own specs.
METHOD= values changed from PM1 and PP1 to P-1 and P+1.
2003-02-12 paul <zimmerma>
* mpmod.c: improved mpz_mod_n (gain of about 10%)
* test.ecm: added -k for "extra" factor
* TODO: removed done items
* Makefile: removed mul_hi from tune target
* mpmod.c: new REDC at mpn-level, using fast mpn_mul_lo
* main.c: changed default number of blocks for POLYEVAL
* ecm.h: added prototype for mul_lo
* README: added "how to get the best of GMP-ECM"
* mul_lo.c: low-half multiplication
* tune.c: to tune mpmod algorithms
* Makefile: added mul_lo and tune
* stage2.c: removed number of muls without -v
* Makefile: replaced CXX by LD when appropriate
2003-02-12 alex <kruppa>
* resume.c: Routines for saving/resuming residues
2003-02-12 paul <zimmerma>
* stage2.c: fixed another memory leak
* stage2.c: fixed memory leak
* pm1.c: added default POWM_THRESHOLD
2003-02-11 alex <kruppa>
* test.ecm, test.pm1, test.pp1:
Modified test suites to work with new command line paramters
* Makefile, ecm.c, ecm.h, ecm2.c, main.c, pm1.c, pp1.c, stage2.c, test.ecm:
Added -resume option.
Sigma, the A paramter and starting point are now specified by the command
line option -sigma, -A and -x0.
2003-02-08 paul <zimmerma>
* INSTALL: added comment about editing Makefile
2003-02-06 alex <kruppa>
* toomcook.c: Changed copyright.
2003-02-06 paul <zimmerma>
* mpmod.c: added mpn-version of REDC
* Makefile: ecm5 -> ecm
* test.pm1: put missing |
* Makefile: removed -static
2003-02-05 paul <zimmerma>
* TODO: added one item
* mpmod.c: added cast to mp_limb_t
* Makefile: added GMP= and NTL= in recursive make call
* Makefile: updated VERSION
* INSTALL, README, ecm.h: version is now 5.0-beta
updated INSTALL and README
* main.c: use ECM_VERSION for -save
* test.ecm, test.pm1: removed too long tests
* TODO: added item for long term
* toomcook.c: added spaces
* test.ecm, test.pm1, test.pp1: added license
* stage2.c: removed #ifdef INVF (now INVF always used)
added B2min
added total count of muls
* pp1.c: added B2min
* polyz.c: removed/commented unused code
* polyeval.c: added count of muls
* pm1.c: updated copyright line
added B2min
* ntl.c: updated copyright line
* mpmod.c: fixed efficiency problem in mpz_mod_n
* memory.c: updated document origin
* main.c: added champion treatment
allow rational seed
added B2min
* lucas.c, listz.c, getprime.c: updated copyright line
* ecm2.c: updated copyright line
removed unused code
* ecm.h: added licence
modified prototypes to include B2min
* ecm.c: updated copyright line
added B2min in args to ecm()
* bestd.c: updated copyright line
* auxi.c: updated copyright line
added cputime (from cputime.h, now removed)
* TODO: removed items done
* README: added explanation on
- how to use P-1, P+1, ECM
- table of optimal B1, B2
- memory usage
- option -save
* Makefile: added licence
moved polyz.c in EXTRAFILES
* INSTALL: updated (NTL not needed any more)
2003-02-04 paul <zimmerma>
* polyeval.c: implement algorithm POLYEVAL
* stage2.c: adapted for polyeval
* polyz.c: commented poly_gcd when POLYEVAL
* mpmod.c: cosmetic changes
* listz.c:
several changes for polyeval, in particular modified PolyFromRoots
to complete the whole product tree
* ecm.h: several changes for polyeval
* auxi.c: added ceil_log2
* Makefile:
adapted to allow both compilation with NTL (POLYGCD=1) and without (default)
* test.ecm: added -k option to one test with g1 > B2
* TODO: added one item
* main.c: added -power in on-line help
* main.c: added option -power
2003-01-30 alex <kruppa>
* ecm.c, ecm.h, ecm2.c, main.c, mpmod.c, pm1.c, pp1.c, stage2.c:
Command line option -dickson to control whether Dickson polys are used or
not.
Factors found in ecm_rootsG are handeled properly.
Added checksum to save file lines.
2003-01-29 alex <kruppa>
* main.c, pm1.c, pp1.c:
P-1 and P+1 are again exponentiating by N-1 and the default seed for P-1 is
random again, which I had disabled during test runs.
2003-01-27 alex <kruppa>
* mpmod.c, pm1.c, pp1.c, stage2.c, ecm.c, ecm.h, ecm2.c, main.c:
Choosing the modulo reduction algorithm inside the different factoring
algos now, residue and modulus passed to pm1(), pp1() and ecm() are mpz_t
again.
Initialisation for different mod algos are separate functions now to allow
specifically choosing one. New command line paramters added for doing so.
2003-01-27 paul <zimmerma>
* mpmod.c: added explicit casts for 64-bit machines
* main.c: char -> int for return value of getchar()
2003-01-13 alex <kruppa>
* ecm.h, mpmod.c: Another attempt to check in the MODMULN code.
2003-01-12 alex <kruppa>
* pp1.c: Fixed typo and a small memory leak in rootsG_init/clear.
2003-01-10 paul <zimmerma>
* Makefile: added mpmod.{c,o}
2003-01-03 alex <kruppa>
* mpmod.c:
Basic functionality for modular arithmetic. Plain mpz_mod, base-2 and REDC
are implemented. MULMODN is to follow.
* listz.c, lucas.c, main.c, memory.c, pm1.c, pp1.c, stage2.c, ecm.c, ecm.h, ecm2.c:
Changes for using mpmod arithmetic. Moved computation of roots of F and G
into ecm2.c, pp1.c and pm1.c, respectively.
2002-12-20 paul <zimmerma>
* stage2.c: comments should be in standard C format /* ... */
and not in C++ format // ...
2002-12-19 alex <kruppa>
* auxi.c, ecm.h, stage2.c:
Basic functions for Dickman's polynomials. Not enabled yet.
2002-12-17 paul <zimmerma>
* test.ecm: test file for ecm (from ecm4c)
* check.mpl: added useful routines for ecm
* stage2.c: adapted for ecm stage 2
* main.c: removed temporary try with MPM
* pp1.c: added computation of multiplies
added routine to check if factor found by P-1 or P+1
now always uses PRAC
* polyz.c: inhibit memory check functions during NTL call
* pm1.c: adapted to generic stage 2
* main.c: added memory check functions (with -DDEBUG)
fixed some memory leaks
* lucas.c: started to adapt to generic modular multiplication
* listz.c: put mpz_mulmod macro in ecm.h
* ecm.h: modified for ecm stage 2
* ecm.c: adapted for stage 2
* TODO: removed 2 items
* ecm2.c: functions for ecm stage 2
* Makefile: added ecm2.c and memory.c
* memory.c: file to check memory allocation
2002-12-06 paul <zimmerma>
* pm1.c, pp1.c, ecm.c: added fflush() after "Using sigma/seed=..."
* TODO: added format proposal for save/restore
* TODO: changed one item
* TODO: added 4 items
2002-12-05 alex <kruppa>
* ecm.c, ecm.h, main.c, pm1.c, pp1.c, stage2.c:
Support for save files half finished.
Factors are returned in a new variable, f. p is only for passing residues
around, and stage2() must not change p.
New parameter: B1done, which tells factoring functions up to which bound
stage 1 has been completed before.
Save files can be created, but not read in yet.
2002-12-03 paul <zimmerma>
* Makefile: aux.c -> auxi.c
2002-11-30 paul <zimmerma>
* aux.c, auxi.c: renamed aux.c to auxi.c (problems under Windows)
2002-11-29 paul <zimmerma>
* pp1.c: get rid of count_leading_zeros
* Makefile, lucas.c: added file lucas.c
* stage2.c: changed order of operands in pp1_mul
* pp1.c: now uses Lucas sequences when PRAC is defined
* main.c: defined B1cost for ECM
* ecm.h: changed order of arguments of pp1_mul_ui for consistency
added prototype for pp1_mul_prac
* ecm.c: cosmetic changes
* TODO: added several items
2002-11-28 paul <zimmerma>
* INSTALL, Makefile, README: added INSTALL file
* pp1.c, stage2.c:
use pp1_mul instead of pp1_mul_ui to avoid depending on longlong.h
* Makefile:
put /usr/local/gmp and /usr/local/ntl as default directories for GMP and NTL
* toomcook.c: changed <gmp.h> to "gmp.h" for consistency
* ecm.h, main.c, pm1.c, pp1.c:
now use random seed for all methods when sigma=0
use getpid() in addition of time() for random seed
2002-11-27 paul <zimmerma>
* pp1.c: fixed bug in pp1_mul_ui
2002-11-26 alex <kruppa>
* ecm.c, main.c, pm1.c, pp1.c:
Cleaned up handling of default values and method-specific screen output.
2002-11-26 paul <zimmerma>
* test.pp1: test file for Williams P+1
* pp1.c: Williams P+1 method
* stage2.c: adapted for P+1
* ecm.h: added prototypes for P+1
added 'method' argument to stage2 functions
* pm1.c: passed method=PM1_METHOD to stage2() call
* main.c: added P+1
* ecm.c: added method in stage2() call
* README: todo in a separate file
updated
* TODO: TODO file :-)
* Makefile: added pp1.c
2002-11-25 paul <zimmerma>
* ecm.h, listz.c, stage2.c:
added INVF trick (precomputation of 1/F to speed up divisions by F)
* check.mpl: added auxiliary functions to compute numbers of multiplies
of karatsuba, toomcook3, toomcook4
* README: removed one item done in TODO, added one more
2002-11-24 alex <kruppa>
* toomcook.c:
Proof for temp space now reflects the reduced memory requirements of
toomcook3(). No change to code itself.
2002-11-19 paul <zimmerma>
* ecm.h, listz.c: karatsuba() returns int again
2002-11-19 alex <kruppa>
* ecm.c, ecm.h, main.c: Added ECM stage 1.
In ecm.h, return type of karatsuba changed to void again, to match karatsuba
in listz.c.
* listz.c: Toom-Cook 4 is default again.
buildG now prints timing info to stdout instead of stderr.
2002-11-15 paul <zimmerma>
* ecm.h: return type changed to int
* toomcook.c:
optimized karatsuba/toomcook3/toomcook4 thresholds for minimum of scalar
multiplies
* test.pm1: added one test
2002-11-14 paul <zimmerma>
* main.c:
replaced __GNU_MP_VERSION etc by gmp_version (better for dynamic library)
* Makefile: removed -static
2002-11-07 alex <kruppa>
* ecm.h, toomcook.c:
Bug: forgot to change definition of T in toomcook.c, so the temp space
required still was 2*len+4*log_3(len). Oddly, it did not crash.
Fixed (the "too much space" problem, not "the did not crash" problem).
2002-11-06 alex <kruppa>
* listz.c, toomcook.c:
toomcook[34]() use <= 2*len+2*log_3(len) temp space now
2002-11-05 paul <zimmerma>
* check.mpl: included Williams P+1 stage 1 code and test inputs
* ecm.h, main.c, pm1.c, stage2.c: replaced INVS macros by if-statements
(use the x+1/x trick whenever Pollard P-1 is performed)
* main.c:
changed default choice of B2 so that stage 2 takes about half of stage 1
(assuming Toom-Cook 3 is used)
* test.pm1: added 3 more tests
changed -e 6 into -e 12 (if "invs" trick not used)
* stage2.c: added INVS macro to enable "invs" trick
* pm1.c: added trick from Peter for Cunningham numbers
* main.c: changed default k to 7
set default S to 1 for ecm, 2 for Pollard (without INVS)
* listz.c: only style changes
2002-11-04 alex <kruppa>
* ecm.h, listz.c, toomcook.c: Added toomcook4().
2002-11-01 alex <kruppa>
* test.pm1:
Added a factor that was missed by old polygcd code to test cases
2002-10-29 alex <kruppa>
* ecm.h, stage2.c, test.pm1:
rootsG uses batch inversion for large Suyamas powers.
Tried to make indentation coherent.
2002-10-28 alex <kruppa>
* stage2.c: Fixed bad merge, T was allocated twice
2002-10-27 alex <kruppa>
* ecm.c, ecm.h, listz.c, main.c, pm1.c, stage2.c:
Added Suyamas powers for stage 2.
2002-10-25 alex <kruppa>
* toomcook.c:
Added GPL header. Cleaned up comments a little. No change to code itself.
2002-10-25 paul <zimmerma>
* check.mpl: added function to compute Toom-Cook 3 auxiliary space
* toomcook.c: edited according to GNU coding style
and added analysis of temp. space needed
* stage2.c: modified memory space for T
* main.c: put back sigma=17 as initial value for P-1
* listz.c: incorporated toomcook3 code from Alex
* ecm.h: added prototype for toomcook3
* Makefile: added toomcook.c
* test.pm1: added one test
* stage2.c: fixed bug in rootsG (G[0] was not set)
* test.pm1: test file for Pollard P-1
* poly.c: replaced by listz.c (lists) and polyz.c (polynomials)
* polyz.c: routines for polynomials of integers (mpz_t)
* listz.c: routines for arrays of mpz_t's
* ntl.c: NTL interface (first version)
* stage2.c, pm1.c: added verbose flag
* main.c: adapted for NTL interface
* getprime.c: fixed problems with signed/unsigned integers
* ecm.h: modified for NTL interface
* ecm.c: added verbose flag
* check.mpl: added routine for Pollard P-1 stage 1
* bestd.c: added missing stdlib.h
* aux.c: added missing string.h
* README: gcd stuff is ok now (using NTL)
* Makefile: adapted for NTL interface
2002-10-24 paul <zimmerma>
* toomcook.c: Toom-Cook 3-way code from Alexander Kruppa
2002-09-13 paul <zimmerma>
* COPYING: New file.
* COPYING: first version
* Makefile, README, aux.c, bestd.c, check.mpl, cputime.h, ecm.c, ecm.h, getprime.c, main.c, pm1.c, poly.c, stage2.c:
New file.
* Makefile, README, aux.c, bestd.c, check.mpl, cputime.h, ecm.c, ecm.h, getprime.c, main.c, pm1.c, poly.c, stage2.c:
first version
|