llvm.org GIT mirror llvm / 0cb3cc3
Merging r258606: ------------------------------------------------------------------------ r258606 | Matthew.Arsenault | 2016-01-22 21:32:14 -0800 (Fri, 22 Jan 2016) | 5 lines AMDGPU: Remove Feature64BitPtr This is a leftover from AMDIL that doesn't do anything and doesn't belong here. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271587 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 3 years ago
3 changed file(s) with 4 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
6666 "true",
6767 "Enable single precision denormal handling">;
6868
69 def Feature64BitPtr : SubtargetFeature<"64BitPtr",
70 "Is64bit",
71 "true",
72 "Specify if 64-bit addressing should be used">;
73
7469 def FeatureR600ALUInst : SubtargetFeature<"R600ALUInst",
7570 "R600ALUInst",
7671 "false",
240235 >;
241236
242237 def FeatureSouthernIslands : SubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
243 [Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize32768,
238 [FeatureFP64, FeatureLocalMemorySize32768,
244239 FeatureWavefrontSize64, FeatureGCN, FeatureGCN1Encoding,
245240 FeatureLDSBankCount32]>;
246241
247242 def FeatureSeaIslands : SubtargetFeatureGeneration<"SEA_ISLANDS",
248 [Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize65536,
243 [FeatureFP64, FeatureLocalMemorySize65536,
249244 FeatureWavefrontSize64, FeatureGCN, FeatureFlatAddressSpace,
250245 FeatureGCN1Encoding, FeatureCIInsts]>;
251246
252247 def FeatureVolcanicIslands : SubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
253 [Feature64BitPtr, FeatureFP64, FeatureLocalMemorySize65536,
248 [FeatureFP64, FeatureLocalMemorySize65536,
254249 FeatureWavefrontSize64, FeatureFlatAddressSpace, FeatureGCN,
255250 FeatureGCN3Encoding, FeatureCIInsts]>;
256251
6565
6666 AMDGPUSubtarget::AMDGPUSubtarget(const Triple &TT, StringRef GPU, StringRef FS,
6767 TargetMachine &TM)
68 : AMDGPUGenSubtargetInfo(TT, GPU, FS), DevName(GPU), Is64bit(false),
68 : AMDGPUGenSubtargetInfo(TT, GPU, FS), DevName(GPU),
6969 DumpCode(false), R600ALUInst(false), HasVertexCache(false),
7070 TexVTXClauseSize(0), Gen(AMDGPUSubtarget::R600), FP64(false),
7171 FP64Denormals(false), FP32Denormals(false), FastFMAF32(false),
5858
5959 private:
6060 std::string DevName;
61 bool Is64bit;
6261 bool DumpCode;
6362 bool R600ALUInst;
6463 bool HasVertexCache;
122121
123122 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
124123
125 bool is64bit() const {
126 return Is64bit;
127 }
128
129124 bool hasVertexCache() const {
130125 return HasVertexCache;
131126 }