commit 8b63ba3270020908ff2c605f00ac95a541340367
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 5 11:35:58 2022 +0200

    fixed compiler warnings

commit 1afb36ebf693014eb62e7c21590c0f29afd57e0f
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Mar 17 02:01:48 2022 -0700

    Expand list of CUDA cc codes to include 80 and 90 series

commit f2aec916ffcde2dd0e388ce1897ced7d094259e7
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Mar 17 01:30:58 2022 -0700

    Faster -save with large gpu curve count

commit c56cfceb4ed6ef7711bb59655b37735b8041db7d
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 9 13:52:53 2021 -0700

    Add Seth Troisi to authors

commit 9d5b903396bb24ae73fad7106de71153bad4d6a3
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Nov 10 17:59:27 2021 -0800

    Add comment explaining extra GPU time after curves are done

commit d013c5018f2db5a3fd5e89551d4575749b587324
Merge: d8f7afc 0ad8a8c
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Mar 15 10:54:21 2022 +0100

    Merge branch 'gpu_tests' of gitlab.inria.fr:zimmerma/ecm into gpu_tests

commit 0ad8a8c8a0ff17c4b54a9df63d37119a780bd09e
Author: Seth Troisi <sethtroisi@google.com>
Date:   Mon Aug 30 19:35:33 2021 -0700

    check_gpuecm.sage add smallestGroupOrder
    
    This allows for
    $ sage --preparse check_gpuecm.sage
    $ mv -f check_gpuecm.sage.py check_gpuecm.py
    $ python -c "import check_gpuecm; check_gpuecm.smallestGroupOrder(594538100848945223169882301931953, 3, 10, 1000)"
    
    Which can help find B1/B2 limits for tests where prime will be found.

commit 923c9415152afc74f6a59fe32a4eb95fbb19c9a9
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 15:21:50 2022 +0000

    Update configure.ac - Fix WINDOWS64_ABI for mingw64 targets

commit 09f4c42e8a2237657194ff06b82f780d7b278a51
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 03:08:05 2022 +0000

    Add mulredc1.asm for Linux and Win64

commit b44037d4b74f960da3bd3c0b1babdbec69011f58
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 01:56:40 2022 +0000

    Update mulredc1.m4 - fix mulredc1_xx for win64

commit bff07a7ff416b324656936753679327ec207485e
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 01:55:40 2022 +0000

    Update mulredc.m4 - fix k=3 to k=20 for win64

commit 3f083d03ed8894a6339454500e97b7f4a2fc49cc
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 01:54:43 2022 +0000

    Update autogen.py - fix k=1 and k=2 for win64

commit f83edb3cf665af92663baac0610644b67156da4a
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Mon Jan 17 01:52:17 2022 +0000

    Delete mulredc1.asm - has code that breaks win64 builds

commit cfa3304dd2abd0604bcc4da2f16e63d76063e0a1
Author: Brian Gladman <riemannic@gmail.com>
Date:   Wed Jan 26 22:44:18 2022 +0000

    Update Visual Studio build to use CUDA v11.5
    Conditional MSVC addition in cudacommon.h for definition of int32_t

commit 42e02b964accf4d7b3bbea099e91ef8e4678d0b5
Merge: 4013d15 0e97deb
Author: Brian Gladman <riemannic@gmail.com>
Date:   Wed Jan 26 19:50:12 2022 +0000

    Merge branch 'master' of gitlab.inria.fr:zimmerma/ecm

commit 0e97deb611f15e2547cb46f6cd6216a31e434433
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Dec 1 14:56:43 2021 +0100

    added section about GMP-ECM packages

commit 3f8604b2974ba59fdf0a3a534782ba87abfc79ef
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Dec 1 14:50:51 2021 +0100

    renamed back

commit a67270777c6ad582fe9c8c3b9580189ce8d705f3
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Dec 1 14:49:29 2021 +0100

    renamed README to README.md

commit 4b8d0bf2462c5741d0ba407d7deb0be7dce87c6c
Author: Seth Troisi <sethtroisi@google.com>
Date:   Sun Oct 24 00:14:01 2021 -0700

    cgbn_stage1: Remove B1 limit, Reduce GPU memory 8x

commit f7bcd6750aad10c2515e6b7f0d5093b29a530c68
Author: Seth Troisi <sethtroisi@google.com>
Date:   Sat Oct 16 05:25:52 2021 -0700

    Remove getNumberOfBlockPerMultiProcessor
    
    2.0 and 2.1 are no longer
    getNumberOfBlockPerMultiProcessor returns a static 2

commit 258c076ec164181ffba72890800654e744db1b11
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Oct 15 02:51:17 2021 -0700

    Add note about endianness

commit 6dddca4a2301e4be753bebc1d10f06cd85e4a4fb
Author: Seth Troisi <sethtroisi@google.com>
Date:   Mon Sep 13 12:37:42 2021 -0700

    cgbn_stage1: Hack fix for custom kernel TPI

commit 980d80e79c9be830bc79fab7e1a2b9afb8cad0e4
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Sep 10 13:39:09 2021 -0700

    cgbn_stage1: Tuning

commit 5680a7ae3a9624045a7f456dacbc01206f2a192f
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 2 00:09:37 2021 -0700

    cgbn_stage1: Reduce duplicated inlined double_add_v2 code

commit 10029404df1db7d64bc523ec02b88932a8c3001f
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 1 14:57:44 2021 -0700

    Remove c++11 const vector init

commit 38dba282bf020ee07692c4b8041b47adce4c6cda
Author: Seth Troisi <sethtroisi@google.com>
Date:   Tue Aug 31 00:45:39 2021 -0700

    cuda: Refactor some common code to cudacommon.h
    
    Extract get_device_prob from select_and_init_GPU

commit c1aa300fbe4401e7bc3ed582456d191d5a07670d
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Oct 1 22:22:41 2021 -0700

    cgbn_stage1: Extract find_np0

commit 77948f945a4614e9eb2a82e088e8664fffd9342b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Oct 1 21:44:08 2021 -0700

    cgbn_stage1: remove ecm_param scruct

commit ed13a84671c8b3e3eba01af14e24d461048e270a
Author: Seth Troisi <sethtroisi@google.com>
Date:   Tue Aug 31 21:46:44 2021 -0700

    cgbn_stage1: Improve kernel names add comment about custom kernels

commit b18d27a7c76a2f19ccecc55d5048fe885f6ea547
Author: Seth Troisi <sethtroisi@google.com>
Date:   Mon Aug 30 19:42:18 2021 -0700

    cgbn_stage1: Make bits_per_batch dynamic, add ETA

commit 75672c65b54082f37be35767dde674ad2f32a4b0
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Aug 25 11:40:06 2021 -0700

    cgbn_stage1: break kernel calls into intervals
    
    Helps with system responsiveness

commit 37cba2bc710d6f03184bfba99e1b0febc1ab39dc
Author: Seth Troisi <sethtroisi@google.com>
Date:   Tue Aug 24 16:29:28 2021 -0700

    cgbn_stage1: tune for <512 bits

commit 6e4c1aece2c62215459d63a7dfa806cc8e0dc794
Author: wraythex <59678213+wraythex@users.noreply.github.com>
Date:   Sat Aug 28 16:23:03 2021 -0500

    Move cudaDeviceSchedule* to device init (#3)
    
    * Add schedule option
    * Move schedule call to device initialization
    * Update cuda_check to print the error number
    * Remove un-needed error output

commit c2f89580ab20c51256178e2a20633830f27e91df
Author: Seth Troisi <sethtroisi@google.com>
Date:   Tue Aug 24 15:33:43 2021 -0700

    cgbn_stage1: dynamic bit level part 2

commit e8ef8f9e4e4ee93e5e31a008a722824ba72707b8
Author: Seth Troisi <sethtroisi@google.com>
Date:   Tue Aug 24 13:23:56 2021 -0700

    cgbn_stage1: dynamic bit level part 1
    
    Refactor out some param & bit logic

commit ebf1d479c1d104fe674976843b5c166398fa0205
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Oct 1 20:26:55 2021 -0700

    Improve GPU input overflow detection

commit f41e1fee4b8b69f5d6163f06aa19ec6872e9343b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 1 14:46:03 2021 -0700

    Added automake process files to .gitignore

commit b6edc67096dccda55abe52afd990e5f7336f9706
Author: Seth Troisi <sethtroisi@google.com>
Date:   Mon Aug 23 22:40:13 2021 -0700

    Cleanup GPU flags in acinclude.m4

commit df7b3762e34492234d09640509df1f53b1a16c0c
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Aug 20 14:32:10 2021 -0700

    Minor cleanups to makefile, acinclude, spacing in cgbn code

commit 9d2484195442acb31e58ee780c469285be860a3b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Sat Oct 2 00:23:03 2021 -0700

    Update ecm champion url

commit 26aacfa7e6d1e86c8596cf96b3f07ee7915816ff
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu Oct 14 17:09:08 2021 +0200

    patch from Jerome BENOIT <calculus@rezozer.net>

commit 237f3567bb75be9023e4fd636a32819abfc45238
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu Oct 14 17:05:22 2021 +0200

    update after migration to gitlab

commit 3631a253bf614b53473c34f1305929b42545f5ff
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Oct 1 20:25:50 2021 -0700

    Refactor check_gpuecm.sage
    
    Add overflowTest and timingTest

commit 26211282d679c1980565ff8f7275305540e47185
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 1 17:08:34 2021 -0700

    gpu_throughput_test.sh

commit 95ac93301e7679cd47aee3cada76a24db0b9d664
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 29 22:33:01 2021 -0700

    test.gpuecm: Verify GPU residuals with CPU

commit de92909baaa6f6881291cf6a1c6a43d3c4499b65
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 1 02:11:01 2021 -0700

    Added test.cgbnecm to run test.gpuecm with -cgbn

commit e9c197e37dc5ad0d6e20a17cbe22eae3dac89b11
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Sep 10 16:43:41 2021 -0700

    Removed two very old TODO files, added TODO.gpu

commit 8f826e82035baa5361ec3a902aadad1bed16ab71
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Aug 18 19:02:20 2021 -0700

    Update README.gpu
    
    Add details on CGBN
    Add common fix for cuda present error

commit fa61067e038f494986698e65cd0cd11ae70845f6
Author: Seth Troisi <sethtroisi@google.com>
Date:   Sat Oct 2 00:01:01 2021 -0700

    Add missing commented example to testlong.ecm

commit 2d2e2e637afe4510f4e7f68b153fdb2880e10c78
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Aug 19 18:38:50 2021 -0700

    Added example CGBN GPU code
    
    This will be followed by a new stage 1 implementation.
    The new implementation is both 2-3x faster and supports a large range of
    inputs (512-32K bits).

commit 186d4f2906cdc54099054fb262ec5cecff07e758
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Aug 20 02:44:19 2021 -0700

    with_cgbn_include for new CGBN gpu code

commit 3c3d468c7cc6d140564c6188a9d961648bbca75c
Merge: 261fdbb f03297b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 30 18:43:11 2021 +0000

    Merge branch 'user_redefine_cc' into 'master'
    
    disable user_redefine_cc when CC is $GCC
    
    Closes #21859
    
    See merge request zimmerma/ecm!23

commit 261fdbbd8fcab38ffae9a87e019bf2e548dc1906
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 30 03:13:02 2021 -0700

    fix two warnings from !17 (see #21859)

commit f03297b27db6a8aff4b4d5062b955a1d8e5120a5
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 30 02:18:35 2021 -0700

    disable user_redefine_cc when CC is $GCC

commit 3d37c3906b1141faa746d83f301bd5381b2c16cd
Merge: 563495a 245af7b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 23 09:25:08 2021 +0000

    Merge branch 'gpu_configure' into 'master'
    
    Improve --enable-gpu
    
    See merge request zimmerma/ecm!19

commit 563495ae3dfc8b09dff08478ea01691d71c178ff
Merge: 0b6d645 2f50b8a
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Thu Sep 16 09:35:57 2021 +0000

    Merge branch 'improve_tests_v2' into 'master'
    
    Improve tests
    
    See merge request zimmerma/ecm!21

commit 2f50b8a4182538e211df0bb98f1ca38b67b216ec
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 15 12:35:06 2021 -0700

        Improve tests
    
        (2nd attempt and 65be45e8 was reverted in 15ef0cbc)
    
        Cleanup checkcode $C
        Verify some error strings
        Create test_dummy2.save in tests (and remove from repo)

commit 0b6d6456c7f22da593a6e6e288341ec6e5de0e7d
Merge: 0d4db6e 1fed9c9
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 15 20:03:54 2021 +0000

    Merge branch 'rho_fix' into 'master'
    
    Update standalone rho to use primesieve & improve help
    
    See merge request zimmerma/ecm!18

commit 1fed9c9eef5fc2979715c91516e5e9800b0b1944
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 15 12:51:28 2021 -0700

    Add more usage details to rho when called without arg

commit 07f6805b03af0b0b3a533ee8c9c0b6ee06a0e63e
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 9 19:05:10 2021 -0700

    Update standalone rho to use primesieve
    
    Only one small update to match functionality
    
    primesieve_skipto(11); primesieve_next() == 13
    primegen_skipto(11); primegen_next() == 11

commit 0d4db6ec345b87dba58a7285f02a2cc0944331bc
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 15 12:21:51 2021 -0700

    cleanup two warnings from !16 (see #21859)

commit 0101f5be206e2074c5bc168cfa9237e2f86f08c4
Merge: 3dba32a 3dca1e4
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 12:57:11 2021 +0000

    Merge branch 'step1_multiple_factors_final' into 'master'
    
    Add reducefactors to find primes from many composites in stage1 GPU code
    
    See merge request zimmerma/ecm!17

commit 3dba32a4e8e375f5b160379d644d7f52297d86cd
Merge: fa5525c 24a544f
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 12:50:17 2021 +0000

    Merge branch 'param_cleanup' into 'master'
    
    Simplify get_curve_from_param[13] with mpz_invert
    
    See merge request zimmerma/ecm!16

commit fa5525c297175d86ee9fda3b7774893df60f9b87
Merge: f2c8661 15ef0cb
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 12:47:22 2021 +0000

    Merge branch 'revert-f398b6b5' into 'master'
    
    Revert "Merge branch 'improve_tests' into 'master'"
    
    See merge request zimmerma/ecm!20

commit 15ef0cbc56cc9675cc9259b9147ad9cf86db5fe7
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 12:44:59 2021 +0000

    Revert "Merge branch 'improve_tests' into 'master'"
    
    This reverts merge request !15

commit f2c86613381eb0b83854d2acb11c14f56289b1b8
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Sep 15 11:12:25 2021 +0200

    added known issue

commit f398b6b57af06b48761bb7d3caabf7e0761c911f
Merge: 9f837eb 65be45e
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 08:35:31 2021 +0000

    Merge branch 'improve_tests' into 'master'
    
    Improve tests
    
    See merge request zimmerma/ecm!15

commit 9f837eb04aac7be2868ce5f72cdd43afe0977b48
Merge: dfd8046 5b6825c
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Wed Sep 15 08:30:30 2021 +0000

    Merge branch 'doc_power_pm1' into 'master'
    
    exit if -power or -dickson is used with P-1/P+1
    
    See merge request zimmerma/ecm!10

commit 245af7b180ce803e2c90379210c3462b332d39ad
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Aug 20 02:27:55 2021 -0700

    Added NVCC_CHECK_COMPILE to simplify gpu checks

commit b97a2c1021a8250d2b1767f895692610f7138712
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Aug 19 05:54:52 2021 -0700

    Add back support for --enable-gpu=62

commit 3dca1e467f9c790f2cab2878054890d3b4c24a6d
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Aug 25 16:45:06 2021 -0700

    array_stage_found -> array_found
    
    The code notices what stage the factor was found in and never mixes
    stage 1 and stage 2 factors so array_found is a better name.

commit 1529a4d648bd2978ada4da20322bebf1caf22ace
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Aug 25 16:27:41 2021 -0700

    Add reducefactors to find primes from many composites in stage1 GPU code

commit 65be45e89810c6367eaff018bf0ed45bb064e6c8
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Sep 1 13:39:10 2021 -0700

    Improve tests
    
    Cleanup checkcode $C
    Verify some error strings
    Create test_dummy2.save in tests (and remove from repo)

commit 24a544fb4ece8da20ef94a990c1211409b2ca29b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Sat Aug 7 01:25:15 2021 -0700

    Simplify get_curve_from_param[13] with mpz_invert

commit dfd8046b32041a102fe15ad07a5a54e8aaff3f92
Merge: 2c057e2 bb00c05
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Tue Sep 14 14:41:17 2021 +0000

    Merge branch 'execstack_otherintel' into 'master'
    
    Execstack otherintel
    
    See merge request zimmerma/ecm!7

commit 2c057e23c8f162a21f9015e2a83ec00b417278eb
Merge: 968cb8f e32a867
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Tue Sep 14 14:39:27 2021 +0000

    Merge branch 'git_ignore' into 'master'
    
    Moderately complete .gitignore
    
    See merge request zimmerma/ecm!12

commit 968cb8f72f8c7e2d0cfbee07f9334b22ce7918cd
Merge: 7157d2e ea3d295
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Tue Sep 14 14:38:14 2021 +0000

    Merge branch 'faster_expected_curves' into 'master'
    
    Faster expected curves
    
    See merge request zimmerma/ecm!13

commit 7157d2e7161f25d2d9b2d1509ed83ceb1729fc1a
Merge: 793dd86 b018e41
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Tue Sep 14 14:35:45 2021 +0000

    Merge branch 'sm_70_fix' into 'master'
    
    Fix cuda error in SM_70 for __any
    
    See merge request zimmerma/ecm!8

commit 793dd860e2f5d65bc949dee5974204e669bd3e5b
Merge: b3f5661 6c2e1db
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Tue Sep 14 14:32:13 2021 +0000

    Merge branch 'gpu_verbose_tweak' into 'master'
    
    Better verbosity control for -gpu
    
    See merge request zimmerma/ecm!14

commit 6c2e1db93851690b6239bbc38b668ef7820e38f6
Author: Seth Troisi <sethtroisi@google.com>
Date:   Fri Sep 10 00:33:38 2021 -0700

    Better verbosity control for -gpu
    
    `ecm -gpu -v` now prints
    
    Expected number of curves
    Block size
    Stage 1 time
    Stage 1 throughput
    Curve <X> Step 2 took <Z>ms
    Stage 2 time
    Stage 2 throughput
    Expected time to find a factor
    
    this removes the ~20 lines per stage2 that would otherwise print at -v

commit ea3d2958a825413720213605e348ebe3a008cca9
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 9 19:45:03 2021 -0700

    Move compute_s to after print_expcurves

commit e32a867bb0788204c1fbf2af543a1e0a80eab16b
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Aug 19 07:50:54 2021 -0700

    Moderately complete .gitignore

commit 5b6825c537a55e79adc3eeaca3e7cae2c68b194a
Author: Seth Troisi <sethtroisi@google.com>
Date:   Thu Sep 9 17:27:14 2021 -0700

    exit if -power or -dickson is used with P-1/P+1
    
    This has been broken since 2013 when the old PM1 stage 1
    was removed in git commit 36108424

commit d8f7afca3c0c1d4c21763dc086bb7dfed8cec243
Author: Seth Troisi <sethtroisi@google.com>
Date:   Mon Aug 30 19:35:33 2021 -0700

    check_gpuecm.sage add smallestGroupOrder
    
    This allows for
    $ sage --preparse check_gpuecm.sage
    $ mv -f check_gpuecm.sage.py check_gpuecm.py
    $ python -c "import check_gpuecm; check_gpuecm.smallestGroupOrder(594538100848945223169882301931953, 3, 1000, 10 ** 12, 1000)"
    
    Which can help find B1/B2 limits for tests where prime will be found.

commit b018e41fd32c005b03771a452ac43d25802b187e
Author: Seth Troisi <sethtroisi@google.com>
Date:   Wed Aug 25 16:27:04 2021 -0700

    Fix cuda error in SM_70 for __any

commit b3f5661cc60db68580aa29b4a9b95dae9962607d
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Fri Aug 6 15:08:53 2021 +0000

    Update README - Add details about constraints on sigma.

commit bb00c05b7f3e21a8eaaef1ce9e5dff96b8e7fe8f
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 10:22:16 2021 +1200

    Regenerate pentium4 asm files

commit 69e38b5533cca1b02c13b276710a54122b42f2c1
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 10:21:12 2021 +1200

    replace enumeration by sequence (pentium4)

commit fea0e3a33573e03c9b8e1f3cefecbc055c67d637
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 10:07:55 2021 +1200

    Add a no execstack block to generated asm files (pentium4)

commit 7108cf5ed35f36a244964d74c4eb27fe55e64502
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 09:50:40 2021 +1200

    fix autogen for py3

commit 981a332ef39c1530a22dac9528b31da0613daff8
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 09:48:42 2021 +1200

    Regenerate all asm files

commit fb41ea295ba00e6bb29db96e0bf10dad8516baa7
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 09:47:43 2021 +1200

    Add a no execstack block to generated asm files

commit 0356043c27c72486ec443bc5de6f63bd29110a51
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 09:37:40 2021 +1200

    replace manual enumeration, bound to have mistakes sooner or later, with a sequence.

commit 9c2bc110735d93973d24d33679c889a69c6743fc
Author: François Bissey <frp.bissey@gmail.com>
Date:   Thu Jun 17 09:36:57 2021 +1200

    add braces to print in autogen.py so it is py3 compliant

commit c6c2eaba2d66d5d1a23c9a736aed8f40fb8e5a61
Merge: 8c75c05 29c5847
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Tue Jun 15 23:27:27 2021 +0000

    Merge branch 'execstack' into 'master'
    
    Execstack part 1: x86_64
    
    See merge request zimmerma/ecm!6

commit 29c5847ee3bfeb0d6a94f2401b4798cd55a96dc0
Author: François Bissey <frp.bissey@gmail.com>
Date:   Tue Jun 15 11:45:00 2021 +1200

    Add exec stack code to mulredc1,asm as it is not generated.

commit 1106ce1ec56d1ecfb8b82ee3b60644f41289eab9
Author: François Bissey <frp.bissey@gmail.com>
Date:   Tue Jun 15 11:20:54 2021 +1200

    Add appropriate assembly code at the end of the m4 templates with appropriate quoting.

commit ab8338134ac854cfda7e17eda01bb1084303b422
Author: François Bissey <frp.bissey@gmail.com>
Date:   Tue Jun 15 11:17:37 2021 +1200

    We don't plan to rely on --noexecstak anymore so removing detection and inclusion

commit 4013d15f6cc7d16e05b79a14e32116870f25f450
Merge: 1f5b919 8c75c05
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Jan 26 18:29:11 2021 +0000

    Merge branch 'master' of gitlab.inria.fr:zimmerma/ecm

commit 1f5b919e714e06364db3be2d1265755e4129d387
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Jan 26 18:28:51 2021 +0000

    Update to CUDA 11.2

commit 8c75c05d6272282c8c3f3730294e6109dd4351f8
Merge: 59bdbef 3d26545
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Wed Nov 18 20:00:12 2020 +0100

    Merge branch 'update-todo' into 'master'
    
    Remove primality proving from TODO
    
    See merge request zimmerma/ecm!4

commit 3d2654571a187cbb24b3d19cf270c5fafb100687
Author: David Cleaver <dcleaver@morpheus.net>
Date:   Wed Nov 18 12:57:33 2020 -0600

    Remove primality proving from TODO

commit 59bdbef9c14ab95b17f86b7824739fa194902896
Author: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr>
Date:   Wed Nov 18 19:27:28 2020 +0100

    Add config file for gitlab ci

commit 554ca5c95f8410e8dc5811c2d7d02b1945de53e8
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Nov 6 15:06:51 2020 +0100

    added tag for 6.0.1

commit d875a8beff22eba4729b0fe010e687fab6a79a04
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Nov 4 10:44:57 2020 +0100

    update README.dev for change to git

commit 009acd453a0a29ccfb57ffdd74af6cfad48be437
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Nov 3 14:56:40 2020 +0000

    Reinstate a declaration required by Visual C's out of date Open MP version

commit 940c757cda8e4b51edb3923b21040ca779584911
Merge: 2d7cfb2 35af4b5
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Nov 3 12:06:41 2020 +0000

    Merge branch 'master' of gitlab.inria.fr:zimmerma/ecm

commit 2d7cfb2d1e18721bf9ef0d93ecd5b0edd6e1937f
Author: Brian Gladman <riemannic@gmail.com>
Date:   Wed Oct 28 17:04:04 2020 +0000

    Update Visual Studio 2019 build to CUDA 11.1

commit 35af4b5ff0e74c8015dc543b55c7432d9b246f16
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Oct 23 16:02:45 2020 +0200

    added note

commit cbfad99a5cd4f33a2c02c7b8bacaa099ebba7a81
Merge: fa2b11e a61ff7b
Author: ZIMMERMANN Paul <paul.zimmermann@inria.fr>
Date:   Fri Oct 23 12:27:26 2020 +0200

    Merge branch 'clang_openmp' into 'master'
    
    unsigned long are now acceptable variable for openMP
    
    Closes #21857
    
    See merge request zimmerma/ecm!3

commit a61ff7bd9b30f7d2ec8bda44a9c23f951a58333a
Author: François Bissey <frp.bissey@gmail.com>
Date:   Fri Oct 23 22:10:12 2020 +1300

    unsigned long are now acceptable variable for openMP

commit fa2b11ea408c33ea62f14494db915d55e4f28302
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Oct 23 10:14:40 2020 +0200

    fixed typo

commit 2349ef93fe4ab99b6dc3390b98bdfccbbbde4a04
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu Oct 22 10:40:23 2020 +0200

    fixed memory leaks
    
    (reported by Bruno Victal <brunovictal at outlook dot com>)

commit 09c5a3634b2101c56a94755fe647b4e953b41ba8
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 20 16:49:37 2020 +0200

    updated references to ecm-discuss list and archives

commit 3566332e4d56c8bbe0d8d4e34001d8d107407a41
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Oct 14 09:54:08 2020 +0200

    fixed "make longcheck" (reported by Christoph Conrads)

commit c8eb7861219d9b43f2652ab84f0b93a4fbae8540
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Oct 9 16:31:18 2020 +0200

    added Jim Fougeron in .mailmap

commit 30611601cc78676deb73d7db65c4234793a78993
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Oct 9 16:21:04 2020 +0200

    added .mailmap

commit 54b2c2197dd1a8a57a16f11777aff71a12a8e1be
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Sep 28 13:33:38 2020 +0000

    fix another issue reported by Wang Runsen
    (https://lists.gforge.inria.fr/pipermail/ecm-discuss/2020-August/004495.html)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3092 404564d9-a503-0410-82bf-e18ce2cf3989

commit 6124ff41afe7343080c0a2117d4ae83433e91eb9
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Sep 28 13:12:23 2020 +0000

    fixed bug reported by Wang Runsen
    (https://lists.gforge.inria.fr/pipermail/ecm-discuss/2020-August/004492.html)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3091 404564d9-a503-0410-82bf-e18ce2cf3989

commit 058c64c80cdeb16f0ff8e8d409c57ff50db714d6
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Sep 28 12:26:56 2020 +0000

    fixed problem reported by Christoph Conrads
    (https://gforge.inria.fr/tracker/index.php?func=detail&aid=21755&group_id=135&atid=626)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3090 404564d9-a503-0410-82bf-e18ce2cf3989

commit 8fbb2809afe72799098e07d7c74fef4d6febbf70
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Sep 18 14:44:26 2020 +0000

    fix for clang 12 from Apple's Xcode 12
    (https://gforge.inria.fr/tracker/?func=detail&atid=623&aid=21856&group_id=135)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3089 404564d9-a503-0410-82bf-e18ce2cf3989

commit 388d48e8997ef1b3cceffd84479425c98eb9898f
Author: Brian Gladman <riemannic@gmail.com>
Date:   Mon Jul 27 12:16:12 2020 +0000

    remove *.obj file
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3088 404564d9-a503-0410-82bf-e18ce2cf3989

commit b22add97119f0f7b558040ac7d15a5bdb501a4c1
Author: Brian Gladman <riemannic@gmail.com>
Date:   Mon Jul 27 11:40:30 2020 +0000

    update Visual Studio 2019 build to use CUDA 11.0
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3087 404564d9-a503-0410-82bf-e18ce2cf3989

commit 69c359dc5b4996449bd50ff8838edf90bc74765e
Author: Brian Gladman <riemannic@gmail.com>
Date:   Wed Jul 8 15:09:06 2020 +0000

    update Visual Studio 2019 build to use CUDA 11.0
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3086 404564d9-a503-0410-82bf-e18ce2cf3989

commit ca7d4e2bda8f42bbf9ab60d201fa5496e012531c
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 22 07:47:51 2020 +0000

    [INSTALL-ecm] added note related to GWNUM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3085 404564d9-a503-0410-82bf-e18ce2cf3989

commit cf5e6273abe14d00878ebd62cc15e024adb1b8ad
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 21 06:39:58 2020 +0000

    [Fgw.c] fix bug reported at https://mersenneforum.org/showthread.php?t=25559
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3084 404564d9-a503-0410-82bf-e18ce2cf3989

commit 114aa487e16c678eb95acb63c4d51450be33c46a
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 21 06:08:45 2020 +0000

    [INSTALL-ecm] updated latest GWNUM version
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3083 404564d9-a503-0410-82bf-e18ce2cf3989

commit 2f35ffb44690ec51c6f1f9e15fd742ec41e90212
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Apr 21 07:25:26 2020 +0000

    partly revert previous commit (+ cast)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3082 404564d9-a503-0410-82bf-e18ce2cf3989

commit 9e20ec01d4cbf11acbef5b31f47ef09fffa005d2
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Sun Apr 19 06:35:39 2020 +0000

    use AC_PROG_CC_C99 + print fix
    (https://lists.gforge.inria.fr/pipermail/ecm-discuss/2020-April/004485.html)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3081 404564d9-a503-0410-82bf-e18ce2cf3989

commit 4ec21e29f65115a4fa36fe0d1a6e08366a82f464
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Mar 20 15:17:28 2020 +0000

    added comment
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3080 404564d9-a503-0410-82bf-e18ce2cf3989

commit 82d017b69ec96d50babdc57b11a012d9501eee03
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Mar 20 15:09:52 2020 +0000

    added ecm_reset()
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3079 404564d9-a503-0410-82bf-e18ce2cf3989

commit c72938126f3c6be2cbd548958c85b06b30ed6f78
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu Mar 19 13:44:31 2020 +0000

    added patch to solve bug [#21836] Cross-Compiling to mingw32 terminates with "memusage.c:72: undefined reference to `GetProcessMemoryInfo@12'"
    
    https://gforge.inria.fr/tracker/index.php?func=detail&aid=21836&group_id=135&atid=623
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3078 404564d9-a503-0410-82bf-e18ce2cf3989

commit bcb4c1baff86cac4981190a1723ab110742488d8
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu Mar 19 09:58:41 2020 +0000

    added -std=c99 to CFLAGS
    (https://gforge.inria.fr/tracker/index.php?func=detail&aid=21835&group_id=135&atid=623)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3077 404564d9-a503-0410-82bf-e18ce2cf3989

commit 18bc4a8cededb917c115ab35b714e3d736c8974d
Author: seth troisi <braintwo@gmail.com>
Date:   Tue Jan 28 08:44:04 2020 +0000

    Improve check_gpuecm.sage by using order of P(x0=2,y0=1)
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3076 404564d9-a503-0410-82bf-e18ce2cf3989

commit 18f12a3cdc398be1b74e2e64867dacda632c3bce
Author: seth troisi <braintwo@gmail.com>
Date:   Mon Jan 27 00:02:22 2020 +0000

    Added check_gpuecm.sage script
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3075 404564d9-a503-0410-82bf-e18ce2cf3989

commit 8ebe0590558f50af0e445ce90eba8beedefe4d92
Author: seth troisi <braintwo@gmail.com>
Date:   Fri Jan 24 04:21:15 2020 +0000

    Add test to verify number of factors found by gpucurves
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3074 404564d9-a503-0410-82bf-e18ce2cf3989

commit a8fa12f0e18090cb0e3abaaf89dc392cd1739c61
Author: seth troisi <braintwo@gmail.com>
Date:   Wed Jan 22 10:36:50 2020 +0000

    Revert changes to FindGroupOrderA in r3072
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3073 404564d9-a503-0410-82bf-e18ce2cf3989

commit 1d664f31bc4ea0dcd13b194a53aba5b288020575
Author: seth troisi <braintwo@gmail.com>
Date:   Wed Jan 22 09:19:35 2020 +0000

    Simplify FindGroupOrder in check.sage
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3072 404564d9-a503-0410-82bf-e18ce2cf3989

commit dae573d6fffb8e2aa20fba16794376896cdaafa6
Author: seth troisi <braintwo@gmail.com>
Date:   Fri Jan 17 23:24:33 2020 +0000

    Fix man page description of -param
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3071 404564d9-a503-0410-82bf-e18ce2cf3989

commit aec9d06ea7095bebf84c603c9e3fbf1656776054
Author: seth troisi <braintwo@gmail.com>
Date:   Fri Jan 17 03:49:22 2020 +0000

    add -primetest and -param to man page
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3070 404564d9-a503-0410-82bf-e18ce2cf3989

commit 42060008c7a0ad1fa5fcb32cf7d69f69cd028996
Author: seth troisi <braintwo@gmail.com>
Date:   Wed Jan 15 06:42:13 2020 +0000

    Added 'APR primality test:' to status output
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3069 404564d9-a503-0410-82bf-e18ce2cf3989

commit fcab1a1192fef51c26c58940307bcbf024ec5753
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Nov 25 14:09:17 2019 +0000

    fix test for "-bsaves/-bloads can only be used with..."
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3068 404564d9-a503-0410-82bf-e18ce2cf3989

commit 42feec8b941f483313023214d7ed735bc3c86d55
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Nov 12 10:24:01 2019 +0000

    fix bug reported on https://lists.gforge.inria.fr/pipermail/ecm-discuss/2019-November/004451.html
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3067 404564d9-a503-0410-82bf-e18ce2cf3989

commit dc0bc24846c5fb863ae7a595fbd9979c69b18f0d
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Nov 12 08:44:00 2019 +0000

    removed temporary code from revision 3064
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3066 404564d9-a503-0410-82bf-e18ce2cf3989

commit 4abd865f3c7adad08ca44e09012856156a6d0a9d
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Sat Nov 9 16:10:14 2019 +0000

    [test.ecm] add test cases for PhiL/M (for each base), primU and GCD.
    [eval.c] restored eval_GCD; fixed bug in eval_phi where phi(p^n,1) is calculated as 1.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3065 404564d9-a503-0410-82bf-e18ce2cf3989

commit 063f488fcbf24c2fa240be7505f6d93126337ab2
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Nov 6 19:07:40 2019 +0000

    disable temporarily eval_gcd until it is tested by "make check"
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3064 404564d9-a503-0410-82bf-e18ce2cf3989

commit f43ebb563ca857bb81460f88f128d42392ebc85f
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Wed Nov 6 18:44:41 2019 +0000

    Removed a leftover debug fprintf
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3063 404564d9-a503-0410-82bf-e18ce2cf3989

commit 867b4a06da4712d7d58d120f37c9ea15318a3840
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Wed Nov 6 18:36:19 2019 +0000

    Crude implementation of "Aurifeullian primitive part" functions PhiL and PhiM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3062 404564d9-a503-0410-82bf-e18ce2cf3989

commit e5a5e4c05d5d3f104ad0e26286251f9691921a7e
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Tue Nov 5 04:17:42 2019 +0000

    make the parser actually recognize gcd function
    
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3061 404564d9-a503-0410-82bf-e18ce2cf3989

commit 3a8bb7c466ae04ef47f68e363cc70392f6493bfd
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Wed Oct 30 14:36:33 2019 +0000

    Added a GCD function
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3060 404564d9-a503-0410-82bf-e18ce2cf3989

commit 3a8c9891c0f2eb86b27595e5909a9199da6535b6
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 22 11:11:52 2019 +0000

    added more comments
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3059 404564d9-a503-0410-82bf-e18ce2cf3989

commit bd98fd3fc035c36e6bdd5657600df8403b8e0be4
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 22 10:56:10 2019 +0000

    fixed memory leak and added comment
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3058 404564d9-a503-0410-82bf-e18ce2cf3989

commit 1456a3c66e98ab490d2df72d1f38d01c4a764692
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 15 11:12:48 2019 +0000

    added comment
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3057 404564d9-a503-0410-82bf-e18ce2cf3989

commit ce1ee5ce6fa5a6285b1a6a4a32c7e55b5f9f79eb
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 15 11:12:19 2019 +0000

    added probability of finding a factor for P+1
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3056 404564d9-a503-0410-82bf-e18ce2cf3989

commit 55c49f4b6539ddeb4d5541cc7100fe1145ddb091
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 15 10:27:54 2019 +0000

    added reference
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3055 404564d9-a503-0410-82bf-e18ce2cf3989

commit edcd2ccf968506f4303373a013cbdc1cf19510d6
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Oct 14 19:48:27 2019 +0000

    added "assuming one exists" to "Probability of finding a factor of n digits"
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3054 404564d9-a503-0410-82bf-e18ce2cf3989

commit cebdd049d9d0a3f4083edcb1b89088d75a66b3b7
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Oct 1 15:27:20 2019 +0000

    Revise the explanation of the use of bash to run the tests on Windows
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3053 404564d9-a503-0410-82bf-e18ce2cf3989

commit ef9830e0803d02a518cc994a249910096ebe3d34
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Aug 20 08:38:15 2019 +0000

    fixed typos
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3052 404564d9-a503-0410-82bf-e18ce2cf3989

commit 4c7ab86b7892798e6db731b3d9f496851f20eba6
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Aug 20 08:12:47 2019 +0000

    Add a description of how to run the tests on Windows using bash
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3051 404564d9-a503-0410-82bf-e18ce2cf3989

commit b4c70e3bcc7d0f178e5962720da1d84323d1ef3c
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Jun 11 12:53:23 2019 +0000

    fixed again mpzspv_from_mpzv_fast (the solution from r3047 was incorrect,
    since mpzspv_from_mpzv_fast might be called twice at the same time with the
    same thread number)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3050 404564d9-a503-0410-82bf-e18ce2cf3989

commit 3c6ddc8d8a571b3db14716e6997625bf246ed6fd
Author: Brian Gladman <riemannic@gmail.com>
Date:   Thu May 16 16:34:52 2019 +0000

    Add build files for Visual Studio 2019 (in build.vs)
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3049 404564d9-a503-0410-82bf-e18ce2cf3989

commit 93c7660da6dd4eed27f63772fd31a9bdd23ff7f1
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 10 13:27:24 2019 +0000

    added note about issue with GWNUM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3048 404564d9-a503-0410-82bf-e18ce2cf3989

commit 59e7682aed93d0e267101b1b642fae5f44683697
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 3 13:30:47 2019 +0000

    avoid alloc/free in mpzspv_from_mpzv_fast()
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3047 404564d9-a503-0410-82bf-e18ce2cf3989

commit d6d274a371359824fa408ad300dfb64ba02abde1
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 3 11:08:35 2019 +0000

    fixed mpzspv_from_mpzv_fast() [was not thread-safe]
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3046 404564d9-a503-0410-82bf-e18ce2cf3989

commit cbd34997261056d1ac0239323aa388d85240b8f5
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 3 08:04:29 2019 +0000

    fixed another typo
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3045 404564d9-a503-0410-82bf-e18ce2cf3989

commit b2ea1a4d135e5f37b5a6f5a1f968ae268e4f2ed8
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 3 08:00:44 2019 +0000

    fixed compiler warning
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3044 404564d9-a503-0410-82bf-e18ce2cf3989

commit 0c5809a31df52e14b9b0f111980579453c31eccb
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri May 3 08:00:20 2019 +0000

    fixed typo
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3043 404564d9-a503-0410-82bf-e18ce2cf3989

commit 85ac25d86487c04f8456bd10dab674785790c028
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 2 15:57:54 2019 +0000

    fixed typo
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3042 404564d9-a503-0410-82bf-e18ce2cf3989

commit 8cbcd1eee399777cde48df9ef9ad7ce9c5d5a647
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 2 08:49:07 2019 +0000

    need -ldl with GWNUM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3041 404564d9-a503-0410-82bf-e18ce2cf3989

commit c42aeb6b76c2b9c403bf5764147af31cee046f45
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Thu May 2 08:43:10 2019 +0000

    updated paragraph about GWNUM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3040 404564d9-a503-0410-82bf-e18ce2cf3989

commit 2dd171624b4940aca530a80433ad8841b7aee53b
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Apr 30 15:11:42 2019 +0000

    several fixes for GWNUM
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3039 404564d9-a503-0410-82bf-e18ce2cf3989

commit cfb68d8744904907d299657d39d6d6c214114a07
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Apr 3 10:52:02 2019 +0000

    clarify "default B2"
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3038 404564d9-a503-0410-82bf-e18ce2cf3989

commit a06a8fa556f2c713170cffb12082b5cec405a04e
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Sat Jan 26 02:03:23 2019 +0000

    Unified interface for function parsing.
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3037 404564d9-a503-0410-82bf-e18ce2cf3989

commit 0e0a9743a0f7187f25deeb20a459ee7373fc0471
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Jan 15 16:01:24 2019 +0000

    [Makefile.am] added -fPIC for nvcc
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3036 404564d9-a503-0410-82bf-e18ce2cf3989

commit ac64652f2b20b8089fbb91489ce65711ac38f8a4
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Jan 15 12:16:49 2019 +0000

    [gpu-ecm] added compute capability 60 61 62 70 72 75
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3035 404564d9-a503-0410-82bf-e18ce2cf3989

commit 42e817926a5091c3c5e01d0ce053bf2be284d333
Author: Brian Gladman <riemannic@gmail.com>
Date:   Tue Dec 4 22:44:02 2018 +0000

    correct bug in YASM integration file (vsyasm.targets)
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3034 404564d9-a503-0410-82bf-e18ce2cf3989

commit a913e07f72a3031a71ceb4e0c3e692d1357cdb83
Author: Chen Wang <wpolly0419@gmail.com>
Date:   Mon Nov 26 23:08:20 2018 +0000

    Added parsable functions U(p,q,n) and primU(p,q,n) as parsable functions.
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3033 404564d9-a503-0410-82bf-e18ce2cf3989

commit 4ff4b164b26fd79486abcb845848d77a70f6b1e1
Author: Brian Gladman <riemannic@gmail.com>
Date:   Fri Oct 26 23:24:27 2018 +0000

    update Visual Studio 2017 build to CUDA 10.0
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3032 404564d9-a503-0410-82bf-e18ce2cf3989

commit 6bbea2905c39c4ac83952f47e9cf68c903020f7e
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Fri Jul 20 15:25:08 2018 +0000

    [pm1.c] fixed bug reported by Anton Repko when B2 < B1
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3031 404564d9-a503-0410-82bf-e18ce2cf3989

commit 21d62ff1ab094f8eb252dabbc8498d9e0dc40f98
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Jun 18 12:16:16 2018 +0000

    fixed wrong documentation (reported by Tanaydın Şirin <huzursuz@gmail.com>)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3030 404564d9-a503-0410-82bf-e18ce2cf3989

commit d9dacc459c43a5ea58c2fa09b6f6ab5ec55f0b53
Author: Brian Gladman <riemannic@gmail.com>
Date:   Thu Jun 7 17:16:57 2018 +0000

    update to CUDA 9.2
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3029 404564d9-a503-0410-82bf-e18ce2cf3989

commit e62771c8821dfb9794a94a13f6e5f73b8af2fd82
Author: Paul Leyland <paul.leyland@gmail.com>
Date:   Sun Dec 10 15:29:46 2017 +0000

    Determine CUDA minimum compute capability at configure time and set
    -DECM_GPU_CURVES_BY_BLOCK=16 for cc2.x
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3027 404564d9-a503-0410-82bf-e18ce2cf3989

commit 72ec461885d7945bd2ea0ef8981a9a912b0ff34b
Author: Paul Leyland <paul.leyland@gmail.com>
Date:   Sun Dec 10 13:04:02 2017 +0000

    Corrected minor typos
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3026 404564d9-a503-0410-82bf-e18ce2cf3989

commit b3b48cce63e180f8bb0c5919b6ea0cae7d22c2a5
Author: Paul Leyland <paul.leyland@gmail.com>
Date:   Sun Dec 10 11:00:21 2017 +0000

    Set -gpucurves 32 or small cards fail the final two tests.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3025 404564d9-a503-0410-82bf-e18ce2cf3989

commit 09ddf0bc538278fa5c803aabe38d11f037d9dfba
Author: Brian Gladman <riemannic@gmail.com>
Date:   Sun Nov 5 14:28:38 2017 +0000

    set up the build for static linking
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3024 404564d9-a503-0410-82bf-e18ce2cf3989

commit 9d809aba3463c2a05a749d5bb80feac9cc604b74
Author: Brian Gladman <riemannic@gmail.com>
Date:   Fri Nov 3 16:50:23 2017 +0000

    Add Visual Studio 2017 build (with CUDA 9)
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3023 404564d9-a503-0410-82bf-e18ce2cf3989

commit a66397a96296a9b96191bb068a9cc8e9ebcda71c
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue May 16 11:09:39 2017 +0000

    fix for "make check -j"
    
    (see https://trac.sagemath.org/ticket/20385#comment:161)
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3022 404564d9-a503-0410-82bf-e18ce2cf3989

commit 0654e369e9daa9fd130cf9e17fb3a1da4cc1be6d
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Apr 24 14:53:38 2017 +0000

    add in README that for ECM, -chkpnt is only implemented with -param 0 so far
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3021 404564d9-a503-0410-82bf-e18ce2cf3989

commit 6f2849903f089920594a102afb3abc43276d083a
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Apr 24 14:50:54 2017 +0000

    say that -chkpnt only works with -param 0
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3020 404564d9-a503-0410-82bf-e18ce2cf3989

commit fe6f87b349d0e68b4cdb31580f61a115addc363b
Author: Cyril Bouvier <cyril.bouvier@lirmm.fr>
Date:   Wed Mar 1 22:04:17 2017 +0000

    Update code from gpu_ecm: param is no longer a pointer
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3019 404564d9-a503-0410-82bf-e18ce2cf3989

commit 307a0737c6c67e543aa537c035b3dc3e5b055a9f
Author: Cyril Bouvier <cyril.bouvier@lirmm.fr>
Date:   Wed Mar 1 22:03:57 2017 +0000

    Update ecm prototype in ecm.h: param is not longer a pointer
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3018 404564d9-a503-0410-82bf-e18ce2cf3989

commit 0d5e92d2247316ab300ebc65f69120111eb4ad31
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Wed Mar 1 18:35:42 2017 +0000

    fixed a bug reported by Sam Wagstaff
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3017 404564d9-a503-0410-82bf-e18ce2cf3989

commit 5876a444f1b270a2f987b19a8b60ffebed6967bc
Author: David Cleaver <wraithx@morpheus.net>
Date:   Sun Feb 12 22:36:35 2017 +0000

    - Finalize using ecm_tstbit in code where needed.
    - Update B1 bounds for Windows, 3124253146UL for GMP <= 6, 50685770166ULL for MPIR.
    - Clean up code formatting in batch.c
    - Minor changes to fix some compiler warnings.
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3016 404564d9-a503-0410-82bf-e18ce2cf3989

commit 1a1373c7ecab8d32d0df8f78f338845c07d481f5
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Feb 6 10:22:11 2017 +0000

    changed B1 < MAX_B1_BATCH into B1 <= MAX_B1_BATCH
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3015 404564d9-a503-0410-82bf-e18ce2cf3989

commit 1d28f9f8b4c7a8f7983af597804c4bdbb98404a8
Author: David Cleaver <wraithx@morpheus.net>
Date:   Sat Feb 4 18:33:21 2017 +0000

    Fix for systems with 32-bit longs that would miss factors when using GMP<=6.x, with B1>2977044736UL.
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3014 404564d9-a503-0410-82bf-e18ce2cf3989

commit cfcd5fe3f9d26c47924169d3538a868356c769b6
Author: Cyril Bouvier <cyril.bouvier@lirmm.fr>
Date:   Mon Nov 7 10:21:09 2016 +0000

    Revert previous commit
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3013 404564d9-a503-0410-82bf-e18ce2cf3989

commit 2d344c453bf183930b5a392d99d876b32f604784
Author: Cyril Bouvier <cyril.bouvier@lirmm.fr>
Date:   Mon Nov 7 09:30:40 2016 +0000

    Trying to fix a compilation error with CUDA7.5
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3012 404564d9-a503-0410-82bf-e18ce2cf3989

commit 80017fca3e6b86fba2d2265984c415f89109c372
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Mon Oct 24 15:54:15 2016 +0000

    90%+90%.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3011 404564d9-a503-0410-82bf-e18ce2cf3989

commit 2ac643a44a889639bd89aa0d7db5995646acdd54
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Sun Oct 23 17:00:11 2016 +0000

    first time above 90%.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3010 404564d9-a503-0410-82bf-e18ce2cf3989

commit 4b29160faf36af00ab382b30d6ce1bed8bbf516b
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Sat Oct 22 18:58:53 2016 +0000

    one more test.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3009 404564d9-a503-0410-82bf-e18ce2cf3989

commit b1034e2d4b99bd2bcc0ae2d986a35cf5a2b35d96
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Sat Oct 22 07:46:41 2016 +0000

    more and more cleaning.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3008 404564d9-a503-0410-82bf-e18ce2cf3989

commit abc73751e788ac07f804bd9156f80ee4d14b51b6
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Sat Oct 22 07:30:55 2016 +0000

    cleaning.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3007 404564d9-a503-0410-82bf-e18ce2cf3989

commit f19d4f9e5042caa617758d035249274818769423
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Fri Oct 21 19:01:08 2016 +0000

    printing is needed in debug mode only.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3006 404564d9-a503-0410-82bf-e18ce2cf3989

commit 5b5720b055dcab14b6efdded7224e603b2dafaa6
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Thu Oct 20 17:10:17 2016 +0000

    Still more covering of addlaws.c, finding more bugs.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3005 404564d9-a503-0410-82bf-e18ce2cf3989

commit ad816ada2e6932a5fb8fc1983122b1ee15574b41
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Thu Oct 20 11:36:56 2016 +0000

    more cleaning and code moving to improve coverage of addlaws.c .
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3004 404564d9-a503-0410-82bf-e18ce2cf3989

commit 1e99299988a9ccb4c48d10acf0cface5b3839737
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Thu Oct 20 11:22:00 2016 +0000

    some info about gcov.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3003 404564d9-a503-0410-82bf-e18ce2cf3989

commit c38e1fd5797690dcbee02e8bcf6359d191265984
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Wed Oct 19 13:37:38 2016 +0000

    more simplification of addlaws.c .
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3002 404564d9-a503-0410-82bf-e18ce2cf3989

commit b792ea465506d467b545797d01b58947297c3a9d
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Tue Oct 18 15:45:50 2016 +0000

    torsions.c is covered up to errors that cannot be simulated. More work
    is needed for addlaws.c, in progress.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3001 404564d9-a503-0410-82bf-e18ce2cf3989

commit 61ff7f30b1aeb3bc33a0470ae1411a39edcf7e55
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Sun Oct 16 16:53:06 2016 +0000

    More covering of Z2xZ8, Z4xZ4 and covering for Z3xZ3. Still missing is Z3xZ6.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@3000 404564d9-a503-0410-82bf-e18ce2cf3989

commit 81baa9f034a1628a179a346413756f3eb49edc5f
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Fri Oct 14 20:05:04 2016 +0000

    More covering of Z9, Z2xZ8; simplification of Z10; cleaning of torsions.c .
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2999 404564d9-a503-0410-82bf-e18ce2cf3989

commit 27708faaf8331372e8c357d4af9e67bc8874f6ee
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Thu Oct 13 13:04:56 2016 +0000

    advancing in the covering of torsions.{c,h} . Not finished.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2998 404564d9-a503-0410-82bf-e18ce2cf3989

commit ab4234f77a9ae8cf24993428e47df0fc745cd7a6
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Wed Oct 12 16:41:10 2016 +0000

    reintroducing all tests => some cleaning made after a bug occurred during
    the old tests.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2997 404564d9-a503-0410-82bf-e18ce2cf3989

commit 0f74c0baa5d7670dc39778c47eb0041ea9ad79d2
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Wed Oct 12 08:18:18 2016 +0000

    reinjecting tests for Weierstrass form only.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2996 404564d9-a503-0410-82bf-e18ce2cf3989

commit 421fc4baad95a95895a0a432d6685e37029ef5d0
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Tue Oct 11 16:14:57 2016 +0000

    Forgot.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2995 404564d9-a503-0410-82bf-e18ce2cf3989

commit 2da354c493c2969152705f6e0a6ab30fb4652dea
Author: Francois Morain <morain@lix.polytechnique.fr>
Date:   Tue Oct 11 12:52:31 2016 +0000

    introducing JKL curves + projective twisted Hessian curves a la Bernstein.
    More cover tests are to be added soon.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2994 404564d9-a503-0410-82bf-e18ce2cf3989

commit b43a451e72d4226c578253f821e0069675569260
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 11 09:34:42 2016 +0000

    version is now 7.0.5-dev
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2993 404564d9-a503-0410-82bf-e18ce2cf3989

commit fcc85095a977d7620c50923cb0d0d9551d1eaa5f
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Tue Oct 11 09:29:07 2016 +0000

    prepare for release 7.0.4
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svnroot/ecm/trunk@2991 404564d9-a503-0410-82bf-e18ce2cf3989
------------------------------------------------------------------------
r2990 | brian_gladman | 2016-09-29 13:13:04 +0200 (Thu, 29 Sep 2016) | 1 line
Changed paths:
   M /trunk/build.vc14/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc14/libecm_gpu/libecm_gpu.vcxproj
   M /trunk/build.vc14/readme.txt

Update default CUDA compute capabilities and the readme.txt file 
------------------------------------------------------------------------
r2989 | brian_gladman | 2016-09-29 12:52:25 +0200 (Thu, 29 Sep 2016) | 1 line
Changed paths:
   M /trunk/build.vc12/tests.py
   A /trunk/build.vc14
   A /trunk/build.vc14/Makefile.am
   A /trunk/build.vc14/assembler
   A /trunk/build.vc14/assembler/Makefile.am
   A /trunk/build.vc14/assembler/a_win32a_redc.asm
   A /trunk/build.vc14/assembler/a_win32p_mulredc.asm
   A /trunk/build.vc14/assembler/a_win32p_redc.asm
   A /trunk/build.vc14/assembler/a_x64_mulredc.asm
   A /trunk/build.vc14/assembler/a_x64_redc.asm
   A /trunk/build.vc14/assembler/mulredc.asm
   A /trunk/build.vc14/assembler/mulredc.h
   A /trunk/build.vc14/assembler/redc.asm
   A /trunk/build.vc14/assembler/test_mulredc.c
   A /trunk/build.vc14/bench_mulredc
   A /trunk/build.vc14/bench_mulredc/Makefile.am
   A /trunk/build.vc14/bench_mulredc/bench_mulredc.vcxproj
   A /trunk/build.vc14/bench_mulredc/bench_mulredc.vcxproj.filters
   A /trunk/build.vc14/config.h
   A /trunk/build.vc14/ecm
   A /trunk/build.vc14/ecm/Makefile.am
   A /trunk/build.vc14/ecm/ecm.vcxproj
   A /trunk/build.vc14/ecm/ecm.vcxproj.filters
   A /trunk/build.vc14/ecm.sln
   A /trunk/build.vc14/ecm_gpu
   A /trunk/build.vc14/ecm_gpu/Makefile.am
   A /trunk/build.vc14/ecm_gpu/ecm.vcxproj.filters
   A /trunk/build.vc14/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc14/ecm_gpu/ecm_gpu.vcxproj.filters
   A /trunk/build.vc14/ecm_gpu.sln
   A /trunk/build.vc14/file_copy.bat
   A /trunk/build.vc14/gen_ecm_h.bat
   A /trunk/build.vc14/getopt.c
   A /trunk/build.vc14/getopt.h
   A /trunk/build.vc14/getrusage.c
   A /trunk/build.vc14/getrusage.h
   A /trunk/build.vc14/gettimeofday.c
   A /trunk/build.vc14/gettimeofday.h
   A /trunk/build.vc14/libecm
   A /trunk/build.vc14/libecm/Makefile.am
   A /trunk/build.vc14/libecm/libecm.vcxproj
   A /trunk/build.vc14/libecm/libecm.vcxproj.filters
   A /trunk/build.vc14/libecm_gpu
   A /trunk/build.vc14/libecm_gpu/Makefile.am
   A /trunk/build.vc14/libecm_gpu/libecm_gpu.vcxproj
   A /trunk/build.vc14/libecm_gpu/libecm_gpu.vcxproj.filters
   A /trunk/build.vc14/mp_lib.props
   A /trunk/build.vc14/multiecm
   A /trunk/build.vc14/multiecm/Makefile.am
   A /trunk/build.vc14/multiecm/multiecm.vcxproj
   A /trunk/build.vc14/multiecm/multiecm.vcxproj.filters
   A /trunk/build.vc14/out_copy_rename.bat
   A /trunk/build.vc14/prebuild.bat
   A /trunk/build.vc14/python.bat
   A /trunk/build.vc14/readme.txt
   A /trunk/build.vc14/tests.py
   A /trunk/build.vc14/tune
   A /trunk/build.vc14/tune/Makefile.am
   A /trunk/build.vc14/tune/tune.vcxproj
   A /trunk/build.vc14/tune/tune.vcxproj.filters
   A /trunk/build.vc14/vacopy.c
   A /trunk/build.vc14/vsyasm.props
   A /trunk/build.vc14/vsyasm.targets
   A /trunk/build.vc14/vsyasm.xml

Add build files for Visual Studio 2015
------------------------------------------------------------------------
r2988 | zimmerma | 2016-09-06 09:41:17 +0200 (Tue, 06 Sep 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c

[mpmod.c] define mpres_equal when HAVE_ADDLAWS=1

------------------------------------------------------------------------
r2987 | zimmerma | 2016-08-30 15:46:13 +0200 (Tue, 30 Aug 2016) | 2 lines
Changed paths:
   M /trunk/ecm-gmp.h

[ecm-gmp.h] fixed typo

------------------------------------------------------------------------
r2986 | zimmerma | 2016-08-29 08:28:41 +0200 (Mon, 29 Aug 2016) | 2 lines
Changed paths:
   M /trunk/test.pm1
   M /trunk/test.pp1

added more test cases

------------------------------------------------------------------------
r2985 | zimmerma | 2016-08-26 15:17:56 +0200 (Fri, 26 Aug 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] updated

------------------------------------------------------------------------
r2984 | zimmerma | 2016-08-26 15:03:39 +0200 (Fri, 26 Aug 2016) | 3 lines
Changed paths:
   M /trunk/mpmod.c
   M /trunk/pm1fs2.c
   M /trunk/test.pm1
   M /trunk/test.pp1

fixed Segmentation fault with -pm1 and -pp1 (presumably only happens
with small parameters)

------------------------------------------------------------------------
r2983 | zimmerma | 2016-08-26 13:15:40 +0200 (Fri, 26 Aug 2016) | 2 lines
Changed paths:
   M /trunk/test.pm1

[test.pm1] added more test cases

------------------------------------------------------------------------
r2982 | zimmerma | 2016-08-26 09:18:26 +0200 (Fri, 26 Aug 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

patch from François Bissey to address issue on Mac OS X

------------------------------------------------------------------------
r2981 | zimmerma | 2016-08-25 15:44:58 +0200 (Thu, 25 Aug 2016) | 2 lines
Changed paths:
   M /trunk/x86_64/mulredc.m4
   M /trunk/x86_64/mulredc1.asm
   M /trunk/x86_64/mulredc1.m4

removed (non-portable) WANT_ASSERT stuff in assembly files

------------------------------------------------------------------------
r2980 | zimmerma | 2016-08-25 13:58:10 +0200 (Thu, 25 Aug 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

updated NEWS

------------------------------------------------------------------------
r2979 | zimmerma | 2016-08-25 13:56:54 +0200 (Thu, 25 Aug 2016) | 3 lines
Changed paths:
   M /trunk/mpmod.c

[mpmod.c] fixed mpres_pow() for negative EXP
(https://gforge.inria.fr/tracker/?func=detail&atid=623&aid=20712&group_id=135)

------------------------------------------------------------------------
r2978 | zimmerma | 2016-08-23 14:30:23 +0200 (Tue, 23 Aug 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/acinclude.m4
   M /trunk/configure.ac

added configure test to check whether ld accepts -znoexecstack

------------------------------------------------------------------------
r2977 | zimmerma | 2016-08-23 11:22:28 +0200 (Tue, 23 Aug 2016) | 2 lines
Changed paths:
   M /trunk/README.gpu

[README.gpu] changed Cyril's email (preferred one)

------------------------------------------------------------------------
r2976 | zimmerma | 2016-08-23 08:51:49 +0200 (Tue, 23 Aug 2016) | 7 lines
Changed paths:
   M /trunk/configure.ac

[configure.ac] applied patch from Erik Bray to set the WINDOWS64 flag under
Cygwin.

cf https://gforge.inria.fr/tracker/?func=detail&atid=623&aid=20697&group_id=135
and https://trac.sagemath.org/ticket/21223
	       

------------------------------------------------------------------------
r2975 | zimmerma | 2016-08-22 13:45:25 +0200 (Mon, 22 Aug 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

fixed make longcheck with out-of-source build

------------------------------------------------------------------------
r2974 | zimmerma | 2016-08-22 13:32:04 +0200 (Mon, 22 Aug 2016) | 2 lines
Changed paths:
   M /trunk/x86_64/mulredc.m4

[x86_64/mulredc.m4] Opteron -> x86_64

------------------------------------------------------------------------
r2971 | zimmerma | 2016-08-22 13:11:21 +0200 (Mon, 22 Aug 2016) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c

[ks-multiply.c] fix when FFT_WRAP is not defined

------------------------------------------------------------------------
r2970 | zimmerma | 2016-08-22 09:49:08 +0200 (Mon, 22 Aug 2016) | 2 lines
Changed paths:
   M /trunk/README.gpu

[README.gpu] updated Cyril's email

------------------------------------------------------------------------
r2969 | zimmerma | 2016-08-22 09:23:55 +0200 (Mon, 22 Aug 2016) | 3 lines
Changed paths:
   M /trunk/README.gpu

[README.gpu] added hint about Cuda error "too many resources requested for launch"
(see https://sympa.inria.fr/sympa/arc/ecm-discuss/2016-07/msg00004.html)

------------------------------------------------------------------------
r2968 | dcleaver | 2016-07-31 20:12:55 +0200 (Sun, 31 Jul 2016) | 1 line
Changed paths:
   M /trunk/addlaws.c
   M /trunk/listz_handle.c
   M /trunk/main.c
   M /trunk/test.ecm
   M /trunk/tune.c

Fix zu printf problems on Windows by replacing zu with PRIu64.  This also fixed a crash that could occur on Windows when using both -v and -bloads.  Include test to check for that.
------------------------------------------------------------------------
r2967 | zimmerma | 2016-07-25 16:12:17 +0200 (Mon, 25 Jul 2016) | 3 lines
Changed paths:
   M /trunk/test.gpuecm

increased initial sigma so that test works with ECM_GPU_CURVES_BY_BLOCK=16
(see https://sympa.inria.fr/sympa/arc/ecm-discuss/2016-07/msg00004.html)

------------------------------------------------------------------------
r2966 | dcleaver | 2016-07-24 16:06:00 +0200 (Sun, 24 Jul 2016) | 1 line
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm.c

Correct two verbose print problems on Windows.  1 remove extra 0 in expected curves output 2 fix zu format modifier in computing batch product output.
------------------------------------------------------------------------
r2965 | zimmerma | 2016-07-04 10:15:30 +0200 (Mon, 04 Jul 2016) | 2 lines
Changed paths:
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac

increased version number

------------------------------------------------------------------------
r2964 | zimmerma | 2016-07-04 10:13:28 +0200 (Mon, 04 Jul 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/README.dev
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac

this is release 7.0.3

------------------------------------------------------------------------
r2963 | zimmerma | 2016-06-29 15:55:37 +0200 (Wed, 29 Jun 2016) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac
   M /trunk/powerpc64/mulredc.m4
   M /trunk/powerpc64/mulredc_1_2.m4
   M /trunk/powerpc64/redc.asm

fixed compilation issue on powerpc64

------------------------------------------------------------------------
r2962 | zimmerma | 2016-06-28 08:33:26 +0200 (Tue, 28 Jun 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

revision number for 7.0.2 is 2961

------------------------------------------------------------------------
r2961 | zimmerma | 2016-06-28 08:32:01 +0200 (Tue, 28 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.ac
   M /trunk/m4/valgrind-tests.m4

last changes for 7.0.2

------------------------------------------------------------------------
r2960 | zimmerma | 2016-06-28 08:11:07 +0200 (Tue, 28 Jun 2016) | 2 lines
Changed paths:
   M /trunk/m4/valgrind-tests.m4

back to original version from gnulib

------------------------------------------------------------------------
r2959 | zimmerma | 2016-06-27 14:02:13 +0200 (Mon, 27 Jun 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/Makefile.am
   M /trunk/NEWS
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac
   M /trunk/test.ecm
   M /trunk/testlong.ecm

ready for release 7.0.2?

------------------------------------------------------------------------
r2958 | zimmerma | 2016-06-22 09:47:42 +0200 (Wed, 22 Jun 2016) | 3 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/main.c

fixed duplicate output with -q reported by Par Kurlberg
(https://sympa.inria.fr/sympa/arc/ecm-discuss/2016-06/msg00004.html)

------------------------------------------------------------------------
r2957 | zimmerma | 2016-06-17 17:37:53 +0200 (Fri, 17 Jun 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac
   A /trunk/m4/valgrind-tests.m4

added m4/valgrind-tests.m4 (from gnulib)

------------------------------------------------------------------------
r2956 | zimmerma | 2016-06-17 13:21:26 +0200 (Fri, 17 Jun 2016) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c

previous fix was wrong

------------------------------------------------------------------------
r2955 | zimmerma | 2016-06-17 09:55:20 +0200 (Fri, 17 Jun 2016) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c

fixed issue detected by valgrind with -no-ntt

------------------------------------------------------------------------
r2954 | zimmerma | 2016-06-16 11:37:55 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/test.pm1

added new test to check bug fixed in revision 2949 on 64-bit processor

------------------------------------------------------------------------
r2953 | zimmerma | 2016-06-16 11:21:50 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

made "make check" more automake-like (thanks Jerome Benoit)

------------------------------------------------------------------------
r2952 | zimmerma | 2016-06-16 10:48:15 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

last fixed bug is only possible for P+1 or P-1

------------------------------------------------------------------------
r2951 | zimmerma | 2016-06-16 10:24:55 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c

added ASSERTs

------------------------------------------------------------------------
r2950 | zimmerma | 2016-06-16 10:22:58 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

updated NEWS

------------------------------------------------------------------------
r2949 | zimmerma | 2016-06-16 10:17:19 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c

fixed issue with -redc when invm has less than n limbs

------------------------------------------------------------------------
r2948 | zimmerma | 2016-06-16 09:42:33 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c
   M /trunk/resume.c

fixed issues with -DDEBUG -DWANT_ASSERT -DWANT_ASSERT_EXPENSIVE

------------------------------------------------------------------------
r2947 | zimmerma | 2016-06-16 09:36:59 +0200 (Thu, 16 Jun 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c

removed unused variable

------------------------------------------------------------------------
r2946 | zimmerma | 2016-06-15 17:49:51 +0200 (Wed, 15 Jun 2016) | 3 lines
Changed paths:
   M /trunk/parametrizations.c

removed debug stuff (it was a compiler issue, cf
https://sympa.inria.fr/sympa/arc/ecm-discuss/2016-06/msg00003.html)

------------------------------------------------------------------------
r2945 | zimmerma | 2016-06-15 14:22:37 +0200 (Wed, 15 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

added TESTS_ENVIRONMENT

------------------------------------------------------------------------
r2944 | zimmerma | 2016-06-15 08:27:11 +0200 (Wed, 15 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/test.ecm
   M /trunk/test.gpuecm
   M /trunk/test.pm1
   M /trunk/test.pp1
   M /trunk/testlong.ecm
   M /trunk/testlong.pm1
   M /trunk/testlong.pp1

we still need to export GMPECM_DATADIR in Makefile

------------------------------------------------------------------------
r2943 | zimmerma | 2016-06-14 18:29:29 +0200 (Tue, 14 Jun 2016) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/test.ecm
   M /trunk/test.gpuecm
   M /trunk/test.pm1
   M /trunk/test.pp1
   M /trunk/testlong.ecm

* now we can run ./test.ecm without any argument
* no need any more to export GMPECM_DATADIR

------------------------------------------------------------------------
r2942 | zimmerma | 2016-06-14 17:20:45 +0200 (Tue, 14 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/test.ecm
   M /trunk/test.gpuecm
   M /trunk/test.pp1
   A /trunk/test_M877.save
   A /trunk/test_Z2102.n
   A /trunk/test_dummy.save
   A /trunk/test_dummy2.save
   A /trunk/test_prime95.save
   M /trunk/testlong.ecm

avoid hard-coding test numbers in scripts (thanks Jerome Benoit)

------------------------------------------------------------------------
r2941 | zimmerma | 2016-06-14 15:21:52 +0200 (Tue, 14 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/test.pm1

try having an environment variable for test numbers

------------------------------------------------------------------------
r2940 | zimmerma | 2016-06-14 15:00:12 +0200 (Tue, 14 Jun 2016) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

more debug stuff

------------------------------------------------------------------------
r2939 | zimmerma | 2016-06-13 14:00:14 +0200 (Mon, 13 Jun 2016) | 2 lines
Changed paths:
   M /trunk/README

fix in README, since c155 is not longer distributed

------------------------------------------------------------------------
r2938 | zimmerma | 2016-06-13 13:55:47 +0200 (Mon, 13 Jun 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

patch from Jerome Benoit

------------------------------------------------------------------------
r2937 | zimmerma | 2016-06-13 13:54:47 +0200 (Mon, 13 Jun 2016) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

more debug stuff

------------------------------------------------------------------------
r2936 | zimmerma | 2016-06-11 08:59:56 +0200 (Sat, 11 Jun 2016) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

added debug stuff

------------------------------------------------------------------------
r2935 | zimmerma | 2016-05-24 17:32:21 +0200 (Tue, 24 May 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

updated after the 7.0.1 release

------------------------------------------------------------------------
r2934 | zimmerma | 2016-05-24 17:31:10 +0200 (Tue, 24 May 2016) | 2 lines
Changed paths:
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac

increased version number to 7.0.2-dev

------------------------------------------------------------------------
r2932 | zimmerma | 2016-05-24 17:24:27 +0200 (Tue, 24 May 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/NEWS
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac

ready for 7.0.1 release

------------------------------------------------------------------------
r2931 | zimmerma | 2016-05-18 19:16:43 +0200 (Wed, 18 May 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/Makefile.am
   M /trunk/ecm.1
   M /trunk/ecm.xml
   M /trunk/sp.h
   M /trunk/testlong.ecm

fixed compiler warnings and type (patches from Jerome Benoit)

------------------------------------------------------------------------
r2930 | zimmerma | 2016-05-17 16:32:56 +0200 (Tue, 17 May 2016) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

added (sse2) clobber field in asm volatile test

------------------------------------------------------------------------
r2929 | zimmerma | 2016-05-17 14:55:40 +0200 (Tue, 17 May 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

typo

------------------------------------------------------------------------
r2928 | zimmerma | 2016-05-17 14:37:49 +0200 (Tue, 17 May 2016) | 2 lines
Changed paths:
   M /trunk/longlong.h

fixed a few more warnings

------------------------------------------------------------------------
r2927 | zimmerma | 2016-05-13 17:55:19 +0200 (Fri, 13 May 2016) | 2 lines
Changed paths:
   M /trunk/longlong.h
   M /trunk/schoen_strass.c

fixed another warnings on powerpc

------------------------------------------------------------------------
r2926 | zimmerma | 2016-05-13 16:04:28 +0200 (Fri, 13 May 2016) | 2 lines
Changed paths:
   M /trunk/longlong.h

new try

------------------------------------------------------------------------
r2925 | zimmerma | 2016-05-13 11:29:44 +0200 (Fri, 13 May 2016) | 2 lines
Changed paths:
   M /trunk/longlong.h

back-ported changes made to gmp-6.0.0 longlong.h (otherwise we get warnings)

------------------------------------------------------------------------
r2924 | zimmerma | 2016-05-13 11:24:55 +0200 (Fri, 13 May 2016) | 2 lines
Changed paths:
   M /trunk/longlong.h

new longlong.h file from GMP 6.1.0

------------------------------------------------------------------------
r2923 | zimmerma | 2016-05-13 11:19:46 +0200 (Fri, 13 May 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

patch from Jerome Benoit

------------------------------------------------------------------------
r2922 | zimmerma | 2016-05-11 16:44:32 +0200 (Wed, 11 May 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

add -P to cpp when detecting CC/CFLAGS in gmp.h (solves issue with gcc-5)

------------------------------------------------------------------------
r2921 | zimmerma | 2016-05-09 15:30:47 +0200 (Mon, 09 May 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

comment from Jerome BENOIT <calculus@rezozer.net>

------------------------------------------------------------------------
r2920 | zimmerma | 2016-04-20 11:21:10 +0200 (Wed, 20 Apr 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/test.gpuecm

added test for -resume and -gpu

------------------------------------------------------------------------
r2919 | zimmerma | 2016-04-19 16:49:11 +0200 (Tue, 19 Apr 2016) | 2 lines
Changed paths:
   M /trunk/README.gpu

patch from Paul Leyland (slightly modified)

------------------------------------------------------------------------
r2918 | zimmerma | 2016-04-18 16:19:18 +0200 (Mon, 18 Apr 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

fix for last commit

------------------------------------------------------------------------
r2917 | zimmerma | 2016-04-18 08:39:01 +0200 (Mon, 18 Apr 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

added more tests for save/resume from Greg Childers

------------------------------------------------------------------------
r2916 | dcleaver | 2016-04-09 21:28:29 +0200 (Sat, 09 Apr 2016) | 1 line
Changed paths:
   M /trunk/test.gpuecm

Fix newly added tests to not use gpu when resuming.
------------------------------------------------------------------------
r2915 | dcleaver | 2016-04-09 21:10:02 +0200 (Sat, 09 Apr 2016) | 1 line
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/factor.c
   M /trunk/test.gpuecm

Apply patch provided by Greg Childers to fix save files generated by gpu-ecm.  Also provide several test cases to exercise patch.
------------------------------------------------------------------------
r2914 | zimmerma | 2016-04-08 14:57:28 +0200 (Fri, 08 Apr 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

use powerpc64 assembly only for ELF

------------------------------------------------------------------------
r2913 | zimmerma | 2016-04-08 14:47:50 +0200 (Fri, 08 Apr 2016) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/parametrizations.c

unused parameter

------------------------------------------------------------------------
r2912 | zimmerma | 2016-04-08 14:28:35 +0200 (Fri, 08 Apr 2016) | 2 lines
Changed paths:
   M /trunk/coverage_gpu.sh

removed local-specific GMP directory

------------------------------------------------------------------------
r2911 | zimmerma | 2016-04-08 09:06:47 +0200 (Fri, 08 Apr 2016) | 2 lines
Changed paths:
   M /trunk/memusage.c

tentative fix for FreeBSD (reported by Debian)

------------------------------------------------------------------------
r2910 | dcleaver | 2016-04-07 04:05:49 +0200 (Thu, 07 Apr 2016) | 1 line
Changed paths:
   M /trunk/batch.c

Update batch.c to allow for larger B1 values on Windows computers.
------------------------------------------------------------------------
r2909 | zimmerma | 2016-04-05 20:28:39 +0200 (Tue, 05 Apr 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

added README.gpu in EXTRA_DIST

------------------------------------------------------------------------
r2908 | zimmerma | 2016-03-18 10:35:07 +0100 (Fri, 18 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm.c
   M /trunk/main.c

fixed verbose message

------------------------------------------------------------------------
r2907 | dcleaver | 2016-03-18 02:14:58 +0100 (Fri, 18 Mar 2016) | 1 line
Changed paths:
   M /trunk/batch.c

Since Win64 systems, similar to 32-bit systems, are limited in their calculation of s in batch mode we need to use the original conditional in batch.c of #if ULONG_MAX == 4294967295
------------------------------------------------------------------------
r2906 | zimmerma | 2016-03-16 12:45:20 +0100 (Wed, 16 Mar 2016) | 2 lines
Changed paths:
   M /trunk/coverage.sh

added -v to bench_mulredc call

------------------------------------------------------------------------
r2905 | zimmerma | 2016-03-16 11:40:31 +0100 (Wed, 16 Mar 2016) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/parametrizations.c

fixed efficiency issue with divisors of 2^n+/-1

------------------------------------------------------------------------
r2904 | zimmerma | 2016-03-16 10:49:49 +0100 (Wed, 16 Mar 2016) | 2 lines
Changed paths:
   M /trunk/ecm.c

typo

------------------------------------------------------------------------
r2903 | zimmerma | 2016-03-15 12:45:46 +0100 (Tue, 15 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.dev
   M /trunk/build.vc12/gen_ecm_h.bat
   M /trunk/configure.ac

increased version to 7.0.1-dev

------------------------------------------------------------------------
r2902 | zimmerma | 2016-03-15 11:49:46 +0100 (Tue, 15 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

revision 2900 is release 7.0

------------------------------------------------------------------------
r2900 | zimmerma | 2016-03-15 11:47:44 +0100 (Tue, 15 Mar 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/configure.ac

ready for release 7.0
------------------------------------------------------------------------
r2899 | dcleaver | 2016-03-14 21:06:59 +0100 (Mon, 14 Mar 2016) | 1 line
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/batch.c
   M /trunk/ecm-impl.h
   M /trunk/multiecm.c

Update compute_s to use ecm_uint to allow Win64 to use B1 as large as Linux64 in batch mode.
------------------------------------------------------------------------
r2898 | zimmerma | 2016-03-11 11:04:41 +0100 (Fri, 11 Mar 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/README
   M /trunk/README.dev
   M /trunk/bench_mulredc.c

simplified tuning process

------------------------------------------------------------------------
r2897 | brian_gladman | 2016-03-09 15:25:48 +0100 (Wed, 09 Mar 2016) | 1 line
Changed paths:
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj.filters

remove no longer needed object file in Visual Studio GPU build
------------------------------------------------------------------------
r2896 | zimmerma | 2016-03-09 13:54:23 +0100 (Wed, 09 Mar 2016) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/test.ecm
   M /trunk/test.pm1
   M /trunk/test.pp1
   M /trunk/testlong.ecm

embed all files used for tests in the scripts, so that the scripts can be
called from anywhere

------------------------------------------------------------------------
r2895 | brian_gladman | 2016-03-09 13:12:21 +0100 (Wed, 09 Mar 2016) | 1 line
Changed paths:
   M /trunk/build.vc12/libecm/libecm.vcxproj
   M /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj

Remove addlaws.c, torsion.c and listz_handle.c from Visual Studio builds 
------------------------------------------------------------------------
r2894 | zimmerma | 2016-03-09 12:57:38 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.pp1

create c155 if not present (since test.pp1 can be called from another place)

------------------------------------------------------------------------
r2893 | zimmerma | 2016-03-09 12:43:24 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

removed torsions.h from header list (unused for now)

------------------------------------------------------------------------
r2892 | zimmerma | 2016-03-09 11:29:42 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/build.vc12/ecm_gpu/Makefile.am
   M /trunk/configure.ac

added missing AC_CONFIG_FILES for build.vc12

------------------------------------------------------------------------
r2891 | zimmerma | 2016-03-09 11:20:38 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

added item about version-info

------------------------------------------------------------------------
r2890 | zimmerma | 2016-03-09 11:18:37 +0100 (Wed, 09 Mar 2016) | 3 lines
Changed paths:
   M /trunk/Makefile.am

increased version-info to 1.0.0
(http://trac.sagemath.org/ticket/14151#comment:47)

------------------------------------------------------------------------
r2889 | brian_gladman | 2016-03-09 11:15:17 +0100 (Wed, 09 Mar 2016) | 1 line
Changed paths:
   A /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj.filters

add another missing filter file
------------------------------------------------------------------------
r2888 | zimmerma | 2016-03-09 11:02:52 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

added cudakernel_default.cu and test.gpuecm in EXTRA_DIST

------------------------------------------------------------------------
r2887 | brian_gladman | 2016-03-09 10:52:22 +0100 (Wed, 09 Mar 2016) | 1 line
Changed paths:
   D /trunk/build.vc12/ecm_gpu/ecm.vcxproj.filters
   A /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj.filters

delete old filter file; add correct one
------------------------------------------------------------------------
r2886 | brian_gladman | 2016-03-09 10:14:33 +0100 (Wed, 09 Mar 2016) | 1 line
Changed paths:
   A /trunk/build.vc12/assembler/a_win32a_mulredc.asm

add missing win32 assembler file to the Visual Studio build
------------------------------------------------------------------------
r2885 | zimmerma | 2016-03-09 09:45:33 +0100 (Wed, 09 Mar 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac

added missing build.vc12/Makefile

------------------------------------------------------------------------
r2884 | zimmerma | 2016-03-09 09:29:42 +0100 (Wed, 09 Mar 2016) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.ac

added build.vc12 in DIST_SUBDIRS
bumped version to 7.0-rc3

------------------------------------------------------------------------
r2883 | zimmerma | 2016-03-08 17:48:03 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README

modified "How to get the best..."

------------------------------------------------------------------------
r2882 | zimmerma | 2016-03-08 14:02:57 +0100 (Tue, 08 Mar 2016) | 3 lines
Changed paths:
   D /trunk/build.vc11

removed build.vc11 (initially removed in revision 2864, accidentally added
back in revision 2875)

------------------------------------------------------------------------
r2881 | zimmerma | 2016-03-08 13:53:06 +0100 (Tue, 08 Mar 2016) | 3 lines
Changed paths:
   M /trunk/x86_64/core2/params.h
   M /trunk/x86_64/corei7/params.h


tuned parameters for core2 and corei7

------------------------------------------------------------------------
r2880 | zimmerma | 2016-03-08 13:30:52 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/memusage.c

fixed for PeakMemusage() which does not work on Mac OS X

------------------------------------------------------------------------
r2879 | zimmerma | 2016-03-08 13:25:49 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

fixed bug on MacOS X (https://gforge.inria.fr/tracker/?func=detail&aid=19425&group_id=135&atid=623)

------------------------------------------------------------------------
r2878 | zimmerma | 2016-03-08 13:09:00 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/configure.ac
   M /trunk/mpzspv.c

fixed compiler warning (reported by clang)

------------------------------------------------------------------------
r2877 | zimmerma | 2016-03-08 13:04:16 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/spv.c

fixed compiler warning (detected by clang)

------------------------------------------------------------------------
r2876 | zimmerma | 2016-03-08 11:45:06 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

fixed sigma value in test

------------------------------------------------------------------------
r2875 | zimmerma | 2016-03-08 10:30:55 +0100 (Tue, 08 Mar 2016) | 3 lines
Changed paths:
   A /trunk/build.vc11 (from /trunk/build.vc11:2855)
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/factor.c

fixed stupid error in previous commit
removed unused parameter 'x' in gpu_ecm

------------------------------------------------------------------------
r2874 | zimmerma | 2016-03-08 09:12:08 +0100 (Tue, 08 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

more changes to cudawrapper.c

------------------------------------------------------------------------
r2873 | dcleaver | 2016-03-08 03:29:33 +0100 (Tue, 08 Mar 2016) | 1 line
Changed paths:
   M /trunk/test.gpuecm

Add gpu tests to demonstrate finding multiple factors in Step 1 and in Step 2.  Switch to shorter test for error patched in r2867.
------------------------------------------------------------------------
r2872 | dcleaver | 2016-03-08 01:16:33 +0100 (Tue, 08 Mar 2016) | 1 line
Changed paths:
   M /trunk/cudawrapper.c

Updated cudawrapper so that when running Step 2, all curves will be checked for factors, and not quit once one factor is found.  Also print more info, ie curve number and sigma value, for factors found with cuda.
------------------------------------------------------------------------
r2871 | bouvierc | 2016-03-07 18:19:34 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

add comments and remove useless code in cudawrapper.c

------------------------------------------------------------------------
r2870 | zimmerma | 2016-03-07 17:27:23 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

fixed wrong return code in test

------------------------------------------------------------------------
r2869 | bouvierc | 2016-03-07 15:23:24 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

In acinclude.m4, rpath the cuda_lib if specified with --with-cuda-lib for tests

------------------------------------------------------------------------
r2868 | zimmerma | 2016-03-07 12:06:26 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

added new test-case

------------------------------------------------------------------------
r2867 | zimmerma | 2016-03-07 11:52:16 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

fix for error reported by Paul Leyland and confirmed by David Cleaver

------------------------------------------------------------------------
r2866 | zimmerma | 2016-03-07 11:16:30 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

simplified code

------------------------------------------------------------------------
r2865 | zimmerma | 2016-03-07 10:51:07 +0100 (Mon, 07 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu

fixed typo

------------------------------------------------------------------------
r2864 | brian_gladman | 2016-03-06 13:22:50 +0100 (Sun, 06 Mar 2016) | 2 lines
Changed paths:
   M /trunk

remove Visual Studio 2012 build
update Visual Studio 2013 build
------------------------------------------------------------------------
r2863 | dcleaver | 2016-03-05 18:14:45 +0100 (Sat, 05 Mar 2016) | 1 line
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/cudawrapper.c
   M /trunk/main.c

Added default cuda location when only specifying --enable-gpu in configure, add rpath to configure test case, correct Mb to MB in main.c
------------------------------------------------------------------------
r2862 | bouvierc | 2016-03-03 14:05:30 +0100 (Thu, 03 Mar 2016) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

Remove empty 'else' in acinclude.m4

------------------------------------------------------------------------
r2861 | zimmerma | 2016-03-03 09:41:19 +0100 (Thu, 03 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.gpu

modified according to feedback from Paul Leyland

------------------------------------------------------------------------
r2860 | brian_gladman | 2016-03-02 20:05:07 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   D /trunk/build.vc11
   M /trunk/build.vc12/ecm/ecm.vcxproj
   M /trunk/build.vc12/ecm/ecm.vcxproj.filters
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj.filters
   M /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj
   M /trunk/build.vc12/tests.py

remove Visual Studio 2012 build
update Visual Studio 2013 build
------------------------------------------------------------------------
r2859 | bouvierc | 2016-03-02 17:30:11 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

remove tests for GPU (coverage was not improved)

------------------------------------------------------------------------
r2858 | zimmerma | 2016-03-02 17:19:50 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   A /trunk/coverage_gpu.sh

coverage test for GPU-ECM

------------------------------------------------------------------------
r2857 | bouvierc | 2016-03-02 15:06:29 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

Try to improve coverage for GPU code

------------------------------------------------------------------------
r2856 | zimmerma | 2016-03-02 14:58:40 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

fixed typo

------------------------------------------------------------------------
r2855 | zimmerma | 2016-03-02 14:08:00 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

typo

------------------------------------------------------------------------
r2854 | bouvierc | 2016-03-02 13:56:37 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu

GPU code: more info on limits on number of blocks + more info on kernel

------------------------------------------------------------------------
r2853 | zimmerma | 2016-03-02 13:48:29 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   A /trunk/check.sage

Sage program to check primes which are (B1,B2)-smooth are found

------------------------------------------------------------------------
r2852 | zimmerma | 2016-03-02 13:47:48 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   A /trunk/checkprob

program to check expected number of curves to find a given prime

------------------------------------------------------------------------
r2851 | zimmerma | 2016-03-02 13:47:18 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

added item to check factors are really found (with expected probability)

------------------------------------------------------------------------
r2850 | zimmerma | 2016-03-02 13:20:03 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README

fixed parametrizations for param=1 and 3

------------------------------------------------------------------------
r2849 | bouvierc | 2016-03-02 12:31:17 +0100 (Wed, 02 Mar 2016) | 2 lines
Changed paths:
   M /trunk/README.gpu

Update README.gpu

------------------------------------------------------------------------
r2848 | bouvierc | 2016-03-02 11:36:37 +0100 (Wed, 02 Mar 2016) | 10 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/acinclude.m4
   M /trunk/configure.ac
   M /trunk/cudakernel.cu
   M /trunk/cudakernel.h
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/main.c
   M /trunk/test.gpuecm

More robust configure script for GPU code.

Can pass to configure --with-cuda-lib (for a directory with the CUDA library),
--with-cuda-include (for a directory with cuda.h), --with-cuda-bin (for a
directory with nvcc) and --with-cuda-compiler for a directory with a compiler
compatible with nvcc (for old version of nvcc that did not supported the newest
versions of gcc/g++)
Generate code for all compute capability known to nvcc and the choice is done at
runtime.

------------------------------------------------------------------------
r2847 | zimmerma | 2016-03-01 16:00:22 +0100 (Tue, 01 Mar 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

improved comments and style

------------------------------------------------------------------------
r2846 | zimmerma | 2016-02-29 15:11:12 +0100 (Mon, 29 Feb 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/test.gpuecm

improve GPU coverage

------------------------------------------------------------------------
r2845 | zimmerma | 2016-02-29 14:07:51 +0100 (Mon, 29 Feb 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/test.gpuecm

improved coverage of GPU code

------------------------------------------------------------------------
r2844 | zimmerma | 2016-02-29 11:25:09 +0100 (Mon, 29 Feb 2016) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

avoid compiler warning for unused parameters

------------------------------------------------------------------------
r2843 | zimmerma | 2016-02-29 09:45:55 +0100 (Mon, 29 Feb 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

no need to check config.guess any more

------------------------------------------------------------------------
r2842 | zimmerma | 2016-02-29 09:17:33 +0100 (Mon, 29 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

forgot prime95.save in EXTRA_DIST

------------------------------------------------------------------------
r2841 | dcleaver | 2016-02-29 01:28:24 +0100 (Mon, 29 Feb 2016) | 1 line
Changed paths:
   M /trunk/bench_mulredc.c
   M /trunk/main.c
   M /trunk/parametrizations.c

Use correct ASSERT (not assert), and protect ECM_TUNE_CASE
------------------------------------------------------------------------
r2840 | zimmerma | 2016-02-27 20:11:56 +0100 (Sat, 27 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/random.c

random.c is now only in the ECM library

------------------------------------------------------------------------
r2839 | dcleaver | 2016-02-27 17:21:30 +0100 (Sat, 27 Feb 2016) | 1 line
Changed paths:
   M /trunk/Makefile.am
   M /trunk/acinclude.m4
   M /trunk/configure.ac
   M /trunk/cudakernel.cu
   M /trunk/cudakernel.h
   M /trunk/cudawrapper.c
   M /trunk/ecm-impl.h
   A /trunk/ecm_int.h
   M /trunk/getprime_r.h
   M /trunk/main.c

Fixed missing mpz_init in cudawrapper. Removed NVCC_VERSION. Moved ecm_int types to their own file. Corrected some coding style.
------------------------------------------------------------------------
r2838 | zimmerma | 2016-02-27 13:58:00 +0100 (Sat, 27 Feb 2016) | 2 lines
Changed paths:
   M /trunk/getprime_r.c

made C89-compliant

------------------------------------------------------------------------
r2837 | zimmerma | 2016-02-27 08:15:37 +0100 (Sat, 27 Feb 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

NEWS: added "improved coverage"

------------------------------------------------------------------------
r2836 | zimmerma | 2016-02-27 08:14:25 +0100 (Sat, 27 Feb 2016) | 2 lines
Changed paths:
   M /trunk/multiecm.c

fixed prime_info_clear() call [reported by Brian Gladman]

------------------------------------------------------------------------
r2835 | zimmerma | 2016-02-26 11:44:08 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

c155 should be distributed since used in tests

------------------------------------------------------------------------
r2834 | zimmerma | 2016-02-26 11:37:51 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/champions.h

updated minimum size (72 digits) to enter ECM top ten

------------------------------------------------------------------------
r2833 | zimmerma | 2016-02-26 11:36:37 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ChangeLog

updated ChangeLog

------------------------------------------------------------------------
r2832 | zimmerma | 2016-02-26 11:35:01 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/INSTALL-ecm

updated

------------------------------------------------------------------------
r2831 | zimmerma | 2016-02-26 11:28:10 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/README.dev

the test number is now c270

------------------------------------------------------------------------
r2830 | zimmerma | 2016-02-26 11:25:03 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/README.dev

updated NEWS

------------------------------------------------------------------------
r2829 | zimmerma | 2016-02-26 10:35:57 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/candi.c

invalid inputs are now trapped by eval_str()

------------------------------------------------------------------------
r2828 | zimmerma | 2016-02-26 09:37:48 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/test.ecm

am invalid -go option should raise an error, not a warning

------------------------------------------------------------------------
r2827 | zimmerma | 2016-02-26 08:40:59 +0100 (Fri, 26 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecm.h.in

added missing ecm_params_ptr in previous commits

------------------------------------------------------------------------
r2826 | zimmerma | 2016-02-25 19:18:09 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/eval.c
   M /trunk/test.ecm

fixed error messages and return values

------------------------------------------------------------------------
r2825 | zimmerma | 2016-02-25 18:54:14 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/README.dev
   M /trunk/configure.ac
   M /trunk/factor.c
   M /trunk/test.ecm

fixed issue with negative input

------------------------------------------------------------------------
r2824 | zimmerma | 2016-02-25 17:33:59 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/README.dev
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/random.c

fixed memory leak

------------------------------------------------------------------------
r2823 | zimmerma | 2016-02-25 17:24:26 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/x86_64/core2/params.h

updated parameter file for core2

------------------------------------------------------------------------
r2822 | zimmerma | 2016-02-25 16:52:06 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/README.dev
   M /trunk/factor.c
   M /trunk/listz.c
   M /trunk/resume.c

fixed compiler warnings with clang

------------------------------------------------------------------------
r2821 | zimmerma | 2016-02-25 16:40:52 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/factor.c
   M /trunk/test.ecm

disallow [Q]X=0 in save files

------------------------------------------------------------------------
r2820 | dcleaver | 2016-02-25 13:28:26 +0100 (Thu, 25 Feb 2016) | 1 line
Changed paths:
   M /trunk/configure.ac
   M /trunk/cudakernel.cu

Fix dimGrid/dimBlock error, give default values to [CC|NVCC]_VERSION.
------------------------------------------------------------------------
r2819 | zimmerma | 2016-02-25 11:31:51 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/factor.c
   M /trunk/parametrizations.c
   M /trunk/random.c

initialize the random generator only when needed

------------------------------------------------------------------------
r2818 | zimmerma | 2016-02-25 09:16:00 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c

made coding style uniform

------------------------------------------------------------------------
r2817 | zimmerma | 2016-02-25 09:05:22 +0100 (Thu, 25 Feb 2016) | 2 lines
Changed paths:
   M /trunk/stage2.c

changed wrong Kb (kilo bits) to KB (kilo bytes)

------------------------------------------------------------------------
r2816 | dcleaver | 2016-02-25 05:03:45 +0100 (Thu, 25 Feb 2016) | 1 line
Changed paths:
   M /trunk/Makefile.am
   M /trunk/acinclude.m4
   M /trunk/configure.ac
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/main.c

Add some more gpu info to -v and -printconfig, and use cuda given by --with-cuda, if specified.
------------------------------------------------------------------------
r2815 | dcleaver | 2016-02-25 03:44:32 +0100 (Thu, 25 Feb 2016) | 1 line
Changed paths:
   M /trunk/getprime_r.c
   M /trunk/getprime_r.h

Update getprime_r to work on LLP64 systems.
------------------------------------------------------------------------
r2814 | zimmerma | 2016-02-24 21:54:50 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c

leave the generation of random seeds for P-1 and P+1 to the ecm library

------------------------------------------------------------------------
r2813 | zimmerma | 2016-02-24 20:01:26 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/getprime_r.c
   M /trunk/getprime_r.h

removed unused getprime_unsafe()

------------------------------------------------------------------------
r2812 | zimmerma | 2016-02-24 18:21:47 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/NEWS

updated NEWS

------------------------------------------------------------------------
r2811 | zimmerma | 2016-02-24 18:19:49 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   D /trunk/getprime.c

deleted getprime.c

------------------------------------------------------------------------
r2810 | zimmerma | 2016-02-24 18:19:31 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

removed now obsolete getprime.c

------------------------------------------------------------------------
r2809 | zimmerma | 2016-02-24 18:16:36 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pp1.c

fixed error in revision 2807

------------------------------------------------------------------------
r2808 | zimmerma | 2016-02-24 18:13:48 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/random.c

added warning about /dev/urandom

------------------------------------------------------------------------
r2807 | zimmerma | 2016-02-24 18:00:33 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pp1.c

made calls to getprime() in pp1.c thread-safe

------------------------------------------------------------------------
r2806 | zimmerma | 2016-02-24 17:57:42 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pm1.c

made calls to getprime() in pm1.c thread-safe

------------------------------------------------------------------------
r2805 | zimmerma | 2016-02-24 17:51:49 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/multiecm.c

forgot header

------------------------------------------------------------------------
r2804 | zimmerma | 2016-02-24 17:51:28 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/multiecm.c

made calls to getprime() in multiecm.c thread-safe

------------------------------------------------------------------------
r2803 | zimmerma | 2016-02-24 17:48:43 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/eval.c

made getprime() calls in eval.c thread-safe

------------------------------------------------------------------------
r2802 | zimmerma | 2016-02-24 17:39:19 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/ecm.c
   M /trunk/getprime_r.c
   M /trunk/getprime_r.h

changed type prime_info into prime_info_t

------------------------------------------------------------------------
r2801 | zimmerma | 2016-02-24 17:34:46 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/batch.c

made computation of batch product (compute_s) thread-safe

------------------------------------------------------------------------
r2800 | zimmerma | 2016-02-24 17:29:52 +0100 (Wed, 24 Feb 2016) | 3 lines
Changed paths:
   M /trunk/ecm.c

changed info into prime_i which is more meaningful
made coding style uniform

------------------------------------------------------------------------
r2799 | zimmerma | 2016-02-24 17:18:56 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpzspm.c

avoid many calls to cputime/getrusage (reported by Pierrick)

------------------------------------------------------------------------
r2798 | zimmerma | 2016-02-24 17:13:36 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecmfactor.c

simplified code

------------------------------------------------------------------------
r2797 | zimmerma | 2016-02-24 17:11:16 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecmfactor.c

print sigma values used in ecmfactor

------------------------------------------------------------------------
r2796 | zimmerma | 2016-02-24 17:03:13 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecmfactor.c

now ecmfactor can be used with several threads

------------------------------------------------------------------------
r2795 | zimmerma | 2016-02-24 16:20:37 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c

fixed other memory leaks

------------------------------------------------------------------------
r2794 | gaudry | 2016-02-24 16:07:53 +0100 (Wed, 24 Feb 2016) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm.c
   A /trunk/getprime_r.c
   A /trunk/getprime_r.h

Import thread-safe version of getprime from CADO-NFS.
Patched ecm.c accordingly to make it (hopefully) thread-safe.
Other files are not yet modified, so the old getprime.c is still there.

------------------------------------------------------------------------
r2793 | zimmerma | 2016-02-24 16:05:45 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/parametrizations.c

fixed other memory leaks

------------------------------------------------------------------------
r2792 | zimmerma | 2016-02-24 15:29:41 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/eval.c

another memory leak

------------------------------------------------------------------------
r2791 | zimmerma | 2016-02-24 15:14:43 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/resume.c

fixed another memory leak

------------------------------------------------------------------------
r2790 | zimmerma | 2016-02-24 15:08:52 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/bestd.c
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm

fixed memory leak

------------------------------------------------------------------------
r2789 | zimmerma | 2016-02-24 13:47:25 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/pp1.c
   M /trunk/schoen_strass.c
   M /trunk/test.pp1

improve coverage

------------------------------------------------------------------------
r2788 | zimmerma | 2016-02-24 11:48:38 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/sp.c
   M /trunk/sp.h
   M /trunk/spm.c
   M /trunk/stage2.c
   M /trunk/testlong.ecm

improved coverage

------------------------------------------------------------------------
r2787 | zimmerma | 2016-02-24 11:38:01 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/factor.c

yat another memory leak

------------------------------------------------------------------------
r2786 | zimmerma | 2016-02-24 11:37:11 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/factor.c

fixed another memory leak

------------------------------------------------------------------------
r2785 | zimmerma | 2016-02-24 11:35:44 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/factor.c

fixed memory leak

------------------------------------------------------------------------
r2784 | zimmerma | 2016-02-24 10:38:16 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/schoen_strass.c

improve coverage of schoen_strass.c

------------------------------------------------------------------------
r2783 | zimmerma | 2016-02-24 09:59:24 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pp1.c

improve coverage of pp1.c

------------------------------------------------------------------------
r2782 | zimmerma | 2016-02-24 09:53:29 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpzspm.c

improve (hopefully) coverage of mpzspm.c

------------------------------------------------------------------------
r2781 | zimmerma | 2016-02-24 09:08:50 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c
   M /trunk/test.pm1
   M /trunk/testlong.pm1

improved coverage of mpmod.c

------------------------------------------------------------------------
r2780 | zimmerma | 2016-02-24 09:07:49 +0100 (Wed, 24 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pp1.c

wrong random seed was used!

------------------------------------------------------------------------
r2779 | zimmerma | 2016-02-23 17:15:52 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpmod.c
   M /trunk/test.ecm

fixed test added in revision 2766

------------------------------------------------------------------------
r2778 | zimmerma | 2016-02-23 17:15:02 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/Makefile.am

commented out multiecm for 7.0 release

------------------------------------------------------------------------
r2777 | zimmerma | 2016-02-23 16:33:45 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/test.ecm

improved coverage of main.c

------------------------------------------------------------------------
r2776 | zimmerma | 2016-02-23 16:11:00 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm_ntt.c
   M /trunk/listz.c
   M /trunk/multiecm.c
   M /trunk/pm1fs2.c
   M /trunk/tune.c

improve coverage of listz.c (was 89.7%)

------------------------------------------------------------------------
r2775 | zimmerma | 2016-02-23 15:06:28 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/test.ecm

improve coverage of ecm2.c (was 88.9%)

------------------------------------------------------------------------
r2774 | zimmerma | 2016-02-23 15:02:44 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/test.ecm

fix for B1=1 which was (wrongly) finding the input number

------------------------------------------------------------------------
r2773 | zimmerma | 2016-02-23 13:42:05 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/pm1fs2.c

improve coverage of pm1fs2.c

------------------------------------------------------------------------
r2772 | zimmerma | 2016-02-23 13:21:40 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/batch.c

improve coverage

------------------------------------------------------------------------
r2771 | zimmerma | 2016-02-23 11:37:20 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/test.ecm

make new test work with -redc

------------------------------------------------------------------------
r2770 | zimmerma | 2016-02-23 11:32:44 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/random.c

removed leftover debug stuff

------------------------------------------------------------------------
r2769 | zimmerma | 2016-02-23 11:28:37 +0100 (Tue, 23 Feb 2016) | 4 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/getprime.c
   M /trunk/random.c

improved function coverage of getprime.c (was 6/7) and random.c (was 3/6)
(the issue was that some functions were defined two times, one for the ecm
library and one for the ecm binary, and some were used only from the library)

------------------------------------------------------------------------
r2768 | zimmerma | 2016-02-23 11:02:31 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpzspv.c

improve coverage of mpzspv.c (was 85.0%, 79.2% of functions)

------------------------------------------------------------------------
r2767 | zimmerma | 2016-02-23 10:54:50 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/bench_mulredc.c

improve coverage of bench_mulredc.c (was 89.1%, 75% of functions)

------------------------------------------------------------------------
r2766 | zimmerma | 2016-02-23 10:48:35 +0100 (Tue, 23 Feb 2016) | 2 lines
Changed paths:
   M /trunk/mpzspm.c
   M /trunk/test.ecm

improve coverage of mpzspm.c (was 85.0%, global 89.5%)

------------------------------------------------------------------------
r2765 | zimmerma | 2016-02-19 15:12:39 +0100 (Fri, 19 Feb 2016) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/multiecm.c
   M /trunk/test.ecm

commented out addlaws stuff since it is not tested enough
(33.5% coverage on http://www.loria.fr/~zimmerma/ecmnet/cov/ecm/index.html).
Once it gets more than 75% coverage, reinclude it with #define HAVE_ADDLAWS

------------------------------------------------------------------------
r2764 | zimmerma | 2016-02-19 13:19:43 +0100 (Fri, 19 Feb 2016) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-impl.h
   M /trunk/main.c
   M /trunk/multiecm.c
   M /trunk/test.ecm

commented out torsion stuff since it is not tested enough
(45.6% coverage on http://www.loria.fr/~zimmerma/ecmnet/cov/ecm/index.html).
Once it gets more than 75% coverage, reinclude it with #define HAVE_TORSION

------------------------------------------------------------------------
r2761 | zimmerma | 2016-01-21 09:52:32 +0100 (Thu, 21 Jan 2016) | 2 lines
Changed paths:
   M /trunk/testlong.pm1

removed Ctrl-M DOS end-of-line characters

------------------------------------------------------------------------
r2760 | zimmerma | 2016-01-20 10:10:33 +0100 (Wed, 20 Jan 2016) | 2 lines
Changed paths:
   M /trunk/testlong.pm1

set testlong.pm1 executable

------------------------------------------------------------------------
r2759 | zimmerma | 2016-01-20 10:07:47 +0100 (Wed, 20 Jan 2016) | 2 lines
Changed paths:
   M /trunk/testlong.pm1

allow executable flag

------------------------------------------------------------------------
r2758 | dcleaver | 2016-01-20 00:33:56 +0100 (Wed, 20 Jan 2016) | 1 line
Changed paths:
   M /trunk/test.ecm

Updated several tests to specify their sigma value
------------------------------------------------------------------------
r2757 | dcleaver | 2016-01-18 17:44:50 +0100 (Mon, 18 Jan 2016) | 1 line
Changed paths:
   M /trunk/test.ecm

Force modmuln so test will complete successfully on all machines
------------------------------------------------------------------------
r2756 | dcleaver | 2016-01-18 07:33:57 +0100 (Mon, 18 Jan 2016) | 1 line
Changed paths:
   M /trunk/mpmod.c

Remove an unneeded assert
------------------------------------------------------------------------
r2755 | dcleaver | 2016-01-16 16:24:24 +0100 (Sat, 16 Jan 2016) | 1 line
Changed paths:
   M /trunk/main.c
   M /trunk/pm1fs2.c
   M /trunk/test.pm1

Add better handling for B2min
------------------------------------------------------------------------
r2754 | dcleaver | 2016-01-16 07:14:13 +0100 (Sat, 16 Jan 2016) | 1 line
Changed paths:
   M /trunk/test.ecm

Correcting checkcode value
------------------------------------------------------------------------
r2753 | dcleaver | 2016-01-16 06:53:21 +0100 (Sat, 16 Jan 2016) | 1 line
Changed paths:
   M /trunk/test.ecm
   M /trunk/test.pm1

correct a couple checkcodes
------------------------------------------------------------------------
r2752 | dcleaver | 2016-01-16 06:38:23 +0100 (Sat, 16 Jan 2016) | 1 line
Changed paths:
   M /trunk/Makefile.am
   M /trunk/dummy.save
   M /trunk/test.ecm
   M /trunk/test.pm1
   M /trunk/test.pp1
   A /trunk/testlong.pm1

updates to improve coverage
------------------------------------------------------------------------
r2751 | zimmerma | 2016-01-11 12:12:54 +0100 (Mon, 11 Jan 2016) | 2 lines
Changed paths:
   M /trunk/batch.c

improve error message

------------------------------------------------------------------------
r2750 | dcleaver | 2016-01-06 04:09:36 +0100 (Wed, 06 Jan 2016) | 1 line
Changed paths:
   A /trunk/prime95.save
   M /trunk/resume.c
   M /trunk/test.ecm

restore -resume ability to skip problem lines, test with a Prime95 save-resume file
------------------------------------------------------------------------
r2735 | zimmerma | 2015-10-23 15:10:36 +0200 (Fri, 23 Oct 2015) | 3 lines
Changed paths:
   M /trunk/sp.h

patch provided by Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>
to fix Debian bug #793012 (see also http://trac.sagemath.org/ticket/17749)

------------------------------------------------------------------------
r2734 | zimmerma | 2015-09-25 17:33:20 +0200 (Fri, 25 Sep 2015) | 2 lines
Changed paths:
   M /trunk/x86_64/Makefile.am
   M /trunk/x86_64/README
   D /trunk/x86_64/redc.asm

the *asm files should still be distributed in case m4 is not available

------------------------------------------------------------------------
r2733 | zimmerma | 2015-09-25 13:11:54 +0200 (Fri, 25 Sep 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am

one was missing in distributed files

------------------------------------------------------------------------
r2732 | zimmerma | 2015-09-25 13:04:01 +0200 (Fri, 25 Sep 2015) | 2 lines
Changed paths:
   M /trunk/x86_64/Makefile.am
   M /trunk/x86_64/mulredc1.m4

auto-generated asm files do not need to be distributed!

------------------------------------------------------------------------
r2731 | zimmerma | 2015-09-25 11:32:59 +0200 (Fri, 25 Sep 2015) | 2 lines
Changed paths:
   M /trunk/x86_64/mulredc.m4

changed .align to .p2align (see http://trac.sagemath.org/ticket/19233)

------------------------------------------------------------------------
r2701 | brian_gladman | 2015-07-17 17:08:21 +0200 (Fri, 17 Jul 2015) | 1 line
Changed paths:
   M /trunk/build.vc12/assembler/mulredc.asm
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc12/fto13.obj
   M /trunk/build.vc12/tests.py

correct Visual Studio build issue for the win32 GPU version
------------------------------------------------------------------------
r2699 | zimmerma | 2015-07-15 16:39:34 +0200 (Wed, 15 Jul 2015) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

fixed bug #19415

------------------------------------------------------------------------
r2698 | zimmerma | 2015-07-15 16:00:01 +0200 (Wed, 15 Jul 2015) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

added spaces

------------------------------------------------------------------------
r2697 | brian_gladman | 2015-07-15 15:31:47 +0200 (Wed, 15 Jul 2015) | 1 line
Changed paths:
   M /trunk/build.vc12/bench_mulredc/bench_mulredc.vcxproj
   M /trunk/build.vc12/bench_mulredc/bench_mulredc.vcxproj.filters
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj.filters
   M /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj
   M /trunk/build.vc12/tests.py
   M /trunk/build.vc12/tune/tune.vcxproj
   M /trunk/build.vc12/tune/tune.vcxproj.filters
   M /trunk/cudawrapper.c

change an assert in cudawrapper.c that causes a problem with MSVC; minor changes to Visual Studio build 
------------------------------------------------------------------------
r2693 | brian_gladman | 2015-06-05 10:50:42 +0200 (Fri, 05 Jun 2015) | 1 line
Changed paths:
   M /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj

Update GPU build to CUDA 7.0
------------------------------------------------------------------------
r2692 | zimmerma | 2015-05-27 22:14:10 +0200 (Wed, 27 May 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

added one test

------------------------------------------------------------------------
r2691 | zimmerma | 2015-04-28 12:12:07 +0200 (Tue, 28 Apr 2015) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

fixed Segmentation fault in case of GPU error

------------------------------------------------------------------------
r2690 | zimmerma | 2015-04-25 08:09:51 +0200 (Sat, 25 Apr 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

replaced hard-coded ecm by $ECM

------------------------------------------------------------------------
r2689 | zimmerma | 2015-04-24 08:16:23 +0200 (Fri, 24 Apr 2015) | 2 lines
Changed paths:
   M /trunk/stage2.c

removed two unused labels

------------------------------------------------------------------------
r2688 | zimmerma | 2015-04-23 11:52:03 +0200 (Thu, 23 Apr 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

fixed test

------------------------------------------------------------------------
r2687 | zimmerma | 2015-04-23 07:42:36 +0200 (Thu, 23 Apr 2015) | 2 lines
Changed paths:
   M /trunk/resume.c
   M /trunk/test.pp1

fixed error introduced in revision 2686

------------------------------------------------------------------------
r2686 | zimmerma | 2015-04-22 15:58:32 +0200 (Wed, 22 Apr 2015) | 2 lines
Changed paths:
   M /trunk/resume.c
   M /trunk/test.ecm

improve coverage

------------------------------------------------------------------------
r2685 | zimmerma | 2015-04-21 13:36:23 +0200 (Tue, 21 Apr 2015) | 2 lines
Changed paths:
   M /trunk/pm1.c

don't know why memory usage was not printed for P-1 with maxmem=0...

------------------------------------------------------------------------
r2684 | zimmerma | 2015-04-21 09:32:46 +0200 (Tue, 21 Apr 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/dummy2.save
   M /trunk/test.ecm

get rid of echo with special characters in shell script 

------------------------------------------------------------------------
r2683 | zimmerma | 2015-04-20 10:33:02 +0200 (Mon, 20 Apr 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/stage2.c

improve coverage

------------------------------------------------------------------------
r2682 | zimmerma | 2015-04-08 13:30:52 +0200 (Wed, 08 Apr 2015) | 5 lines
Changed paths:
   M /trunk/pm1.c

removed suggestion from Peter Montgomery to start with exponent n-1 in P-1:
it was useful when n = b^m-1 where a prime factor p = k*m+1, to force the
factor m in the exponent. But it was used only when bitsize(n) <= sqrt(B1),
and since m <= bitsize(n) we already had m^2 included in the exponent.

------------------------------------------------------------------------
r2681 | zimmerma | 2015-04-07 11:16:25 +0200 (Tue, 07 Apr 2015) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/dummy.save
   M /trunk/resume.c
   M /trunk/test.ecm

improve coverage
with -resume, now abort in case of corrupted line

------------------------------------------------------------------------
r2680 | zimmerma | 2015-04-03 13:20:28 +0200 (Fri, 03 Apr 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh

one should call geninfo *right after* each new compilation

------------------------------------------------------------------------
r2679 | zimmerma | 2015-03-31 12:29:22 +0200 (Tue, 31 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.pp1

avoid NOTE in test

------------------------------------------------------------------------
r2678 | zimmerma | 2015-03-31 10:50:29 +0200 (Tue, 31 Mar 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh
   M /trunk/mpmod.c

forgot to disable mpn_redc_n in squaring too

------------------------------------------------------------------------
r2677 | zimmerma | 2015-03-30 22:13:38 +0200 (Mon, 30 Mar 2015) | 2 lines
Changed paths:
   M /trunk/bench_mulredc.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/mpmod.c
   M /trunk/mpmod.h
   M /trunk/parametrizations.c

disable redc_n for now since it uses the opposite sign for invm

------------------------------------------------------------------------
r2676 | zimmerma | 2015-03-29 21:19:09 +0200 (Sun, 29 Mar 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh

uncomment PARAMS33

------------------------------------------------------------------------
r2675 | dcleaver | 2015-03-29 15:56:09 +0200 (Sun, 29 Mar 2015) | 1 line
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.ac
   M /trunk/coverage.sh
   M /trunk/ecm-params.h

Add new files and compile/make options to expand coverage testing
------------------------------------------------------------------------
r2674 | dcleaver | 2015-03-29 15:54:25 +0200 (Sun, 29 Mar 2015) | 1 line
Changed paths:
   A /trunk/generic/params00.h
   A /trunk/generic/params11.h
   A /trunk/generic/params22.h
   A /trunk/generic/params33.h

Add new files and compile/make options to expand coverage testing
------------------------------------------------------------------------
r2673 | zimmerma | 2015-03-25 08:03:52 +0100 (Wed, 25 Mar 2015) | 2 lines
Changed paths:
   M /trunk/mpmod.c

comment unused code

------------------------------------------------------------------------
r2672 | zimmerma | 2015-03-24 07:45:05 +0100 (Tue, 24 Mar 2015) | 2 lines
Changed paths:
   M /trunk/tune.c

improve coverage

------------------------------------------------------------------------
r2671 | dcleaver | 2015-03-24 01:09:42 +0100 (Tue, 24 Mar 2015) | 1 line
Changed paths:
   M /trunk/auxi.c

restore functionality of print statement known to be used by external programs
------------------------------------------------------------------------
r2670 | zimmerma | 2015-03-23 16:10:16 +0100 (Mon, 23 Mar 2015) | 2 lines
Changed paths:
   M /trunk/schoen_strass.c

improve coverage

------------------------------------------------------------------------
r2669 | zimmerma | 2015-03-21 08:07:08 +0100 (Sat, 21 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

removed -modmuln in test.ecm (is given by make testlong)

------------------------------------------------------------------------
r2668 | zimmerma | 2015-03-20 08:44:23 +0100 (Fri, 20 Mar 2015) | 2 lines
Changed paths:
   M /trunk/schoen_strass.c

improve coverage

------------------------------------------------------------------------
r2667 | zimmerma | 2015-03-18 08:55:39 +0100 (Wed, 18 Mar 2015) | 2 lines
Changed paths:
   M /trunk/resume.c
   M /trunk/test.ecm

improve coverage

------------------------------------------------------------------------
r2666 | zimmerma | 2015-03-17 21:26:50 +0100 (Tue, 17 Mar 2015) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

don't use param=2 for B1>=1e8 since param=1 is faster

------------------------------------------------------------------------
r2665 | dcleaver | 2015-03-17 01:03:36 +0100 (Tue, 17 Mar 2015) | 1 line
Changed paths:
   M /trunk/test.ecm

Update tests to better cover mulredc code
------------------------------------------------------------------------
r2664 | zimmerma | 2015-03-16 23:46:21 +0100 (Mon, 16 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm
   M /trunk/testlong.ecm

moved two new tests to test.ecm

------------------------------------------------------------------------
r2663 | zimmerma | 2015-03-16 23:38:34 +0100 (Mon, 16 Mar 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

added two tests (from David Cleaver)

------------------------------------------------------------------------
r2662 | zimmerma | 2015-03-16 08:18:40 +0100 (Mon, 16 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

fixed tests

------------------------------------------------------------------------
r2661 | dcleaver | 2015-03-15 14:09:31 +0100 (Sun, 15 Mar 2015) | 1 line
Changed paths:
   A /trunk/Z2102.n

Add number file used by test.ecm
------------------------------------------------------------------------
r2660 | dcleaver | 2015-03-15 14:07:41 +0100 (Sun, 15 Mar 2015) | 1 line
Changed paths:
   M /trunk/test.ecm
   M /trunk/testlong.ecm

add tests to improve coverage
------------------------------------------------------------------------
r2659 | zimmerma | 2015-03-11 07:27:57 +0100 (Wed, 11 Mar 2015) | 2 lines
Changed paths:
   M /trunk/memusage.c

improve coverage

------------------------------------------------------------------------
r2658 | zimmerma | 2015-03-10 20:23:20 +0100 (Tue, 10 Mar 2015) | 2 lines
Changed paths:
   M /trunk/main.c
   M /trunk/testlong.ecm

fixed bug reported by Antonio <antonio.key@btinternet.com>

------------------------------------------------------------------------
r2657 | zimmerma | 2015-03-10 08:02:34 +0100 (Tue, 10 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

improve coverage

------------------------------------------------------------------------
r2656 | zimmerma | 2015-03-10 07:49:57 +0100 (Tue, 10 Mar 2015) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

improve coverage

------------------------------------------------------------------------
r2655 | dcleaver | 2015-03-07 16:14:06 +0100 (Sat, 07 Mar 2015) | 1 line
Changed paths:
   M /trunk/aprtcle/mpz_aprcl.c

Update to remove rare warning of: subscript above array bounds (seen with -O3 -Wall)
------------------------------------------------------------------------
r2654 | zimmerma | 2015-03-05 08:33:02 +0100 (Thu, 05 Mar 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

fixed shell comparison

------------------------------------------------------------------------
r2653 | zimmerma | 2015-03-03 14:00:46 +0100 (Tue, 03 Mar 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm

more coverage

------------------------------------------------------------------------
r2652 | morain | 2015-03-02 20:47:14 +0100 (Mon, 02 Mar 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm

improving test covering of torsion curves Z7 and Z9.

------------------------------------------------------------------------
r2651 | zimmerma | 2015-03-02 08:13:20 +0100 (Mon, 02 Mar 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm

more coverage

------------------------------------------------------------------------
r2650 | morain | 2015-03-01 18:19:46 +0100 (Sun, 01 Mar 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/torsions.c

still chasing the Z5 bug.

------------------------------------------------------------------------
r2649 | morain | 2015-03-01 11:40:33 +0100 (Sun, 01 Mar 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c

correcting a bug found by Paul Z.

------------------------------------------------------------------------
r2648 | morain | 2015-02-28 11:21:20 +0100 (Sat, 28 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c

looking for a bug.

------------------------------------------------------------------------
r2647 | zimmerma | 2015-02-27 16:50:58 +0100 (Fri, 27 Feb 2015) | 2 lines
Changed paths:
   M /trunk/addlaws.c

fixed warnings on 32-bit machine

------------------------------------------------------------------------
r2646 | zimmerma | 2015-02-27 16:32:48 +0100 (Fri, 27 Feb 2015) | 2 lines
Changed paths:
   M /trunk/torsions.c

fixed typos

------------------------------------------------------------------------
r2645 | zimmerma | 2015-02-27 15:41:46 +0100 (Fri, 27 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

more changes for 32-bit machines

------------------------------------------------------------------------
r2644 | zimmerma | 2015-02-27 15:16:00 +0100 (Fri, 27 Feb 2015) | 3 lines
Changed paths:
   M /trunk/main.c
   M /trunk/test.ecm

added GMP_NUMB_BITS in print_config()
this enables to properly avoid tests that are known to fail on 32 bits

------------------------------------------------------------------------
r2643 | zimmerma | 2015-02-27 09:23:56 +0100 (Fri, 27 Feb 2015) | 2 lines
Changed paths:
   A /trunk/M877.save
   A /trunk/M997.save
   M /trunk/Makefile.am
   M /trunk/testlong.ecm

added resume tests from Prime95 (thanks to George Woltman)

------------------------------------------------------------------------
r2642 | zimmerma | 2015-02-27 08:39:16 +0100 (Fri, 27 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

added more tests

------------------------------------------------------------------------
r2641 | zimmerma | 2015-02-26 18:12:41 +0100 (Thu, 26 Feb 2015) | 2 lines
Changed paths:
   M /trunk/testlong.pp1

fixed wrong x0 value

------------------------------------------------------------------------
r2640 | bouvierc | 2015-02-26 10:55:10 +0100 (Thu, 26 Feb 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/cudawrapper.c

Small changes in compilation of gpu-ecm

------------------------------------------------------------------------
r2639 | zimmerma | 2015-02-26 08:33:13 +0100 (Thu, 26 Feb 2015) | 2 lines
Changed paths:
   M /trunk/testlong.pp1

a non-trivial cofactor is needed

------------------------------------------------------------------------
r2638 | zimmerma | 2015-02-26 07:55:39 +0100 (Thu, 26 Feb 2015) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/testlong.pp1

improve coverage of auxi.c

------------------------------------------------------------------------
r2637 | zimmerma | 2015-02-25 16:15:21 +0100 (Wed, 25 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.pm1
   M /trunk/test.pp1

fixed -chkpnt tests

------------------------------------------------------------------------
r2636 | zimmerma | 2015-02-25 15:52:05 +0100 (Wed, 25 Feb 2015) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/auxlib.c
   M /trunk/ecm-impl.h
   M /trunk/main.c
   M /trunk/pm1.c
   M /trunk/pp1.c
   M /trunk/test.pm1
   M /trunk/test.pp1

repaired the -chkpnt option which was broken for P-1/P+1
improved coverage of auxlib.c
removed listz_handle.[ch] from Makefile.am, since unused currently

------------------------------------------------------------------------
r2635 | morain | 2015-02-24 18:39:09 +0100 (Tue, 24 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm

cleaning things so that -torsion and save/resume can be used jointly.

------------------------------------------------------------------------
r2634 | zimmerma | 2015-02-24 08:08:53 +0100 (Tue, 24 Feb 2015) | 2 lines
Changed paths:
   M /trunk/resume.c
   M /trunk/test.ecm

more coverage

------------------------------------------------------------------------
r2633 | zimmerma | 2015-02-24 07:55:26 +0100 (Tue, 24 Feb 2015) | 2 lines
Changed paths:
   M /trunk/resume.c

fixed typo

------------------------------------------------------------------------
r2632 | zimmerma | 2015-02-23 10:27:35 +0100 (Mon, 23 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

improve coverage of parametrization.c

------------------------------------------------------------------------
r2631 | zimmerma | 2015-02-22 21:35:11 +0100 (Sun, 22 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

improve coverage of parametrizations.c

------------------------------------------------------------------------
r2630 | zimmerma | 2015-02-21 09:42:33 +0100 (Sat, 21 Feb 2015) | 2 lines
Changed paths:
   M /trunk/mpmod.c

improve coverage of mpmod.c

------------------------------------------------------------------------
r2629 | zimmerma | 2015-02-20 08:33:36 +0100 (Fri, 20 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

improve coverage of parametrizations.c

------------------------------------------------------------------------
r2628 | morain | 2015-02-19 20:31:29 +0100 (Thu, 19 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm
   M /trunk/torsions.c

Z10 is back.

------------------------------------------------------------------------
r2627 | morain | 2015-02-19 16:03:59 +0100 (Thu, 19 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm
   M /trunk/torsions.c

Chasing bugs in the torsion and related code.

------------------------------------------------------------------------
r2626 | zimmerma | 2015-02-19 09:29:23 +0100 (Thu, 19 Feb 2015) | 2 lines
Changed paths:
   M /trunk/pm1.c

improved coverage

------------------------------------------------------------------------
r2625 | zimmerma | 2015-02-18 21:55:07 +0100 (Wed, 18 Feb 2015) | 2 lines
Changed paths:
   M /trunk/memusage.c

removed trailing ^M

------------------------------------------------------------------------
r2624 | zimmerma | 2015-02-18 20:58:42 +0100 (Wed, 18 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c

fixed comment

------------------------------------------------------------------------
r2623 | morain | 2015-02-17 18:59:13 +0100 (Tue, 17 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm
   M /trunk/torsions.c

Z9, Z2xZ8. More to come.

------------------------------------------------------------------------
r2622 | zimmerma | 2015-02-17 10:22:03 +0100 (Tue, 17 Feb 2015) | 2 lines
Changed paths:
   M /trunk/random.c

simplified random.c

------------------------------------------------------------------------
r2621 | zimmerma | 2015-02-17 09:24:47 +0100 (Tue, 17 Feb 2015) | 2 lines
Changed paths:
   M /trunk/random.c
   M /trunk/test.ecm

more coverage

------------------------------------------------------------------------
r2620 | morain | 2015-02-15 20:39:46 +0100 (Sun, 15 Feb 2015) | 2 lines
Changed paths:
   M /trunk/torsions.c

beginning of Z10.

------------------------------------------------------------------------
r2619 | morain | 2015-02-15 19:24:41 +0100 (Sun, 15 Feb 2015) | 2 lines
Changed paths:
   M /trunk/torsions.c

Z9 is back, too.

------------------------------------------------------------------------
r2618 | morain | 2015-02-15 15:49:51 +0100 (Sun, 15 Feb 2015) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/test.ecm
   M /trunk/torsions.c

Z7 is back after some more debugging. More torsion groups will join later.

------------------------------------------------------------------------
r2617 | dcleaver | 2015-02-15 13:07:11 +0100 (Sun, 15 Feb 2015) | 1 line
Changed paths:
   M /trunk/configure.ac

mingw build needs -lpsapi for memusage.c
------------------------------------------------------------------------
r2616 | brian_gladman | 2015-02-15 08:39:02 +0100 (Sun, 15 Feb 2015) | 1 line
Changed paths:
   M /trunk/memusage.c

change _MSC_VER to _WIN32 to support mingw build
------------------------------------------------------------------------
r2615 | dcleaver | 2015-02-14 17:18:25 +0100 (Sat, 14 Feb 2015) | 1 line
Changed paths:
   M /trunk/resume.c

read/write s in binary mode for best compatibility
------------------------------------------------------------------------
r2614 | zimmerma | 2015-02-14 13:03:40 +0100 (Sat, 14 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/listz.c
   M /trunk/polyeval.c
   M /trunk/stage2.c

removed old polyeval() code [not tested any more, make check did fail with it]

------------------------------------------------------------------------
r2613 | zimmerma | 2015-02-14 12:38:55 +0100 (Sat, 14 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/listz.c

more coverage of listz.c

------------------------------------------------------------------------
r2612 | zimmerma | 2015-02-14 11:26:39 +0100 (Sat, 14 Feb 2015) | 2 lines
Changed paths:
   M /trunk/eval.c
   M /trunk/test.ecm

more coverage of eval.c

------------------------------------------------------------------------
r2611 | zimmerma | 2015-02-13 21:28:32 +0100 (Fri, 13 Feb 2015) | 2 lines
Changed paths:
   M /trunk/eval.c
   M /trunk/test.ecm

more coverage

------------------------------------------------------------------------
r2610 | morain | 2015-02-13 20:32:44 +0100 (Fri, 13 Feb 2015) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/test.ecm

stupid bug.

------------------------------------------------------------------------
r2609 | brian_gladman | 2015-02-13 15:08:57 +0100 (Fri, 13 Feb 2015) | 1 line
Changed paths:
   M /trunk/build.vc12/python.bat
   M /trunk/build.vc12/tests.py

update testing code for the Visual Studio build
------------------------------------------------------------------------
r2608 | zimmerma | 2015-02-13 07:35:19 +0100 (Fri, 13 Feb 2015) | 2 lines
Changed paths:
   M /trunk/eval.c

improve coverage

------------------------------------------------------------------------
r2607 | brian_gladman | 2015-02-12 23:55:36 +0100 (Thu, 12 Feb 2015) | 1 line
Changed paths:
   M /trunk/build.vc12/ecm/ecm.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj
   M /trunk/build.vc12/libecm/libecm.vcxproj.filters
   M /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj
   M /trunk/memusage.c
   M /trunk/mpmod.c

Add peak memory use on Windows; put some declarations in C90 form; update Visual Studio build
------------------------------------------------------------------------
r2606 | zimmerma | 2015-02-12 11:46:26 +0100 (Thu, 12 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ks-multiply.c
   M /trunk/sp.h
   M /trunk/spv.c
   M /trunk/tune.c
   M /trunk/x86_64/core2/params.h

re-implement Karatsuba

------------------------------------------------------------------------
r2605 | zimmerma | 2015-02-11 23:01:17 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh

added tune and bench_mulredc

------------------------------------------------------------------------
r2604 | morain | 2015-02-11 22:00:02 +0100 (Wed, 11 Feb 2015) | 3 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/test.ecm
   M /trunk/torsions.c

some more debugging on torsion curves. Not finished. Z5 is ok, not the others.
To be continued.

------------------------------------------------------------------------
r2603 | zimmerma | 2015-02-11 13:27:04 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c
   M /trunk/tune.c

removed list_mul_tc (never faster than basecase for n <= 8)

------------------------------------------------------------------------
r2602 | zimmerma | 2015-02-11 11:08:49 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm2.c

removed dead code

------------------------------------------------------------------------
r2601 | zimmerma | 2015-02-11 10:39:42 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/lucas.c

removed buggy code

------------------------------------------------------------------------
r2600 | zimmerma | 2015-02-11 09:34:36 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh
   M /trunk/ecm2.c

improve coverage

------------------------------------------------------------------------
r2599 | zimmerma | 2015-02-11 08:50:00 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/polyeval.c

improve coverage

------------------------------------------------------------------------
r2598 | zimmerma | 2015-02-11 08:35:31 +0100 (Wed, 11 Feb 2015) | 2 lines
Changed paths:
   M /trunk/longlong.h

update longlong.h from GMP 6.0.0 (with minor modifications)

------------------------------------------------------------------------
r2597 | zimmerma | 2015-02-10 22:41:06 +0100 (Tue, 10 Feb 2015) | 2 lines
Changed paths:
   D /trunk/ecm.h
   M /trunk/ecm.h.in

ecm.h should not be in svn, it is automatically generated by ecm.h.in

------------------------------------------------------------------------
r2596 | morain | 2015-02-10 16:31:56 +0100 (Tue, 10 Feb 2015) | 2 lines
Changed paths:
   A /trunk/ecm.h
   M /trunk/torsions.c

why did my ecm.h disappear? Hope this doesn't break anything more.

------------------------------------------------------------------------
r2595 | morain | 2015-02-10 16:24:55 +0100 (Tue, 10 Feb 2015) | 3 lines
Changed paths:
   M /trunk/README
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm
   M /trunk/torsions.c

improving code covering for torsion groups. Found several bugs. Work done
for Z5 and Z7. Others to follow later.

------------------------------------------------------------------------
r2594 | zimmerma | 2015-02-10 09:01:40 +0100 (Tue, 10 Feb 2015) | 2 lines
Changed paths:
   M /trunk/resume.c
   M /trunk/test.ecm
   M /trunk/test.pp1

more coverage

------------------------------------------------------------------------
r2593 | zimmerma | 2015-02-09 11:37:29 +0100 (Mon, 09 Feb 2015) | 2 lines
Changed paths:
   M /trunk/factor.c

gpu_ecm is no longer defined when WITH_GPU is not defined

------------------------------------------------------------------------
r2592 | zimmerma | 2015-02-09 10:34:37 +0100 (Mon, 09 Feb 2015) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/factor.c
   M /trunk/rho.c
   M /trunk/test.pm1
   M /trunk/test.pp1

improve coverage

------------------------------------------------------------------------
r2591 | zimmerma | 2015-02-08 21:40:26 +0100 (Sun, 08 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm
   M /trunk/test.pm1

improve test coverage of pm1fs2.c

------------------------------------------------------------------------
r2590 | zimmerma | 2015-02-08 21:21:32 +0100 (Sun, 08 Feb 2015) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

added Sage code to find group order for -param 2

------------------------------------------------------------------------
r2589 | bouvierc | 2015-02-08 15:48:13 +0100 (Sun, 08 Feb 2015) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

More comments on how the parametrization -param 2 is computed

------------------------------------------------------------------------
r2588 | zimmerma | 2015-02-07 11:40:17 +0100 (Sat, 07 Feb 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

added a test to exercise base2mod_2

------------------------------------------------------------------------
r2587 | zimmerma | 2015-02-07 11:31:07 +0100 (Sat, 07 Feb 2015) | 2 lines
Changed paths:
   M /trunk/b1_ainc.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm.1
   M /trunk/main.c

removed -i option

------------------------------------------------------------------------
r2586 | zimmerma | 2015-02-07 11:07:53 +0100 (Sat, 07 Feb 2015) | 2 lines
Changed paths:
   M /trunk/auxlib.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h

removed unused functions

------------------------------------------------------------------------
r2585 | zimmerma | 2015-02-06 18:52:29 +0100 (Fri, 06 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

learning bourne shell...

------------------------------------------------------------------------
r2584 | zimmerma | 2015-02-06 18:31:08 +0100 (Fri, 06 Feb 2015) | 2 lines
Changed paths:
   M /trunk/rho.c
   M /trunk/test.ecm
   M /trunk/test.pm1

improve coverage of rho.c

------------------------------------------------------------------------
r2583 | zimmerma | 2015-02-06 10:27:44 +0100 (Fri, 06 Feb 2015) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm

added tests for bsaves/bloads

------------------------------------------------------------------------
r2582 | zimmerma | 2015-02-06 09:35:03 +0100 (Fri, 06 Feb 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

added a test with batch mode

------------------------------------------------------------------------
r2581 | zimmerma | 2015-02-06 08:11:26 +0100 (Fri, 06 Feb 2015) | 4 lines
Changed paths:
   M /trunk/test.ecm
   M /trunk/test.pm1
   M /trunk/testlong.ecm

added tests for various options. Still missing:
-i: will be removed
-bsaves, -bloads

------------------------------------------------------------------------
r2580 | zimmerma | 2015-02-05 08:04:46 +0100 (Thu, 05 Feb 2015) | 2 lines
Changed paths:
   M /trunk/auxi.c

replace code by ASSERT_ALWAYS

------------------------------------------------------------------------
r2579 | zimmerma | 2015-02-04 07:35:14 +0100 (Wed, 04 Feb 2015) | 2 lines
Changed paths:
   M /trunk/testlong.pp1

added test with -maxmem

------------------------------------------------------------------------
r2578 | dcleaver | 2015-02-03 13:39:06 +0100 (Tue, 03 Feb 2015) | 1 line
Changed paths:
   M /trunk/eval.c

Update to allow gmp-ecm on Windows to properly receive and parse expressions from the command line
------------------------------------------------------------------------
r2577 | zimmerma | 2015-02-03 07:38:12 +0100 (Tue, 03 Feb 2015) | 2 lines
Changed paths:
   M /trunk/auxarith.c
   M /trunk/ecm-impl.h

removed unused code

------------------------------------------------------------------------
r2576 | zimmerma | 2015-02-02 17:20:18 +0100 (Mon, 02 Feb 2015) | 3 lines
Changed paths:
   M /trunk/mpmod.c
   M /trunk/pm1.c
   M /trunk/x86_64/k8/params.h

improve sliding window exponentiation
for P-1: use base-2 arithmetic when faster

------------------------------------------------------------------------
r2575 | dcleaver | 2015-02-02 13:31:34 +0100 (Mon, 02 Feb 2015) | 1 line
Changed paths:
   M /trunk/aprtcle/mpz_aprcl.c
   M /trunk/ecm-ecm.h
   M /trunk/test.ecm

Remove unused code in mpz_aprcl, adjust aprcl limits, add test in test.ecm to exercise phi in eval.c
------------------------------------------------------------------------
r2574 | zimmerma | 2015-02-02 07:41:14 +0100 (Mon, 02 Feb 2015) | 2 lines
Changed paths:
   M /trunk/candi.c
   M /trunk/eval.c

use ASSERT_ALWAYS for checking result of malloc()

------------------------------------------------------------------------
r2573 | dcleaver | 2015-02-01 07:36:26 +0100 (Sun, 01 Feb 2015) | 1 line
Changed paths:
   M /trunk/candi.c

Correct if/else-if to prevent double testing numbers
------------------------------------------------------------------------
r2572 | zimmerma | 2015-01-31 23:16:03 +0100 (Sat, 31 Jan 2015) | 2 lines
Changed paths:
   M /trunk/mpmod.c

implemented base-2^k exponentiation in mpres_pow

------------------------------------------------------------------------
r2571 | dcleaver | 2015-01-31 16:23:14 +0100 (Sat, 31 Jan 2015) | 1 line
Changed paths:
   M /trunk/aprtcle/aprcl.c
   M /trunk/aprtcle/mpz_aprcl.c
   M /trunk/aprtcle/mpz_aprcl.h
   M /trunk/auxi.c
   M /trunk/candi.c
   M /trunk/ecm-ecm.h

Remove unused code from aprcl and clean-up usage of aprcl in ecm
------------------------------------------------------------------------
r2570 | zimmerma | 2015-01-30 14:46:24 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   A /trunk/memusage.c

forgot file

------------------------------------------------------------------------
r2569 | zimmerma | 2015-01-30 14:46:12 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-ecm.h
   M /trunk/main.c

print peak memory usage (with -v)

------------------------------------------------------------------------
r2568 | zimmerma | 2015-01-30 12:57:27 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.ac

missing stuff for "make dist"

------------------------------------------------------------------------
r2567 | zimmerma | 2015-01-30 11:53:24 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   A /trunk/aprtcle/Makefile.am

missing file

------------------------------------------------------------------------
r2566 | zimmerma | 2015-01-30 11:16:48 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/candi.c
   M /trunk/test.pm1

removed dead code in candi.c

------------------------------------------------------------------------
r2565 | zimmerma | 2015-01-30 10:54:09 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/ecm.1

cleanup of README and ecm.1

------------------------------------------------------------------------
r2564 | zimmerma | 2015-01-30 10:33:15 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/mpmod.c
   M /trunk/pm1.c

for P-1, use -mpzmod by default

------------------------------------------------------------------------
r2563 | zimmerma | 2015-01-30 09:20:49 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/README

update README vs tuning

------------------------------------------------------------------------
r2562 | zimmerma | 2015-01-30 08:53:35 +0100 (Fri, 30 Jan 2015) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/pm1.c

more verbose output to README

------------------------------------------------------------------------
r2561 | zimmerma | 2015-01-29 23:23:02 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

svn propset svn:executable on testlong.ecm

------------------------------------------------------------------------
r2560 | zimmerma | 2015-01-29 23:21:19 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

chmod +x

------------------------------------------------------------------------
r2559 | zimmerma | 2015-01-29 22:36:59 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/NEWS

update NEWS

------------------------------------------------------------------------
r2558 | zimmerma | 2015-01-29 22:36:34 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/configure.ac
   M /trunk/ecm-ecm.h
   M /trunk/ecm.1
   M /trunk/main.c

remove option -nn

------------------------------------------------------------------------
r2557 | zimmerma | 2015-01-29 22:32:40 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/ecm.h.in

removed B2scale

------------------------------------------------------------------------
r2556 | zimmerma | 2015-01-29 22:21:32 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

protect some tests that do not work with -redc or -mpzmod

------------------------------------------------------------------------
r2555 | zimmerma | 2015-01-29 20:10:18 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.1
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/multiecm.c
   M /trunk/pm1.c
   M /trunk/pp1.c

removed option B2scale (and ugly hack to pass it to the library)

------------------------------------------------------------------------
r2554 | zimmerma | 2015-01-29 19:44:30 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/coverage.sh

no need of valgrind for coverage tests

------------------------------------------------------------------------
r2553 | zimmerma | 2015-01-29 19:11:08 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

added F12 test

------------------------------------------------------------------------
r2552 | zimmerma | 2015-01-29 18:58:28 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/auxi.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm.1
   M /trunk/main.c

removed -cofdec option

------------------------------------------------------------------------
r2551 | zimmerma | 2015-01-29 18:50:52 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/ecm.1
   M /trunk/main.c

removed option -ve

------------------------------------------------------------------------
r2550 | morain | 2015-01-29 14:00:58 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/main.c
   M /trunk/torsions.c

Minor modifications.

------------------------------------------------------------------------
r2549 | zimmerma | 2015-01-29 12:13:23 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/testlong.ecm

added new test

------------------------------------------------------------------------
r2548 | zimmerma | 2015-01-29 12:12:06 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/multiecm.c
   M /trunk/testlong.ecm

disable APRCL primality test for >= 1000 digits

------------------------------------------------------------------------
r2547 | zimmerma | 2015-01-29 11:31:42 +0100 (Thu, 29 Jan 2015) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/coverage.sh
   A /trunk/testlong.ecm

added new file testlong.ecm
perform coverage test with "make longcheck"

------------------------------------------------------------------------
r2546 | zimmerma | 2015-01-29 10:49:13 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/test.ecm

added test for -I f option

------------------------------------------------------------------------
r2545 | zimmerma | 2015-01-29 10:34:03 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/b1_ainc.c
   M /trunk/ecm.1
   M /trunk/main.c

simplified the semantics of -I f

------------------------------------------------------------------------
r2544 | zimmerma | 2015-01-29 09:58:27 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/ecm.1
   M /trunk/main.c

removed -n command line option

------------------------------------------------------------------------
r2543 | zimmerma | 2015-01-29 09:10:34 +0100 (Thu, 29 Jan 2015) | 2 lines
Changed paths:
   A /trunk/coverage.sh

script to perform coverage tests

------------------------------------------------------------------------
r2542 | zimmerma | 2015-01-28 18:55:07 +0100 (Wed, 28 Jan 2015) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/configure.ac (from /trunk/configure.in:2541)
   D /trunk/configure.in
   M /trunk/main.c

adapt to newer autotools

------------------------------------------------------------------------
r2541 | zimmerma | 2015-01-28 13:46:11 +0100 (Wed, 28 Jan 2015) | 2 lines
Changed paths:
   M /trunk/pm1.c

choice of modular arithmetic for P-1 was sub-optimal

------------------------------------------------------------------------
r2540 | morain | 2014-09-11 14:40:54 +0200 (Thu, 11 Sep 2014) | 4 lines
Changed paths:
   M /trunk/addlaws.c

correcting bug found on PLeyland's machine, where char is unsigned by default.
test.ecm passes. I let some warnings pass, since apparently size_t is not of
type unsigned int.

------------------------------------------------------------------------
r2539 | zimmerma | 2014-09-10 15:48:46 +0200 (Wed, 10 Sep 2014) | 2 lines
Changed paths:
   M /trunk/test.ecm

moved 64-bit only tests at the end

------------------------------------------------------------------------
r2538 | brian_gladman | 2014-06-16 17:23:10 +0200 (Mon, 16 Jun 2014) | 2 lines
Changed paths:
   M /trunk/build.vc12
   D /trunk/build.vc12/test.pm1.save
   M /trunk/ecm-gmp.h
   M /trunk/ecm-impl.h

1. remove a file committed in error
2. correct the interface to the new MPIR FFT 
------------------------------------------------------------------------
r2537 | zimmerma | 2014-04-08 09:55:54 +0200 (Tue, 08 Apr 2014) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.in

removed build.vc10 stuff

------------------------------------------------------------------------
r2536 | brian_gladman | 2014-04-02 01:04:34 +0200 (Wed, 02 Apr 2014) | 1 line
Changed paths:
   D /trunk/build.vc10

1. Correct VS 2012 build files; 2. Add VS 2013 build files; 3. Update for CUDA 6.0; 4. Add defines needed to use MPIR FFT routines
------------------------------------------------------------------------
r2535 | brian_gladman | 2014-04-02 01:03:43 +0200 (Wed, 02 Apr 2014) | 1 line
Changed paths:
   M /trunk/build.vc11
   D /trunk/build.vc11/ecm.cuda.sln
   D /trunk/build.vc11/gpu_ecm

1. Correct VS 2012 build files; 2. Add VS 2013 build files; 3. Update for CUDA 6.0; 4. Add defines needed to use MPIR FFT routines
------------------------------------------------------------------------
r2534 | brian_gladman | 2014-04-02 00:57:14 +0200 (Wed, 02 Apr 2014) | 1 line
Changed paths:
   M /trunk/aprtcle/aprcl.c
   M /trunk/build.vc11/Makefile.am
   M /trunk/build.vc11/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc11/ecm_gpu.sln
   A /trunk/build.vc11/gettimeofday.c
   A /trunk/build.vc11/gettimeofday.h
   M /trunk/build.vc11/libecm/libecm.vcxproj
   M /trunk/build.vc11/libecm/libecm.vcxproj.filters
   M /trunk/build.vc11/libecm_gpu/libecm_gpu.vcxproj
   A /trunk/build.vc11/vacopy.c
   A /trunk/build.vc12
   A /trunk/build.vc12/Makefile.am
   A /trunk/build.vc12/assembler
   A /trunk/build.vc12/assembler/Makefile.am
   A /trunk/build.vc12/assembler/a_win32a_redc.asm
   A /trunk/build.vc12/assembler/a_win32p_mulredc.asm
   A /trunk/build.vc12/assembler/a_win32p_redc.asm
   A /trunk/build.vc12/assembler/a_x64_mulredc.asm
   A /trunk/build.vc12/assembler/a_x64_redc.asm
   A /trunk/build.vc12/assembler/mulredc.asm
   A /trunk/build.vc12/assembler/mulredc.h
   A /trunk/build.vc12/assembler/redc.asm
   A /trunk/build.vc12/assembler/test_mulredc.c
   A /trunk/build.vc12/bench_mulredc
   A /trunk/build.vc12/bench_mulredc/Makefile.am
   A /trunk/build.vc12/bench_mulredc/bench_mulredc.vcxproj
   A /trunk/build.vc12/bench_mulredc/bench_mulredc.vcxproj.filters
   A /trunk/build.vc12/config.h
   A /trunk/build.vc12/ecm
   A /trunk/build.vc12/ecm/Makefile.am
   A /trunk/build.vc12/ecm/ecm.vcxproj
   A /trunk/build.vc12/ecm/ecm.vcxproj.filters
   A /trunk/build.vc12/ecm.sln
   A /trunk/build.vc12/ecm_gpu
   A /trunk/build.vc12/ecm_gpu/Makefile.am
   A /trunk/build.vc12/ecm_gpu/ecm.vcxproj.filters
   A /trunk/build.vc12/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc12/ecm_gpu.sln
   A /trunk/build.vc12/file_copy.bat
   A /trunk/build.vc12/gen_ecm_h.bat
   A /trunk/build.vc12/getopt.c
   A /trunk/build.vc12/getopt.h
   A /trunk/build.vc12/getrusage.c
   A /trunk/build.vc12/getrusage.h
   A /trunk/build.vc12/gettimeofday.c
   A /trunk/build.vc12/gettimeofday.h
   A /trunk/build.vc12/libecm
   A /trunk/build.vc12/libecm/Makefile.am
   A /trunk/build.vc12/libecm/libecm.vcxproj
   A /trunk/build.vc12/libecm/libecm.vcxproj.filters
   A /trunk/build.vc12/libecm_gpu
   A /trunk/build.vc12/libecm_gpu/Makefile.am
   A /trunk/build.vc12/libecm_gpu/libecm_gpu.vcxproj
   A /trunk/build.vc12/mp_lib.props
   A /trunk/build.vc12/out_copy_rename.bat
   A /trunk/build.vc12/prebuild.bat
   A /trunk/build.vc12/python.bat
   A /trunk/build.vc12/readme.txt
   A /trunk/build.vc12/test.pm1.save
   A /trunk/build.vc12/tests.py
   A /trunk/build.vc12/tune
   A /trunk/build.vc12/tune/Makefile.am
   A /trunk/build.vc12/tune/tune.vcxproj
   A /trunk/build.vc12/tune/tune.vcxproj.filters
   A /trunk/build.vc12/vacopy.c
   A /trunk/build.vc12/vsyasm.props
   A /trunk/build.vc12/vsyasm.targets
   A /trunk/build.vc12/vsyasm.xml
   M /trunk/ecm-impl.h

1. Correct VS 2012 build files; 2. Add VS 2013 build files; 3. Update for CUDA 6.0; 4. Add defines needed to use MPIR FFT routines
------------------------------------------------------------------------
r2533 | zimmerma | 2014-01-29 16:59:02 +0100 (Wed, 29 Jan 2014) | 2 lines
Changed paths:
   M /trunk/NEWS

updated

------------------------------------------------------------------------
r2532 | zimmerma | 2014-01-29 16:57:46 +0100 (Wed, 29 Jan 2014) | 2 lines
Changed paths:
   M /trunk/AUTHORS

added David Cleaver

------------------------------------------------------------------------
r2531 | zimmerma | 2014-01-29 16:56:51 +0100 (Wed, 29 Jan 2014) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/aprtcle
   A /trunk/aprtcle/aprcl.c
   A /trunk/aprtcle/jacobi_sum.h
   A /trunk/aprtcle/mpz_aprcl.c
   A /trunk/aprtcle/mpz_aprcl.h
   M /trunk/auxi.c
   M /trunk/configure.in

applied patch from David Cleaver to allow primality proving using APRCL

------------------------------------------------------------------------
r2530 | zimmerma | 2014-01-29 16:42:09 +0100 (Wed, 29 Jan 2014) | 2 lines
Changed paths:
   M /trunk/addlaws.c

put debug line inside #define ... #endif

------------------------------------------------------------------------
r2529 | morain | 2014-01-18 11:50:48 +0100 (Sat, 18 Jan 2014) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h

cleaning int vs. size_t in chains.

------------------------------------------------------------------------
r2528 | zimmerma | 2014-01-02 10:25:44 +0100 (Thu, 02 Jan 2014) | 2 lines
Changed paths:
   M /trunk/ecm.c

fix bug reported by David Cleaver

------------------------------------------------------------------------
r2527 | bouvierc | 2013-10-14 10:13:28 +0200 (Mon, 14 Oct 2013) | 2 lines
Changed paths:
   M /trunk/factor.c

fix bug reported by Ben Meekins wi th savefile

------------------------------------------------------------------------
r2526 | brian_gladman | 2013-08-28 11:28:12 +0200 (Wed, 28 Aug 2013) | 1 line
Changed paths:
   M /trunk/build.vc11/bench_mulredc/bench_mulredc.vcxproj
   M /trunk/build.vc11/tests.py

minor change to Visual Studio build files and the related test program
------------------------------------------------------------------------
r2525 | brian_gladman | 2013-08-07 00:16:28 +0200 (Wed, 07 Aug 2013) | 1 line
Changed paths:
   M /trunk/build.vc11/ecm_gpu/ecm_gpu.vcxproj
   M /trunk/build.vc11/ecm_gpu_.sln
   M /trunk/build.vc11/gpu_ecm/gpu_ecm.vcxproj
   M /trunk/build.vc11/tests.py

Further update of Visual Studio 2012 build for ECM with CUDA
------------------------------------------------------------------------
r2524 | brian_gladman | 2013-08-06 22:16:56 +0200 (Tue, 06 Aug 2013) | 1 line
Changed paths:
   M /trunk/build.vc11
   M /trunk/build.vc11/bench_mulredc/bench_mulredc.vcxproj
   M /trunk/build.vc11/config.h
   M /trunk/build.vc11/ecm.sln
   A /trunk/build.vc11/ecm_gpu
   A /trunk/build.vc11/ecm_gpu/Makefile.am
   A /trunk/build.vc11/ecm_gpu/ecm.vcxproj.filters
   A /trunk/build.vc11/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc11/ecm_gpu_.sln
   M /trunk/build.vc11/gpu_ecm/gpu_ecm.vcxproj
   M /trunk/build.vc11/libecm/libecm.vcxproj
   M /trunk/build.vc11/libecm_gpu/libecm_gpu.vcxproj
   M /trunk/build.vc11/readme.txt
   D /trunk/build.vc11/readme_gpu.txt
   M /trunk/cudakernel.cu

Update Visual Studio 2012 build for ECM with CUDA
------------------------------------------------------------------------
r2523 | zimmerma | 2013-08-04 10:30:51 +0200 (Sun, 04 Aug 2013) | 2 lines
Changed paths:
   D /trunk/c200

removed old test number (now factored)

------------------------------------------------------------------------
r2522 | zimmerma | 2013-08-04 10:29:43 +0200 (Sun, 04 Aug 2013) | 4 lines
Changed paths:
   A /trunk/c270

new test number (from 10,389-): it has the average size (270 digits) of the
remaining Cunningham composites (548 remaining, smallest 186 digits, largest
384 digits)

------------------------------------------------------------------------
r2521 | brian_gladman | 2013-07-20 19:20:52 +0200 (Sat, 20 Jul 2013) | 1 line
Changed paths:
   M /trunk/build.vc11/bench_mulredc/bench_mulredc.vcxproj
   M /trunk/build.vc11/ecm/ecm.vcxproj
   M /trunk/build.vc11/gpu_ecm/gpu_ecm.vcxproj
   M /trunk/build.vc11/libecm/libecm.vcxproj

remove unnecessary 'character set' settings from the Visual Studio build 
------------------------------------------------------------------------
r2520 | zimmerma | 2013-04-29 15:40:27 +0200 (Mon, 29 Apr 2013) | 2 lines
Changed paths:
   M /trunk/ecm.h.in

[ecm.h.in] fixed typo

------------------------------------------------------------------------
r2519 | zimmerma | 2013-04-29 15:26:31 +0200 (Mon, 29 Apr 2013) | 2 lines
Changed paths:
   M /trunk/factor.c

[factor.c] B1done was clobbered when reusing an ecm_params struct

------------------------------------------------------------------------
r2518 | morain | 2013-04-14 18:10:25 +0200 (Sun, 14 Apr 2013) | 2 lines
Changed paths:
   M /trunk/README

A little better.

------------------------------------------------------------------------
r2517 | morain | 2013-04-14 18:09:06 +0200 (Sun, 14 Apr 2013) | 4 lines
Changed paths:
   M /trunk/README
   M /trunk/main.c
   M /trunk/test.ecm
   M /trunk/torsions.c
   M /trunk/torsions.h

Introducing option '-torsion' to use curves with prescribed torsion groups.
Updated test.ecm and README. Some more tests will be added for other groups.
There is room for Z/12Z, and some more if desired.

------------------------------------------------------------------------
r2516 | morain | 2013-04-07 20:20:03 +0200 (Sun, 07 Apr 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/multiecm.c
   M /trunk/torsions.c
   M /trunk/torsions.h

Moving things around.

------------------------------------------------------------------------
r2515 | zimmerma | 2013-04-05 22:39:52 +0200 (Fri, 05 Apr 2013) | 2 lines
Changed paths:
   M /trunk/ecm.h.in

forgot to commit that in last revision

------------------------------------------------------------------------
r2514 | zimmerma | 2013-04-05 17:56:29 +0200 (Fri, 05 Apr 2013) | 5 lines
Changed paths:
   M /trunk/README
   M /trunk/cudawrapper.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/mpzspv.c
   M /trunk/multiecm.c
   M /trunk/stage2.c
   M /trunk/test.ecm

improvement of the interface for curves in Weierstrass and Hessian form
(work done with F. Morain during his visit in Nancy)

Remains to deal with the -y0 parameter in Montgomery form.

------------------------------------------------------------------------
r2513 | morain | 2013-03-31 12:52:49 +0200 (Sun, 31 Mar 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c

More cleaning of CM stuff.

------------------------------------------------------------------------
r2512 | brian_gladman | 2013-03-30 20:07:45 +0100 (Sat, 30 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc11/libecm/libecm.vcxproj
   M /trunk/build.vc11/libecm/libecm.vcxproj.filters
   M /trunk/build.vc11/tests.py

remove cmecm c/h files from Visual Studio build, improve Python test script 
------------------------------------------------------------------------
r2511 | zimmerma | 2013-03-30 19:15:10 +0100 (Sat, 30 Mar 2013) | 2 lines
Changed paths:
   M /trunk/testlong.pp1

[testlong.pp1] added missing checkcode (thanks Brian Gladman)

------------------------------------------------------------------------
r2510 | morain | 2013-03-30 18:03:05 +0100 (Sat, 30 Mar 2013) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   D /trunk/cmecm.c
   D /trunk/cmecm.h
   M /trunk/ecm2.c
   M /trunk/multiecm.c
   M /trunk/stage2.c

Removing CMECM stuff. Too bizarre for a general ECM version. More cleaning
later.

------------------------------------------------------------------------
r2509 | morain | 2013-03-30 17:45:49 +0100 (Sat, 30 Mar 2013) | 2 lines
Changed paths:
   M /trunk/factor.c

Trying to fix a bug on Mac (problem in ell_curve_set_z).

------------------------------------------------------------------------
r2508 | zimmerma | 2013-03-29 17:17:43 +0100 (Fri, 29 Mar 2013) | 2 lines
Changed paths:
   M /trunk/ecmfactor.c

[ecmfactor.c] return non-zero when factor is found

------------------------------------------------------------------------
r2507 | brian_gladman | 2013-03-28 08:38:56 +0100 (Thu, 28 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h
   M /trunk/build.vc11/config.h

redefine VERSION as ECM_VERSION in Visual Studio builds
------------------------------------------------------------------------
r2506 | kruppa | 2013-03-27 23:07:36 +0100 (Wed, 27 Mar 2013) | 3 lines
Changed paths:
   M /trunk/ecm.h.in
   M /trunk/factor.c
   M /trunk/main.c

New function in public interface: ecm_version() which returns the version string of the ECM library
Test that this version string agrees with that of the header file in main.c

------------------------------------------------------------------------
r2505 | zimmerma | 2013-03-27 08:35:17 +0100 (Wed, 27 Mar 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/pp1.c

likewise previous commit for P+1 and ECM

------------------------------------------------------------------------
r2504 | zimmerma | 2013-03-27 08:31:48 +0100 (Wed, 27 Mar 2013) | 4 lines
Changed paths:
   M /trunk/pm1.c
   M /trunk/test.pm1

fixed bug reported by Andrew Booker
(https://sympa.inria.fr/sympa/arc/ecm-discuss/2013-03/msg00000.html):
when B1=1, the -go parameter was ignored for P-1

------------------------------------------------------------------------
r2503 | zimmerma | 2013-03-27 08:22:37 +0100 (Wed, 27 Mar 2013) | 2 lines
Changed paths:
   M /trunk/test.pm1

[test.pm1] added test with -go

------------------------------------------------------------------------
r2502 | brian_gladman | 2013-03-27 00:10:36 +0100 (Wed, 27 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10/libecm/libecm.vcxproj
   A /trunk/build.vc10/prebuild.bat
   M /trunk/build.vc11/libecm/libecm.vcxproj
   A /trunk/build.vc11/prebuild.bat

add files missed in previous Visual Studio build commit
------------------------------------------------------------------------
r2501 | brian_gladman | 2013-03-26 23:12:20 +0100 (Tue, 26 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/out_copy_rename.bat
   M /trunk/build.vc11/libecm/libecm.vcxproj
   M /trunk/build.vc11/out_copy_rename.bat

Correct some Visual Studio build issues
------------------------------------------------------------------------
r2500 | morain | 2013-03-16 21:25:44 +0100 (Sat, 16 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/multiecm.c
   M /trunk/stage2.c

Bug fix + preparing for more b^n+c.

------------------------------------------------------------------------
r2499 | morain | 2013-03-15 20:42:20 +0100 (Fri, 15 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c

Adding possibility to factor numbers b^n+c with torsions groups using X1(M).

------------------------------------------------------------------------
r2498 | morain | 2013-03-14 17:12:39 +0100 (Thu, 14 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c

Enabling + sign for X1 stuff.

------------------------------------------------------------------------
r2497 | morain | 2013-03-12 17:36:19 +0100 (Tue, 12 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c

Bug fix.

------------------------------------------------------------------------
r2496 | morain | 2013-03-12 17:26:41 +0100 (Tue, 12 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c
   M /trunk/torsions.c
   M /trunk/torsions.h

automatic use of best level in 11, 14, 15.

------------------------------------------------------------------------
r2495 | morain | 2013-03-11 21:03:17 +0100 (Mon, 11 Mar 2013) | 2 lines
Changed paths:
   M /trunk/factor.c
   M /trunk/multiecm.c

Bug fix.

------------------------------------------------------------------------
r2494 | zimmerma | 2013-03-11 14:45:46 +0100 (Mon, 11 Mar 2013) | 2 lines
Changed paths:
   M /trunk/README.dev.asm

[README.dev.asm] added note

------------------------------------------------------------------------
r2493 | zimmerma | 2013-03-11 14:42:39 +0100 (Mon, 11 Mar 2013) | 2 lines
Changed paths:
   M /trunk/README.dev.asm

[README.dev.asm] updated

------------------------------------------------------------------------
r2490 | kruppa | 2013-03-11 11:55:24 +0100 (Mon, 11 Mar 2013) | 3 lines
Changed paths:
   M /trunk/acinclude.m4

Make GMP_TRY_ASSEMBLE() just assemble, not link - thanks Leif Leonhardy


------------------------------------------------------------------------
r2489 | morain | 2013-03-10 10:53:40 +0100 (Sun, 10 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c

Bug most probably found.

------------------------------------------------------------------------
r2488 | morain | 2013-03-09 20:47:23 +0100 (Sat, 09 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/multiecm.c

Less and less bugs. I think I know where the bug is, but I need more time.

------------------------------------------------------------------------
r2487 | morain | 2013-03-08 20:53:53 +0100 (Fri, 08 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/ecm.c
   M /trunk/multiecm.c

Still tracking that bug.

------------------------------------------------------------------------
r2486 | zimmerma | 2013-03-08 16:27:14 +0100 (Fri, 08 Mar 2013) | 2 lines
Changed paths:
   M /trunk/powerpc64/params.h

[params.h] updated for ECM 6.4.4

------------------------------------------------------------------------
r2485 | kruppa | 2013-03-08 14:12:15 +0100 (Fri, 08 Mar 2013) | 2 lines
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/configure.in

Use automatic fallback to AC_COMPILE_IFELSE when cross-compiling

------------------------------------------------------------------------
r2484 | morain | 2013-03-07 21:20:12 +0100 (Thu, 07 Mar 2013) | 3 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/multiecm.c
   M /trunk/torsions.c
   M /trunk/torsions.h

- Propagating good use of ell_curve with all a_i params.
- tracking a bug, not found yet.

------------------------------------------------------------------------
r2483 | kruppa | 2013-03-07 18:25:01 +0100 (Thu, 07 Mar 2013) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

In SSE2 test program, don't try to guess whether SSE2 should work, but test that it works

------------------------------------------------------------------------
r2482 | zimmerma | 2013-03-07 17:57:34 +0100 (Thu, 07 Mar 2013) | 2 lines
Changed paths:
   M /trunk/resume.c

[resume.c] fixed typo in comment

------------------------------------------------------------------------
r2481 | kruppa | 2013-03-07 16:25:10 +0100 (Thu, 07 Mar 2013) | 2 lines
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/configure.in

Use AC_RUN_IFELSE() to test for SSE2, move definition of test program to acinclude.m4

------------------------------------------------------------------------
r2480 | kruppa | 2013-03-07 13:25:17 +0100 (Thu, 07 Mar 2013) | 3 lines
Changed paths:
   M /trunk/resume.c

Merge r2479 from branches/6.4.5:
  Fix infinite loop with MinGW gcc 4.8.0, most likely due to a compiler bug

------------------------------------------------------------------------
r2478 | brian_gladman | 2013-03-06 18:31:45 +0100 (Wed, 06 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10/tests.py
   M /trunk/build.vc11/tests.py

remove existing test output file before running tests (in Visual Studio builds)
------------------------------------------------------------------------
r2477 | morain | 2013-03-06 17:24:38 +0100 (Wed, 06 Mar 2013) | 2 lines
Changed paths:
   M /trunk/torsions.c

More curves having torsion Z14 or Z15 over quadratic fields.

------------------------------------------------------------------------
r2476 | kruppa | 2013-03-05 23:47:08 +0100 (Tue, 05 Mar 2013) | 3 lines
Changed paths:
   M /trunk/main.c

Merge r1897 from branches/nttdisk:
  Allow -treefile for P-1 and P+1

------------------------------------------------------------------------
r2475 | kruppa | 2013-03-05 23:39:48 +0100 (Tue, 05 Mar 2013) | 3 lines
Changed paths:
   M /trunk/parametrizations.c

Merge r2187 from branches/nttdisk:
  Fix rare memory leak when factor is found during computation of curve parameters

------------------------------------------------------------------------
r2474 | kruppa | 2013-03-05 23:31:17 +0100 (Tue, 05 Mar 2013) | 2 lines
Changed paths:
   A /trunk/techdocs/scaleV.tex

Simplified algorithm for the product of a polynomial scaled by a constant and its inverse

------------------------------------------------------------------------
r2473 | kruppa | 2013-03-05 23:27:04 +0100 (Tue, 05 Mar 2013) | 2 lines
Changed paths:
   M /trunk/resume.c

Merge r2141 from nttdisk branch

------------------------------------------------------------------------
r2472 | kruppa | 2013-03-05 21:20:03 +0100 (Tue, 05 Mar 2013) | 2 lines
Changed paths:
   M /trunk/random.c

Open /dev/random in binary mode

------------------------------------------------------------------------
r2471 | morain | 2013-03-04 20:36:21 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c
   M /trunk/torsions.c

More curves with torsion Z/15Z, some with Z/14Z.

------------------------------------------------------------------------
r2470 | morain | 2013-03-04 18:45:16 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c
   M /trunk/torsions.c

Adding curves with torsion Z/15Z over some quadratic fields.

------------------------------------------------------------------------
r2469 | morain | 2013-03-04 16:27:27 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c
   M /trunk/torsions.c
   M /trunk/torsions.h

Cleaning for preparing curves with torsion Z/15Z.

------------------------------------------------------------------------
r2468 | kruppa | 2013-03-04 15:22:55 +0100 (Mon, 04 Mar 2013) | 3 lines
Changed paths:
   M /trunk/test.gpuecm

Change first test to follow same command line patters as the others, 
so Brian can auto-convert them to Python

------------------------------------------------------------------------
r2467 | kruppa | 2013-03-04 15:11:19 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/README.dev

Added note on why ecm.1 is in the repo

------------------------------------------------------------------------
r2466 | morain | 2013-03-04 14:04:12 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/torsions.c

Adding more curves having 11-torsion over quadratic fields.

------------------------------------------------------------------------
r2465 | zimmerma | 2013-03-04 11:45:42 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   A /trunk/ecm.1

[ecm.1] put back since xsltproc and docbook.xsl are not everywhere

------------------------------------------------------------------------
r2464 | morain | 2013-03-04 11:27:06 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c
   M /trunk/torsions.c

Sorry, I forgot to compile.

------------------------------------------------------------------------
r2461 | zimmerma | 2013-03-04 11:01:16 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   D /trunk/ecm.1

[ecm.1] removed from svn since autogenerated from ecm.xml

------------------------------------------------------------------------
r2460 | morain | 2013-03-04 10:27:16 +0100 (Mon, 04 Mar 2013) | 2 lines
Changed paths:
   M /trunk/torsions.c

Preparing more fields for torsion Z11.

------------------------------------------------------------------------
r2459 | morain | 2013-03-03 18:42:45 +0100 (Sun, 03 Mar 2013) | 2 lines
Changed paths:
   M /trunk/multiecm.c

Stupid feature.

------------------------------------------------------------------------
r2458 | morain | 2013-03-03 18:21:16 +0100 (Sun, 03 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/torsions.c

Seems to work...

------------------------------------------------------------------------
r2457 | zimmerma | 2013-03-03 13:46:21 +0100 (Sun, 03 Mar 2013) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] updated for 6.4.4

------------------------------------------------------------------------
r2456 | zimmerma | 2013-03-03 13:44:22 +0100 (Sun, 03 Mar 2013) | 2 lines
Changed paths:
   M /trunk/README.dev

[README.dev] added revision numbers for releases 6.4.3 and 6.4.4

------------------------------------------------------------------------
r2455 | zimmerma | 2013-03-03 13:40:32 +0100 (Sun, 03 Mar 2013) | 2 lines
Changed paths:
   M /trunk/README.dev

[README.dev] updated steps for a new release

------------------------------------------------------------------------
r2454 | brian_gladman | 2013-03-02 23:41:32 +0100 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc11/tests.py

Test file update for Visual Studio 2012 build
------------------------------------------------------------------------
r2453 | brian_gladman | 2013-03-02 23:38:28 +0100 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   A /trunk/build.vc11
   A /trunk/build.vc11/Makefile.am
   A /trunk/build.vc11/assembler
   A /trunk/build.vc11/assembler/Makefile.am
   A /trunk/build.vc11/assembler/a_win32a_redc.asm
   A /trunk/build.vc11/assembler/a_win32p_mulredc.asm
   A /trunk/build.vc11/assembler/a_win32p_redc.asm
   A /trunk/build.vc11/assembler/a_x64_mulredc.asm
   A /trunk/build.vc11/assembler/a_x64_redc.asm
   A /trunk/build.vc11/assembler/mulredc.asm
   A /trunk/build.vc11/assembler/mulredc.h
   A /trunk/build.vc11/assembler/redc.asm
   A /trunk/build.vc11/assembler/test_mulredc.c
   A /trunk/build.vc11/bench_mulredc
   A /trunk/build.vc11/bench_mulredc/Makefile.am
   A /trunk/build.vc11/bench_mulredc/bench_mulredc.vcxproj
   A /trunk/build.vc11/bench_mulredc/bench_mulredc.vcxproj.filters
   A /trunk/build.vc11/config.h
   A /trunk/build.vc11/ecm
   A /trunk/build.vc11/ecm/Makefile.am
   A /trunk/build.vc11/ecm/ecm.vcxproj
   A /trunk/build.vc11/ecm/ecm.vcxproj.filters
   A /trunk/build.vc11/ecm.cuda.sln
   A /trunk/build.vc11/ecm.sln
   A /trunk/build.vc11/file_copy.bat
   A /trunk/build.vc11/gen_ecm_h.bat
   A /trunk/build.vc11/getopt.c
   A /trunk/build.vc11/getopt.h
   A /trunk/build.vc11/getrusage.c
   A /trunk/build.vc11/getrusage.h
   A /trunk/build.vc11/gpu_ecm
   A /trunk/build.vc11/gpu_ecm/gpu_ecm.vcxproj
   A /trunk/build.vc11/libecm
   A /trunk/build.vc11/libecm/Makefile.am
   A /trunk/build.vc11/libecm/libecm.vcxproj
   A /trunk/build.vc11/libecm/libecm.vcxproj.filters
   A /trunk/build.vc11/libecm_gpu
   A /trunk/build.vc11/libecm_gpu/Makefile.am
   A /trunk/build.vc11/libecm_gpu/libecm_gpu.vcxproj
   A /trunk/build.vc11/mp_lib.props
   A /trunk/build.vc11/out_copy_rename.bat
   A /trunk/build.vc11/python.bat
   A /trunk/build.vc11/readme.txt
   A /trunk/build.vc11/readme_gpu.txt
   A /trunk/build.vc11/tests.py
   A /trunk/build.vc11/tune
   A /trunk/build.vc11/tune/Makefile.am
   A /trunk/build.vc11/tune/tune.vcxproj
   A /trunk/build.vc11/tune/tune.vcxproj.filters
   A /trunk/build.vc11/vsyasm.props
   A /trunk/build.vc11/vsyasm.targets
   A /trunk/build.vc11/vsyasm.xml

commit build files for Visual Studio 2012
------------------------------------------------------------------------
r2452 | brian_gladman | 2013-03-02 23:27:17 +0100 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10
   M /trunk/build.vc10/config.h
   M /trunk/build.vc10/libecm/libecm.vcxproj
   D /trunk/build.vc10/mul_fft-params.h
   D /trunk/build.vc10/mul_fft-params.h.win32.amd
   D /trunk/build.vc10/mul_fft-params.h.win32.intel
   D /trunk/build.vc10/mul_fft-params.h.x64.amd
   D /trunk/build.vc10/mul_fft-params.h.x64.intel
   M /trunk/build.vc10/tests.py

Visual Studio build: improve handling of tests; enable OpenMP support; remove obsolete files
------------------------------------------------------------------------
r2451 | morain | 2013-03-02 21:03:58 +0100 (Sat, 02 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c

A little better, but still not enough.

------------------------------------------------------------------------
r2450 | morain | 2013-03-02 20:59:07 +0100 (Sat, 02 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/multiecm.c
   M /trunk/torsions.c

Evening version. Still not working.

------------------------------------------------------------------------
r2449 | morain | 2013-03-02 10:36:03 +0100 (Sat, 02 Mar 2013) | 3 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/ecm.h.in
   M /trunk/factor.c
   M /trunk/multiecm.c
   M /trunk/torsions.c

- Ready to change for more general ell_curve_t type with all coefficients.
- Corrected a bug in ecm_init.

------------------------------------------------------------------------
r2448 | morain | 2013-03-01 18:24:14 +0100 (Fri, 01 Mar 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/multiecm.c
   M /trunk/torsions.c

Advancing, still not working.

------------------------------------------------------------------------
r2447 | kruppa | 2013-03-01 18:04:09 +0100 (Fri, 01 Mar 2013) | 2 lines
Changed paths:
   M /trunk/basicdefs.h

Put in STRING(x) macro again, is used by SSE2 asm code

------------------------------------------------------------------------
r2446 | morain | 2013-03-01 14:47:37 +0100 (Fri, 01 Mar 2013) | 3 lines
Changed paths:
   M /trunk/ecm.1
   M /trunk/torsions.c

Changes made to simplify curve transformations, with application to Z11, not
finished yet.

------------------------------------------------------------------------
r2445 | kruppa | 2013-03-01 12:01:24 +0100 (Fri, 01 Mar 2013) | 2 lines
Changed paths:
   M /trunk/configure.in

Suggest --with-gmp in error message about GMP header and library version mismatch

------------------------------------------------------------------------
r2444 | brian_gladman | 2013-03-01 10:31:44 +0100 (Fri, 01 Mar 2013) | 1 line
Changed paths:
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj.filters

adjust Visual Studio build for a changed file name
------------------------------------------------------------------------
r2443 | morain | 2013-02-28 18:01:54 +0100 (Thu, 28 Feb 2013) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   D /trunk/manyecm.c
   A /trunk/multiecm.c (from /trunk/manyecm.c:2442)
   M /trunk/torsions.c
   M /trunk/torsions.h

Cosmetic changes + preparing the use of curves having torsion group
Z/11Z over some quadratic field.


------------------------------------------------------------------------
r2442 | kruppa | 2013-02-27 16:42:24 +0100 (Wed, 27 Feb 2013) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm.1
   M /trunk/ecm.xml

Merge r2438 from branches/6.4.4:
  Remove -t option from man page
  Makefile should look for ecm.xml in $(source)/

------------------------------------------------------------------------
r2437 | kruppa | 2013-02-26 19:53:09 +0100 (Tue, 26 Feb 2013) | 3 lines
Changed paths:
   M /trunk/pm1fs2.c

Merge r2435 from branches/6.4.4:
  Removed memory leak due to surplus mpres_init()

------------------------------------------------------------------------
r2432 | morain | 2013-02-21 18:29:37 +0100 (Thu, 21 Feb 2013) | 2 lines
Changed paths:
   M /trunk/torsions.c

More optimizations.

------------------------------------------------------------------------
r2431 | morain | 2013-02-21 18:18:44 +0100 (Thu, 21 Feb 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/torsions.c

Not a bug, but clarifications.

------------------------------------------------------------------------
r2430 | zimmerma | 2013-02-21 13:21:29 +0100 (Thu, 21 Feb 2013) | 3 lines
Changed paths:
   M /trunk/TODO
   M /trunk/configure.in
   M /trunk/rho.c

removed libgsl dependency for the user, since this is only required for
development work, cf http://trac.sagemath.org/sage_trac/ticket/14151#comment:20

------------------------------------------------------------------------
r2429 | zimmerma | 2013-02-21 11:27:05 +0100 (Thu, 21 Feb 2013) | 2 lines
Changed paths:
   M /trunk/TODO

[TODO] added 2 items

------------------------------------------------------------------------
r2428 | morain | 2013-02-20 20:57:25 +0100 (Wed, 20 Feb 2013) | 2 lines
Changed paths:
   M /trunk/torsions.c

More bug fixing is required.

------------------------------------------------------------------------
r2427 | morain | 2013-02-20 20:33:15 +0100 (Wed, 20 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Bug fix.

------------------------------------------------------------------------
r2426 | morain | 2013-02-20 19:21:58 +0100 (Wed, 20 Feb 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/torsions.c

Always cool to look for a bug that doesn't exist.

------------------------------------------------------------------------
r2425 | morain | 2013-02-20 19:15:26 +0100 (Wed, 20 Feb 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/manyecm.c
   M /trunk/torsions.c

Looking for a bug.

------------------------------------------------------------------------
r2424 | zimmerma | 2013-02-20 11:39:36 +0100 (Wed, 20 Feb 2013) | 2 lines
Changed paths:
   M /trunk/Makefile.am

[Makefile.am] -treefile is for ECM only (cf r1785)

------------------------------------------------------------------------
r2423 | zimmerma | 2013-02-19 21:05:07 +0100 (Tue, 19 Feb 2013) | 2 lines
Changed paths:
   M /trunk/champions.h

[champions.h] updated for ECM

------------------------------------------------------------------------
r2420 | zimmerma | 2013-02-19 20:58:56 +0100 (Tue, 19 Feb 2013) | 2 lines
Changed paths:
   M /trunk/INSTALL-ecm

[INSTALL-ecm] fixed installation location of manual page

------------------------------------------------------------------------
r2418 | zimmerma | 2013-02-19 20:45:44 +0100 (Tue, 19 Feb 2013) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] updated

------------------------------------------------------------------------
r2415 | kruppa | 2013-02-19 18:10:30 +0100 (Tue, 19 Feb 2013) | 5 lines
Changed paths:
   M /trunk/ecm-gmp.h
   M /trunk/ecm-impl.h
   M /trunk/mpmod.c

Merge r2412,r2413 from 6.4.4 branch:
  Define correct __gmpn_redc_{12} prototype for GMP <5.1. Define REDC{12} macros only if the functions exist.
  Test was backwards :(


------------------------------------------------------------------------
r2410 | kruppa | 2013-02-19 13:29:22 +0100 (Tue, 19 Feb 2013) | 2 lines
Changed paths:
   M /trunk/basicdefs.h

Use defined() for HAVE_ALLOCA_H test

------------------------------------------------------------------------
r2409 | morain | 2013-02-16 20:40:15 +0100 (Sat, 16 Feb 2013) | 5 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm.c
   M /trunk/ecm.h.in
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/manyecm.c
   M /trunk/torsions.c
   M /trunk/torsions.h

Rationalizing things: 
1) ec_curve -> ell_curve, ec_point -> ell_point
2) added E->law to distinguish affine and homogeneous addition laws, better
than _AFF and _HOM. Only Weierstrass is affected.

------------------------------------------------------------------------
r2408 | morain | 2013-02-15 15:51:39 +0100 (Fri, 15 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

bug fix.

------------------------------------------------------------------------
r2403 | kruppa | 2013-02-13 18:30:55 +0100 (Wed, 13 Feb 2013) | 2 lines
Changed paths:
   M /trunk/mpmod.c

Typo

------------------------------------------------------------------------
r2401 | kruppa | 2013-02-13 17:54:49 +0100 (Wed, 13 Feb 2013) | 2 lines
Changed paths:
   M /trunk/mpmod.c

Use do{}while(0) idiom for compound code in macro

------------------------------------------------------------------------
r2398 | bouvierc | 2013-02-13 14:20:14 +0100 (Wed, 13 Feb 2013) | 3 lines
Changed paths:
   M /trunk/README.gpu
   D /trunk/gpu

Remove old and useless gpu directory
Add some details on README.gpu

------------------------------------------------------------------------
r2397 | morain | 2013-02-12 18:33:47 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Slightly modifying output.

------------------------------------------------------------------------
r2396 | morain | 2013-02-12 17:22:48 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/stage2.c

Cleaning code for CM curves + protecting stage2.

------------------------------------------------------------------------
r2395 | bouvierc | 2013-02-12 16:54:05 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/test.gpuecm

New test file for the GPU code

------------------------------------------------------------------------
r2394 | bouvierc | 2013-02-12 16:08:19 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Small changes in cudawrapper.c

------------------------------------------------------------------------
r2393 | bouvierc | 2013-02-12 15:59:34 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Small changes to adapt GPU code for latest changes in stage2

------------------------------------------------------------------------
r2392 | zimmerma | 2013-02-12 11:59:48 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/README.gpu

[README.gpu] fixed a few typos

------------------------------------------------------------------------
r2391 | morain | 2013-02-12 09:46:55 +0100 (Tue, 12 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Cleaning the use of squareroots for CM curves. Not completely finished.

------------------------------------------------------------------------
r2390 | brian_gladman | 2013-02-11 20:30:03 +0100 (Mon, 11 Feb 2013) | 1 line
Changed paths:
   M /trunk/cmecm.c

Correct out of order declaration
------------------------------------------------------------------------
r2389 | morain | 2013-02-11 18:49:33 +0100 (Mon, 11 Feb 2013) | 3 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/cmecm.c
   M /trunk/manyecm.c

* fixed compiler warnings
* improved management of squareroots in CMECM. Not finished.

------------------------------------------------------------------------
r2388 | morain | 2013-02-11 14:31:29 +0100 (Mon, 11 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Preparing the use of more squareroots modulo N.

------------------------------------------------------------------------
r2387 | morain | 2013-02-11 11:17:37 +0100 (Mon, 11 Feb 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c
   M /trunk/stage2.c

Various bug fixes + improvement in dump_curves.

------------------------------------------------------------------------
r2386 | morain | 2013-02-10 18:29:59 +0100 (Sun, 10 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/stage2.c

Bug fix.

------------------------------------------------------------------------
r2385 | morain | 2013-02-10 17:45:51 +0100 (Sun, 10 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/manyecm.c

D=-8 seems to work.

------------------------------------------------------------------------
r2384 | morain | 2013-02-09 10:55:39 +0100 (Sat, 09 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Fixing stupid bug.

------------------------------------------------------------------------
r2383 | morain | 2013-02-08 20:30:46 +0100 (Fri, 08 Feb 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Bug fix that prevented CM curves to be used on ordinary numbers.

------------------------------------------------------------------------
r2382 | morain | 2013-02-08 18:37:39 +0100 (Fri, 08 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c

More -8 stuff. Not ready yet!

------------------------------------------------------------------------
r2381 | morain | 2013-02-08 17:48:57 +0100 (Fri, 08 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/manyecm.c

Preparing the case D=-8.

------------------------------------------------------------------------
r2380 | morain | 2013-02-07 15:59:54 +0100 (Thu, 07 Feb 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c
   M /trunk/torsions.h

More prototypes, less bugs.

------------------------------------------------------------------------
r2379 | morain | 2013-02-07 15:08:50 +0100 (Thu, 07 Feb 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/cmecm.c
   M /trunk/manyecm.c

Some cleaning + preparing the use of Montgomery curves for D=-4.

------------------------------------------------------------------------
r2378 | brian_gladman | 2013-02-06 17:05:04 +0100 (Wed, 06 Feb 2013) | 1 line
Changed paths:
   A /trunk/build.vc10/gen_ecm_h.bat
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj.filters
   A /trunk/build.vc10/out_copy_rename.bat

Pick up the ECM_VERSION define in Visual Studio build
------------------------------------------------------------------------
r2377 | brian_gladman | 2013-02-06 14:20:37 +0100 (Wed, 06 Feb 2013) | 1 line
Changed paths:
   M /trunk/ecm-gmp.h

Guard defines needed by GMP that cause errors when MPIR is used
------------------------------------------------------------------------
r2376 | morain | 2013-02-05 20:32:27 +0100 (Tue, 05 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c

This way, it works better for D=-3.

------------------------------------------------------------------------
r2375 | morain | 2013-02-05 19:13:38 +0100 (Tue, 05 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c

should be better this way, anyhow.

------------------------------------------------------------------------
r2374 | morain | 2013-02-05 19:09:57 +0100 (Tue, 05 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/stage2.c

Case D=-3. Not clear it really works. TBC.

------------------------------------------------------------------------
r2373 | morain | 2013-02-05 12:01:58 +0100 (Tue, 05 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/manyecm.c
   M /trunk/stage2.c

Preparing for fast CM step2 for more D's.

------------------------------------------------------------------------
r2372 | morain | 2013-02-04 21:54:03 +0100 (Mon, 04 Feb 2013) | 3 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/manyecm.c
   M /trunk/stage2.c

Some cleaning + reintroduction of B2; that B2 is not modified by later
functions, as far as CM curves are concerned.

------------------------------------------------------------------------
r2371 | morain | 2013-02-03 12:14:25 +0100 (Sun, 03 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/stage2.c

Much faster D=-4 algo. More stuff could be done, with more work.

------------------------------------------------------------------------
r2370 | morain | 2013-02-02 17:46:39 +0100 (Sat, 02 Feb 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/stage2.c

A first attempt at a faster version for D=-4. To be continued.

------------------------------------------------------------------------
r2369 | morain | 2013-02-01 18:06:54 +0100 (Fri, 01 Feb 2013) | 3 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm-impl.h
   M /trunk/ecm2.c
   M /trunk/stage2.c

Fixed compiler warnings indicating bad pointer protos. Testing before
implementing a new faster version for CM stuff.

------------------------------------------------------------------------
r2368 | morain | 2013-02-01 17:30:50 +0100 (Fri, 01 Feb 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/cmecm.c
   M /trunk/ecm-impl.h
   M /trunk/manyecm.c
   M /trunk/torsions.c

Changing protos of ec_curve_init_* to make this clearer and easier to use.

------------------------------------------------------------------------
r2367 | morain | 2013-01-31 20:27:46 +0100 (Thu, 31 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Misc.

------------------------------------------------------------------------
r2366 | morain | 2013-01-31 18:31:53 +0100 (Thu, 31 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/manyecm.c
   M /trunk/stage2.c

Various fixes to make CMECM work in the case D=-4. Now testing.

------------------------------------------------------------------------
r2365 | morain | 2013-01-30 20:46:34 +0100 (Wed, 30 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/manyecm.c
   M /trunk/stage2.c

bug fix. CM still not working yet.

------------------------------------------------------------------------
r2364 | morain | 2013-01-30 18:52:45 +0100 (Wed, 30 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/ecm2.c
   M /trunk/stage2.c

There is a bug somewhere.

------------------------------------------------------------------------
r2363 | morain | 2013-01-30 18:17:55 +0100 (Wed, 30 Jan 2013) | 4 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/ecm.h.in
   M /trunk/main.c
   M /trunk/manyecm.c
   M /trunk/torsions.c

Cleaned up the ECM_EC_TYPE_WEIERSTRASS to add the _ADD and _HOM version,
so that the choice of computations can be made easily, depending on the
part of the code where a curve is used.

------------------------------------------------------------------------
r2362 | morain | 2013-01-29 17:39:03 +0100 (Tue, 29 Jan 2013) | 3 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/manyecm.c

Advancing in ecm_rootsG_init_CM. Ideas seem clear now, still some fiddling
needed.

------------------------------------------------------------------------
r2361 | morain | 2013-01-27 17:24:42 +0100 (Sun, 27 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/manyecm.c
   M /trunk/stage2.c

Slowly advancing on the stage2 continuation for CM curves.

------------------------------------------------------------------------
r2360 | morain | 2013-01-26 17:38:16 +0100 (Sat, 26 Jan 2013) | 3 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/stage2.c

Implementation of ecm_rootsF for the CM continuation. Having some rest
before attacking ecm_rootsG...

------------------------------------------------------------------------
r2359 | morain | 2013-01-26 10:58:15 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/cmecm.c
   M /trunk/cmecm.h
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/main.c

Reorganizing code for preparing fast CM stage2 using stage2().

------------------------------------------------------------------------
r2358 | kruppa | 2013-01-26 01:34:07 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/configure.in

Remaining merges to configure.in

------------------------------------------------------------------------
r2357 | kruppa | 2013-01-26 01:15:48 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/mpmod.c
   M /trunk/pm1fs2.c

Merge r2014 into trunk

------------------------------------------------------------------------
r2356 | kruppa | 2013-01-26 01:06:44 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/pm1.c

Merge r2057 into trunk

------------------------------------------------------------------------
r2355 | kruppa | 2013-01-26 01:01:21 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h.in
   M /trunk/factor.c
   M /trunk/pm1.c
   M /trunk/pp1.c
   M /trunk/stage2.c

Remove old P+-1 stage 2 code

------------------------------------------------------------------------
r2354 | kruppa | 2013-01-26 01:00:16 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/spv.c

Function for checking an spv_t with valgrind

------------------------------------------------------------------------
r2353 | kruppa | 2013-01-26 00:36:49 +0100 (Sat, 26 Jan 2013) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/auxlib.c
   A /trunk/basicdefs.h (from /branches/nttdisk/basicdefs.h:1705)
   M /trunk/batch.c
   M /trunk/configure.in
   M /trunk/ecm-gmp.h
   M /trunk/ecm-impl.h
   M /trunk/listz.c
   A /trunk/listz_handle.c
   A /trunk/listz_handle.h
   M /trunk/sp.h

Merged some files and commits from nttdisk branch into trunk

------------------------------------------------------------------------
r2352 | morain | 2013-01-25 20:52:13 +0100 (Fri, 25 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/ecm.c

bug fixes.

------------------------------------------------------------------------
r2351 | morain | 2013-01-25 18:23:25 +0100 (Fri, 25 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.1
   M /trunk/ecm.c
   M /trunk/manyecm.c

Preparing for the use of stage2() for CM curves.

------------------------------------------------------------------------
r2350 | morain | 2013-01-24 20:46:46 +0100 (Thu, 24 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/manyecm.c

Enlarging the CM possibilities for more b in b^n+/-1.

------------------------------------------------------------------------
r2349 | kruppa | 2013-01-24 18:47:09 +0100 (Thu, 24 Jan 2013) | 5 lines
Changed paths:
   M /trunk/configure.in

Rename M4 macro ECM_VERSION to ECM_VERSION_AC so ECM_VERSION is available for a preprocessor #define
Using the same name for both M4 macro and preprocessor define causes autoreconf to abort; 
newer versions (e.g., 2.69) abort when using AC_DEFINE([ECM_VERSION], ...), 
older ones (e.g., 2.63) abort when using AC_DEFINE([[ECM_VERSION]], ...)

------------------------------------------------------------------------
r2348 | morain | 2013-01-24 18:28:09 +0100 (Thu, 24 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Using more squareroots stuff. To be continued.

------------------------------------------------------------------------
r2347 | morain | 2013-01-24 17:21:16 +0100 (Thu, 24 Jan 2013) | 4 lines
Changed paths:
   M /trunk/manyecm.c

Changing the format of bn files in order to input lines as
2 930+ 37540997251938836376842608371169023128713931761
which is cleaner and the format of some tables of large numbers.

------------------------------------------------------------------------
r2346 | morain | 2013-01-21 18:28:14 +0100 (Mon, 21 Jan 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/manyecm.c

Experimental use of CM curves, particularly for an alternate Step 2.

------------------------------------------------------------------------
r2345 | kruppa | 2013-01-21 18:07:24 +0100 (Mon, 21 Jan 2013) | 2 lines
Changed paths:
   M /trunk/configure.in
   D /trunk/ecm.h
   A /trunk/ecm.h.in (from /trunk/ecm.h:2343)

Make ecm.h an .in file and let configure substitute the version string for the ECM_VERSION macro

------------------------------------------------------------------------
r2344 | kruppa | 2013-01-21 17:10:17 +0100 (Mon, 21 Jan 2013) | 2 lines
Changed paths:
   M /trunk/main.c

Remove stray '$'

------------------------------------------------------------------------
r2343 | morain | 2013-01-18 18:09:39 +0100 (Fri, 18 Jan 2013) | 2 lines
Changed paths:
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/cmecm.c
   M /trunk/ecm.c
   M /trunk/manyecm.c
   M /trunk/torsions.c

Some improvements.

------------------------------------------------------------------------
r2342 | bouvierc | 2013-01-18 16:45:33 +0100 (Fri, 18 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu

GPU: Make all asm line volatile. Allow compilation with CUDA 5.0.

------------------------------------------------------------------------
r2341 | morain | 2013-01-17 19:07:16 +0100 (Thu, 17 Jan 2013) | 3 lines
Changed paths:
   M /trunk/cmecm.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/manyecm.c
   M /trunk/resume.c

Modifying things in such a way that I can pass an ec_curve_t to ecm via
params. This is needed when using CM curves and their accompanying parameters.

------------------------------------------------------------------------
r2340 | morain | 2013-01-16 17:39:55 +0100 (Wed, 16 Jan 2013) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/addlaws.c
   M /trunk/addlaws.h
   M /trunk/ecm.c

Moving most recent addition laws to addlaws.{c,h}.

------------------------------------------------------------------------
r2339 | morain | 2013-01-16 11:59:20 +0100 (Wed, 16 Jan 2013) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/addlaws.c
   A /trunk/addlaws.h
   A /trunk/cmecm.c
   A /trunk/cmecm.h
   M /trunk/manyecm.c
   A /trunk/torsions.c
   A /trunk/torsions.h

Regrouping things in logical files. To prepare for more.

------------------------------------------------------------------------
r2338 | morain | 2013-01-15 20:45:14 +0100 (Tue, 15 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Reorganizing things to prepare for more.

------------------------------------------------------------------------
r2337 | morain | 2013-01-15 19:00:24 +0100 (Tue, 15 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

A few things.

------------------------------------------------------------------------
r2336 | morain | 2013-01-15 17:39:46 +0100 (Tue, 15 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Ready to use for CM curves.

------------------------------------------------------------------------
r2335 | bouvierc | 2013-01-15 15:22:05 +0100 (Tue, 15 Jan 2013) | 4 lines
Changed paths:
   M /trunk/cudakernel.cu
   A /trunk/cudakernel_default.cu
   M /trunk/main.c

*Add option -gpucurves to choose the number of curves in parallel for GPU code
*Workaround for the bug in CUDA 5.0
*Begin to allow specific code for each GPU

------------------------------------------------------------------------
r2334 | morain | 2013-01-15 10:14:10 +0100 (Tue, 15 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Less bugs. More CM twists.

------------------------------------------------------------------------
r2333 | morain | 2013-01-15 09:19:18 +0100 (Tue, 15 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Fixed really stupid bug + introduced twists of CM curves. To be continued.

------------------------------------------------------------------------
r2332 | morain | 2013-01-14 20:47:45 +0100 (Mon, 14 Jan 2013) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Preparing twists for -3 and -4. Not working yet.

------------------------------------------------------------------------
r2331 | morain | 2013-01-14 18:32:48 +0100 (Mon, 14 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Using large batches in addition-subtraction form, now for a zero cost.

------------------------------------------------------------------------
r2330 | bouvierc | 2013-01-14 17:23:46 +0100 (Mon, 14 Jan 2013) | 3 lines
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/cudakernel.h

Add possibility to compile for GPU of compute capability 3.5 (compilation worked
but never been executed on a actual card)

------------------------------------------------------------------------
r2329 | morain | 2013-01-14 15:27:54 +0100 (Mon, 14 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c

Correcting stupid bug in ..add_sub_with_S (underestimating k).

------------------------------------------------------------------------
r2328 | morain | 2013-01-13 20:47:03 +0100 (Sun, 13 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c

Some advances, not finished.

------------------------------------------------------------------------
r2327 | morain | 2013-01-13 19:09:46 +0100 (Sun, 13 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm.c

Changing add-sub chains. Not working yet.

------------------------------------------------------------------------
r2326 | morain | 2013-01-10 16:51:30 +0100 (Thu, 10 Jan 2013) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/manyecm.c

Correcting a potential bug + introducing E->disc for later use.

------------------------------------------------------------------------
r2325 | morain | 2013-01-10 15:20:45 +0100 (Thu, 10 Jan 2013) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Unactivating add-sub chains temporarily, I need time to clean them and make 
them faster.

------------------------------------------------------------------------
r2324 | bouvierc | 2013-01-10 11:27:26 +0100 (Thu, 10 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/ecm-gpu.h

Little cleaning of typedef for GPU code + add error check after copy

------------------------------------------------------------------------
r2323 | bouvierc | 2013-01-03 14:22:41 +0100 (Thu, 03 Jan 2013) | 2 lines
Changed paths:
   M /trunk/main.c

Add -gpudevice option, to choose the device on which the GPU is executed.

------------------------------------------------------------------------
r2322 | bouvierc | 2013-01-03 14:03:50 +0100 (Thu, 03 Jan 2013) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Fix in gpu code after the changes in print_B1_B2poly function.

------------------------------------------------------------------------
r2321 | bouvierc | 2013-01-03 13:30:00 +0100 (Thu, 03 Jan 2013) | 2 lines
Changed paths:
   M /trunk/README.gpu

Typos

------------------------------------------------------------------------
r2320 | zimmerma | 2012-12-30 22:08:32 +0100 (Sun, 30 Dec 2012) | 3 lines
Changed paths:
   M /trunk/ecm-gmp.h
   M /trunk/ecm-impl.h
   M /trunk/mpmod.c

[mpmod.c] fix to deal with change of semantics of the internal GMP functions
	  mpn_redc_1 and mpn_redc_2

------------------------------------------------------------------------
r2319 | morain | 2012-12-28 18:19:45 +0100 (Fri, 28 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Some progress made, but not really operational. To be continued next year.

------------------------------------------------------------------------
r2318 | morain | 2012-12-28 14:55:50 +0100 (Fri, 28 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Still working. Perhaps this will have to wait for next year.

------------------------------------------------------------------------
r2317 | morain | 2012-12-28 11:50:50 +0100 (Fri, 28 Dec 2012) | 4 lines
Changed paths:
   M /trunk/manyecm.c

Preparing for the automatic choice of CM curves for special numbers,
as more or less explained in the Atkin/M. Math. Comp. paper of 1993, last
section.

------------------------------------------------------------------------
r2316 | morain | 2012-12-27 17:10:53 +0100 (Thu, 27 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Moving -4 to Weierstrass form.

------------------------------------------------------------------------
r2315 | morain | 2012-12-27 10:47:27 +0100 (Thu, 27 Dec 2012) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/manyecm.c

Making the CM stuff more useful...

------------------------------------------------------------------------
r2314 | morain | 2012-12-26 17:31:02 +0100 (Wed, 26 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Adding new CM curves.

------------------------------------------------------------------------
r2313 | morain | 2012-12-26 13:50:12 +0100 (Wed, 26 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Suboptimal quantity improved.

------------------------------------------------------------------------
r2312 | morain | 2012-12-26 13:04:13 +0100 (Wed, 26 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Taking the precomputation of prodB1 from the outer loop.

------------------------------------------------------------------------
r2311 | morain | 2012-12-24 18:04:50 +0100 (Mon, 24 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Still working.

------------------------------------------------------------------------
r2310 | pcl | 2012-12-24 09:51:33 +0100 (Mon, 24 Dec 2012) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Add missing Etype param to print_B1_B2_poly()

------------------------------------------------------------------------
r2309 | morain | 2012-12-24 09:35:42 +0100 (Mon, 24 Dec 2012) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/manyecm.c

Taking full power out of CM curves.

------------------------------------------------------------------------
r2308 | morain | 2012-12-23 20:37:27 +0100 (Sun, 23 Dec 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Introducing the CM curves, this old idea of Atkin in our paper. Just the
beginning of it.

------------------------------------------------------------------------
r2307 | morain | 2012-12-20 20:44:17 +0100 (Thu, 20 Dec 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Some advances (and ugly stuff) for sharing batch add-sub chains. To be
continued.

------------------------------------------------------------------------
r2306 | morain | 2012-12-19 20:59:20 +0100 (Wed, 19 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Bug corrected. Towards preparing the add-sub chain once and for all.

------------------------------------------------------------------------
r2305 | morain | 2012-12-18 20:47:31 +0100 (Tue, 18 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Added timing. But there is a bug somewhere.

------------------------------------------------------------------------
r2304 | zimmerma | 2012-12-18 18:14:04 +0100 (Tue, 18 Dec 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.in

[Makefile.am,configure.in] patch from Jean-Pierre Flori to build a dynamic library

------------------------------------------------------------------------
r2303 | morain | 2012-12-17 21:12:36 +0100 (Mon, 17 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Almost done, we need to estimate the size of S.

------------------------------------------------------------------------
r2302 | morain | 2012-12-17 21:07:02 +0100 (Mon, 17 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Preparing the computation of the NAF for a mpz_t.

------------------------------------------------------------------------
r2301 | morain | 2012-12-17 18:52:45 +0100 (Mon, 17 Dec 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c

New coding output in add-sub chain. Tested for single-digit numbers.
To be continued.

------------------------------------------------------------------------
r2300 | morain | 2012-12-16 17:48:31 +0100 (Sun, 16 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Preparing for a more compact add-sub chain exponentiation program.

------------------------------------------------------------------------
r2299 | morain | 2012-12-15 17:36:37 +0100 (Sat, 15 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Preparing for a batch version using add-sub chains.

------------------------------------------------------------------------
r2298 | zimmerma | 2012-12-14 19:10:27 +0100 (Fri, 14 Dec 2012) | 2 lines
Changed paths:
   M /trunk/mpzspv.c

[mpzspv.c] completed reference

------------------------------------------------------------------------
r2297 | morain | 2012-12-13 13:30:31 +0100 (Thu, 13 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Better dichotomy.

------------------------------------------------------------------------
r2296 | morain | 2012-12-12 19:01:49 +0100 (Wed, 12 Dec 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Cleaning the dichotomy stuff, but not very satisfactory, since B2 is determined
elsewhere.

------------------------------------------------------------------------
r2295 | morain | 2012-12-11 20:55:41 +0100 (Tue, 11 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

experimental feature. Not fully tested.

------------------------------------------------------------------------
r2294 | morain | 2012-12-11 18:59:41 +0100 (Tue, 11 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Misc.

------------------------------------------------------------------------
r2293 | morain | 2012-12-10 18:49:00 +0100 (Mon, 10 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

withdrawing B2.

------------------------------------------------------------------------
r2292 | morain | 2012-12-10 18:46:35 +0100 (Mon, 10 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

some more fiddling.

------------------------------------------------------------------------
r2291 | morain | 2012-12-10 17:48:03 +0100 (Mon, 10 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Improved code.

------------------------------------------------------------------------
r2290 | morain | 2012-12-10 13:54:44 +0100 (Mon, 10 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Withdrawing the zold stuff.

------------------------------------------------------------------------
r2289 | morain | 2012-12-09 20:40:48 +0100 (Sun, 09 Dec 2012) | 18 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Took away patch for the z = 0 case while waiting for reactions: does one prefer
less cases with "found input number" and change the test cases in test.ecm?
Or stick to the actual situation with more cases? I vote for less cases,
any objection? If no, I will modify the tests.

For those who are interested: when n is "small" and B1 "large", this happens
quite too often not to take action against it.

To summarize: imagine n = p * q with 
m_p = order(P mod p) < m_q = order(P mod q) 
and r_p, r_q the largest prime factors of m_p, m_q such that
r_p < r_q < B1. Then z_{r_p} mod p will be 0 but z_{r_p} will not be 0 mod q.
For r < r_q, z_{r} mod p will continue to be 0, but not mod q. For all these,
gcd(z_{r_p}, n) > 1. When we hit z_{r_q}, then gcd(z_{r_q}, n) = n. 
In my opinion, it is worth keeping the preceding z.

The only case where the patch will fail is the (rare) event when r_p = r_q.

------------------------------------------------------------------------
r2288 | morain | 2012-12-09 20:28:44 +0100 (Sun, 09 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Improving the case z = 0 somewhat.

------------------------------------------------------------------------
r2287 | morain | 2012-12-09 19:06:58 +0100 (Sun, 09 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Tracking an odd phenomenon.

------------------------------------------------------------------------
r2286 | morain | 2012-12-09 17:58:49 +0100 (Sun, 09 Dec 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

bug fix + typo.

------------------------------------------------------------------------
r2285 | morain | 2012-12-05 21:41:10 +0100 (Wed, 05 Dec 2012) | 6 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/resume.c

Tried to make save/resume work for manyecm.

Did anybody use save/resume in the classical case recently? It could be there
is an interaction problem between PARAM=1 and BATCH_MODE, which I do not
understand (try any example). If anybody has a clue?

------------------------------------------------------------------------
r2284 | morain | 2012-12-05 11:34:25 +0100 (Wed, 05 Dec 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.h
   M /trunk/main.c
   M /trunk/manyecm.c
   M /trunk/resume.c

Working on the save/resume feature for manyecm and different ec forms. Not
working yet.

------------------------------------------------------------------------
r2283 | morain | 2012-12-04 21:00:45 +0100 (Tue, 04 Dec 2012) | 3 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/manyecm.c
   M /trunk/resume.c

Simplifying write_resumefile so that it is easier to use from manyecm.c,
one day.

------------------------------------------------------------------------
r2282 | morain | 2012-12-04 09:35:05 +0100 (Tue, 04 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Slight improvement to counter a sub-optimal ordering of operations.

------------------------------------------------------------------------
r2281 | morain | 2012-12-03 21:15:50 +0100 (Mon, 03 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Tackling the comp/comp problem.

------------------------------------------------------------------------
r2280 | morain | 2012-12-03 14:39:41 +0100 (Mon, 03 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Better, no?

------------------------------------------------------------------------
r2279 | morain | 2012-12-03 13:29:11 +0100 (Mon, 03 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Adding Z2xZ12.

------------------------------------------------------------------------
r2278 | morain | 2012-12-03 11:21:55 +0100 (Mon, 03 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

More checking.

------------------------------------------------------------------------
r2277 | morain | 2012-12-02 21:27:08 +0100 (Sun, 02 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Improving dump.

------------------------------------------------------------------------
r2276 | morain | 2012-12-02 17:29:47 +0100 (Sun, 02 Dec 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Experimental code. Not quite convincing right now.

------------------------------------------------------------------------
r2275 | morain | 2012-11-28 20:47:32 +0100 (Wed, 28 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Getting ready for Z5xZ5.

------------------------------------------------------------------------
r2274 | morain | 2012-11-28 10:52:51 +0100 (Wed, 28 Nov 2012) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/manyecm.c

Simplifying and correcting manyecm.c .

------------------------------------------------------------------------
r2273 | morain | 2012-11-27 20:41:36 +0100 (Tue, 27 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

repairing the manyecm from_file stuff. Added Hessian option when needed.

------------------------------------------------------------------------
r2272 | morain | 2012-11-27 18:35:11 +0100 (Tue, 27 Nov 2012) | 2 lines
Changed paths:
   M /trunk/README

typo.

------------------------------------------------------------------------
r2271 | morain | 2012-11-27 18:17:50 +0100 (Tue, 27 Nov 2012) | 2 lines
Changed paths:
   M /trunk/README

Some infos on -H option in ecm.

------------------------------------------------------------------------
r2270 | morain | 2012-11-27 18:14:27 +0100 (Tue, 27 Nov 2012) | 17 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c
   M /trunk/test.ecm

Hessian forms are ok, now, following a solution to a theoretical glitch.
This means that the torsion groups Z3xZ3 or better Z3xZ6 can be used, when it
is known that there is of some factor p of N that is 1 mod 3. In that case,
E mod p will have cardinality divisible by 18. The Hessian law is not so slow,
though still slower than Montgomery. To use them

./manyecm -torsion Z3xZ6 -smin 10 -smax 100 -ncurves 10 -inp fact.input -B1...

Or you may try
./ecm -H 2 -x0 2 -y0 3 ...
for Hessian curve with D=2 to be used with base point x0, y0.

After stage1, the Hessian curves are converted to Weierstrass form to be
able to use stage2.

More details in the paper I am currently writing.

------------------------------------------------------------------------
r2269 | morain | 2012-11-26 21:35:09 +0100 (Mon, 26 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/pm1.c
   M /trunk/pp1.c
   M /trunk/test.ecm

Advances in the Hessian stuff, not finished.

------------------------------------------------------------------------
r2268 | morain | 2012-11-26 16:25:33 +0100 (Mon, 26 Nov 2012) | 3 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm

Hessian form implemented and a first test has been added to test.ecm .
More to come, including an updated README...

------------------------------------------------------------------------
r2267 | morain | 2012-11-26 13:01:04 +0100 (Mon, 26 Nov 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/manyecm.c

More cleaning, to prepare for Hessian form. Compiler warnings will disappear
later on this afternoon.

------------------------------------------------------------------------
r2266 | morain | 2012-11-26 09:33:52 +0100 (Mon, 26 Nov 2012) | 7 lines
Changed paths:
   M /trunk/main.c
   M /trunk/manyecm.c

Correction of bugs found by David C. Sorry about this, I tend to use
'./test.ecm ./ecm' instead of 'make check', which is a bad idea. 

I withdraw the setlinebuf line, which is not essential.

FM

------------------------------------------------------------------------
r2265 | morain | 2012-11-25 21:21:59 +0100 (Sun, 25 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Bugs found. Not completely operational.

------------------------------------------------------------------------
r2264 | morain | 2012-11-25 17:23:44 +0100 (Sun, 25 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

More cleaning; manyecm still not working.

------------------------------------------------------------------------
r2263 | morain | 2012-11-25 12:02:54 +0100 (Sun, 25 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/manyecm.c

Cleaning in progress.

------------------------------------------------------------------------
r2262 | morain | 2012-11-24 18:47:11 +0100 (Sat, 24 Nov 2012) | 4 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/manyecm.c

Began some cleaning work, introducing clean types for curves and points.
Warning: manyecm.c is out of work right now, but ecm is ok. I may suggest
to replace curve by ec_curve_t and point by ec_point_t at some point.

------------------------------------------------------------------------
r2261 | morain | 2012-11-23 17:37:32 +0100 (Fri, 23 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

One more step to cleaning the sigma_is_A variable.

------------------------------------------------------------------------
r2260 | morain | 2012-11-23 14:41:50 +0100 (Fri, 23 Nov 2012) | 5 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/ecm.h

- Some cleaning, preparing for more one day (sigma_is_A) and preparing some
other curves (Hessian forms for torsion Z/3xZ/3).
- Addition-subtraction chains for Weierstrass curves, though the mecanism is
quite generic.

------------------------------------------------------------------------
r2259 | morain | 2012-11-19 18:59:22 +0100 (Mon, 19 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Beginning of add-sub chains in pt_w_mul.

------------------------------------------------------------------------
r2258 | morain | 2012-11-16 11:03:05 +0100 (Fri, 16 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Beginner's mistake. Some more stuff added.

------------------------------------------------------------------------
r2257 | morain | 2012-11-15 20:45:28 +0100 (Thu, 15 Nov 2012) | 2 lines
Changed paths:
   M /trunk/factor.c
   M /trunk/manyecm.c

Found some bugs, but still tracking a resistant one.

------------------------------------------------------------------------
r2256 | brian_gladman | 2012-11-13 09:53:47 +0100 (Tue, 13 Nov 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/assembler/mulredc.asm
   M /trunk/build.vc10/assembler/redc.asm

minor fix for Visual Studio win32 build
------------------------------------------------------------------------
r2255 | bouvierc | 2012-11-12 14:44:30 +0100 (Mon, 12 Nov 2012) | 3 lines
Changed paths:
   M /trunk/README.gpu
   M /trunk/cudakernel.h

cudakernel.h: new number of blocks per MP for GPU NVIDIA 3.0
README.gpu: typos

------------------------------------------------------------------------
r2254 | morain | 2012-11-12 11:32:16 +0100 (Mon, 12 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Preparing for more useful use of curves from file.

------------------------------------------------------------------------
r2253 | morain | 2012-11-11 17:29:13 +0100 (Sun, 11 Nov 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Slightly faster parallel multiplication on Weierstrass curves. We'd better use
window methods, but this is boring, actually.

------------------------------------------------------------------------
r2252 | morain | 2012-11-11 15:44:54 +0100 (Sun, 11 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Thanks to David C. to point out this stupid writing.

------------------------------------------------------------------------
r2251 | morain | 2012-11-10 17:58:12 +0100 (Sat, 10 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Better that way.

------------------------------------------------------------------------
r2250 | morain | 2012-11-10 17:43:54 +0100 (Sat, 10 Nov 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Z2xZ8 seems operational. Curves are directly generated in Montgomery form
and can thus be fed directly in ecm.

------------------------------------------------------------------------
r2249 | morain | 2012-11-09 19:35:36 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Beginning of Z2xZ8.

------------------------------------------------------------------------
r2248 | morain | 2012-11-09 19:15:36 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Less bugs now.

------------------------------------------------------------------------
r2247 | morain | 2012-11-09 16:09:25 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

"typos".

------------------------------------------------------------------------
r2246 | morain | 2012-11-09 16:06:43 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Added some dump procedure for checking in Magma.

------------------------------------------------------------------------
r2245 | morain | 2012-11-09 15:26:16 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Added Z9 and Z10, preparing for Z2xZ8 (directly in Montgomery form).

------------------------------------------------------------------------
r2244 | morain | 2012-11-09 11:28:22 +0100 (Fri, 09 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Z7 torsion debugged and operational.

------------------------------------------------------------------------
r2243 | morain | 2012-11-08 21:00:44 +0100 (Thu, 08 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Z7 still doesn't work.

------------------------------------------------------------------------
r2242 | morain | 2012-11-08 18:43:06 +0100 (Thu, 08 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Preparing more torsion curves. Not ready.

------------------------------------------------------------------------
r2241 | morain | 2012-11-08 16:21:00 +0100 (Thu, 08 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Z4xZ4 has now Montgomery-types curves so that ecm_factor can be used directly.

------------------------------------------------------------------------
r2240 | morain | 2012-11-07 20:59:24 +0100 (Wed, 07 Nov 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Introducing curves with torsion Z4xZ4, which is useful for p = 1 mod 4 | n.
Not tested yet.

------------------------------------------------------------------------
r2239 | morain | 2012-11-07 16:31:10 +0100 (Wed, 07 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Z5 and Z3xZ3 ok (this last one over Q(sqrt(-3)), i.e., for p = 1 mod 3 | N).

------------------------------------------------------------------------
r2238 | morain | 2012-11-07 11:24:22 +0100 (Wed, 07 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Z5 close to working.

------------------------------------------------------------------------
r2236 | morain | 2012-11-06 20:42:45 +0100 (Tue, 06 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

More Z5 stuff.

------------------------------------------------------------------------
r2234 | morain | 2012-11-06 18:59:15 +0100 (Tue, 06 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

preparing more torsion stuff.

------------------------------------------------------------------------
r2233 | morain | 2012-11-06 18:14:28 +0100 (Tue, 06 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

More classical writing.

------------------------------------------------------------------------
r2232 | morain | 2012-11-06 16:32:11 +0100 (Tue, 06 Nov 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/manyecm.c

Step 2 now triggered after many stuff done.

------------------------------------------------------------------------
r2228 | morain | 2012-11-06 10:13:52 +0100 (Tue, 06 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Close to using ecm step 2 in manyecm.

------------------------------------------------------------------------
r2224 | morain | 2012-11-05 20:42:26 +0100 (Mon, 05 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Some cleaning and preparation for more.

------------------------------------------------------------------------
r2223 | morain | 2012-11-04 20:54:55 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

added a timer. More to come.

------------------------------------------------------------------------
r2222 | morain | 2012-11-04 20:31:00 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/manyecm.c

Added Montgomery parallel inverses computation.

------------------------------------------------------------------------
r2221 | morain | 2012-11-04 18:14:37 +0100 (Sun, 04 Nov 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Almost everything is ready for parallel additions on curves, to be continued.


------------------------------------------------------------------------
r2220 | morain | 2012-11-03 18:41:24 +0100 (Sat, 03 Nov 2012) | 3 lines
Changed paths:
   M /trunk/manyecm.c

Many N's, many curves. Still some debug to be done.


------------------------------------------------------------------------
r2219 | morain | 2012-10-30 19:01:19 +0100 (Tue, 30 Oct 2012) | 6 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecmfactor.c
   A /trunk/manyecm.c
   M /trunk/test.ecm

Introducing manyecm, to be ready to use the parallel affine law on
many curves at a time. Not ready yet, but a small toy application for
iterating over a file of curves is ready. Format is that each line must
contain 'A x y'.


------------------------------------------------------------------------
r2218 | brian_gladman | 2012-10-27 10:17:00 +0200 (Sat, 27 Oct 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/tests.py

put the latest tests into the windows test program tests.py
------------------------------------------------------------------------
r2217 | morain | 2012-10-26 17:16:05 +0200 (Fri, 26 Oct 2012) | 4 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm

Projective version in action.
FM


------------------------------------------------------------------------
r2216 | morain | 2012-10-26 14:57:20 +0200 (Fri, 26 Oct 2012) | 5 lines
Changed paths:
   M /trunk/ecm.c

Introducing the projective version of the law for Weierstrass forms. Almost
works (but affine law still in place), I need to correct some cases where 
z = 0 is found.


------------------------------------------------------------------------
r2215 | morain | 2012-10-23 17:51:37 +0200 (Tue, 23 Oct 2012) | 3 lines
Changed paths:
   M /trunk/main.c
   M /trunk/test.ecm

Have the factor during init stuff work. Probably some sort of overshooting.


------------------------------------------------------------------------
r2214 | morain | 2012-10-23 13:15:19 +0200 (Tue, 23 Oct 2012) | 9 lines
Changed paths:
   M /trunk/README
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/test.ecm

Added some test that A, x0 or y0 could have a non invertible factor in their
denominator(!). But I don't know how to exit correctly from the loop in
these cases, so I put exit(-1). File test.ecm was enlarged, but exit code
is not good.

Paul, do you know what to put in there?
Thanks.


------------------------------------------------------------------------
r2213 | zimmerma | 2012-10-23 11:29:50 +0200 (Tue, 23 Oct 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

[ecm.c] fixed compiler warnings

------------------------------------------------------------------------
r2212 | zimmerma | 2012-10-23 11:21:31 +0200 (Tue, 23 Oct 2012) | 2 lines
Changed paths:
   M /trunk/README.dev

[README.dev] added tag number for 6.4.2

------------------------------------------------------------------------
r2211 | zimmerma | 2012-10-23 11:21:09 +0200 (Tue, 23 Oct 2012) | 2 lines
Changed paths:
   M /trunk/mpzspv.c

[mpzspv.c] added comments to better understand the explicit CRT

------------------------------------------------------------------------
r2210 | zimmerma | 2012-10-23 11:17:20 +0200 (Tue, 23 Oct 2012) | 2 lines
Changed paths:
   M /trunk/pm1.c

[pm1.c] updated copyright year

------------------------------------------------------------------------
r2209 | morain | 2012-10-23 10:12:39 +0200 (Tue, 23 Oct 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/resume.c

I have done some improvements to the save/resume stuff, but have to check.


------------------------------------------------------------------------
r2208 | morain | 2012-10-22 20:45:46 +0200 (Mon, 22 Oct 2012) | 3 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/resume.c

Propagated some y0; save problem not yet solved.


------------------------------------------------------------------------
r2207 | morain | 2012-10-22 18:58:24 +0200 (Mon, 22 Oct 2012) | 4 lines
Changed paths:
   M /trunk/main.c
   M /trunk/test.ecm

- Enable A to be rational.
- tests added.


------------------------------------------------------------------------
r2206 | zimmerma | 2012-10-22 17:06:59 +0200 (Mon, 22 Oct 2012) | 3 lines
Changed paths:
   M /trunk/AUTHORS
   M /trunk/NEWS

[NEWS] added item about Weierstrass form
[AUTHORS] added F. Morain

------------------------------------------------------------------------
r2205 | zimmerma | 2012-10-22 16:55:16 +0200 (Mon, 22 Oct 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

[ecm.c] improved TIMING_CRT, added missing % in %Zd

------------------------------------------------------------------------
r2204 | morain | 2012-10-22 14:18:49 +0200 (Mon, 22 Oct 2012) | 4 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/test.ecm

Added some tests with either x0 = 0 or y0 = 0 or both, enabling a stupid
bug to be discovered...


------------------------------------------------------------------------
r2203 | morain | 2012-10-22 14:01:37 +0200 (Mon, 22 Oct 2012) | 3 lines
Changed paths:
   M /trunk/test.ecm

Added tests with '-A 0' and '-x0 0'.


------------------------------------------------------------------------
r2202 | morain | 2012-10-22 13:50:41 +0200 (Mon, 22 Oct 2012) | 8 lines
Changed paths:
   M /trunk/test.ecm

Added tests for the Weierstrass form. It seems that -go works fine in this
context too.

I may suggest that -go should only be used for its original purpose,
'given order' (I guess) and not as a place for some ordinate. I will try to
look at this, but may need some help.


------------------------------------------------------------------------
r2201 | zimmerma | 2012-10-22 11:39:44 +0200 (Mon, 22 Oct 2012) | 2 lines
Changed paths:
   M /trunk/README

[README] fixed typos

------------------------------------------------------------------------
r2200 | morain | 2012-10-22 11:31:30 +0200 (Mon, 22 Oct 2012) | 4 lines
Changed paths:
   M /trunk/README
   M /trunk/ecm.1
   M /trunk/main.c

- Added a subsection on Weierstrass parametrization.
- Added specific_A.


------------------------------------------------------------------------
r2199 | morain | 2012-10-21 22:02:16 +0200 (Sun, 21 Oct 2012) | 4 lines
Changed paths:
   M /trunk/auxlib.c

chkpnt/resume seems to work for Weierstrass curves. The resume file has now
a Y=... in that case, and nothing for the other cases.


------------------------------------------------------------------------
r2198 | morain | 2012-10-21 18:52:16 +0200 (Sun, 21 Oct 2012) | 21 lines
Changed paths:
   M /trunk/auxlib.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
   M /trunk/parametrizations.c
   M /trunk/pm1.c
   M /trunk/pp1.c
   M /trunk/resume.c

Introduction of curves in Weierstrass forms for Stage 1, which is interesting
when one wants to use strange curves for some special numbers. I wrote a very
crude affine-law code, meaning a lot of XGCD's. This is enough to spread
modifications in the current program, and prepare for more: for anyone
interested, write your own homogeneous law equations; or why not batch
the curves with Montgomery's trick for multi-inversions, already burried
in the Step2 phase.

This forces use of y here and there. The current version works for the 
chaining of Step1+Step2. I have propagated the use of y in chk/resume stuff,
but I did not test that yet.

Just a remark: the code assumes everywhere that (0, 0) is not a point on a
curve, nor that A can be 0. I think it is worth cleaning that part, since
the curve Y^2 = X^3 + 1 is valid, as well as Y^2 = X^3 + X. I may do that
in a near future, though this implies a lot of cleaning of all tests that
use the fact that A = 0 means "not assigned".

FM


------------------------------------------------------------------------
r2196 | brian_gladman | 2012-10-18 17:27:49 +0200 (Thu, 18 Oct 2012) | 1 line
Changed paths:
   M /trunk/ecm-gmp.h

fix a typo reported by PZ
------------------------------------------------------------------------
r2195 | brian_gladman | 2012-10-18 15:24:48 +0200 (Thu, 18 Oct 2012) | 1 line
Changed paths:
   M /trunk/ecm-gmp.h

commit a temporary fix for building GMP-ECM with MPIR 2.6.0
------------------------------------------------------------------------
r2194 | zimmerma | 2012-10-17 19:00:37 +0200 (Wed, 17 Oct 2012) | 2 lines
Changed paths:
   M /trunk/ks-multiply.c

[ks-multiply.c] fix to enable compilation when mpn_mulmod_bnm1 is not defined

------------------------------------------------------------------------
r2193 | zimmerma | 2012-10-17 14:28:22 +0200 (Wed, 17 Oct 2012) | 5 lines
Changed paths:
   M /trunk/configure.in
   M /trunk/ecm-gmp.h
   M /trunk/ks-multiply.c
   M /trunk/listz.c
   M /trunk/mpzspv.c
   M /trunk/schoen_strass.c

use mpn_mulmod_bnm1 instead of mpn_mul_fft in wrap-around functions,
since the GMP developers say that mpn_mulmod_bnm1 might be put in the public
interface, while mpn_mul_fft will never be put there. See
http://gmplib.org/list-archives/gmp-devel/2012-October/002545.html

------------------------------------------------------------------------
r2186 | brian_gladman | 2012-10-15 19:59:50 +0200 (Mon, 15 Oct 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/tests.py

update windows test file (test.py) to match current test files
------------------------------------------------------------------------
r2185 | bouvierc | 2012-10-11 14:30:59 +0200 (Thu, 11 Oct 2012) | 2 lines
Changed paths:
   M /trunk/INSTALL-ecm
   A /trunk/README.gpu

Add README.gpu which details installation and basic usage of GPU version

------------------------------------------------------------------------
r2184 | bouvierc | 2012-10-04 17:03:53 +0200 (Thu, 04 Oct 2012) | 2 lines
Changed paths:
   M /trunk/README
   M /trunk/README.lib

Update README: add explanation for -param, -sigma options.

------------------------------------------------------------------------
r2183 | bouvierc | 2012-10-04 10:56:21 +0200 (Thu, 04 Oct 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Remove bug with -param and -nobase2 options.

------------------------------------------------------------------------
r2182 | zimmerma | 2012-10-04 10:06:17 +0200 (Thu, 04 Oct 2012) | 2 lines
Changed paths:
   M /trunk/main.c

[main.c] made error messages coherent

------------------------------------------------------------------------
r2181 | bouvierc | 2012-10-04 09:47:50 +0200 (Thu, 04 Oct 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/parametrizations.c

Correct a bug with invalid -param value reported by David Cleaver

------------------------------------------------------------------------
r2180 | zimmerma | 2012-09-14 09:50:44 +0200 (Fri, 14 Sep 2012) | 2 lines
Changed paths:
   M /trunk/champions.h

[champions.h] now 54 digits is needed to enter the P-1 top ten

------------------------------------------------------------------------
r2177 | zimmerma | 2012-08-20 14:47:10 +0200 (Mon, 20 Aug 2012) | 2 lines
Changed paths:
   M /trunk/champions.h

[champions.h] updated ECM minimum size

------------------------------------------------------------------------
r2176 | bouvierc | 2012-08-02 10:21:15 +0200 (Thu, 02 Aug 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/main.c

Fix a bug on resume stage 2 after stage 1 on GPU (reported by Greg Childers on
http://www.mersenneforum.org/showthread.php?t=17024)

------------------------------------------------------------------------
r2171 | kruppa | 2012-07-10 19:00:38 +0200 (Tue, 10 Jul 2012) | 2 lines
Changed paths:
   M /trunk/pm1fs2.c

Don't write to output beyond the current thread's range when initialising sequences

------------------------------------------------------------------------
r2169 | brian_gladman | 2012-07-10 00:35:20 +0200 (Tue, 10 Jul 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h

add size_t/ssize_t print format specifiers in windows config.h
------------------------------------------------------------------------
r2156 | zimmerma | 2012-06-30 10:48:16 +0200 (Sat, 30 Jun 2012) | 3 lines
Changed paths:
   M /trunk/README.dev
   M /trunk/main.c

[README.dev] added check with --enable-openmp for a new release
[main.c] print --enable-openmp in first output line

------------------------------------------------------------------------
r2155 | kruppa | 2012-06-29 23:00:10 +0200 (Fri, 29 Jun 2012) | 2 lines
Changed paths:
   M /trunk/pm1fs2.c

Fix multi-threading with very small polynomial degrees and large number of threads

------------------------------------------------------------------------
r2138 | kruppa | 2012-06-22 15:00:26 +0200 (Fri, 22 Jun 2012) | 4 lines
Changed paths:
   M /trunk/mpmod.c

In mpres_mul_z_to_z(), make sure that second operand has enough space 
allocated 


------------------------------------------------------------------------
r2126 | brian_gladman | 2012-06-18 21:38:57 +0200 (Mon, 18 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/readme.txt
   M /trunk/build.vc10/tests.py

Add GPU tests to the Windows test file
------------------------------------------------------------------------
r2125 | brian_gladman | 2012-06-18 21:19:39 +0200 (Mon, 18 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10
   D /trunk/build.vc10/readme_gpu.txt

remove obsolete Visual Studio GPU readme.txt
------------------------------------------------------------------------
r2124 | brian_gladman | 2012-06-18 20:52:08 +0200 (Mon, 18 Jun 2012) | 1 line
Changed paths:
   M /trunk
   M /trunk/build.vc10
   M /trunk/build.vc10/config.h
   A /trunk/build.vc10/ecm_gpu
   A /trunk/build.vc10/ecm_gpu/Makefile.am
   A /trunk/build.vc10/ecm_gpu/ecm_gpu.vcxproj
   A /trunk/build.vc10/ecm_gpu/ecm_gpu.vcxproj.filters
   A /trunk/build.vc10/ecm_gpu.sln
   D /trunk/build.vc10/gpu_ecm
   D /trunk/build.vc10/gpu_ecm.sln
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj.filters
   A /trunk/build.vc10/libecm_gpu
   A /trunk/build.vc10/libecm_gpu/Makefile.am
   A /trunk/build.vc10/libecm_gpu/libecm_gpu.vcxproj
   A /trunk/build.vc10/libecm_gpu/libecm_gpu.vcxproj.user
   M /trunk/build.vc10/readme.txt
   M /trunk/build.vc10/tune/tune.vcxproj

Add separate Visual Studio builds for the normal and GPU build
------------------------------------------------------------------------
r2121 | brian_gladman | 2012-06-18 19:51:31 +0200 (Mon, 18 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/readme.txt

Correct the Windows Visual Studio build to default to a non GPU build
------------------------------------------------------------------------
r2120 | brian_gladman | 2012-06-18 18:52:52 +0200 (Mon, 18 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h
   M /trunk/build.vc10/ecm/ecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj

Adjust the Visual Studio build to default without the GPU capability
------------------------------------------------------------------------
r2119 | brian_gladman | 2012-06-18 18:27:35 +0200 (Mon, 18 Jun 2012) | 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/libecm/libecm.vcxproj.filters
   M /trunk/build.vc10/readme.txt

Add the GPU capability to the Windows build (requires Nvidia Nsight for Visual Studio)
------------------------------------------------------------------------
r2100 | brian_gladman | 2012-06-12 22:11:41 +0200 (Tue, 12 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/ecm/ecm.vcxproj

remove debug symbols in release version
------------------------------------------------------------------------
r2097 | brian_gladman | 2012-06-12 17:38:54 +0200 (Tue, 12 Jun 2012) | 2 lines
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
   M /trunk/build.vc10/tests.py

minor Windows build changes
add test changes to Windows test file
------------------------------------------------------------------------
r2091 | brian_gladman | 2012-06-12 14:52:05 +0200 (Tue, 12 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h

Prepare for the use of fseek64 and ftell64 on Windows
------------------------------------------------------------------------
r2090 | kruppa | 2012-06-12 14:48:43 +0200 (Tue, 12 Jun 2012) | 2 lines
Changed paths:
   M /trunk/test.pm1

Added test for bug fixed in revision 2068

------------------------------------------------------------------------
r2089 | brian_gladman | 2012-06-12 14:45:02 +0200 (Tue, 12 Jun 2012) | 1 line
Changed paths:
   M /trunk/build.vc10/config.h

Prepare for the use of fseek64 and ftell64 on Windows
------------------------------------------------------------------------
r2088 | kruppa | 2012-06-12 14:16:03 +0200 (Tue, 12 Jun 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Updated for 6.4.3 release

------------------------------------------------------------------------
r2082 | kruppa | 2012-06-07 14:20:20 +0200 (Thu, 07 Jun 2012) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/random.c

Make random value more 64-bit-like, following suggestion by Jayson King

------------------------------------------------------------------------
r2072 | zimmerma | 2012-06-04 10:33:24 +0200 (Mon, 04 Jun 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] added item

------------------------------------------------------------------------
r2068 | kruppa | 2012-06-01 23:15:44 +0200 (Fri, 01 Jun 2012) | 2 lines
Changed paths:
   M /trunk/mpzspm.c

Replace mpz_init_set_ui() by mpz_set_sp() so it works under Windows

------------------------------------------------------------------------
r2067 | kruppa | 2012-06-01 23:14:58 +0200 (Fri, 01 Jun 2012) | 2 lines
Changed paths:
   M /trunk/mpzspv.c
   M /trunk/pm1fs2.c

Move ntt_print_vec() to mpzspv.c, add optional trace output to mpzspv_from_spzv()

------------------------------------------------------------------------
r2066 | kruppa | 2012-06-01 22:18:16 +0200 (Fri, 01 Jun 2012) | 2 lines
Changed paths:
   M /trunk/main.c

Test if ECM_TUNE_CASE is defined

------------------------------------------------------------------------
r2036 | kruppa | 2012-05-09 01:58:09 +0200 (Wed, 09 May 2012) | 2 lines
Changed paths:
   M /trunk/auxi.c

Fix memory leak

------------------------------------------------------------------------
r2020 | bouvierc | 2012-05-03 13:59:12 +0200 (Thu, 03 May 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/resume.c

Add PARAM in save/resume file

------------------------------------------------------------------------
r2019 | zimmerma | 2012-05-03 09:37:29 +0200 (Thu, 03 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] small changes

------------------------------------------------------------------------
r2018 | bouvierc | 2012-05-02 17:31:38 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Fix a typo in NEWS.

------------------------------------------------------------------------
r2017 | bouvierc | 2012-05-02 17:26:28 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Update NEWS. 

------------------------------------------------------------------------
r2016 | bouvierc | 2012-05-02 16:46:32 +0200 (Wed, 02 May 2012) | 4 lines
Changed paths:
   M /trunk/cudawrapper.c

correct expected time when GPU used.
(if time spent on GPU is too small, the rounding (GPU time)/(number of curves)
can introduces significant error)

------------------------------------------------------------------------
r2015 | bouvierc | 2012-05-02 16:28:06 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Avoid very verbose Step 2 when Step 1 are done on GPU.

------------------------------------------------------------------------
r2013 | bouvierc | 2012-05-02 15:27:12 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

autotools files for GPU check that nvcc is not too old.

------------------------------------------------------------------------
r2012 | bouvierc | 2012-05-02 12:00:39 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/main.c

Fix problems when using -c option with GPU (thanks to Paul Leyland)

------------------------------------------------------------------------
r2011 | brian_gladman | 2012-04-30 11:27:50 +0200 (Mon, 30 Apr 2012) | 1 line
Changed paths:
   M /trunk/build.vc10
   D /trunk/build.vc10/ecm-params.h
   D /trunk/build.vc10/ecm-params.h.win32.amd
   D /trunk/build.vc10/ecm-params.h.win32.intel
   D /trunk/build.vc10/ecm-params.h.x64.amd
   D /trunk/build.vc10/ecm-params.h.x64.intel
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj.filters

prepare to adopt new tuning approach for the Visual Studio 2010 build
------------------------------------------------------------------------
r2010 | brian_gladman | 2012-04-30 10:59:27 +0200 (Mon, 30 Apr 2012) | 2 lines
Changed paths:
   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
   M /trunk/main.c
   M /trunk/random.c
   M /trunk/resume.c

1. change Visual Studio build for latest file additions and changes
2. move out of order declarations to restore C89 compatibility
------------------------------------------------------------------------
r2004 | zimmerma | 2012-04-28 10:12:18 +0200 (Sat, 28 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/generic/params.h
   M /trunk/ks-multiply.c
   M /trunk/tune.c
   M /trunk/x86_64/core2/params.h

use tuning results of list_mult_n in ks-multiply.c

------------------------------------------------------------------------
r2003 | zimmerma | 2012-04-28 09:43:47 +0200 (Sat, 28 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/generic/params.h
   M /trunk/ks-multiply.c
   M /trunk/tune.c

added tuning for list_mul_n routine

------------------------------------------------------------------------
r1991 | zimmerma | 2012-04-26 21:41:34 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

[acinclude.m4] put back changeset from revision 1938

------------------------------------------------------------------------
r1990 | zimmerma | 2012-04-26 21:35:55 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] added item

------------------------------------------------------------------------
r1987 | zimmerma | 2012-04-26 20:15:23 +0200 (Thu, 26 Apr 2012) | 3 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/ks-multiply.c

[ks-multiply.c] implement generi Toom-Cook multiplication and
		Harvey's two-point Kronecker substitution

------------------------------------------------------------------------
r1985 | bouvierc | 2012-04-26 17:21:45 +0200 (Thu, 26 Apr 2012) | 3 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/resume.c

Add a wrapper around write_resumefile_line in order not to open and close the 
file each time a residue is saved in the file (for GPU code)

------------------------------------------------------------------------
r1984 | bouvierc | 2012-04-26 16:44:39 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/candi.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c

Definition of probab_prime_p is now useless

------------------------------------------------------------------------
r1983 | bouvierc | 2012-04-26 16:39:57 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/main.c

use gmp_printf instead of converting a mpz_t into a string.

------------------------------------------------------------------------
r1982 | bouvierc | 2012-04-26 16:20:36 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/resume.c

Move some code from main.c to resume.c + few cosmetic changes

------------------------------------------------------------------------
r1981 | bouvierc | 2012-04-26 14:02:21 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c

Remove -b (breadthfirst) option.

------------------------------------------------------------------------
r1980 | bouvierc | 2012-04-26 11:27:29 +0200 (Thu, 26 Apr 2012) | 3 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c

Allow to use savefile with GPU (and fix a bug when using savefile with batch
mode)

------------------------------------------------------------------------
r1979 | bouvierc | 2012-04-26 10:40:32 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/parametrizations.c

Remove unused parameter in get_default_param

------------------------------------------------------------------------
r1978 | zimmerma | 2012-04-26 10:16:22 +0200 (Thu, 26 Apr 2012) | 5 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-impl.h
   M /trunk/ks-multiply.c
   M /trunk/listz.c
   M /trunk/median.c
   M /trunk/polyeval.c
   M /trunk/stage2.c
   D /trunk/toomcook.c

Cleanup of the code for polynomial multiplication: Kronecker-Schoenhage is now
always used, thus we don't need any more the Karatsuba and Toom-Cook code.
At some point in the future we should be able to rely on a separate library
as FLINT for the polynomial multiplication in (Z/nZ)[x].

------------------------------------------------------------------------
r1977 | zimmerma | 2012-04-26 08:55:17 +0200 (Thu, 26 Apr 2012) | 2 lines
Changed paths:
   A /trunk/ecm-params.h

[ecm-params.h] main ecm-params.h file (no longer a symbolic link)

------------------------------------------------------------------------
r1976 | zimmerma | 2012-04-25 23:21:41 +0200 (Wed, 25 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/README.dev
   M /trunk/configure.in
   M /trunk/ks-multiply.c
   D /trunk/mul_fft.c

get rid of mpn_mul_fft_full function

------------------------------------------------------------------------
r1975 | zimmerma | 2012-04-25 19:22:08 +0200 (Wed, 25 Apr 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/README.dev
   A /trunk/arm
   A /trunk/arm/params.h (from /trunk/ecm-params.h.armv5tel:1973)
   A /trunk/athlon/params.h (from /trunk/ecm-params.h.athlon:1973)
   M /trunk/configure.in
   M /trunk/ecm-impl.h
   D /trunk/ecm-params.h.alpha-ev5
   D /trunk/ecm-params.h.alpha-ev56
   D /trunk/ecm-params.h.alpha-ev6
   D /trunk/ecm-params.h.armv5tel
   D /trunk/ecm-params.h.athlon
   D /trunk/ecm-params.h.athlon64
   D /trunk/ecm-params.h.core2
   D /trunk/ecm-params.h.corei5
   D /trunk/ecm-params.h.default
   D /trunk/ecm-params.h.hppa2.0
   D /trunk/ecm-params.h.ia64
   D /trunk/ecm-params.h.mips64el
   D /trunk/ecm-params.h.pentium-m
   D /trunk/ecm-params.h.pentium3
   D /trunk/ecm-params.h.pentium4
   D /trunk/ecm-params.h.powerpc7450
   D /trunk/ecm-params.h.powerpc970
   D /trunk/ecm-params.h.sparc64
   A /trunk/generic
   A /trunk/generic/params.h (from /trunk/ecm-params.h.default:1973)
   A /trunk/hppa
   A /trunk/hppa/params.h (from /trunk/ecm-params.h.hppa2.0:1973)
   A /trunk/ia64
   A /trunk/ia64/params.h (from /trunk/ecm-params.h.ia64:1973)
   M /trunk/main.c
   A /trunk/mips
   A /trunk/mips/params.h (from /trunk/ecm-params.h.mips64el:1973)
   M /trunk/mpmod.c
   A /trunk/pentium4/params.h (from /trunk/ecm-params.h.pentium4:1973)
   A /trunk/powerpc32
   A /trunk/powerpc32/params.h (from /trunk/ecm-params.h.powerpc7450:1973)
   A /trunk/powerpc64/params.h (from /trunk/ecm-params.h.powerpc970:1973)
   A /trunk/sparc64
   A /trunk/sparc64/params.h (from /trunk/ecm-params.h.sparc64:1973)
   M /trunk/test.ecm
   A /trunk/x86
   A /trunk/x86/params.h (from /trunk/ecm-params.h.pentium3:1973)
   A /trunk/x86_64/core2
   A /trunk/x86_64/core2/params.h (from /trunk/ecm-params.h.core2:1973)
   A /trunk/x86_64/corei7
   A /trunk/x86_64/corei7/params.h (from /trunk/ecm-params.h.corei5:1973)
   A /trunk/x86_64/k8
   A /trunk/x86_64/k8/params.h (from /trunk/ecm-params.h.athlon64:1973)
   A /trunk/x86_64/pentium4

Major rewrite of the tuning mechanism: instead of trying to guess the processor
type at configure time, we use the preprocessor macros as in MPFR.

------------------------------------------------------------------------
r1974 | bouvierc | 2012-04-25 16:45:15 +0200 (Wed, 25 Apr 2012) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h

Minor change in what is output by GPU code.

------------------------------------------------------------------------
r1973 | bouvierc | 2012-04-25 16:10:02 +0200 (Wed, 25 Apr 2012) | 3 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/test.gpuecm

Improve the way ecm treat factors found with GPU.
Add a test in test.gpuecm

------------------------------------------------------------------------
r1972 | zimmerma | 2012-04-25 10:07:44 +0200 (Wed, 25 Apr 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

[NEWS] added item about powerpc64 assembly

------------------------------------------------------------------------
r1971 | zimmerma | 2012-04-25 10:06:33 +0200 (Wed, 25 Apr 2012) | 3 lines
Changed paths:
   M /trunk/powerpc64/mulredc.m4
   M /trunk/powerpc64/mulredc_1_2.m4
   M /trunk/powerpc64/redc.asm

applied patch from Leif Leonhardy to make the assembly code work with
--enable-shared (see http://trac.sagemath.org/sage_trac/ticket/11705)

------------------------------------------------------------------------
r1970 | bouvierc | 2012-04-24 17:15:38 +0200 (Tue, 24 Apr 2012) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/ecm-gpu.h
   M /trunk/random.c
   M /trunk/resume.c

Remove useless #define (that were used in gpu-ecm)

------------------------------------------------------------------------
r1969 | bouvierc | 2012-04-24 17:05:17 +0200 (Tue, 24 Apr 2012) | 5 lines
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/configure.in
   M /trunk/gpu/gpu_ecm/Makefile

[configure.in, acinclude.m4] Can change the compiler use by nvcc to compile C
code (can be useful with nvcc 4.1 which is incompatible with gcc >=4.6)
[gpu_ecm/Makefile] gpu-ecm in (almost) fully integrated in GMP-ECM, so doing
"make" in this directory does not work anymore.

------------------------------------------------------------------------
r1968 | bouvierc | 2012-04-24 16:23:51 +0200 (Tue, 24 Apr 2012) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/configure.in
   M /trunk/ecm-ecm.h
   M /trunk/main.c

remove shellcmd option.

------------------------------------------------------------------------
r1967 | bouvierc | 2012-04-24 16:04:19 +0200 (Tue, 24 Apr 2012) | 2 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/cudawrapper.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c

First step in taking into account all the factors found with the GPU

------------------------------------------------------------------------
r1966 | bouvierc | 2012-04-24 15:01:15 +0200 (Tue, 24 Apr 2012) | 5 lines
Changed paths:
   M /trunk/auxi.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h
   M /trunk/main.c

Process the factors found in a function defined in auxi.c (preparation in order
to process factors found on GPU)
(also fix a bug introduces by me in revision 1759 when configure with
--enable-shellcmd)

------------------------------------------------------------------------
r1965 | bouvierc | 2012-04-24 10:20:06 +0200 (Tue, 24 Apr 2012) | 2 lines
Changed paths:
   M /trunk/main.c

Add some checks when loading batch product s from a file.

------------------------------------------------------------------------
r1964 | bouvierc | 2012-04-23 17:25:34 +0200 (Mon, 23 Apr 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/parametrizations.c

Do not print expected number of curves when A is given (not sigma) and
parametrization is not specified 

------------------------------------------------------------------------
r1963 | bouvierc | 2012-04-23 17:13:56 +0200 (Mon, 23 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/parametrizations.c

Check for almost all invalid values of sigma depending of the parametrization.

------------------------------------------------------------------------
r1962 | bouvierc | 2012-04-23 15:06:18 +0200 (Mon, 23 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c

More check on the compatibility of some arguments.

------------------------------------------------------------------------
r1959 | bouvierc | 2012-04-23 13:53:08 +0200 (Mon, 23 Apr 2012) | 4 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/ecm.c
   M /trunk/main.c

Check asap_stop in GPU before each step 2
select_and_init_gpu now return an int coding for error or not
Change verbose text after computation of batch product s

------------------------------------------------------------------------
r1958 | bouvierc | 2012-04-23 11:52:58 +0200 (Mon, 23 Apr 2012) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/cudawrapper.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/main.c
   M /trunk/parametrizations.c
   M /trunk/test.ecm
   M /trunk/test.gpuecm

Add a new parametrization.

------------------------------------------------------------------------
r1955 | zimmerma | 2012-04-21 10:14:58 +0200 (Sat, 21 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/auxlib.c
   M /trunk/batch.c
   M /trunk/bestd.c
   M /trunk/candi.c
   M /trunk/configure.in
   M /trunk/cudawrapper.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm2.c
   M /trunk/eval.c
   M /trunk/factor.c
   M /trunk/listz.c
   M /trunk/main.c
   D /trunk/memory.c
   M /trunk/mpmod.c
   M /trunk/parametrizations.c
   M /trunk/pm1fs2.c
   M /trunk/polyeval.c
   M /trunk/stage2.c

removed MEMORY-DEBUG stuff (now obsolete with valgrind)

------------------------------------------------------------------------
r1954 | bouvierc | 2012-04-20 11:10:26 +0200 (Fri, 20 Apr 2012) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c

Change one log message in gpu_ecm

------------------------------------------------------------------------
r1953 | zimmerma | 2012-04-20 10:51:42 +0200 (Fri, 20 Apr 2012) | 2 lines
Changed paths:
   M /trunk/main.c

[main.c] print --enable-gpu when configured so

------------------------------------------------------------------------
r1952 | bouvierc | 2012-04-19 10:15:48 +0200 (Thu, 19 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/test.gpuecm

Add some tests for GPU code

------------------------------------------------------------------------
r1951 | bouvierc | 2012-04-19 10:00:35 +0200 (Thu, 19 Apr 2012) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

Fix another bug in get_curve_from_param2

------------------------------------------------------------------------
r1950 | bouvierc | 2012-04-19 09:52:57 +0200 (Thu, 19 Apr 2012) | 2 lines
Changed paths:
   M /trunk/parametrizations.c

Correct a bug in get_curve_from_param2

------------------------------------------------------------------------
r1949 | bouvierc | 2012-04-18 17:09:48 +0200 (Wed, 18 Apr 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/cudakernel.cu
   M /trunk/cudakernel.h

[cudakernel.h|cu] Add ECM_GPU_ in front of #define constant
[Makefile.am] Add cudakernel.h in rule for making CUDA code.

------------------------------------------------------------------------
r1946 | bouvierc | 2012-04-18 15:49:05 +0200 (Wed, 18 Apr 2012) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/parametrizations.c

Now GPU code do stage2 on CPU.

------------------------------------------------------------------------
r1945 | bouvierc | 2012-04-18 11:16:24 +0200 (Wed, 18 Apr 2012) | 4 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/parametrizations.c
   M /trunk/pm1.c
   M /trunk/pp1.c

Put in common the code to select parameters for stage 2 for ECM on CPU and GPU.
Now use print_B1_B2_poly in GPU code (had to add a new parameters)
Remove a warning from parametrizations.c

------------------------------------------------------------------------
r1944 | brian_gladman | 2012-04-17 22:25:44 +0200 (Tue, 17 Apr 2012) | 2 lines
Changed paths:
   M /trunk/build.vc10/ecm/ecm.vcxproj
   M /trunk/build.vc10/ecm/ecm.vcxproj.filters
   M /trunk/build.vc10/ecm-params.h
   M /trunk/build.vc10/libecm/libecm.vcxproj
   M /trunk/build.vc10/libecm/libecm.vcxproj.filters
   A /trunk/build.vc10/mul_fft-params.h
   M /trunk/build.vc10/readme.txt
   M /trunk/build.vc10/tune/tune.vcxproj
   M /trunk/parametrizations.c

1. change the way that the Visual Studio solution picks up tuning parameters
2 move out of order declarations in parametrizations.c
------------------------------------------------------------------------
r1943 | bouvierc | 2012-04-17 18:01:46 +0200 (Tue, 17 Apr 2012) | 2 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm.c
   M /trunk/factor.c

Adapt GPU code with last modifications.

------------------------------------------------------------------------
r1942 | bouvierc | 2012-04-17 15:59:26 +0200 (Tue, 17 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/parametrizations.c

Add some verifications code for parametrizations

------------------------------------------------------------------------
r1940 | bouvierc | 2012-04-17 12:54:02 +0200 (Tue, 17 Apr 2012) | 2 lines
Changed paths:
   M /trunk/main.c

Add more test on new arguments -param -sigma

------------------------------------------------------------------------
r1939 | bouvierc | 2012-04-17 11:51:38 +0200 (Tue, 17 Apr 2012) | 5 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   D /trunk/ellparam_batch.c
   M /trunk/main.c
   A /trunk/parametrizations.c (from /trunk/ellparam_batch.c:1936)
   M /trunk/resume.c

[parametrizations.c] Take care of everything regarding the parametrizations
(default choice, checking of valid parameter, random choice of parameter, 
computation of the parametrizations, ...)
[Other files] Change in order to use parametrizations.c

------------------------------------------------------------------------
r1938 | zimmerma | 2012-04-17 11:03:15 +0200 (Tue, 17 Apr 2012) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

[acinclude.m4] fixed typo and empty macro

------------------------------------------------------------------------
r1937 | bouvierc | 2012-04-16 23:28:43 +0200 (Mon, 16 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/factor.c
   M /trunk/test.ecm

Now ./test.ecm finish without errors.

------------------------------------------------------------------------
r1936 | bouvierc | 2012-04-16 17:48:07 +0200 (Mon, 16 Apr 2012) | 3 lines
Changed paths:
   M /trunk/main.c

Can use -sigma i:s for -param i -sigma s. -sigma s is equivalent to -sigma 0:s
if -param i is not given.

------------------------------------------------------------------------
r1935 | bouvierc | 2012-04-16 17:35:27 +0200 (Mon, 16 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/main.c
   M /trunk/resume.c

Add -param in resume files.

------------------------------------------------------------------------
r1934 | bouvierc | 2012-04-16 17:24:00 +0200 (Mon, 16 Apr 2012) | 3 lines
Changed paths:
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c

Introduce new argument -param to replace -batch.
Add relevant variables in params struct.

------------------------------------------------------------------------
r1933 | bouvierc | 2012-04-16 16:41:11 +0200 (Mon, 16 Apr 2012) | 2 lines
Changed paths:
   M /trunk/batch.c
   M /trunk/ecm-ecm.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/resume.c

The computation of s (when necessary) is now done in libecm instead of in ecm.

------------------------------------------------------------------------
r1932 | bouvierc | 2012-04-16 15:20:02 +0200 (Mon, 16 Apr 2012) | 3 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/factor.c
   M /trunk/main.c

Move some checking from ecm to libecm (and remove it from GPU code where it is
not necessary anymore).

------------------------------------------------------------------------
r1931 | bouvierc | 2012-04-13 17:57:46 +0200 (Fri, 13 Apr 2012) | 2 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/factor.c

Continue to add code from GPU-ECM to libecm.

------------------------------------------------------------------------
r1930 | bouvierc | 2012-04-13 16:55:46 +0200 (Fri, 13 Apr 2012) | 3 lines
Changed paths:
   M /trunk/cudakernel.cu
   M /trunk/cudakernel.h
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c

Call gpu_ecm directly from ecm_factor. This will make it easier to compute stage
2 once the GPU has finished.

------------------------------------------------------------------------
r1929 | bouvierc | 2012-04-13 14:01:28 +0200 (Fri, 13 Apr 2012) | 2 lines
Changed paths:
   M /trunk/configure.in
   M /trunk/cudakernel.cu
   M /trunk/cudawrapper.c
   M /trunk/ecm-gpu.h

Remove some useless code, remove warnings when GPU version is not requested.

------------------------------------------------------------------------
r1928 | bouvierc | 2012-04-13 11:37:52 +0200 (Fri, 13 Apr 2012) | 4 lines
Changed paths:
   M /trunk/cudawrapper.c
   M /trunk/ecm-impl.h
   M /trunk/ecm.c

More code to handle the GPU in GMP-ECM.
For now the GPU do the required computation, but nothing is done with the
results (it do not look for factor, it do not perform stage 2). 

------------------------------------------------------------------------
r1927 | bouvierc | 2012-04-13 11:36:10 +0200 (Fri, 13 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am

Forgot to add the new headers in Makefile.am

------------------------------------------------------------------------
r1926 | bouvierc | 2012-04-13 10:04:43 +0200 (Fri, 13 Apr 2012) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.in
   A /trunk/cudakernel.cu
   A /trunk/cudakernel.h
   M /trunk/cudawrapper.c
   A /trunk/ecm-gpu.h

[cudakernel.cu,cudakernel.h,ecm-gpu.h] Copy all the CUDA code from gpu/gpu_ecm.
[cudawrapper.c] For now, only do the initialisation of the device.
[Makefile.am] Can now compile a .cu file.

------------------------------------------------------------------------
r1925 | bouvierc | 2012-04-12 16:43:06 +0200 (Thu, 12 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/ecm-impl.h

GPU code: delete an old prototype and put the new one in the right header file.

------------------------------------------------------------------------
r1924 | bouvierc | 2012-04-12 16:09:20 +0200 (Thu, 12 Apr 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.in
   M /trunk/cudawrapper.c
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c

the GPU code is part of libecm. The gpu code will be call for ecm() function in
ecm.c

------------------------------------------------------------------------
r1923 | bouvierc | 2012-04-12 15:00:57 +0200 (Thu, 12 Apr 2012) | 3 lines
Changed paths:
   M /trunk/acinclude.m4

Rewrite some parts of GPU code for autotools (try to autodetect the path of
cuda, use AS_CASE instead of shell case)

------------------------------------------------------------------------
r1922 | bouvierc | 2012-04-12 10:43:55 +0200 (Thu, 12 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/acinclude.m4
   M /trunk/configure.in

More code for GPU for the autotools.

------------------------------------------------------------------------
r1921 | bouvierc | 2012-04-11 17:52:18 +0200 (Wed, 11 Apr 2012) | 4 lines
Changed paths:
   M /trunk/Makefile.am
   A /trunk/cudawrapper.c
   M /trunk/ecm-ecm.h
   M /trunk/main.c

[Makefile.am] Take into account the new variables about GPU define by configure
Begin to add code for calling the GPU directly via GMP-ECM.
  For now only a function in cudawrapper.c that do nothing

------------------------------------------------------------------------
r1920 | bouvierc | 2012-04-11 17:21:14 +0200 (Wed, 11 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/gpu/gpu_ecm/utils.c
   M /trunk/main.c
   M /trunk/resume.c

When save in a file, put the right name for the parameter (SIGMA/NU/TAU).

------------------------------------------------------------------------
r1917 | bouvierc | 2012-04-11 16:21:01 +0200 (Wed, 11 Apr 2012) | 2 lines
Changed paths:
   M /trunk/acinclude.m4

Error in acinclude.m4

------------------------------------------------------------------------
r1916 | bouvierc | 2012-04-11 16:10:01 +0200 (Wed, 11 Apr 2012) | 2 lines
Changed paths:
   M /trunk/configure.in

Typo in configure.in

------------------------------------------------------------------------
r1915 | bouvierc | 2012-04-11 15:52:42 +0200 (Wed, 11 Apr 2012) | 3 lines
Changed paths:
   M /trunk/acinclude.m4
   M /trunk/configure.in

Code to ask for gpu code in 'configure'.
For now, not use in Makefile.am

------------------------------------------------------------------------
r1914 | bouvierc | 2012-04-11 14:20:02 +0200 (Wed, 11 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm.c

Forgot to change variable name in a assert

------------------------------------------------------------------------
r1913 | bouvierc | 2012-04-10 16:23:26 +0200 (Tue, 10 Apr 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/utils.c

Change in function write_resumefile_wrapper to take into account latest changes 
in ecm/trunk/resume.c

------------------------------------------------------------------------
r1912 | bouvierc | 2012-04-10 15:21:13 +0200 (Tue, 10 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-ecm.h
   M /trunk/ecm.c
   M /trunk/main.c
   M /trunk/resume.c

More code to handle parameter (nu and tau) for batch=1 and 2

------------------------------------------------------------------------
r1911 | bouvierc | 2012-04-10 14:46:41 +0200 (Tue, 10 Apr 2012) | 2 lines
Changed paths:
   M /trunk/ecm-impl.h

Remove prototypes that are in the wrong ecm-*.h file.

------------------------------------------------------------------------
r1910 | bouvierc | 2012-04-10 14:10:55 +0200 (Tue, 10 Apr 2012) | 2 lines
Changed paths:
   M /trunk/resume.c

Fix a bug: resume.c accepted resume file without sigma nor A.

------------------------------------------------------------------------
r1909 | bouvierc | 2012-04-10 10:43:10 +0200 (Tue, 10 Apr 2012) | 3 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm.c
   M /trunk/ecm.h
   M /trunk/factor.c
   M /trunk/main.c
   M /trunk/pm1.c
   M /trunk/pp1.c

Begin to wrote code to take into account parameter (called nu and tau) for
batch=1 and 2

------------------------------------------------------------------------
r1908 | bouvierc | 2012-04-05 17:45:49 +0200 (Thu, 05 Apr 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.h
   M /trunk/gpu/gpu_ecm/main.c
   M /trunk/gpu/gpu_ecm/utils.c

[main.c,utils.c] New option -inp
[cudakernel.h] No more compatibility with cards of compute capability 1.3

------------------------------------------------------------------------
r1907 | bouvierc | 2012-04-05 17:42:52 +0200 (Thu, 05 Apr 2012) | 2 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/README
   M /trunk/gpu/gpu_ecm/README.dev
   M /trunk/gpu/gpu_ecm/check.sh

New default value in check.sh

------------------------------------------------------------------------
r1906 | bouvierc | 2012-04-05 17:35:48 +0200 (Thu, 05 Apr 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/README.dev
   M /trunk/gpu/gpu_ecm/check.sh

Update README.dev
Randomize check.sh

------------------------------------------------------------------------
r1905 | bouvierc | 2012-04-05 17:23:12 +0200 (Thu, 05 Apr 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.cu
   M /trunk/gpu/gpu_ecm/def.h

Can print the number of remaining iterations.
For enabling it see def.h

------------------------------------------------------------------------
r1904 | bouvierc | 2012-04-05 16:28:42 +0200 (Thu, 05 Apr 2012) | 2 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.cu

Improve Mul_mod and Mulint_mod.

------------------------------------------------------------------------
r1903 | bouvierc | 2012-04-05 14:22:49 +0200 (Thu, 05 Apr 2012) | 4 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.cu

Reorganization of some cuda code
In Cuda_Main: remove stream, we can use the default stream.


------------------------------------------------------------------------
r1901 | bouvierc | 2012-04-04 13:52:39 +0200 (Wed, 04 Apr 2012) | 2 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.cu

Some improvements in shared memory usage.

------------------------------------------------------------------------
r1900 | zimmerma | 2012-04-04 12:46:00 +0200 (Wed, 04 Apr 2012) | 2 lines
Changed paths:
   D /trunk/gpu/gpu_ecm/keep

removed directory "keep" which has nothing to do in svn

------------------------------------------------------------------------
r1899 | bouvierc | 2012-04-04 11:48:21 +0200 (Wed, 04 Apr 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/Makefile

Fix annoying bug with the keep directory
Add a temporary make check

------------------------------------------------------------------------
r1898 | pcl | 2012-04-04 11:31:39 +0200 (Wed, 04 Apr 2012) | 5 lines
Changed paths:
   M /trunk/README.dev
   A /trunk/gpu/gpu_ecm/keep

Don't assume that . is in the path when following instructions in README.dev

Create the keep directory so that gpu_ecm makes correctly.


------------------------------------------------------------------------
r1896 | zimmerma | 2012-04-02 17:03:22 +0200 (Mon, 02 Apr 2012) | 2 lines
Changed paths:
   M /trunk/mul_fft.c

[mul_fft.c] fixed issue reported by Paul Leyland

------------------------------------------------------------------------
r1894 | bouvierc | 2012-03-30 16:26:46 +0200 (Fri, 30 Mar 2012) | 3 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/cudakernel.cu
   M /trunk/gpu/gpu_ecm/main.c

New way of calling cuda kernel (thanks to Rocke Verser)
New way of measuring GPU time

------------------------------------------------------------------------
r1892 | zimmerma | 2012-03-28 20:10:20 +0200 (Wed, 28 Mar 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.am
   M /trunk/configure.in
   M /trunk/ecm-gmp.h
   M /trunk/ecm-impl.h
   M /trunk/mpmod.c
   M /trunk/mul_fft.c

got rid of mul_fft.c file (only kept mpn_mul_fft_full which is no more
    provided by GMP 5.0.4, but in MPIR 2.5.1)

------------------------------------------------------------------------
r1891 | zimmerma | 2012-03-28 16:38:32 +0200 (Wed, 28 Mar 2012) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/pm1.c

[pm1.c] now always use NTT by default in stage 2

------------------------------------------------------------------------
r1890 | zimmerma | 2012-03-26 15:26:05 +0200 (Mon, 26 Mar 2012) | 2 lines
Changed paths:
   M /trunk/ecm.h

[ecm.h] use macro ECM_DEFAULT_B2

------------------------------------------------------------------------
r1889 | bouvierc | 2012-03-26 15:23:17 +0200 (Mon, 26 Mar 2012) | 2 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/README

Update README with how to do Step 2 of GPU-ECM with GMP-ECM

------------------------------------------------------------------------
r1888 | zimmerma | 2012-03-26 15:07:08 +0200 (Mon, 26 Mar 2012) | 2 lines
Changed paths:
   M /trunk/gpu/gpu_ecm/main.c

[gpu_ecm/main.c] scan B1 as double to allow 1e6 for example

------------------------------------------------------------------------
r1884 | zimmerma | 2012-03-21 21:36:44 +0100 (Wed, 21 Mar 2012) | 5 lines
Changed paths:
   M /trunk/ecm-impl.h
   M /trunk/ecm-params.h.core2
   M /trunk/ecm.c
   M /trunk/mpzspm.c
   M /trunk/mpzspv.c

[ecm-params.h.core2] increased MPZSPV_NORMALISE_STRIDE to 256
[mpzspv.c] added comments and error analysis in mpzspv_to_mpzv
           and timings (with #define TIMING_CRT) for spv <-> mpz_t
	   conversions

------------------------------------------------------------------------
r1883 | zimmerma | 2012-03-21 18:59:00 +0100 (Wed, 21 Mar 2012) | 5 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 and enable
				   assertions again
[main.c] now -batch=1 is default
[test.ecm] add -batch=0 for classical tests

------------------------------------------------------------------------
r1881 | zimmerma | 2012-03-21 16:38:04 +0100 (Wed, 21 Mar 2012) | 4 lines
Changed paths:
   M /trunk/ChangeLog
   M /trunk/INSTALL-ecm
   M /trunk/README.dev
   M /trunk/build.vc10/config.h
   M /trunk/champions.h
   M /trunk/configure.in

[configure.in,build.vc10/config.h] this is the 6.4.2 release
[ChangeLog] updated
[champions.h] now 68 digits is needed for ECM to enter the top 10!

------------------------------------------------------------------------
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
(https://sympa.inria.fr/sympa/arc/ecm-discuss/2012-03/msg00024.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 Lefèvre)

------------------------------------------------------------------------
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 Torbjörn 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 Schönhage-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 occurred 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

