Fix for previous commit

This commit is contained in:
Dr-Noob
2024-08-08 10:00:38 +02:00
parent 707cd64b8a
commit d2bda37e5f
2 changed files with 2 additions and 7 deletions

View File

@@ -209,12 +209,7 @@ struct features* get_features_info(void) {
#endif // ifdef __linux__
if (feat->SVE || feat->SVE2) {
#ifdef __ARM_FEATURE_SVE
feat->cntb = sve_cntb();
#else
printWarn("Hardware supports SVE, but not the compiler");
feat->cntb = 0;
#endif
feat->cntb = sve_cntb();
}
return feat;