]> granicus.if.org Git - llvm/commit
[AMDGPU][MC] Fix for Bug 28211 + LIT tests
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 7 Apr 2017 13:07:13 +0000 (13:07 +0000)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Fri, 7 Apr 2017 13:07:13 +0000 (13:07 +0000)
commit7bf2a5770da8fa53e08e0b27c46bf3ad798bbbf9
tree15b79cec6ec80dee3fe8d08e4039e0d82f50a11d
parentdc04fc16d68919f4f8cb1acb50740495126190e5
[AMDGPU][MC] Fix for Bug 28211 + LIT tests

- corrected DS_GWS_* opcodes (see VI_Shader_Programming#16.pdf for detailed description)
  - address operand is not used
  - several opcodes have data operand
  - all opcodes have offset modifier
- DS_AND_SRC2_B32: corrected typo in mnemo
- DS_WRAP_RTN_F32 replaced with DS_WRAP_RTN_B32
- added CI/VI opcodes:
  - DS_CONDXCHG32_RTN_B64
  - DS_GWS_SEMA_RELEASE_ALL
- added VI opcodes:
  - DS_CONSUME
  - DS_APPEND
  - DS_ORDERED_COUNT

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/DSInstructions.td
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
test/MC/AMDGPU/ds.s
test/MC/AMDGPU/expressions.s
test/MC/AMDGPU/gfx7_asm_all.s
test/MC/AMDGPU/gfx8_asm_all.s
test/MC/Disassembler/AMDGPU/ds_vi.txt