Konstantin Zhuravlyov | 27b0a03 | 2017-11-10 20:01:58 +0000 | [diff] [blame] | 1 | //===-- R600Processors.td - R600 Processor definitions --------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | //===----------------------------------------------------------------------===// |
| 11 | // Radeon HD 2000/3000 Series (R600). |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | def : Processor<"r600", R600_VLIW5_Itin, |
| 15 | [FeatureR600, FeatureWavefrontSize64, FeatureVertexCache] |
| 16 | >; |
| 17 | |
| 18 | def : Processor<"r630", R600_VLIW5_Itin, |
| 19 | [FeatureR600, FeatureWavefrontSize32, FeatureVertexCache] |
| 20 | >; |
| 21 | |
| 22 | def : Processor<"rs880", R600_VLIW5_Itin, |
| 23 | [FeatureR600, FeatureWavefrontSize16] |
| 24 | >; |
| 25 | |
| 26 | def : Processor<"rv670", R600_VLIW5_Itin, |
Jan Vesely | d1c9b61 | 2017-12-04 22:57:29 +0000 | [diff] [blame^] | 27 | [FeatureR600, FeatureWavefrontSize64, FeatureVertexCache] |
Konstantin Zhuravlyov | 27b0a03 | 2017-11-10 20:01:58 +0000 | [diff] [blame] | 28 | >; |
| 29 | |
| 30 | //===----------------------------------------------------------------------===// |
| 31 | // Radeon HD 4000 Series (R700). |
| 32 | //===----------------------------------------------------------------------===// |
| 33 | |
| 34 | def : Processor<"rv710", R600_VLIW5_Itin, |
| 35 | [FeatureR700, FeatureWavefrontSize32, FeatureVertexCache] |
| 36 | >; |
| 37 | |
| 38 | def : Processor<"rv730", R600_VLIW5_Itin, |
| 39 | [FeatureR700, FeatureWavefrontSize32, FeatureVertexCache] |
| 40 | >; |
| 41 | |
| 42 | def : Processor<"rv770", R600_VLIW5_Itin, |
Jan Vesely | d1c9b61 | 2017-12-04 22:57:29 +0000 | [diff] [blame^] | 43 | [FeatureR700, FeatureWavefrontSize64, FeatureVertexCache] |
Konstantin Zhuravlyov | 27b0a03 | 2017-11-10 20:01:58 +0000 | [diff] [blame] | 44 | >; |
| 45 | |
| 46 | //===----------------------------------------------------------------------===// |
| 47 | // Radeon HD 5000 Series (Evergreen). |
| 48 | //===----------------------------------------------------------------------===// |
| 49 | |
| 50 | def : Processor<"cedar", R600_VLIW5_Itin, |
| 51 | [FeatureEvergreen, FeatureWavefrontSize32, FeatureVertexCache, |
| 52 | FeatureCFALUBug] |
| 53 | >; |
| 54 | |
| 55 | def : Processor<"cypress", R600_VLIW5_Itin, |
Jan Vesely | d1c9b61 | 2017-12-04 22:57:29 +0000 | [diff] [blame^] | 56 | [FeatureEvergreen, FeatureWavefrontSize64, FeatureVertexCache] |
Konstantin Zhuravlyov | 27b0a03 | 2017-11-10 20:01:58 +0000 | [diff] [blame] | 57 | >; |
| 58 | |
| 59 | def : Processor<"juniper", R600_VLIW5_Itin, |
| 60 | [FeatureEvergreen, FeatureWavefrontSize64, FeatureVertexCache] |
| 61 | >; |
| 62 | |
| 63 | def : Processor<"redwood", R600_VLIW5_Itin, |
| 64 | [FeatureEvergreen, FeatureWavefrontSize64, FeatureVertexCache, |
| 65 | FeatureCFALUBug] |
| 66 | >; |
| 67 | |
| 68 | def : Processor<"sumo", R600_VLIW5_Itin, |
| 69 | [FeatureEvergreen, FeatureWavefrontSize64, FeatureCFALUBug] |
| 70 | >; |
| 71 | |
| 72 | //===----------------------------------------------------------------------===// |
| 73 | // Radeon HD 6000 Series (Northern Islands). |
| 74 | //===----------------------------------------------------------------------===// |
| 75 | |
| 76 | def : Processor<"barts", R600_VLIW5_Itin, |
| 77 | [FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug] |
| 78 | >; |
| 79 | |
| 80 | def : Processor<"caicos", R600_VLIW5_Itin, |
| 81 | [FeatureNorthernIslands, FeatureCFALUBug] |
| 82 | >; |
| 83 | |
| 84 | def : Processor<"cayman", R600_VLIW4_Itin, |
Jan Vesely | d1c9b61 | 2017-12-04 22:57:29 +0000 | [diff] [blame^] | 85 | [FeatureNorthernIslands, FeatureCaymanISA] |
Konstantin Zhuravlyov | 27b0a03 | 2017-11-10 20:01:58 +0000 | [diff] [blame] | 86 | >; |
| 87 | |
| 88 | def : Processor<"turks", R600_VLIW5_Itin, |
| 89 | [FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug] |
| 90 | >; |