[PATCH] D128218: [AMDGPU] gfx11 VOPD instructions MC support

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 11:15:02 PDT 2022


Joe_Nash created this revision.
Herald added subscribers: kosarev, jsilvanus, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
Joe_Nash requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

VOPD is a new encoding for dual-issue instructions for use in wave32.
This patch includes MC layer support only.

A VOPD instruction is constituted of an X component (for which there are
13 possible opcodes) and a Y component (for which there are the 13 X
opcodes plus 3 more). Most of the complexity in defining and parsing
a VOPD operation arises from the possible different total numbers of
operands and deferred parsing of certain operands depending on the
constituent X and Y opcodes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128218

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
  llvm/lib/Target/AMDGPU/SIInstrInfo.td
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/lib/Target/AMDGPU/VOP1Instructions.td
  llvm/lib/Target/AMDGPU/VOP2Instructions.td
  llvm/lib/Target/AMDGPU/VOPDInstructions.td
  llvm/lib/Target/AMDGPU/VOPInstructions.td
  llvm/test/MC/AMDGPU/gfx11_err.s
  llvm/test/MC/AMDGPU/vopd.s
  llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128218.438447.patch
Type: text/x-patch
Size: 44042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220620/c06a8d7a/attachment.bin>


More information about the llvm-commits mailing list