mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
R600/SI: Add processor type for Hainan asic
Patch by: Alex Deucher Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> NOTE: This is a candidate for the 3.3 branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8305acb200
commit
ec03792245
@ -81,7 +81,8 @@ AMDGPUDevice* getDeviceFromName(const std::string &deviceName,
|
||||
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
|
||||
|
@ -45,3 +45,4 @@ 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]>;
|
||||
def : Proc<"hainan", SI_Itin, [Feature64BitPtr, FeatureFP64]>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user