See bug 40662: https://bugs.llvm.org/show_bug.cgi?id=40662
Note that v_writelane_b32 accepts lds_direct for gfx7 only.
This fix also disables lds_direct for all 'rev' opcodes (not in docs, but confirmed by HW people).
Paths
| Differential D58713
[AMDGPU][MC] Enable lds_direct operand for v_readfirstlane_b32, v_readlane_b32 and v_writelane_b32 ClosedPublic Authored by dp on Feb 27 2019, 4:51 AM.
Details Summary See bug 40662: https://bugs.llvm.org/show_bug.cgi?id=40662 Note that v_writelane_b32 accepts lds_direct for gfx7 only. This fix also disables lds_direct for all 'rev' opcodes (not in docs, but confirmed by HW people).
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptFeb 27 2019, 4:52 AM dp added a parent revision: D58287: [AMDGPU][MC] Added register size check for VOP3/SDWA/DPP operands.Feb 27 2019, 4:52 AM This revision is now accepted and ready to land.Feb 27 2019, 9:10 AM Closed by commit rL355312: [AMDGPU][MC] Enable lds_direct operand for v_readfirstlane_b32, v_readlane_b32… (authored by dpreobra). · Explain WhyMar 4 2019, 4:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 188519 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
lib/Target/AMDGPU/SIRegisterInfo.td
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
lib/Target/AMDGPU/VOP1Instructions.td
lib/Target/AMDGPU/VOP2Instructions.td
lib/Target/AMDGPU/VOP3Instructions.td
test/MC/AMDGPU/lds_direct-ci.s
test/MC/AMDGPU/lds_direct-err.s
test/MC/AMDGPU/lds_direct.s
test/MC/Disassembler/AMDGPU/lds_direct_gfx9.txt
|