GFX10 enables third addressing mode for flat scratch instructions,
an ST mode. In that mode both register operands are omitted and
only swizzled offset is used in addition to flat_scratch base.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
754 | Add a comment explaining what this means |
llvm/lib/Target/AMDGPU/AMDGPU.td | ||
---|---|---|
1140–1141 | I think technically the assembler/disassembler support should be in GFX10.1, it's just that we don't want the compiler to generate them until GFX10.3 because of hardware bugs. Maybe at least add a comment explaining why the predicate is FeatureGFX10_3Insts here? |
llvm/lib/Target/AMDGPU/AMDGPU.td | ||
---|---|---|
1140–1141 | Given the errata there is no difference to Vega. It was possible to encode off/off from start. It just plain does not work and no point to support or allow. |
I think technically the assembler/disassembler support should be in GFX10.1, it's just that we don't want the compiler to generate them until GFX10.3 because of hardware bugs. Maybe at least add a comment explaining why the predicate is FeatureGFX10_3Insts here?