Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 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>; |
Tom Stellard | 4ded0c1 | 2013-02-07 19:39:34 +0000 | [diff] [blame^] | 16 | def : Proc<"", R600_EG_Itin, [FeatureR600ALUInst]>; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 17 | def : Proc<"r600", R600_EG_Itin, [FeatureR600ALUInst]>; |
| 18 | def : Proc<"rv710", R600_EG_Itin, []>; |
| 19 | def : Proc<"rv730", R600_EG_Itin, []>; |
| 20 | def : Proc<"rv770", R600_EG_Itin, [FeatureFP64]>; |
| 21 | def : Proc<"cedar", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 22 | def : Proc<"redwood", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 23 | def : Proc<"juniper", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 24 | def : Proc<"cypress", R600_EG_Itin, [FeatureByteAddress, FeatureImages, FeatureFP64]>; |
| 25 | def : Proc<"barts", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 26 | def : Proc<"turks", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 27 | def : Proc<"caicos", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; |
| 28 | def : Proc<"cayman", R600_EG_Itin, [FeatureByteAddress, FeatureImages, FeatureFP64]>; |
| 29 | def : Proc<"SI", SI_Itin, [Feature64BitPtr]>; |
| 30 | |