[llvm] r180753 - R600: Add some new processor variants

Vincent Lejeune vljn at ovi.com
Mon Apr 29 17:13:27 PDT 2013


Author: vljn
Date: Mon Apr 29 19:13:27 2013
New Revision: 180753

URL: http://llvm.org/viewvc/llvm-project?rev=180753&view=rev
Log:
R600: Add some new processor variants

Modified:
    llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp
    llvm/trunk/lib/Target/R600/Processors.td

Modified: llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp?rev=180753&r1=180752&r2=180753&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp Mon Apr 29 19:13:27 2013
@@ -44,7 +44,7 @@ AMDGPUDevice* getDeviceFromName(const st
           " 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"

Modified: llvm/trunk/lib/Target/R600/Processors.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/Processors.td?rev=180753&r1=180752&r2=180753&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/Processors.td (original)
+++ llvm/trunk/lib/Target/R600/Processors.td Mon Apr 29 19:13:27 2013
@@ -15,11 +15,13 @@ class Proc<string Name, ProcessorItinera
 : 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]>;





More information about the llvm-commits mailing list