diff options
| author | Vincent Lejeune <vljn@ovi.com> | 2013-04-30 00:13:27 +0000 |
|---|---|---|
| committer | Vincent Lejeune <vljn@ovi.com> | 2013-04-30 00:13:27 +0000 |
| commit | 7d820c0bef36e78a1fa569dd97ae744e9c32775f (patch) | |
| tree | 603fdc7dd74abaf1470fc82db5796c8788740bce /llvm/lib | |
| parent | f501ea298bd312ac7dc2dbebbfb5758af71ed1f9 (diff) | |
| download | bcm5719-llvm-7d820c0bef36e78a1fa569dd97ae744e9c32775f.tar.gz bcm5719-llvm-7d820c0bef36e78a1fa569dd97ae744e9c32775f.zip | |
R600: Add some new processor variants
llvm-svn: 180753
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/R600/AMDILDeviceInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/R600/Processors.td | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDILDeviceInfo.cpp b/llvm/lib/Target/R600/AMDILDeviceInfo.cpp index 19792b73e2d..178795936a2 100644 --- a/llvm/lib/Target/R600/AMDILDeviceInfo.cpp +++ b/llvm/lib/Target/R600/AMDILDeviceInfo.cpp @@ -44,7 +44,7 @@ AMDGPUDevice* getDeviceFromName(const std::string &deviceName, " on 32bit pointers!"); #endif return new AMDGPUEvergreenDevice(ptr); - } else if (deviceName == "redwood") { + } else if (deviceName == "redwood" || deviceName == "sumo") { #if DEBUG assert(!is64bit && "This device does not support 64bit pointers!"); assert(!is64on32bit && "This device does not support 64bit" diff --git a/llvm/lib/Target/R600/Processors.td b/llvm/lib/Target/R600/Processors.td index b9229d499d1..c2cc63ac3ee 100644 --- a/llvm/lib/Target/R600/Processors.td +++ b/llvm/lib/Target/R600/Processors.td @@ -15,11 +15,13 @@ class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Featur : Processor<Name, itin, Features>; def : Proc<"", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"r600", R600_EG_Itin, [FeatureR600ALUInst]>; +def : Proc<"rs880", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"rv670", R600_EG_Itin, [FeatureR600ALUInst, FeatureFP64]>; def : Proc<"rv710", R600_EG_Itin, []>; def : Proc<"rv730", R600_EG_Itin, []>; def : Proc<"rv770", R600_EG_Itin, [FeatureFP64]>; def : Proc<"cedar", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; +def : Proc<"sumo", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"redwood", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"juniper", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"cypress", R600_EG_Itin, [FeatureByteAddress, FeatureImages, FeatureFP64]>; |

