mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 11:26:56 +02:00
shader: support V_CMPX_EQ_U16 (#816)
* shader: support V_CMPX_EQ_U16 Decode gfx11 VOPC 0xba and lower it as an unsigned 16-bit equality compare with CMPX EXEC-mask semantics. 🤖 Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com> * shader: correct CMPX EQ U16 runtime expectations Remove the added CFG tests and correct two EXEC expectations in the compute regression case. --------- Co-authored-by: Matthew Hurley <171001439+theantipopau@users.noreply.github.com> Co-authored-by: Codebuff <noreply@codebuff.com> Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -141,6 +141,9 @@ bool Translator::EmitVector(const Decoder::Instruction& inst) {
|
||||
case O::V_CMPX_LT_U16:
|
||||
EmitInteger16Compare(inst, IR::ValueOpcode::ULessThan32, false, true);
|
||||
return true;
|
||||
case O::V_CMPX_EQ_U16:
|
||||
EmitInteger16Compare(inst, IR::ValueOpcode::IEqual32, false, true);
|
||||
return true;
|
||||
case O::V_CMP_LE_U16:
|
||||
EmitInteger16Compare(inst, IR::ValueOpcode::ULessThanEqual32, false, false);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user