[PATCH] D125126: [AMDGPU] Enable FLAT LDS DMA on gfx9/10 before gfx940

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 13:33:32 PDT 2022


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

We always had global and scratch loads to LDS in the gfx9,
but did not handle it. These were available via the 'lds'
encoding bit. In gfx940 this bit was reused as 'svs' which
resulted in new '_lds' opcodes effectively pushing this
bit into the opcode, but functionally it is the same. These
instructions are also available on gfx10.


https://reviews.llvm.org/D125126

Files:
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/FLATInstructions.td
  llvm/test/MC/AMDGPU/gfx1030_new.s
  llvm/test/MC/AMDGPU/gfx10_asm_flat.s
  llvm/test/MC/AMDGPU/gfx8_unsupported.s
  llvm/test/MC/AMDGPU/gfx9-asm-err.s
  llvm/test/MC/AMDGPU/gfx90a_err.s
  llvm/test/MC/AMDGPU/gfx940_err.s
  llvm/test/MC/AMDGPU/gfx9_asm_flat.s
  llvm/test/MC/Disassembler/AMDGPU/gfx1030_dasm_new.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125126.427726.patch
Type: text/x-patch
Size: 27794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220506/b1160770/attachment.bin>


More information about the llvm-commits mailing list