AMDGPU/GFX10: implement ds_ordered_count changes
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 1 Jul 2019 17:17:52 +0000 (17:17 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 1 Jul 2019 17:17:52 +0000 (17:17 +0000)
commit10c911db63ece5b0a7e144b21762bb20d5de0eb1
treed2b02afd867c56550390b3d65140f579e0d7fac8
parent4dc3b2bf95b0910facc12a84118239237ba92e18
AMDGPU/GFX10: implement ds_ordered_count changes

Summary:
ds_ordered_count can now simultaneously operate on up to 4 dwords
in a single instruction, which are taken from (and returned to)
lanes 0..3 of a single VGPR.

Change-Id: I19b6e7b0732b617c10a779a7f9c0303eec7dd276

Reviewers: mareko, arsenm, rampitec

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

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

llvm-svn: 364815
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.add.gfx10.ll [new file with mode: 0644]