2013-06-10 20:36:52 +00:00
|
|
|
//===-- Processors.td - R600 Processor definitions ------------------------===//
|
2013-04-08 18:41:23 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features>
|
|
|
|
: Processor<Name, itin, Features>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// R600
|
|
|
|
//===----------------------------------------------------------------------===//
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"", R600_VLIW5_Itin,
|
2013-12-22 00:04:03 +00:00
|
|
|
[FeatureR600, FeatureVertexCache]>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"r600", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR600 , FeatureVertexCache, FeatureWavefrontSize64]>;
|
|
|
|
|
|
|
|
def : Proc<"r630", R600_VLIW5_Itin,
|
|
|
|
[FeatureR600, FeatureVertexCache, FeatureWavefrontSize32]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"rs880", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR600, FeatureWavefrontSize16]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"rv670", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR600, FeatureFP64, FeatureVertexCache, FeatureWavefrontSize64]>;
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// R700
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"rv710", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR700, FeatureVertexCache, FeatureWavefrontSize32]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"rv730", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR700, FeatureVertexCache, FeatureWavefrontSize32]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"rv770", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureR700, FeatureFP64, FeatureVertexCache, FeatureWavefrontSize64]>;
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Evergreen
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"cedar", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize32,
|
|
|
|
FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"redwood", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize64,
|
|
|
|
FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"sumo", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureEvergreen, FeatureWavefrontSize64, FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"juniper", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize64]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"cypress", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureEvergreen, FeatureFP64, FeatureVertexCache,
|
|
|
|
FeatureWavefrontSize64]>;
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Northern Islands
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"barts", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"turks", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"caicos", R600_VLIW5_Itin,
|
2014-11-24 09:08:18 +00:00
|
|
|
[FeatureNorthernIslands, FeatureCFALUBug]>;
|
|
|
|
|
2013-06-10 20:36:52 +00:00
|
|
|
def : Proc<"cayman", R600_VLIW4_Itin,
|
2013-12-22 00:04:03 +00:00
|
|
|
[FeatureNorthernIslands, FeatureFP64, FeatureCaymanISA]>;
|
|
|
|
|
2014-11-24 09:08:18 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Southern Islands
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"SI", SIFullSpeedModel,
|
|
|
|
[FeatureSouthernIslands, FeatureFastFMAF32]
|
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"tahiti", SIFullSpeedModel,
|
|
|
|
[FeatureSouthernIslands, FeatureFastFMAF32]
|
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-01-18 16:17:27 +00:00
|
|
|
def : ProcessorModel<"pitcairn", SIQuarterSpeedModel, [FeatureSouthernIslands]>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-01-18 16:17:27 +00:00
|
|
|
def : ProcessorModel<"verde", SIQuarterSpeedModel, [FeatureSouthernIslands]>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-01-18 16:17:27 +00:00
|
|
|
def : ProcessorModel<"oland", SIQuarterSpeedModel, [FeatureSouthernIslands]>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-01-18 16:17:27 +00:00
|
|
|
def : ProcessorModel<"hainan", SIQuarterSpeedModel, [FeatureSouthernIslands]>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Sea Islands
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"bonaire", SIQuarterSpeedModel,
|
2015-07-05 14:21:36 +00:00
|
|
|
[FeatureSeaIslands, FeatureLDSBankCount32, FeatureISAVersion7_0_0]
|
2015-05-27 18:44:32 +00:00
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"kabini", SIQuarterSpeedModel,
|
|
|
|
[FeatureSeaIslands, FeatureLDSBankCount16]
|
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"kaveri", SIQuarterSpeedModel,
|
2015-07-05 14:21:36 +00:00
|
|
|
[FeatureSeaIslands, FeatureLDSBankCount32, FeatureISAVersion7_0_0]
|
2015-05-27 18:44:32 +00:00
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"hawaii", SIFullSpeedModel,
|
2015-07-05 14:21:36 +00:00
|
|
|
[FeatureSeaIslands, FeatureFastFMAF32, FeatureLDSBankCount32,
|
|
|
|
FeatureISAVersion7_0_1]
|
2015-05-27 18:44:32 +00:00
|
|
|
>;
|
2014-11-24 09:08:18 +00:00
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
def : ProcessorModel<"mullins", SIQuarterSpeedModel,
|
|
|
|
[FeatureSeaIslands, FeatureLDSBankCount16]>;
|
2015-01-18 16:17:27 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Volcanic Islands
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-05-21 06:57:07 +00:00
|
|
|
def : ProcessorModel<"tonga", SIQuarterSpeedModel,
|
2015-07-05 14:21:36 +00:00
|
|
|
[FeatureVolcanicIslands, FeatureSGPRInitBug, FeatureISAVersion8_0_0]
|
2015-05-21 06:57:07 +00:00
|
|
|
>;
|
2015-01-18 16:17:27 +00:00
|
|
|
|
2015-05-21 06:57:07 +00:00
|
|
|
def : ProcessorModel<"iceland", SIQuarterSpeedModel,
|
2015-07-05 14:21:36 +00:00
|
|
|
[FeatureVolcanicIslands, FeatureSGPRInitBug, FeatureISAVersion8_0_0]
|
2015-05-21 06:57:07 +00:00
|
|
|
>;
|
2015-01-18 16:17:27 +00:00
|
|
|
|
2015-07-05 14:21:36 +00:00
|
|
|
def : ProcessorModel<"carrizo", SIQuarterSpeedModel,
|
|
|
|
[FeatureVolcanicIslands, FeatureISAVersion8_0_1]
|
|
|
|
>;
|