mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2006-07-15, 13:13   #1
M0CZY
 
M0CZY's Avatar
 
May 2005
Brutal Police State, UK

112 Posts
Default Better with MinGW 5.0.3?

I have just changed from the old version of MinGW-3.1.0-1 to the newer
version MinGW 5.0.3 I have kept the current version of MSYS-1.0.10
When I compiled a new copy of ECM 6.1/GMP 4.2.1 I found that the ecm.exe
file was 30 kB larger than before.
I ran 'make ecm-params;make' and it also passed 'make check' OK.
Is it correct for me to assume that the new copy of GMP-ECM will be better
and faster simply because it was compiled using a newer version of MinGW?
The new version of MinGW has certainly put "more" into the ecm.exe file, but
will it be more efficient than an older ecm.exe file that was compiled using
MinGW-3.1.0-1?
M0CZY is offline   Reply With Quote
Old 2006-07-16, 07:29   #2
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

I doubt there will by any significant difference in performance. Most of the cpu time is spent in GMP functions and those are written in assembler, so different compilers should not have any effect on their efficiency. Exception: AMD64 functions in GMP 4.1 were generic C code, different optimisation quality of different compilers might affect speed here.

Maybe the new MinGW compiler is putting more symbol/debugging info in the binary... is the "strip" command there in MinGW? It removes all such info and leaves only the program code. You could run that on copies of both the old and the new executable and see how much the size differs then.

Alex
akruppa is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MinGW/MSYS organization wombatman Msieve 0 2013-05-21 19:04
MinGW ET_ Software 0 2012-10-24 10:06
MinGW-w64 bsquared Programming 19 2011-02-05 03:27
MinGW/MSYS CRGreathouse Software 10 2009-02-04 22:02
GMP-ECM 6.2-rc1 - installation under MinGW failed Andi47 GMP-ECM 5 2008-04-30 17:46

All times are UTC. The time now is 10:27.

Fri Mar 5 10:27:23 UTC 2021 up 92 days, 6:38, 0 users, load averages: 1.48, 1.84, 1.93

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.