[dynarmic] stub peepholes; fix tests

This commit is contained in:
lizzie 2025-07-19 00:52:41 +01:00 committed by crueter
parent ab631e6b28
commit f414ebdf34
12 changed files with 347 additions and 188 deletions

View file

@ -64,7 +64,9 @@ u32 force_default_nan(u32 value) {
template<typename Fn>
void run_test(u32 instruction, Fn fn) {
A64TestEnv env;
A64::Jit jit{A64::UserConfig{&env}};
A64::UserConfig jit_user_config{};
jit_user_config.callbacks = &env;
A64::Jit jit{jit_user_config};
env.code_mem.emplace_back(instruction); // FMAX S0, S1, S2
env.code_mem.emplace_back(0x14000000); // B .