[llvm] r181792 - R600/SI: Add processor type for Hainan asic

Bill Wendling wendling at apple.com
Wed May 15 17:17:25 PDT 2013


Okay. Done. :)

-bw

On May 14, 2013, at 7:50 AM, Tom Stellard <tom at stellard.net> wrote:

> Hi Bill,
> 
> Can you cherry-pick this to the 3.3 branch.  This patch makes no
> functional change, it just adds a recently released processor.
> 
> Thanks,
> Tom
> 
> On Tue, May 14, 2013 at 02:42:56PM -0000, Tom Stellard wrote:
>> Author: tstellar
>> Date: Tue May 14 09:42:56 2013
>> New Revision: 181792
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=181792&view=rev
>> Log:
>> R600/SI: Add processor type for Hainan asic
>> 
>> Patch by: Alex Deucher
>> 
>> Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>> 
>> NOTE: This is a candidate for the 3.3 branch.
>> 
>> 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=181792&r1=181791&r2=181792&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp (original)
>> +++ llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp Tue May 14 09:42:56 2013
>> @@ -81,7 +81,8 @@ AMDGPUDevice* getDeviceFromName(const st
>>     return new AMDGPUNIDevice(ptr);
>>   } else if (deviceName == "SI" ||
>>              deviceName == "tahiti" || deviceName == "pitcairn" ||
>> -             deviceName == "verde"  || deviceName == "oland") {
>> +             deviceName == "verde"  || deviceName == "oland" ||
>> +	     deviceName == "hainan") {
>>     return new AMDGPUSIDevice(ptr);
>>   } else {
>> #if DEBUG
>> 
>> Modified: llvm/trunk/lib/Target/R600/Processors.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/Processors.td?rev=181792&r1=181791&r2=181792&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/Target/R600/Processors.td (original)
>> +++ llvm/trunk/lib/Target/R600/Processors.td Tue May 14 09:42:56 2013
>> @@ -45,3 +45,4 @@ def : Proc<"tahiti",     SI_Itin, [Featu
>> def : Proc<"pitcairn",   SI_Itin, [Feature64BitPtr, FeatureFP64]>;
>> def : Proc<"verde",      SI_Itin, [Feature64BitPtr, FeatureFP64]>;
>> def : Proc<"oland",      SI_Itin, [Feature64BitPtr, FeatureFP64]>;
>> +def : Proc<"hainan",     SI_Itin, [Feature64BitPtr, FeatureFP64]>;
>> 
>> 
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list