actually use the 64 bit cpu detection

This commit is contained in:
zzz
2011-06-10 23:24:54 +00:00
parent 6317418028
commit dba92b0c42
3 changed files with 2 additions and 12 deletions

View File

@ -179,17 +179,6 @@ public class NativeBigInteger extends BigInteger {
* @return A string containing the CPU-type or null if CPU type is unknown
*/
private static String resolveCPUType() {
if (_is64) {
// Test the 64 bit libjcpuid, even though we don't use it yet
try {
CPUInfo c = CPUID.getInfo();
_cpuModel = c.getCPUModelString();
} catch (UnknownCPUException e) {
// log?
}
return JBIGI_OPTIMIZATION_ATHLON64;
}
try {
CPUInfo c = CPUID.getInfo();
try {

View File

@ -22,6 +22,7 @@
http://sponge.i2p/files/jbigi/gmp-4.3.2/
The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was
little or no performance difference between the two versions for 32 bit processors.
* NBI: Enable 64-bit processor detection
* Profiles: Skip and delete a corrupt profile read from disk
2011-06-10 kytv

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 23;
public final static long BUILD = 24;
/** for example "-test" */
public final static String EXTRA = "";