mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
9 files changed
+171
-1
No files matched your search
@@ -420,6 +420,18 @@ const char *GetCompilerABI() {
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user