diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-02-12 02:40:47 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-02-12 02:40:47 +0000 |
| commit | 24ee0785dd1bb1a2f5cb6cb398d697080a92803b (patch) | |
| tree | c7ec2cfa1749a3f65c017c05897d620f2ae7207b /llvm/lib/Target/AMDGPU/SIInstrInfo.h | |
| parent | 9d14e4bb1523f9d29ea1f26af7d0294013682cea (diff) | |
| download | bcm5719-llvm-24ee0785dd1bb1a2f5cb6cb398d697080a92803b.tar.gz bcm5719-llvm-24ee0785dd1bb1a2f5cb6cb398d697080a92803b.zip | |
AMDGPU: Set element_size in private resource descriptor
Introduce a subtarget feature for this, and leave the default with
the current behavior which assumes up to 16-byte loads/stores can
be used. The field also seems to have the ability to be set to 2 bytes,
but I'm not sure what that would be used for.
llvm-svn: 260651
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIInstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h index 66e80c3f272..5fab4abf2e7 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -489,7 +489,7 @@ namespace AMDGPU { const uint64_t RSRC_DATA_FORMAT = 0xf00000000000LL; const uint64_t RSRC_TID_ENABLE = 1LL << 55; - + const uint64_t RSRC_ELEMENT_SIZE_SHIFT = 51; } // End namespace AMDGPU namespace SI { |

