Tom Stellard | c2516c6 | 2013-05-03 17:21:14 +0000 | [diff] [blame] | 1 | //===-- Processors.td - R600 Processor definitions ------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 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 | //===----------------------------------------------------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 9 | |
| 10 | class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features> |
| 11 | : Processor<Name, itin, Features>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 12 | |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | // R600 |
| 15 | //===----------------------------------------------------------------------===// |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 16 | def : Proc<"", R600_VLIW5_Itin, |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 17 | [FeatureR600, FeatureVertexCache]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 18 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 19 | def : Proc<"r600", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 20 | [FeatureR600 , FeatureVertexCache, FeatureWavefrontSize64]>; |
| 21 | |
| 22 | def : Proc<"r630", R600_VLIW5_Itin, |
| 23 | [FeatureR600, FeatureVertexCache, FeatureWavefrontSize32]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 24 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 25 | def : Proc<"rs880", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 26 | [FeatureR600, FeatureWavefrontSize16]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 27 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 28 | def : Proc<"rv670", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 29 | [FeatureR600, FeatureFP64, FeatureVertexCache, FeatureWavefrontSize64]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 30 | |
| 31 | //===----------------------------------------------------------------------===// |
| 32 | // R700 |
| 33 | //===----------------------------------------------------------------------===// |
| 34 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 35 | def : Proc<"rv710", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 36 | [FeatureR700, FeatureVertexCache, FeatureWavefrontSize32]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 37 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 38 | def : Proc<"rv730", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 39 | [FeatureR700, FeatureVertexCache, FeatureWavefrontSize32]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 40 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 41 | def : Proc<"rv770", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 42 | [FeatureR700, FeatureFP64, FeatureVertexCache, FeatureWavefrontSize64]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 43 | |
| 44 | //===----------------------------------------------------------------------===// |
| 45 | // Evergreen |
| 46 | //===----------------------------------------------------------------------===// |
| 47 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 48 | def : Proc<"cedar", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 49 | [FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize32, |
| 50 | FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 51 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 52 | def : Proc<"redwood", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 53 | [FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize64, |
| 54 | FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 55 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 56 | def : Proc<"sumo", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 57 | [FeatureEvergreen, FeatureWavefrontSize64, FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 58 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 59 | def : Proc<"juniper", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 60 | [FeatureEvergreen, FeatureVertexCache, FeatureWavefrontSize64]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 61 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 62 | def : Proc<"cypress", R600_VLIW5_Itin, |
Tom Stellard | 8c347b0 | 2014-01-22 21:55:40 +0000 | [diff] [blame] | 63 | [FeatureEvergreen, FeatureFP64, FeatureVertexCache, |
| 64 | FeatureWavefrontSize64]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 65 | |
| 66 | //===----------------------------------------------------------------------===// |
| 67 | // Northern Islands |
| 68 | //===----------------------------------------------------------------------===// |
| 69 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 70 | def : Proc<"barts", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 71 | [FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 72 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 73 | def : Proc<"turks", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 74 | [FeatureNorthernIslands, FeatureVertexCache, FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 75 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 76 | def : Proc<"caicos", R600_VLIW5_Itin, |
Tom Stellard | 348273d | 2014-01-23 16:18:02 +0000 | [diff] [blame] | 77 | [FeatureNorthernIslands, FeatureCFALUBug]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 78 | |
Vincent Lejeune | 076c0b2 | 2013-04-30 00:14:17 +0000 | [diff] [blame] | 79 | def : Proc<"cayman", R600_VLIW4_Itin, |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 80 | [FeatureNorthernIslands, FeatureFP64, FeatureCaymanISA]>; |
Tom Stellard | 3498e4f | 2013-06-07 20:28:55 +0000 | [diff] [blame] | 81 | |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 82 | //===----------------------------------------------------------------------===// |
| 83 | // Southern Islands |
| 84 | //===----------------------------------------------------------------------===// |
| 85 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 86 | def : Proc<"SI", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 87 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 88 | def : Proc<"tahiti", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 89 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 90 | def : Proc<"pitcairn", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 91 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 92 | def : Proc<"verde", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 93 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 94 | def : Proc<"oland", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 95 | |
Tom Stellard | a6c6e1b | 2013-06-07 20:37:48 +0000 | [diff] [blame] | 96 | def : Proc<"hainan", SI_Itin, [FeatureSouthernIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 97 | |
| 98 | //===----------------------------------------------------------------------===// |
| 99 | // Sea Islands |
| 100 | //===----------------------------------------------------------------------===// |
| 101 | |
Tom Stellard | 6e1ee47 | 2013-10-29 16:37:28 +0000 | [diff] [blame] | 102 | def : Proc<"bonaire", SI_Itin, [FeatureSeaIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 103 | |
Tom Stellard | 6e1ee47 | 2013-10-29 16:37:28 +0000 | [diff] [blame] | 104 | def : Proc<"kabini", SI_Itin, [FeatureSeaIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 105 | |
Tom Stellard | 6e1ee47 | 2013-10-29 16:37:28 +0000 | [diff] [blame] | 106 | def : Proc<"kaveri", SI_Itin, [FeatureSeaIslands]>; |
Tom Stellard | d7e146e | 2013-12-11 17:51:51 +0000 | [diff] [blame] | 107 | |
Tom Stellard | 81229a1 | 2013-11-14 23:46:00 +0000 | [diff] [blame] | 108 | def : Proc<"hawaii", SI_Itin, [FeatureSeaIslands]>; |
Tom Stellard | 10b1502 | 2014-05-02 15:41:49 +0000 | [diff] [blame] | 109 | |
| 110 | def : Proc<"mullins", SI_Itin, [FeatureSeaIslands]>; |
Marek Olsak | 5df00d6 | 2014-12-07 12:18:57 +0000 | [diff] [blame^] | 111 | |
| 112 | def : Proc<"tonga", SI_Itin, [FeatureVolcanicIslands]>; |
| 113 | |
| 114 | def : Proc<"iceland", SI_Itin, [FeatureVolcanicIslands]>; |
| 115 | |
| 116 | def : Proc<"carrizo", SI_Itin, [FeatureVolcanicIslands]>; |