Changeset b335ded1 for core


Ignore:
Timestamp:
Mar 24, 2017 1:08:56 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a0b2f57
Parents:
0a2097a2
Message:

CPUID: Recognize Ryzen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/freenet/support/CPUInformation/AMDInfoImpl.java

    r0a2097a2 rb335ded1  
    454454          }
    455455          break;
     456
     457        //Ryzen 7 (model 1), Ryzen 5 TBD
     458        // untested
     459          case 23: {
     460            // Quote wikipedia:
     461            // Zen is a clean sheet design that differs from the long-standing Bulldozer architecture.
     462            // All models support: x87, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AES, CLMUL,
     463            // AVX, AVX2, FMA, CVT16/F16C, ABM, BMI1, BMI2, SHA.
     464            isK6Compatible = true;
     465            isK6_2_Compatible = true;
     466            isK6_3_Compatible = true;
     467            isAthlonCompatible = true;
     468            isAthlon64Compatible = true;
     469            // Pending testing of the bulldozer jbigi
     470            //isPiledriverCompatible = true;
     471            //isSteamrollerCompatible = true;
     472            //isExcavatorCompatible = true;
     473            //isBulldozerCompatible = true;
     474            if (model == 1)
     475               modelString = "Ryzen 7";
     476            else
     477               modelString = "Ryzen model " + model;
     478          }
     479          break;
    456480        }
    457481        return modelString;
Note: See TracChangeset for help on using the changeset viewer.