mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
Merge pull request #19093 from hrydgard/macos-fix-test-crash
Temporarily disable the JIT_IR unit test on Mac
This commit is contained in:
12 files changed
+59
-35
No files matched your search
@@ -542,3 +542,31 @@ std::string CPUInfo::Summarize() {
|
||||
}
|
||||
|
||||
#endif // PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)
|
||||
|
||||
const char *GetCompilerABI() {
|
||||
#if PPSSPP_ARCH(ARMV7)
|
||||
return "armeabi-v7a";
|
||||
#elif PPSSPP_ARCH(ARM)
|
||||
return "armeabi";
|
||||
#elif PPSSPP_ARCH(ARM64)
|
||||
return "arm64";
|
||||
#elif PPSSPP_ARCH(X86)
|
||||
return "x86";
|
||||
#elif PPSSPP_ARCH(AMD64)
|
||||
return "x86-64";
|
||||
#elif PPSSPP_ARCH(RISCV64)
|
||||
//https://github.com/riscv/riscv-toolchain-conventions#cc-preprocessor-definitions
|
||||
//https://github.com/riscv/riscv-c-api-doc/blob/master/riscv-c-api.md#abi-related-preprocessor-definitions
|
||||
#if defined(__riscv_float_abi_single)
|
||||
return "lp64f";
|
||||
#elif defined(__riscv_float_abi_double)
|
||||
return "lp64d";
|
||||
#elif defined(__riscv_float_abi_quad)
|
||||
return "lp64q";
|
||||
#elif defined(__riscv_float_abi_soft)
|
||||
return "lp64";
|
||||
#endif
|
||||
#else
|
||||
return "other";
|
||||
#endif
|
||||
}
|
||||
@@ -161,3 +161,5 @@ private:
|
||||
};
|
||||
|
||||
extern CPUInfo cpu_info;
|
||||
|
||||
const char *GetCompilerABI();
|
||||
Reference in new issue
Block a user