GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.

This commit is contained in:
Subv
2018-06-30 14:48:25 -05:00
parent 50ef2beb58
commit f33e406ff2
2 changed files with 1 additions and 6 deletions

View File

@ -907,10 +907,6 @@ private:
regs.SetRegisterToFloat(instr.gpr0, 0, "inversesqrt(" + op_a + ')', 1, 1,
instr.alu.saturate_d);
break;
case SubOp::Min:
regs.SetRegisterToFloat(instr.gpr0, 0, "min(" + op_a + "," + op_b + ')', 1, 1,
instr.alu.saturate_d);
break;
default:
NGLOG_CRITICAL(HW_GPU, "Unhandled MUFU sub op: {0:x}",
static_cast<unsigned>(instr.sub_op.Value()));