mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-24 12:24:59 +00:00
Implement float operations for live generator, switch to native rounding mode for cop1 cs, fix 128-bit typedef errors
This commit is contained in:
parent
8b019567bc
commit
9fa9adbe3a
6 changed files with 354 additions and 91 deletions
|
@ -227,10 +227,14 @@ TestStats run_test(const std::filesystem::path& tests_dir, const std::string& te
|
|||
|
||||
auto before_execution = std::chrono::system_clock::now();
|
||||
|
||||
int old_rounding = fegetround();
|
||||
|
||||
// Run the generated code.
|
||||
ctx.r29 = 0xFFFFFFFF80000000 + rdram.size() - 0x10; // Set the stack pointer.
|
||||
output.functions[start_func_index](rdram.data(), &ctx);
|
||||
|
||||
fesetround(old_rounding);
|
||||
|
||||
auto after_execution = std::chrono::system_clock::now();
|
||||
|
||||
// Check the result of running the code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue