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

Skip to content
Snippets Groups Projects
Commit c6a2e99a authored by dev's avatar dev
Browse files

Added Intel Atom as (pentium3) as prescribed by the libgmp configure scripts.

parent 16509e59
No related branches found
No related tags found
No related merge requests found
...@@ -324,8 +324,16 @@ public class CPUID { ...@@ -324,8 +324,16 @@ public class CPUID {
return getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=3); return getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=3);
} }
public boolean IsPentium3Compatible() public boolean IsPentium3Compatible()
{ {
return getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=7); // Atom
if (getCPUExtendedModel() == 1 && (getCPUFamily() == 6 && (getCPUModel() == 10))){
return true;
// ??
} else if (getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=7)){
return true;
} else {
return false;
}
} }
public boolean IsPentium4Compatible() public boolean IsPentium4Compatible()
{ {
...@@ -417,17 +425,18 @@ public class CPUID { ...@@ -417,17 +425,18 @@ public class CPUID {
case 15: case 15:
return "Core 2 (Conroe)"; return "Core 2 (Conroe)";
} }
} } else {
if (getCPUExtendedModel() == 1){ if (getCPUExtendedModel() == 1){
switch(getCPUModel()){ switch(getCPUModel()){
case 10: case 10:
return "Core i7"; return "Core i7";
case 12: case 12:
return "Atom"; return "Atom";
case 13: case 13:
return "Xeon MP"; return "Xeon MP";
} }
} }
}
} }
if(getCPUFamily() == 7){ if(getCPUFamily() == 7){
switch(getCPUModel()){ switch(getCPUModel()){
......
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