fixed case S_OR_B64 for blazing chrome

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

View file

@ -107,6 +107,8 @@ void Translator::S_MOV_B64(const GcnInst& inst) {
void Translator::S_OR_B64(NegateMode negate, const GcnInst& inst) { void Translator::S_OR_B64(NegateMode negate, const GcnInst& inst) {
const auto get_src = [&](const InstOperand& operand) { const auto get_src = [&](const InstOperand& operand) {
switch (operand.field) { switch (operand.field) {
case OperandField::ExecLo:
return ir.GetExec();
case OperandField::VccLo: case OperandField::VccLo:
return ir.GetVcc(); return ir.GetVcc();
case OperandField::ScalarGPR: case OperandField::ScalarGPR: