On Thursday, February 27, 2014 2:19:37 PM UTC+1, fwjmath wrote:
>
> Hi all,
>
> I am cooperating with a volunteer computing project (yoyo@home, if anyone 
> knows it), and I need MPIR to build a performance-crucial application on 
> Windows that will be run on heterogenous CPU. The last version I built also 
> uses MPIR, and I am really grateful of all your work.
>
> This time, since the performance of the arbitrary-precision arithmetic is 
> extremely important, a fat binary is needed. I downloaded the master branch 
> from Git, and I used mingw64 on msys as build environment, with the 
> following option for configure
>
> ./configure --disable-fft --disable-shared --enable-fat
>
> The "make" and "make check" were successful, but when compiling the 
> application, mingw64-g++ hinted that there are duplicated symbols, namely 
> g?mpn_k8_redc_1 in mpn/bobcat/redc_1.asm and ?mpn_core2_redc_1 in 
> mpn/sandybridge/redc_1.asm. I did a renaming to get rid of this problem, 
> and the application compiles.
>
> But then when I tested it against another build with the following option
>
> ./configure --disable-fft --disable-shared
>
> the fat binary is slower by about 10%. Furthermore, comparing to GMP on 
> cygwin64, there is also a large slowdown. Here are some rough timing:
>
> msys-mpir-fat ~60min
> msys-mpir-nofat ~55min
> cygwin64-gmp-nofat ~40min
>
> 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).
>
Strange, I have been successful for a long time building MPIR on Cygwin64, 
using the system or MPIR shipped yasm.
I'll double check this week-end if nothing went wrong since last time I 
tried.

-- 
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.

Reply via email to