OSDN Git Service

[AMDGPU][llvm-mc] s_setreg* - Fix order of operands
authorArtem Tamazov <artem.tamazov@amd.com>
Mon, 18 Apr 2016 14:54:26 +0000 (14:54 +0000)
committerArtem Tamazov <artem.tamazov@amd.com>
Mon, 18 Apr 2016 14:54:26 +0000 (14:54 +0000)
commitae5612e1d661b1e91e816776f39b804bfb8c24be
treeabae7573b3db04ec4cf91ad03dc410c1fe264012
parent4ebefaf4e2658be38ef9631ffaad77efe57b5eda
[AMDGPU][llvm-mc] s_setreg* - Fix order of operands

Order should match the sp3 syntax, where destination (simm16 denoting the hwreg) is coming first.

Differential Revision: http://reviews.llvm.org/D19161

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266617 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstructions.td
test/MC/AMDGPU/sopk.s
test/MC/Disassembler/AMDGPU/sopk_vi.txt