- Replace old non-PIC 62-bit linux libs (GMP 4.1.4 built in 2005)
        with PIC libs built with GMP 5.0.2. License is LGPLv3.
        Built by sponge with GCC 4.4.4, downloaded from
        http://sponge.i2p/files/jbigi/gmp-5.0.2/
        For 64-bit processors, both performance testing and
        the GMP changelog led us to use 5.0.2 for both the 32- and 64-bit versions,
        even though the files are twice as big.
        See http://zzz.i2p/topics/306 for discussion and test results.
        libjbigi-linux-athlon64.so was a 64 bit file; by the new naming standard
        supported by NativeBigInteger, it is now a 32-bit file and the
        64-bit one is libjbigi-linux-athlon64_64.so.
        All new 64-bit libs will have _64 appended.
      - Update build docs
This commit is contained in:
zzz
2011-06-05 13:52:43 +00:00
parent 48f4c7286d
commit d28f4bd24b
8 changed files with 61 additions and 13 deletions

View File

@@ -1,3 +1,11 @@
NOTE: This file may not be maintained.
See history.txt, checkin comments, javadoc, and code in
NativeBigInteger.java and CPUID.java for additional information.
See NativeBigInteger.java for naming rules and algorithms for
generating an ordered list of names to load.
================================
jbigi.jar was built by jrandom on Aug 21, 2004 with the jbigi and jcpuid
native libraries compiled on linux, winXP (w/ MinGW), and freebsd (4.8).
The GMP code in jbigi is from GMP-4.1.3 (http://www.swox.com/gmp/), and
@@ -23,3 +31,29 @@ being compiled by jrandom on linux/p4 (cross compiled to --host=viac3)
On Feb 27, 2006, jbigi-win-athlon.dll was copied to jbigi-win-athlon64.dll,
as it should offer amd64 users better performance than jbigi-win-none.dll
until we get a full amd64 build.
================================
Updates May/June 2011:
jcpuid:
- jcpuid.c updated to be compatible with -fPIC
- 32 bit libjcpuid-linux-x86.so updated, compiled with -fPIC.
- 64 bit libjcpuid-linux-x86_64.so added, compiled with -fPIC.
- See also javadoc and code in CPUID.java
jbigi:
- k62 and k63 are identical for all except windows; exception added to
NativeBigInteger to use k62 for k63. k63 files deleted.
- All 32 bit linux files updated with GMP 4.3.2, compiled with -fPIC,
except for athlon64 and pentium4, which use GMP 5.0.2.
- All 64 bit linux files updated with GMP 5.0.2.
- libjbigi-windows-athlon64.dll deleted, it was a duplicate of
libjbigi-windows-athlon.dll. NativeBigInteger now uses athlon as
a fallback for all 64-bit processors.
- Note that all new 64 bit files will use the _64 suffix. For example,
the old libjbigi-linux-athlon64.so file was 64 bit; now it is 32 bit
and the 64 bit file is libjbigi-linux-athlon64_64.so.
- The 4.3.2 files are half the size of the 5.0.2 files, and there was
little or no performance difference for 32 bit, so we are using
4.3.2 for 32 bit. For 64-bit processors, both performance testing and
the GMP changelog led us to use 5.0.2 for both the 32- and 64-bit versions.
- See also checkin comments, javadoc and code in NativeBigInteger.java

Binary file not shown.

Binary file not shown.

Binary file not shown.