Merge pull request #4147 from martin-frbg/aldern

Support Alder Lake N (family 6 exmodel 11 model 14) as Haswell
This commit is contained in:
Martin Kroeker 2023-07-17 09:11:23 +02:00 committed by GitHub
commit 81228fc586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1551,6 +1551,7 @@ int get_cpuname(void){
case 7: // Raptor Lake case 7: // Raptor Lake
case 10: case 10:
case 15: case 15:
case 14: // Alder Lake N
if(support_avx2()) if(support_avx2())
return CPUTYPE_HASWELL; return CPUTYPE_HASWELL;
if(support_avx()) if(support_avx())
@ -2360,6 +2361,7 @@ int get_coretype(void){
case 7: // Raptor Lake case 7: // Raptor Lake
case 10: case 10:
case 15: case 15:
case 14: // Alder Lake N
#ifndef NO_AVX2 #ifndef NO_AVX2
if(support_avx2()) if(support_avx2())
return CORE_HASWELL; return CORE_HASWELL;