[PATCH] D130978: [AMDGPU][MC][GFX10] Correct encoding of VOP3 v_cmpx* opcodes

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 03:30:37 PDT 2022


dp created this revision.
dp added reviewers: foad, rampitec.
Herald added subscribers: kosarev, 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/D130978

Files:
  llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  llvm/test/MC/AMDGPU/expressions-gfx10.s
  llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s
  llvm/test/MC/AMDGPU/vcmpx-gfx10.s
  llvm/test/MC/AMDGPU/vop3-literal.s
  llvm/test/MC/AMDGPU/wave32.s
  llvm/test/MC/AMDGPU/wave_any.s
  llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt



More information about the llvm-commits mailing list