Switch to compile-time ARMV7 define.

This commit is contained in:
Sacha committed 2013-11-15 11:20:39 +10:00
1 parent adde016338
commit 20e8a81268
6 files changed
+57 -52

No files matched your search

-7
View File
@@ -268,13 +268,6 @@ void CPUInfo::Detect()
bASIMD = CheckCPUFeature("asimd");
num_cores = GetCoreCount();
#endif
// Since we can do this at compile-time (separate libraries) for every platform,
// maybe we can replace the bArmV7 check with #if like we do for x86 and x86_64
#if defined(__ARM_ARCH_7A__)
bArmV7 = true;
#else
bArmV7 = false;
#endif
}
// Turn the cpu info into a string we can show