[Mesa-dev,1/2] AMDGPU/SI: Add Polaris support

Submitted by Alex Deucher on March 23, 2016, 6:41 p.m.

Details

Message ID 1458758485-4429-1-git-send-email-alexander.deucher@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Alex Deucher March 23, 2016, 6:41 p.m.
From: Sonny Jiang <sonny.jiang@amd.com>

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
---
 lib/Target/AMDGPU/Processors.td | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch hide | download patch | download mbox

diff --git a/lib/Target/AMDGPU/Processors.td b/lib/Target/AMDGPU/Processors.td
index 32c327d..7c93c6a 100644
--- a/lib/Target/AMDGPU/Processors.td
+++ b/lib/Target/AMDGPU/Processors.td
@@ -148,3 +148,11 @@  def : ProcessorModel<"fiji", SIQuarterSpeedModel,
 def : ProcessorModel<"stoney", SIQuarterSpeedModel,
   [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount16]
 >;
+
+def : ProcessorModel<"polaris10", SIQuarterSpeedModel,
+  [FeatureVolcanicIslands, FeatureISAVersion8_0_1]
+>;
+
+def : ProcessorModel<"polaris11", SIQuarterSpeedModel,
+  [FeatureVolcanicIslands, FeatureISAVersion8_0_1]
+>;

Comments

On Wed, Mar 23, 2016 at 02:41:24PM -0400, Alex Deucher via llvm-commits wrote:
> From: Sonny Jiang <sonny.jiang@amd.com>
> 

These two patches need to be squashed, but I can do it before I commit.

LGTM.

-Tom

> Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>  lib/Target/AMDGPU/Processors.td | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/lib/Target/AMDGPU/Processors.td b/lib/Target/AMDGPU/Processors.td
> index 32c327d..7c93c6a 100644
> --- a/lib/Target/AMDGPU/Processors.td
> +++ b/lib/Target/AMDGPU/Processors.td
> @@ -148,3 +148,11 @@ def : ProcessorModel<"fiji", SIQuarterSpeedModel,
>  def : ProcessorModel<"stoney", SIQuarterSpeedModel,
>    [FeatureVolcanicIslands, FeatureISAVersion8_0_1, FeatureLDSBankCount16]
>  >;
> +
> +def : ProcessorModel<"polaris10", SIQuarterSpeedModel,
> +  [FeatureVolcanicIslands, FeatureISAVersion8_0_1]
> +>;
> +
> +def : ProcessorModel<"polaris11", SIQuarterSpeedModel,
> +  [FeatureVolcanicIslands, FeatureISAVersion8_0_1]
> +>;
> -- 
> 2.5.0
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits