shader_recompiler: frontend: SOPC and SOPK handling separated; more cmp opcodes (#634)

This commit is contained in:
psucien 2024-08-28 22:27:47 +02:00 committed by GitHub
parent d2e4a200fb
commit 3fbb68048e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 159 additions and 85 deletions

View file

@ -69,6 +69,10 @@ public:
void EmitScalarAlu(const GcnInst& inst);
void EmitVectorAlu(const GcnInst& inst);
// Instruction encodings
void EmitSOPC(const GcnInst& inst);
void EmitSOPK(const GcnInst& inst);
// Scalar ALU
void S_MOVK(const GcnInst& inst);
void S_MOV(const GcnInst& inst);
@ -98,7 +102,7 @@ public:
void S_ADDK_I32(const GcnInst& inst);
void S_MAX_U32(const GcnInst& inst);
void S_MIN_U32(const GcnInst& inst);
void S_CMPK_EQ_U32(const GcnInst& inst);
void S_CMPK(ConditionOp cond, bool is_signed, const GcnInst& inst);
// Scalar Memory
void S_LOAD_DWORD(int num_dwords, const GcnInst& inst);