mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
vm: removed c_page_size, it cannot be used by globals
This commit is contained in:
parent
57e7cee84e
commit
2ebf257f84
6 changed files with 24 additions and 27 deletions
|
@ -776,7 +776,7 @@ bool jit_compiler::add(const std::string& path)
|
|||
if (!cache)
|
||||
{
|
||||
jit_log.error("ObjectCache: Failed to read file. (path='%s', error=%s)", path, fs::g_tls_error);
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (auto object_file = llvm::object::ObjectFile::createObjectFile(*cache))
|
||||
|
@ -857,11 +857,11 @@ const char * fallback_cpu_detection()
|
|||
// Return zen4 as a workaround until the next LLVM upgrade.
|
||||
return "znver4";
|
||||
default:
|
||||
// Safest guesses
|
||||
// Safest guesses
|
||||
return utils::has_avx512() ? "znver4" :
|
||||
utils::has_avx2() ? "znver1" :
|
||||
utils::has_avx() ? "bdver1" :
|
||||
"nehalem";
|
||||
"nehalem";
|
||||
}
|
||||
}
|
||||
else if (brand.find("Intel") != std::string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue