[llvm] [AMDGPU][MC][True16] Support VOP2 instructions with true16 format (PR #115233)
Brox Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 08:14:34 PST 2024
================
@@ -345,6 +345,25 @@ static DecodeStatus decodeOperand_VSrcT16_Lo128(MCInst &Inst, unsigned Imm,
(AMDGPU::OperandSemantics)OperandSemantics));
}
+template <AMDGPUDisassembler::OpWidthTy OpWidth, unsigned ImmWidth,
+ unsigned OperandSemantics>
+static DecodeStatus
+decodeOperand_VSrcT16_Lo128_Deferred(MCInst &Inst, unsigned Imm,
----------------
broxigarchen wrote:
I think it can be combined but I think it's better to seperate them. It's a naming convension in this file that the deferred decoder has the defered name on the function
https://github.com/llvm/llvm-project/pull/115233
More information about the llvm-commits
mailing list