diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-04-04 10:58:54 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-04-04 10:58:54 +0000 |
commit | 2f5a73820c1ef6fbc687608deee56fa9c8c711b7 (patch) | |
tree | ca638113e1f851b7568e1d294ef1119cfddd00e5 /llvm/tools/llvm-exegesis/llvm-exegesis.cpp | |
parent | eb7311ffb126282c9b131b2fa3d541eb0f0321ca (diff) | |
download | bcm5719-llvm-2f5a73820c1ef6fbc687608deee56fa9c8c711b7.tar.gz bcm5719-llvm-2f5a73820c1ef6fbc687608deee56fa9c8c711b7.zip |
AMDGPU: Dimension-aware image intrinsics
Summary:
These new image intrinsics contain the texture type as part of
their name and have each component of the address/coordinate as
individual parameters.
This is a preparatory step for implementing the A16 feature, where
coordinates are passed as half-floats or -ints, but the Z compare
value and texel offsets are still full dwords, making it difficult
or impossible to distinguish between A16 on or off in the old-style
intrinsics.
Additionally, these intrinsics pass the 'texfailpolicy' and
'cachectrl' as i32 bit fields to reduce operand clutter and allow
for future extensibility.
v2:
- gather4 supports 2darray images
- fix a bug with 1D images on SI
Change-Id: I099f309e0a394082a5901ea196c3967afb867f04
Reviewers: arsenm, rampitec, b-sumner
Subscribers: kzhuravl, wdng, yaxunl, dstuttard, tpr, llvm-commits, t-tye
Differential Revision: https://reviews.llvm.org/D44939
llvm-svn: 329166
Diffstat (limited to 'llvm/tools/llvm-exegesis/llvm-exegesis.cpp')
0 files changed, 0 insertions, 0 deletions