2017-11-10 21:01:58 +01:00
|
|
|
//===-- GCNProcessors.td - GCN Processor definitions ----------------------===//
|
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2017-11-10 21:01:58 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// The code produced for "generic" is only useful for tests and cannot
|
|
|
|
// reasonably be expected to execute on any particular target.
|
|
|
|
def : ProcessorModel<"generic", NoSchedModel,
|
2019-02-08 20:18:01 +01:00
|
|
|
[FeatureWavefrontSize64]
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2019-03-17 22:31:35 +01:00
|
|
|
def : ProcessorModel<"generic-hsa", NoSchedModel,
|
|
|
|
[FeatureWavefrontSize64, FeatureFlatAddressSpace]
|
|
|
|
>;
|
|
|
|
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
// GCN GFX6 (Southern Islands (SI)).
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx600", SIFullSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion6_0_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"tahiti", SIFullSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion6_0_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx601", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion6_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"pitcairn", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion6_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"verde", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion6_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"gfx602", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion6_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"hainan", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion6_0_2.Features
|
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"oland", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion6_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
// GCN GFX7 (Sea Islands (CI)).
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx700", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"kaveri", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx701", SIFullSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"hawaii", SIFullSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx702", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx703", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"kabini", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"mullins", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2017-12-08 21:52:28 +01:00
|
|
|
def : ProcessorModel<"gfx704", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_4.Features
|
2017-12-08 21:52:28 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"bonaire", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion7_0_4.Features
|
2017-12-08 21:52:28 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"gfx705", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion7_0_5.Features
|
|
|
|
>;
|
|
|
|
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
// GCN GFX8 (Volcanic Islands (VI)).
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx801", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"carrizo", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_1.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx802", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2018-02-16 22:26:25 +01:00
|
|
|
def : ProcessorModel<"iceland", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_2.Features
|
2018-02-16 22:26:25 +01:00
|
|
|
>;
|
|
|
|
|
2017-11-10 21:01:58 +01:00
|
|
|
def : ProcessorModel<"tonga", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx803", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"fiji", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"polaris10", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"polaris11", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_0_3.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"gfx805", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion8_0_5.Features
|
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"tongapro", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion8_0_5.Features
|
|
|
|
>;
|
|
|
|
|
2017-11-10 21:01:58 +01:00
|
|
|
def : ProcessorModel<"gfx810", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_1_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"stoney", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion8_1_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
2019-02-08 20:59:32 +01:00
|
|
|
//===------------------------------------------------------------===//
|
|
|
|
// GCN GFX9.
|
|
|
|
//===------------------------------------------------------------===//
|
2017-11-10 21:01:58 +01:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx900", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion9_0_0.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx902", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion9_0_2.Features
|
2017-11-10 21:01:58 +01:00
|
|
|
>;
|
2018-04-30 21:08:16 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx904", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion9_0_4.Features
|
2018-04-30 21:08:16 +02:00
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx906", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion9_0_6.Features
|
2018-04-30 21:08:16 +02:00
|
|
|
>;
|
2018-10-24 10:14:07 +02:00
|
|
|
|
2019-07-09 20:10:06 +02:00
|
|
|
def : ProcessorModel<"gfx908", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion9_0_8.Features
|
|
|
|
>;
|
|
|
|
|
2018-10-24 10:14:07 +02:00
|
|
|
def : ProcessorModel<"gfx909", SIQuarterSpeedModel,
|
2019-02-08 20:59:32 +01:00
|
|
|
FeatureISAVersion9_0_9.Features
|
2018-10-24 10:14:07 +02:00
|
|
|
>;
|
|
|
|
|
2021-02-17 22:37:46 +01:00
|
|
|
def : ProcessorModel<"gfx90a", SIDPFullSpeedModel,
|
|
|
|
FeatureISAVersion9_0_A.Features
|
|
|
|
>;
|
|
|
|
|
2020-10-06 19:23:59 +02:00
|
|
|
def : ProcessorModel<"gfx90c", SIQuarterSpeedModel,
|
|
|
|
FeatureISAVersion9_0_C.Features
|
|
|
|
>;
|
|
|
|
|
2019-04-24 19:03:15 +02:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// GCN GFX10.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1010", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_1_0.Features
|
|
|
|
>;
|
2019-06-14 02:33:31 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1011", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_1_1.Features
|
|
|
|
>;
|
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1012", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_1_2.Features
|
|
|
|
>;
|
2020-06-15 23:10:39 +02:00
|
|
|
|
2021-06-08 22:54:42 +02:00
|
|
|
def : ProcessorModel<"gfx1013", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_1_3.Features
|
|
|
|
>;
|
|
|
|
|
2020-06-15 23:10:39 +02:00
|
|
|
def : ProcessorModel<"gfx1030", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|
2020-08-05 21:00:52 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1031", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|
2020-10-15 19:48:46 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1032", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|
2020-10-30 09:21:12 +01:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1033", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|
2021-05-13 20:21:40 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1034", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|
2021-06-24 20:32:41 +02:00
|
|
|
|
|
|
|
def : ProcessorModel<"gfx1035", GFX10SpeedModel,
|
|
|
|
FeatureISAVersion10_3_0.Features
|
|
|
|
>;
|