Browse Source
Merge pull request #4760 from martin-frbg/zhaoxin7k
Add cpuid for Zhaoxin KX-7000
tags/v0.3.28^2
Martin Kroeker
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
0 deletions
-
cpuid_x86.c
-
driver/others/dynamic.c
|
|
|
@@ -2525,6 +2525,7 @@ int get_coretype(void){ |
|
|
|
case 0x7: |
|
|
|
switch (exmodel) { |
|
|
|
case 5: |
|
|
|
case 6: |
|
|
|
if (support_avx2()) |
|
|
|
return CORE_ZEN; |
|
|
|
else |
|
|
|
|
|
|
|
@@ -927,6 +927,7 @@ static gotoblas_t *get_coretype(void){ |
|
|
|
case 0x7: |
|
|
|
switch (exmodel) { |
|
|
|
case 5: |
|
|
|
case 6: |
|
|
|
if (support_avx2()) |
|
|
|
return &gotoblas_ZEN; |
|
|
|
else |
|
|
|
|