I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ddcd8cbb authored by zzz's avatar zzz
Browse files

prep for new 32 bit cpus

parent f5f4f14b
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,13 @@ public class NativeBigInteger extends BigInteger { ...@@ -113,6 +113,13 @@ public class NativeBigInteger extends BigInteger {
private final static String JBIGI_OPTIMIZATION_PENTIUM3 = "pentium3"; private final static String JBIGI_OPTIMIZATION_PENTIUM3 = "pentium3";
private final static String JBIGI_OPTIMIZATION_PENTIUM4 = "pentium4"; private final static String JBIGI_OPTIMIZATION_PENTIUM4 = "pentium4";
private final static String JBIGI_OPTIMIZATION_VIAC3 = "viac3"; private final static String JBIGI_OPTIMIZATION_VIAC3 = "viac3";
/** below here @since 0.8.7 */
private final static String JBIGI_OPTIMIZATION_ATOM = "atom";
private final static String JBIGI_OPTIMIZATION_CORE2 = "core2";
private final static String JBIGI_OPTIMIZATION_COREI = "corei";
private final static String JBIGI_OPTIMIZATION_GEODE = "geode";
private final static String JBIGI_OPTIMIZATION_NANO = "nano";
private final static String JBIGI_OPTIMIZATION_VIAC32 = "viac32";
private static final boolean _isWin = System.getProperty("os.name").startsWith("Win"); private static final boolean _isWin = System.getProperty("os.name").startsWith("Win");
private static final boolean _isOS2 = System.getProperty("os.name").startsWith("OS/2"); private static final boolean _isOS2 = System.getProperty("os.name").startsWith("OS/2");
...@@ -549,6 +556,9 @@ public class NativeBigInteger extends BigInteger { ...@@ -549,6 +556,9 @@ public class NativeBigInteger extends BigInteger {
if (sCPUType.equals(JBIGI_OPTIMIZATION_K6_3) && !_isWin) if (sCPUType.equals(JBIGI_OPTIMIZATION_K6_3) && !_isWin)
// k62 and k63 identical except on windows // k62 and k63 identical except on windows
sAppend = "-" + JBIGI_OPTIMIZATION_K6_2; sAppend = "-" + JBIGI_OPTIMIZATION_K6_2;
else if (sCPUType.equals(JBIGI_OPTIMIZATION_VIAC32))
// viac32 and pentium3 identical
sAppend = "-" + JBIGI_OPTIMIZATION_PENTIUM3;
else else
sAppend = "-" + sCPUType; sAppend = "-" + sCPUType;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment