Merge branch 'master' of i2pgit.org:i2p-hackers/i2p.i2p

This commit is contained in:
eyedeekay
2024-07-27 13:43:56 -04:00
34 changed files with 2522 additions and 238 deletions

View File

@@ -3,7 +3,8 @@ package freenet.support.CPUInformation;
/**
* Moved out of CPUID.java
*
* Ref: http://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures
* Ref: https://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures
* Ref: https://gmplib.org/repo/gmp/file/tip/config.guess
*
* @since 0.8.7
*/
@@ -468,7 +469,7 @@ class AMDInfoImpl extends CPUIDCPUInfo implements AMDCPUInfo
}
break;
// Zen / Zen+ / Zen2 / Zen3 / Ryzen 3/5/7/9/Threadripper / EPYC
// Zen / Zen+ / Zen2 / Zen3 / Zen4 / Ryzen 3/5/7/9/Threadripper / EPYC
// untested
case 23:
case 25: {

View File

@@ -4,7 +4,8 @@ package freenet.support.CPUInformation;
* Moved out of CPUID.java
*
* Ref: https://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers
* Ref: http://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures
* Ref: https://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures
* Ref: https://gmplib.org/repo/gmp/file/tip/config.guess
*
* @since 0.8.7
*/
@@ -521,6 +522,8 @@ class IntelInfoImpl extends CPUIDCPUInfo implements IntelCPUInfo
case 0xa7: // Rocket Lake
case 0x97: // Alder Lake
case 0x9a: // Alder Lake
case 0xba: // Raptor Lake
case 0xb7: // Raptor Lake
{
CPUIDCPUInfo c = new CPUIDCPUInfo();
if (c.hasAVX2() && c.hasBMI1() && c.hasBMI2() &&