[AMDGPU] gfx11 WMMA instruction support
authorPiotr Sobczak <piotr.sobczak@amd.com>
Tue, 28 Jun 2022 18:00:03 +0000 (14:00 -0400)
committerJoe Nash <Joseph.Nash@amd.com>
Thu, 30 Jun 2022 15:13:45 +0000 (11:13 -0400)
commit4874838a63fb48b18eeafa0da361955f6ce67f1d
treefb48796514e6030dfef53c4397cce055d4a1f89a
parenta19c2132122e78051bfc98c304afb528b7ca14ec
[AMDGPU] gfx11 WMMA instruction support

gfx11 introduces new WMMA (Wave Matrix Multiply-accumulate)
instructions.

Reviewed By: arsenm, #amdgpu

Differential Revision: https://reviews.llvm.org/D128756
31 files changed:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUGISel.td
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
llvm/lib/Target/AMDGPU/SIDefines.h
llvm/lib/Target/AMDGPU/SIInstrFormats.td
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/SIRegisterInfo.td
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/lib/Target/AMDGPU/VOPInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_32.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_64.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma_32.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma_64.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/threeaddr-wmma.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/twoaddr-wmma.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/wmma-hazards.mir [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/wmma_multiple_32.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/wmma_multiple_64.ll [new file with mode: 0644]
llvm/test/MC/AMDGPU/gfx11_wmma.s [new file with mode: 0644]
llvm/test/MC/Disassembler/AMDGPU/gfx11_wmma.txt [new file with mode: 0644]