mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
Windows: Use cpu_features on arm64.
It's now supported.
This commit is contained in:
parent
ac40721a64
commit
bab2461a48
@ -32,10 +32,10 @@
|
||||
#if defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
||||
#define USE_CPU_FEATURES 1
|
||||
#endif
|
||||
#elif PPSSPP_ARCH(ARM64) && defined(__aarch64__)
|
||||
#elif PPSSPP_ARCH(ARM64)
|
||||
#include "ext/cpu_features/include/cpuinfo_aarch64.h"
|
||||
|
||||
#if defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
||||
#if defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID) || defined(CPU_FEATURES_OS_WINDOWS)
|
||||
#define USE_CPU_FEATURES 1
|
||||
#endif
|
||||
#endif
|
||||
@ -54,7 +54,7 @@
|
||||
std::string GetCPUBrandString();
|
||||
#else
|
||||
// No CPUID on ARM, so we'll have to read the registry
|
||||
#include <windows.h>
|
||||
#include "Common/CommonWindows.h"
|
||||
std::string GetCPUBrandString() {
|
||||
std::string cpu_string;
|
||||
|
||||
|
@ -296,6 +296,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\filesystem.c" />
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_aarch64_linux_or_android.c" />
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_aarch64_windows.c" />
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_arm_linux_or_android.c" />
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_mips_linux_or_android.c" />
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_ppc_linux.c" />
|
||||
|
@ -110,6 +110,9 @@
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_aarch64_linux_or_android.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_aarch64_windows.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\ext\cpu_features\src\impl_arm_linux_or_android.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
|
@ -359,6 +359,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="cpu_features\src\filesystem.c" />
|
||||
<ClCompile Include="cpu_features\src\impl_aarch64_linux_or_android.c" />
|
||||
<ClCompile Include="cpu_features\src\impl_aarch64_windows.c" />
|
||||
<ClCompile Include="cpu_features\src\impl_arm_linux_or_android.c" />
|
||||
<ClCompile Include="cpu_features\src\impl_mips_linux_or_android.c" />
|
||||
<ClCompile Include="cpu_features\src\impl_ppc_linux.c" />
|
||||
|
@ -111,6 +111,9 @@
|
||||
<ClCompile Include="cpu_features\src\impl_aarch64_linux_or_android.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="cpu_features\src\impl_aarch64_windows.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="cpu_features\src\impl_arm_linux_or_android.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
|
@ -207,6 +207,7 @@ endif
|
||||
SOURCES_C += \
|
||||
$(EXTDIR)/cpu_features/src/filesystem.c \
|
||||
$(EXTDIR)/cpu_features/src/impl_aarch64_linux_or_android.c \
|
||||
$(EXTDIR)/cpu_features/src/impl_aarch64_windows.c \
|
||||
$(EXTDIR)/cpu_features/src/impl_arm_linux_or_android.c \
|
||||
$(EXTDIR)/cpu_features/src/impl_mips_linux_or_android.c \
|
||||
$(EXTDIR)/cpu_features/src/impl_ppc_linux.c \
|
||||
|
Loading…
Reference in New Issue
Block a user