AMDGPU: waitcnt operand fixes
authorTom Stellard <thomas.stellard@amd.com>
Thu, 28 Jan 2016 17:13:44 +0000 (17:13 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 28 Jan 2016 17:13:44 +0000 (17:13 +0000)
commit3d2c8529586d0078db080d9317174dcdd06afc6c
tree437535f5d4db84915d11045e595aa190f966cfd8
parente5cadbbcddd9ff05e8a68e166cc5e577ebc1f467
AMDGPU: waitcnt operand fixes

Summary:
Allow lgkmcnt up to 0xF (hardware allows that).
Fix mask for ExpCnt in AMDGPUInstPrinter.

Reviewers: tstellarAMD, arsenm

Subscribers: arsenm

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

Patch by: Nikolay Haustov

llvm-svn: 259059
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
llvm/lib/Target/AMDGPU/SIInsertWaits.cpp
llvm/test/MC/AMDGPU/sopp.s