We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e83a2f + ff27821 commit dff2616Copy full SHA for dff2616
src/arm/mach/init.c
@@ -399,6 +399,16 @@ void cpuinfo_arm_mach_init(void) {
399
cpuinfo_isa.i8mm = true;
400
}
401
402
+ const uint32_t has_feat_sme = get_sys_info_by_name("hw.optional.arm.FEAT_SME");
403
+ if (has_feat_sme != 0) {
404
+ cpuinfo_isa.sme = true;
405
+ }
406
+
407
+ const uint32_t has_feat_sme2 = get_sys_info_by_name("hw.optional.arm.FEAT_SME2");
408
+ if (has_feat_sme2 != 0) {
409
+ cpuinfo_isa.sme2 = true;
410
411
412
uint32_t num_clusters = 1;
413
for (uint32_t i = 0; i < mach_topology.cores; i++) {
414
cores[i] = (struct cpuinfo_core){
0 commit comments