Some things that can cause a 10% speed regression: * not using the latest gcc * a statistical timing fluke * machine load * dynamically linking against MPIR instead of statically linking (the latter is faster, where permitted)
Bill. On 27 February 2014 17:49, fwjmath <fwjm...@gmail.com> wrote: > It is strange that now it also compiles with --enable-fat. The only > explanation is that I confused --build and --host options... And the > non-fat MPIR compiled under cygwin seems to work great, with comparable > speed with GMP, though more testing is needed. Since in x86_64 it is tuned > as k8, it should be general enough. > > Sorry for troubling all of you and thanks a lot for all your comments! > > Cheers, > fwjmath. > > 在 2014年2月27日星期四UTC+1下午4时54分35秒,Bill Hart写道: >> >> --enable-fat is not guaranteed to work on all machines. Basically the >> idea is to build a fat binary on one machine and then distribute the >> binaries to all the other machines. >> >> Which means.... finding a machine on which --enable-fat builds. >> >> To be honest, I'm surprised it works at all on Windows. >> >> Bill. >> >> >> On 27 February 2014 16:29, fwjmath <fwj...@gmail.com> wrote: >> >>> Hi Jean-Pierre, >>> >>> Thanks for your reply. I need to precise that MPIR builds on cygwin64 >>> with the cygwin toolchain, but not with the mingw64 toolchain. >>> >>> But I just gave it another try without --enable-fat, and it seems to >>> work. >>> >>> I will now try it with --enable-fat. >>> >>> Cheers, >>> fwjmath. >>> >>> 在 2014年2月27日星期四UTC+1下午2时27分48秒,Jean-Pierre Flori写道: >>> >>>> >>>> >>>> On Thursday, February 27, 2014 2:26:40 PM UTC+1, Jean-Pierre Flori >>>> wrote: >>>>> >>>>> >>>>> I was not able to build MPIR on cygwin, it was more or less stucked >>>>> when building libmpn.la with libtool. I have used the >>>>> --with-system-yasm option (or else it complains on cygwin-style symbolic >>>>> links). >>>>> >>>> Could you provide more details such as output from configure, make and >>>> the config.log file? >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "mpir-devel" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to mpir-devel+...@googlegroups.com. >>> To post to this group, send email to mpir-...@googlegroups.com. >>> >>> Visit this group at http://groups.google.com/group/mpir-devel. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/groups/opt_out.