This is an initial implementation for GFX7 swizzle modes.
GFX8/9 has additional swizzle modes; these features will be added by a separate fix.
See Bug 28601: https://bugs.llvm.org//show_bug.cgi?id=28601
Paths
| Differential D33542
[AMDGPU][MC] New syntax for ds_swizzle_b32 offset ClosedPublic Authored by dp on May 25 2017, 4:23 AM.
Details Summary This is an initial implementation for GFX7 swizzle modes. See Bug 28601: https://bugs.llvm.org//show_bug.cgi?id=28601
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptMay 25 2017, 4:23 AM Comment Actions Good work, especially negative tests. The finishing touch is necessary: let's follow ODR. That would require some refactoring, but it seems that all the needed functionality is in place.
This revision now requires changes to proceed.May 25 2017, 6:06 AM dp added inline comments.
dp edited edge metadata. dp marked an inline comment as done. Comment ActionsCorrected as suggested by Artem This revision is now accepted and ready to land.May 29 2017, 6:59 AM Closed by commit rL304309: [AMDGPU][MC] New syntax for ds_swizzle_b32 offset (authored by dpreobra). · Explain WhyMay 31 2017, 9:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 100878 llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/trunk/lib/Target/AMDGPU/DSInstructions.td
llvm/trunk/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
llvm/trunk/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
llvm/trunk/lib/Target/AMDGPU/SIDefines.h
llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h
llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
llvm/trunk/test/CodeGen/AMDGPU/llvm.amdgcn.ds.swizzle.ll
llvm/trunk/test/MC/AMDGPU/ds-err.s
llvm/trunk/test/MC/AMDGPU/ds.s
llvm/trunk/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt
|