Support Alder Lake N (fam 6 exmodel 11 model 14) as Haswell

This commit is contained in:
Martin Kroeker 2023-07-16 22:15:15 +02:00 committed by GitHub
parent b61e64da6f
commit 8da6aca2ec
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;