[llvm] AMDGPU: Add MC support for gfx950 V_BITOP3_B32/B16 (PR #117379)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 06:49:30 PST 2024


================
@@ -9748,6 +9759,20 @@ ParseStatus AMDGPUAsmParser::parseEndpgm(OperandVector &Operands) {
 
 bool AMDGPUOperand::isEndpgm() const { return isImmTy(ImmTyEndpgm); }
 
+//===----------------------------------------------------------------------===//
+// BITOP3
+//===----------------------------------------------------------------------===//
+
+ParseStatus AMDGPUAsmParser::parseBitOp3(OperandVector &Operands) {
+  ParseStatus Res =
+      parseIntWithPrefix("bitop3", Operands, AMDGPUOperand::ImmTyBitOp3);
+  return Res;
+}
+
+AMDGPUOperand::Ptr AMDGPUAsmParser::defaultBitOp3() const {
----------------
arsenm wrote:

#118648

https://github.com/llvm/llvm-project/pull/117379


More information about the llvm-commits mailing list