2005-09-18 jrandom
* Added support for pure 64bit linux with jbigi and the java service wrapper (no need for jcpuid if we're on os.arch=amd64). Thanks mule et al for help testing! * UI cleanup in Syndie (thanks gloin and bar!)
This commit is contained in:
@ -127,6 +127,10 @@ public class NativeBigInteger extends BigInteger {
|
||||
* @return A string containing the CPU-type or null if CPU type is unknown
|
||||
*/
|
||||
private static String resolveCPUType() {
|
||||
boolean is64 = (-1 != System.getProperty("os.arch").indexOf("64"));
|
||||
if (is64)
|
||||
return JBIGI_OPTIMIZATION_ATHLON64;
|
||||
|
||||
try {
|
||||
CPUInfo c = CPUID.getInfo();
|
||||
if (c instanceof AMDCPUInfo) {
|
||||
|
Reference in New Issue
Block a user