Hi Jeff,

Does your code link against GMP? Is it possible that it is picking up
an old GMP version on your machine?

I guess you realise you have to build MPIR with ./configure --enable-gmpcompat

and when you do

make install

you need to follow that with

make install-gmpcompat.

As for the CPU detection not working, I don't have an explanation for
that. In MPIR 1.1.0 cpuid.c definitely reports Family 6 Model 23 as
penryn (a fancy Core2).

Can you post the output of

cat /proc/cpuinfo

for this machine?

Bill.

2009/4/16 Jeff Gilchrist <jeff.gilchr...@gmail.com>:
>
> On Wed, Apr 15, 2009 at 2:33 PM, Bill Hart <goodwillh...@googlemail.com> 
> wrote:
>
>> As no issues with the MPIR 1.1.0 release candidate were found after
>> extensive testing, we are making release candidate 1 the final
>> release.
>
> Here are some benchmarks.  With K8, MPIR is very competitive with the
> new GMP.  For some reason my core2 builds are strange.  The MPIR 1.1
> library is much slower than 1.0.  Config in 1.0 and 1.1 is detecting
> the system as: x86_64-unknown-linux-gnu so trying to use K8 code with
> it.  I'm not sure why there is such a speed difference between the 1.0
> and 1.1 K8 code on a Core 2 though.
>
> MPIR Benchmarks
> ===============
> mpz_mul(t, r, r);
> mpz_sub_ui(t, t, 2);
> mpz_mod(r, t, p);
>
> Intel Xeon E5405 @ 2.0GHz (Family 6, Model 23, Stepping 6)
> Linux 64bit, gcc version 4.1.2
> 83338 bits (25088 digits)
> Library         Time1           Time2
> ----------      ---------       ---------
> GMP 4.3.0       2m34.857s       2m34.835s
> MPIR 1.0.0      3m17.198s       3m17.288s
> GMP 4.2.4       5m38.156s       5m38.173s
> MPIR 1.1.0      5m45.308s       5m45.236s
>
>
> AMD Opteron 248 @ 2.2GHz (Family 15, Model 37, Stepping 1)
> Linux 64bit, gcc version 3.4.6
> 83338 bits (25088 digits)
> Library         Time1           Time2
> ----------      ---------       ---------
> GMP 4.3.0       1m35.091s       1m34.815s
> MPIR 1.1.0      1m36.480s       1m35.923s
> MPIR 1.0.0      1m37.501s       1m36.857s
> GMP 4.2.4       2m56.352s       2m55.702s
>
> Jeff.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to