[AMDGPU] gfx11 vop3 and inherited vop instructions
authorJoe Nash <Joseph.Nash@amd.com>
Mon, 16 May 2022 19:19:31 +0000 (15:19 -0400)
committerJoe Nash <Joseph.Nash@amd.com>
Thu, 2 Jun 2022 18:03:02 +0000 (14:03 -0400)
commit3732cd59bea37b25d346393813f8fbddea96257b
treedd9dcc9db2ea3f4e0279a32580d05ebd0d4ce7cc
parent2aeffc6d8ddf3a6eab3b0481869b73678d91856c
[AMDGPU] gfx11 vop3 and inherited vop instructions

This patch includes MC layer support for VOP3 encoded instructions and generic VOP support
classes.
Some VOP1 and VOP2 instructions which share an encoding with gfx10 and are using
the AssemblerPredicate = isGFX10Plus are also enabled. That predicate
will be changed to isGFX10Only in a later patch.

Patch 15/N for upstreaming of AMDGPU gfx11 architecture.

Depends on D126468

Reviewed By: dp

Differential Revision: https://reviews.llvm.org/D126475
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOP3Instructions.td
llvm/lib/Target/AMDGPU/VOPInstructions.td
llvm/test/MC/AMDGPU/gfx11_vop123.s [new file with mode: 0644]
llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt