R600: Rework Scheduling to handle difference between VLIW4 and VLIW5 chips
[oota-llvm.git] / lib / Target / R600 / Processors.td
1 //===-- Processors.td - TODO: Add brief description -------===//
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 // AMDIL processors supported.
11 //
12 //===----------------------------------------------------------------------===//
13
14 class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features>
15 : Processor<Name, itin, Features>;
16 def : Proc<"",           R600_VLIW5_Itin,
17     [FeatureR600ALUInst, FeatureVertexCache]>;
18 def : Proc<"r600",       R600_VLIW5_Itin,
19     [FeatureR600ALUInst , FeatureVertexCache]>;
20 def : Proc<"rs880",      R600_VLIW5_Itin,
21     [FeatureR600ALUInst]>;
22 def : Proc<"rv670",      R600_VLIW5_Itin,
23     [FeatureR600ALUInst, FeatureFP64, FeatureVertexCache]>;
24 def : Proc<"rv710",      R600_VLIW5_Itin,
25     [FeatureVertexCache]>;
26 def : Proc<"rv730",      R600_VLIW5_Itin,
27     [FeatureVertexCache]>;
28 def : Proc<"rv770",      R600_VLIW5_Itin,
29     [FeatureFP64, FeatureVertexCache]>;
30 def : Proc<"cedar",      R600_VLIW5_Itin,
31     [FeatureByteAddress, FeatureImages, FeatureVertexCache]>;
32 def : Proc<"redwood",    R600_VLIW5_Itin,
33     [FeatureByteAddress, FeatureImages, FeatureVertexCache]>;
34 def : Proc<"sumo",       R600_VLIW5_Itin,
35     [FeatureByteAddress, FeatureImages]>;
36 def : Proc<"juniper",    R600_VLIW5_Itin,
37     [FeatureByteAddress, FeatureImages, FeatureVertexCache]>;
38 def : Proc<"cypress",    R600_VLIW5_Itin,
39     [FeatureByteAddress, FeatureImages, FeatureFP64, FeatureVertexCache]>;
40 def : Proc<"barts",      R600_VLIW5_Itin,
41     [FeatureByteAddress, FeatureImages, FeatureVertexCache]>;
42 def : Proc<"turks",      R600_VLIW5_Itin,
43     [FeatureByteAddress, FeatureImages, FeatureVertexCache]>;
44 def : Proc<"caicos",     R600_VLIW5_Itin,
45     [FeatureByteAddress, FeatureImages]>;
46 def : Proc<"cayman",     R600_VLIW4_Itin,
47     [FeatureByteAddress, FeatureImages, FeatureFP64]>;def : Proc<"SI",         SI_Itin, [Feature64BitPtr, FeatureFP64]>;
48 def : Proc<"tahiti",     SI_Itin, [Feature64BitPtr, FeatureFP64]>;
49 def : Proc<"pitcairn",   SI_Itin, [Feature64BitPtr, FeatureFP64]>;
50 def : Proc<"verde",      SI_Itin, [Feature64BitPtr, FeatureFP64]>;
51 def : Proc<"oland",      SI_Itin, [Feature64BitPtr, FeatureFP64]>;