fixed case S_OR_B64 for blazing chrome

This commit is contained in:
georgemoralis 2024-06-27 09:20:11 +03:00
parent 2ac9ae3eb1
commit ef3c8cf282
2 changed files with 7 additions and 5 deletions

View file

@ -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");

View file

@ -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: