mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-24 23:40:39 +01:00
[v1.05][ARM] Fix SVE cntb datatype
This commit is contained in:
@@ -514,7 +514,7 @@ void print_debug(struct cpuInfo* cpu) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cpu->feat->SVE || cpu->feat->SVE2) {
|
if (cpu->feat->SVE || cpu->feat->SVE2) {
|
||||||
printf("- cntb: %ld\n", cpu->feat->cntb);
|
printf("- cntb: %lld\n", cpu->feat->cntb);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__MACH__)
|
#if defined(__APPLE__) || defined(__MACH__)
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ struct features {
|
|||||||
bool CRC32;
|
bool CRC32;
|
||||||
bool SVE;
|
bool SVE;
|
||||||
bool SVE2;
|
bool SVE2;
|
||||||
uint32_t cntb;
|
uint64_t cntb;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user