From ef3c8cf28272a7db35aa7eb56a9208e2f7e41a2c Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 27 Jun 2024 09:20:11 +0300 Subject: [PATCH] fixed case S_OR_B64 for blazing chrome --- src/core/linker.cpp | 10 +++++----- .../frontend/translate/scalar_alu.cpp | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/core/linker.cpp b/src/core/linker.cpp index a3e384342..217b822f4 100644 --- a/src/core/linker.cpp +++ b/src/core/linker.cpp @@ -68,11 +68,11 @@ void Linker::Execute() { } // Configure used flexible memory size. - // if (auto* mem_param = GetProcParam()->mem_param) { - // if (u64* flexible_size = mem_param->flexible_memory_size) { - // memory->SetTotalFlexibleSize(*flexible_size); - // } - // } + // if (auto* mem_param = GetProcParam()->mem_param) { + // if (u64* flexible_size = mem_param->flexible_memory_size) { + // memory->SetTotalFlexibleSize(*flexible_size); + // } + // } // Init primary thread. Common::SetCurrentThreadName("GAME_MainThread"); diff --git a/src/shader_recompiler/frontend/translate/scalar_alu.cpp b/src/shader_recompiler/frontend/translate/scalar_alu.cpp index 9e0d78c4b..8b8c7c0f9 100644 --- a/src/shader_recompiler/frontend/translate/scalar_alu.cpp +++ b/src/shader_recompiler/frontend/translate/scalar_alu.cpp @@ -107,6 +107,8 @@ void Translator::S_MOV_B64(const GcnInst& inst) { void Translator::S_OR_B64(NegateMode negate, const GcnInst& inst) { const auto get_src = [&](const InstOperand& operand) { switch (operand.field) { + case OperandField::ExecLo: + return ir.GetExec(); case OperandField::VccLo: return ir.GetVcc(); case OperandField::ScalarGPR: