diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-06-03 09:41:17 -0700 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-06-04 20:32:55 -0700 |
commit | 8be076a9fe09fa07b76a9c1262344d82fc57c5ca (patch) | |
tree | acea972f750d1bb6e7f97561177b9a89fa88928d /lib/Target/R600/AMDGPU.td | |
parent | d8ab6ef53386673c76a226442b18f6d3cf1475ba (diff) |
R600: Fix the fetch limits for R600 generation GPUsr600-gen-fixes
https://bugs.freedesktop.org/show_bug.cgi?id=64257
Diffstat (limited to 'lib/Target/R600/AMDGPU.td')
-rw-r--r-- | lib/Target/R600/AMDGPU.td | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPU.td b/lib/Target/R600/AMDGPU.td index 335b26cbf2c..099a4918474 100644 --- a/lib/Target/R600/AMDGPU.td +++ b/lib/Target/R600/AMDGPU.td @@ -75,7 +75,16 @@ def FeatureVertexCache : SubtargetFeature<"HasVertexCache", "true", "Specify use of dedicated vertex cache.">; +class SubtargetFeatureFetchLimit <string Value> : + SubtargetFeature <"fetch"#Value, + "TexVTXClauseSize", + Value, + "Limit the maximum number of fetches in a clause to "#Value>; +def FeatureFetchLimit8 : SubtargetFeatureFetchLimit <"8">; +def FeatureFetchLimit16 : SubtargetFeatureFetchLimit <"16">; + +//===----------------------------------------------------------------------===// def AMDGPUInstrInfo : InstrInfo { let guessInstructionProperties = 1; |