Tools: Enable indirect vixl runtime calls if simulator is used

So tests can still run.
This commit is contained in:
Ryan Houdek committed 2023-10-02 16:26:14 -07:00
1 parent 6964e65660
commit 9933ef07ea
4 files changed
+23

No files matched your search

+4
View File
@@ -148,6 +148,10 @@ int main(int argc, char **argv, char **const envp)
// This is to ensure that static register allocation in the JIT
// is configured correctly for accesses to the top 8 GPRs and 8 XMM registers.
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_IS64BIT_MODE, "1");
#ifdef VIXL_SIMULATOR
// If running under the vixl simulator, ensure that indirect runtime calls are enabled.
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_DISABLE_VIXL_INDIRECT_RUNTIME_CALLS, "0");
#endif
auto Args = FEX::ArgLoader::Get();
auto ParsedArgs = FEX::ArgLoader::GetParsedArgs();