OSDN Git Service

[AMDGPU] Fix operands of S_BFE_U64 and S_BFM_B64
authorNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 23 Feb 2016 09:19:14 +0000 (09:19 +0000)
committerNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 23 Feb 2016 09:19:14 +0000 (09:19 +0000)
commit0e5677e2b474bb371991dd4b2242eab1cd7efd51
treedfb4c673aab1417851a70ac26c8c58c282594cc5
parentec0406b1e18a75d9a22cd158320454a6f7dcc2ae
[AMDGPU] Fix operands of S_BFE_U64 and S_BFM_B64

src1 of s_bfe_u64 is 32-bit (same as s_bfe_i64).
src0 and src1 of s_bfm_b64 are 32-bit.
Update tests.

Review: http://reviews.llvm.org/D17480

Reviewers: arsenm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261621 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
test/MC/AMDGPU/sop2.s