mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
AMDGPU: Remove Feature64BitPtr
This is a leftover from AMDIL that doesn't do anything and doesn't belong here. llvm-svn: 258606
This commit is contained in:
parent
0892910f16
commit
c3ec12b749
@ -73,11 +73,6 @@ def FeatureFP32Denormals : SubtargetFeature<"fp32-denormals",
|
|||||||
"true",
|
"true",
|
||||||
"Enable single precision denormal handling">;
|
"Enable single precision denormal handling">;
|
||||||
|
|
||||||
def Feature64BitPtr : SubtargetFeature<"64BitPtr",
|
|
||||||
"Is64bit",
|
|
||||||
"true",
|
|
||||||
"Specify if 64-bit addressing should be used">;
|
|
||||||
|
|
||||||
def FeatureR600ALUInst : SubtargetFeature<"R600ALUInst",
|
def FeatureR600ALUInst : SubtargetFeature<"R600ALUInst",
|
||||||
"R600ALUInst",
|
"R600ALUInst",
|
||||||
"false",
|
"false",
|
||||||
@ -247,17 +242,17 @@ def FeatureNorthernIslands : SubtargetFeatureGeneration<"NORTHERN_ISLANDS",
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
def FeatureSouthernIslands : SubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
|
def FeatureSouthernIslands : SubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
|
||||||
[Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize32768,
|
[FeatureFP64, FeatureLocalMemorySize32768,
|
||||||
FeatureWavefrontSize64, FeatureGCN, FeatureGCN1Encoding,
|
FeatureWavefrontSize64, FeatureGCN, FeatureGCN1Encoding,
|
||||||
FeatureLDSBankCount32]>;
|
FeatureLDSBankCount32]>;
|
||||||
|
|
||||||
def FeatureSeaIslands : SubtargetFeatureGeneration<"SEA_ISLANDS",
|
def FeatureSeaIslands : SubtargetFeatureGeneration<"SEA_ISLANDS",
|
||||||
[Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize65536,
|
[FeatureFP64, FeatureLocalMemorySize65536,
|
||||||
FeatureWavefrontSize64, FeatureGCN, FeatureFlatAddressSpace,
|
FeatureWavefrontSize64, FeatureGCN, FeatureFlatAddressSpace,
|
||||||
FeatureGCN1Encoding, FeatureCIInsts]>;
|
FeatureGCN1Encoding, FeatureCIInsts]>;
|
||||||
|
|
||||||
def FeatureVolcanicIslands : SubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
|
def FeatureVolcanicIslands : SubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
|
||||||
[Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize65536,
|
[FeatureFP64, FeatureLocalMemorySize65536,
|
||||||
FeatureWavefrontSize64, FeatureFlatAddressSpace, FeatureGCN,
|
FeatureWavefrontSize64, FeatureFlatAddressSpace, FeatureGCN,
|
||||||
FeatureGCN3Encoding, FeatureCIInsts, FeatureLDSBankCount32]>;
|
FeatureGCN3Encoding, FeatureCIInsts, FeatureLDSBankCount32]>;
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ AMDGPUSubtarget::initializeSubtargetDependencies(const Triple &TT,
|
|||||||
|
|
||||||
AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
|
AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
|
||||||
TargetMachine &TM)
|
TargetMachine &TM)
|
||||||
: AMDGPUGenSubtargetInfo(TT, GPU, FS), DevName(GPU), Is64bit(false),
|
: AMDGPUGenSubtargetInfo(TT, GPU, FS), DevName(GPU),
|
||||||
DumpCode(false), R600ALUInst(false), HasVertexCache(false),
|
DumpCode(false), R600ALUInst(false), HasVertexCache(false),
|
||||||
TexVTXClauseSize(0), Gen(AMDGPUSubtarget::R600), FP64(false),
|
TexVTXClauseSize(0), Gen(AMDGPUSubtarget::R600), FP64(false),
|
||||||
FP64Denormals(false), FP32Denormals(false), FastFMAF32(false),
|
FP64Denormals(false), FP32Denormals(false), FastFMAF32(false),
|
||||||
|
@ -59,7 +59,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string DevName;
|
std::string DevName;
|
||||||
bool Is64bit;
|
|
||||||
bool DumpCode;
|
bool DumpCode;
|
||||||
bool R600ALUInst;
|
bool R600ALUInst;
|
||||||
bool HasVertexCache;
|
bool HasVertexCache;
|
||||||
@ -124,10 +123,6 @@ public:
|
|||||||
|
|
||||||
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|
||||||
|
|
||||||
bool is64bit() const {
|
|
||||||
return Is64bit;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool hasVertexCache() const {
|
bool hasVertexCache() const {
|
||||||
return HasVertexCache;
|
return HasVertexCache;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user