mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-28 10:15:00 +01:00
backend/arm64: FPCR/FPSR handling
This commit is contained in:
parent
60a119da6a
commit
208b19b89a
11 changed files with 105 additions and 38 deletions
|
|
@ -31,6 +31,8 @@
|
|||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
|
||||
constexpr bool mask_fpsr_cum_bits = true;
|
||||
|
||||
namespace {
|
||||
using namespace Dynarmic;
|
||||
|
||||
|
|
@ -308,7 +310,7 @@ static void RunTestInstance(Dynarmic::A32::Jit& jit,
|
|||
}
|
||||
fmt::print("\n");
|
||||
fmt::print("final_cpsr: {:08x}\n", jit.Cpsr());
|
||||
fmt::print("final_fpsr: {:08x}\n", jit.Fpscr());
|
||||
fmt::print("final_fpsr: {:08x}\n", mask_fpsr_cum_bits ? jit.Fpscr() & 0xffffff00 : jit.Fpscr());
|
||||
|
||||
fmt::print("mod_mem: ");
|
||||
for (auto [addr, value] : jit_env.modified_memory) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue