mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Implement SPRX precompilation
Automatically precompile firmware modules Add "Create LLVM Cache" menu (for games) Reimplement jit_compiler::cpu as static method
This commit is contained in:
parent
9d961f620b
commit
19944eeed0
8 changed files with 214 additions and 37 deletions
|
@ -40,7 +40,7 @@ class jit_compiler final
|
|||
std::string m_cpu;
|
||||
|
||||
public:
|
||||
jit_compiler(const std::unordered_map<std::string, u64>& _link, std::string _cpu);
|
||||
jit_compiler(const std::unordered_map<std::string, u64>& _link, const std::string& _cpu);
|
||||
~jit_compiler();
|
||||
|
||||
// Get LLVM context
|
||||
|
@ -65,10 +65,7 @@ public:
|
|||
static std::unordered_map<std::string, u64> add(std::unordered_map<std::string, std::string>);
|
||||
|
||||
// Get CPU info
|
||||
const std::string& cpu() const
|
||||
{
|
||||
return m_cpu;
|
||||
}
|
||||
static std::string cpu(const std::string& _cpu);
|
||||
|
||||
// Check JIT purpose
|
||||
bool is_primary() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue