mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
* Update asmjit dependency (aarch64 branch) * Disable USE_DISCORD_RPC by default * Dump some JIT objects in rpcs3 cache dir * Add SIGILL handler for all platforms * Fix resetting zeroing denormals in thread pool * Refactor most v128:: utils into global gv_** functions * Refactor PPU interpreter (incomplete), remove "precise" * - Instruction specializations with multiple accuracy flags * - Adjust calling convention for speed * - Removed precise/fast setting, replaced with static * - Started refactoring interpreters for building at runtime JIT * (I got tired of poor compiler optimizations) * - Expose some accuracy settings (SAT, NJ, VNAN, FPCC) * - Add exec_bytes PPU thread variable (akin to cycle count) * PPU LLVM: fix VCTUXS+VCTSXS instruction NaN results * SPU interpreter: remove "precise" for now (extremely non-portable) * - As with PPU, settings changed to static/dynamic for interpreters. * - Precise options will be implemented later * Fix termination after fatal error dialog
69 lines
905 B
C++
Executable file
69 lines
905 B
C++
Executable file
#pragma once
|
|
|
|
#include "util/types.hpp"
|
|
#include <string>
|
|
|
|
namespace utils
|
|
{
|
|
bool has_ssse3();
|
|
|
|
bool has_sse41();
|
|
|
|
bool has_avx();
|
|
|
|
bool has_avx2();
|
|
|
|
bool has_rtm();
|
|
|
|
bool has_tsx_force_abort();
|
|
|
|
bool has_rtm_always_abort();
|
|
|
|
bool has_mpx();
|
|
|
|
bool has_avx512();
|
|
|
|
bool has_avx512_icl();
|
|
|
|
bool has_avx512_vnni();
|
|
|
|
bool has_xop();
|
|
|
|
bool has_clwb();
|
|
|
|
bool has_invariant_tsc();
|
|
|
|
bool has_fma3();
|
|
|
|
bool has_fma4();
|
|
|
|
bool has_erms();
|
|
|
|
bool has_fsrm();
|
|
|
|
std::string get_cpu_brand();
|
|
|
|
std::string get_system_info();
|
|
|
|
std::string get_firmware_version();
|
|
|
|
std::string get_OS_version();
|
|
|
|
int get_maxfiles();
|
|
|
|
ullong get_tsc_freq();
|
|
|
|
u64 get_total_memory();
|
|
|
|
u32 get_thread_count();
|
|
|
|
u32 get_cpu_family();
|
|
|
|
u32 get_cpu_model();
|
|
|
|
// A threshold of 0xFFFFFFFF means that the rep movsb is expected to be slow on this platform
|
|
u32 get_rep_movsb_threshold();
|
|
|
|
extern const u64 main_tid;
|
|
}
|