[all-commits] [llvm/llvm-project] a09af8: [AMDGPU] Enable FLAT LDS DMA on gfx9/10 before gfx940

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue May 17 12:16:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a09af8669396aebe280d959af695dc68307217cd
      https://github.com/llvm/llvm-project/commit/a09af8669396aebe280d959af695dc68307217cd
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-05-17 (Tue, 17 May 2022)

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

  Log Message:
  -----------
  [AMDGPU] Enable FLAT LDS DMA on gfx9/10 before gfx940

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.

Differential Revision: https://reviews.llvm.org/D125126




More information about the All-commits mailing list