[PATCH 1/2] AMDGPU/SI: Add Polaris support

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 11:52:19 PDT 2016


On Wed, Mar 23, 2016 at 02:41:24PM -0400, Alex Deucher via llvm-commits wrote:
> From: Sonny Jiang <sonny.jiang at 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 at amd.com>
> Reviewed-by: Alex Deucher <alexander.deucher at 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 at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list