[PATCH] D130345: [AMDGPU][MC][GFX11] Correct encoding of VOP3/VOP3_DPP v_cmpx* opcodes

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 03:58:30 PDT 2022


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

Encode `dst=EXEC` but allow disassembler accept any `dst` value.

See bug 56080 <https://github.com/llvm/llvm-project/issues/56080>.


https://reviews.llvm.org/D130345

Files:
  llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s
  llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp8.txt



More information about the llvm-commits mailing list