Changeset 56ef4cda


Ignore:
Timestamp:
Nov 19, 2012 11:47:55 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
5f45624
Parents:
5975b69
Message:

Addi an exception for core2 & corei to NBI on 32-bit kFreeBSD, NetBSD, and OpenBSD

These binaries are identical on 32-bit kFreeBSD, NetBSD, and OpenBSD systems.
If a corei CPU is found on these systems we'll use the core2 jbigi binary.

194868,ad47c3d909d0fb85242566f3c7b4be5b,libjbigi-kfreebsd-core2.so
194868,ad47c3d909d0fb85242566f3c7b4be5b,libjbigi-kfreebsd-corei.so
202848,57aa013ca310f3aae990f5ee78c100bd,libjbigi-netbsd-core2.so
202848,57aa013ca310f3aae990f5ee78c100bd,libjbigi-netbsd-corei.so
207657,01483211b6e077057302e256f185f7e7,libjbigi-openbsd-core2.so
207657,01483211b6e077057302e256f185f7e7,libjbigi-openbsd-corei.so

The I2P project does not currently ship these binaries, but they can be found
in unofficial jbigi packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/NativeBigInteger.java

    r5975b69 r56ef4cda  
    755755                // k62 and k63 identical except on windows
    756756                sAppend = JBIGI_OPTIMIZATION_K6_2;
     757            else if (sCPUType.equals(JBIGI_OPTIMIZATION_COREI) && (!_is64) && ((_isKFreebsd) || (_isNetbsd) || (_isOpenbsd)))
     758                // corei and core2 are identical on 32bit kfreebsd, openbsd, and netbsd
     759                sAppend = JBIGI_OPTIMIZATION_CORE2;
    757760            else if (sCPUType.equals(JBIGI_OPTIMIZATION_VIAC32))
    758761                // viac32 and pentium3 identical
Note: See TracChangeset for help on using the changeset viewer.