File tree 1 file changed +17
-0
lines changed
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){
1578
1578
case 12 : //family 6 exmodel 12
1579
1579
switch (model ) {
1580
1580
case 15 :
1581
+ case 6 : // Arrow Lake
1581
1582
if (support_avx512 ())
1582
1583
return CPUTYPE_SAPPHIRERAPIDS ;
1583
1584
if (support_avx2 ())
@@ -2421,6 +2422,22 @@ int get_coretype(void){
2421
2422
else
2422
2423
return CORE_NEHALEM ;
2423
2424
}
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
+ }
2424
2441
}
2425
2442
case 15 :
2426
2443
if (model <= 0x2 ) return CORE_NORTHWOOD ;
You can’t perform that action at this time.
0 commit comments