File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1578,6 +1578,7 @@ int get_cpuname(void){
15781578 case 12 : //family 6 exmodel 12
15791579 switch (model ) {
15801580 case 15 :
1581+ case 6 : // Arrow Lake
15811582 if (support_avx512 ())
15821583 return CPUTYPE_SAPPHIRERAPIDS ;
15831584 if (support_avx2 ())
@@ -2421,6 +2422,22 @@ int get_coretype(void){
24212422 else
24222423 return CORE_NEHALEM ;
24232424 }
2425+ case 12 :
2426+ switch (model ) {
2427+ case 6 : // Arrow Lake
2428+ if (support_amx_bf16 ())
2429+ return CORE_SAPPHIRERAPIDS ;
2430+ if (support_avx512_bf16 ())
2431+ return CORE_COOPERLAKE ;
2432+ if (support_avx512 ())
2433+ return CORE_SKYLAKEX ;
2434+ if (support_avx2 ())
2435+ return CORE_HASWELL ;
2436+ if (support_avx ())
2437+ return CORE_SANDYBRIDGE ;
2438+ else
2439+ return CORE_NEHALEM ;
2440+ }
24242441 }
24252442 case 15 :
24262443 if (model <= 0x2 ) return CORE_NORTHWOOD ;
You can’t perform that action at this time.
0 commit comments