Handle setting Vcc in Translator::SetDst64 (#1826)

This commit is contained in:
Marcin Mikołajczyk 2024-12-18 20:57:58 +01:00 committed by GitHub
parent be4c38bf1c
commit b1b4c8c487
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,7 +439,8 @@ void Translator::SetDst64(const InstOperand& operand, const IR::U64F64& value_ra
ir.SetVectorReg(IR::VectorReg(operand.code + 1), hi); ir.SetVectorReg(IR::VectorReg(operand.code + 1), hi);
return ir.SetVectorReg(IR::VectorReg(operand.code), lo); return ir.SetVectorReg(IR::VectorReg(operand.code), lo);
case OperandField::VccLo: case OperandField::VccLo:
UNREACHABLE(); ir.SetVccLo(lo);
return ir.SetVccHi(hi);
case OperandField::VccHi: case OperandField::VccHi:
UNREACHABLE(); UNREACHABLE();
case OperandField::M0: case OperandField::M0: