1 //===-- Processors.td - R600 Processor definitions ------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features> 11 : Processor<Name, itin, Features>; 12 def : Proc<"", R600_VLIW5_Itin, 13 [FeatureR600, FeatureVertexCache]>; 14 def : Proc<"r600", R600_VLIW5_Itin, 15 [FeatureR600 , FeatureVertexCache]>; 16 def : Proc<"rs880", R600_VLIW5_Itin, 17 [FeatureR600]>; 18 def : Proc<"rv670", R600_VLIW5_Itin, 19 [FeatureR600, FeatureFP64, FeatureVertexCache]>; 20 def : Proc<"rv710", R600_VLIW5_Itin, 21 [FeatureR700, FeatureVertexCache]>; 22 def : Proc<"rv730", R600_VLIW5_Itin, 23 [FeatureR700, FeatureVertexCache]>; 24 def : Proc<"rv770", R600_VLIW5_Itin, 25 [FeatureR700, FeatureFP64, FeatureVertexCache]>; 26 def : Proc<"cedar", R600_VLIW5_Itin, 27 [FeatureEvergreen, FeatureVertexCache]>; 28 def : Proc<"redwood", R600_VLIW5_Itin, 29 [FeatureEvergreen, FeatureVertexCache]>; 30 def : Proc<"sumo", R600_VLIW5_Itin, 31 [FeatureEvergreen]>; 32 def : Proc<"juniper", R600_VLIW5_Itin, 33 [FeatureEvergreen, FeatureVertexCache]>; 34 def : Proc<"cypress", R600_VLIW5_Itin, 35 [FeatureEvergreen, FeatureFP64, FeatureVertexCache]>; 36 def : Proc<"barts", R600_VLIW5_Itin, 37 [FeatureNorthernIslands, FeatureVertexCache]>; 38 def : Proc<"turks", R600_VLIW5_Itin, 39 [FeatureNorthernIslands, FeatureVertexCache]>; 40 def : Proc<"caicos", R600_VLIW5_Itin, 41 [FeatureNorthernIslands]>; 42 def : Proc<"cayman", R600_VLIW4_Itin, 43 [FeatureNorthernIslands, FeatureFP64, FeatureCaymanISA]>; 44 45 def : Proc<"SI", SI_Itin, [FeatureSouthernIslands]>; 46 def : Proc<"tahiti", SI_Itin, [FeatureSouthernIslands]>; 47 def : Proc<"pitcairn", SI_Itin, [FeatureSouthernIslands]>; 48 def : Proc<"verde", SI_Itin, [FeatureSouthernIslands]>; 49 def : Proc<"oland", SI_Itin, [FeatureSouthernIslands]>; 50 def : Proc<"hainan", SI_Itin, [FeatureSouthernIslands]>; 51 def : Proc<"bonaire", SI_Itin, [FeatureSouthernIslands]>; 52 def : Proc<"kabini", SI_Itin, [FeatureSouthernIslands]>; 53 def : Proc<"kaveri", SI_Itin, [FeatureSouthernIslands]>; 54