diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-03-07 15:28:45 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-03-07 15:28:45 -0500 |
commit | 3e0f1522f835b3c61f2fcd6eecc0c72845b9a9f2 (patch) | |
tree | 3a8f5e595e3974e78152813f5ccf688a68d3a9ce | |
parent | e72868071d4fe2e43228f8945b73d9793bbb93ee (diff) |
XXX: Add real SI processorssi-compute-v3
-rw-r--r-- | lib/Target/R600/AMDILDeviceInfo.cpp | 3 | ||||
-rw-r--r-- | lib/Target/R600/Processors.td | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/Target/R600/AMDILDeviceInfo.cpp b/lib/Target/R600/AMDILDeviceInfo.cpp index 9605fbe6334..9cc2083add9 100644 --- a/lib/Target/R600/AMDILDeviceInfo.cpp +++ b/lib/Target/R600/AMDILDeviceInfo.cpp @@ -79,7 +79,8 @@ AMDGPUDevice* getDeviceFromName(const std::string &deviceName, " on 32bit pointers!"); #endif return new AMDGPUNIDevice(ptr); - } else if (deviceName == "SI") { + } else if (deviceName == "tahiti" || deviceName == "pitcairn" || + deviceName == "verde" || deviceName == "oland") { return new AMDGPUSIDevice(ptr); } else { #if DEBUG diff --git a/lib/Target/R600/Processors.td b/lib/Target/R600/Processors.td index 868810c613b..a99cc5493a5 100644 --- a/lib/Target/R600/Processors.td +++ b/lib/Target/R600/Processors.td @@ -26,5 +26,7 @@ def : Proc<"barts", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"turks", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"caicos", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"cayman", R600_EG_Itin, [FeatureByteAddress, FeatureImages, FeatureFP64]>; -def : Proc<"SI", SI_Itin, [Feature64BitPtr]>; - +def : Proc<"tahiti", SI_Itin, [Feature64BitPtr, FeatureFP64]>; +def : Proc<"pitcairn", SI_Itin, [Feature64BitPtr, FeatureFP64]>; +def : Proc<"verde", SI_Itin, [Feature64BitPtr, FeatureFP64]>; +def : Proc<"oland", SI_Itin, [Feature64BitPtr, FeatureFP64]>; |