Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 1 | //=- ARMScheduleA8.td - ARM Cortex-A8 Scheduling Definitions -*- tablegen -*-=// |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 2 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 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. |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 7 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file defines the itinerary class data for the ARM Cortex A8 processors. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | // |
| 15 | // Scheduling information derived from "Cortex-A8 Technical Reference Manual". |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 16 | // Functional Units. |
| 17 | def A8_Issue : FuncUnit; // issue |
| 18 | def A8_Pipe0 : FuncUnit; // pipeline 0 |
| 19 | def A8_Pipe1 : FuncUnit; // pipeline 1 |
| 20 | def A8_LdSt0 : FuncUnit; // pipeline 0 load/store |
| 21 | def A8_LdSt1 : FuncUnit; // pipeline 1 load/store |
| 22 | def A8_NPipe : FuncUnit; // NEON ALU/MUL pipe |
| 23 | def A8_NLSPipe : FuncUnit; // NEON LS pipe |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 24 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 25 | // Dual issue pipeline represented by A8_Pipe0 | A8_Pipe1 |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 26 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 27 | def CortexA8Itineraries : ProcessorItineraries< |
Evan Cheng | 63d66ee | 2010-09-28 23:50:49 +0000 | [diff] [blame] | 28 | [A8_Issue, A8_Pipe0, A8_Pipe1, A8_LdSt0, A8_LdSt1, A8_NPipe, A8_NLSPipe], |
| 29 | [], [ |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 30 | // Two fully-pipelined integer ALU pipelines |
| 31 | // |
| 32 | // No operand cycles |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 33 | InstrItinData<IIC_iALUx , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 34 | // |
| 35 | // Binary Instructions that produce a result |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 36 | InstrItinData<IIC_iALUi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 37 | InstrItinData<IIC_iALUr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>, |
| 38 | InstrItinData<IIC_iALUsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>, |
Evan Cheng | 3881cb7 | 2010-09-29 22:42:35 +0000 | [diff] [blame] | 39 | InstrItinData<IIC_iALUsir,[InstrStage<1,[A8_Pipe0, A8_Pipe1]>], [2, 1, 2]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 40 | InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 41 | // |
Evan Cheng | 7e1bf30 | 2010-09-29 00:27:46 +0000 | [diff] [blame] | 42 | // Bitwise Instructions that produce a result |
| 43 | InstrItinData<IIC_iBITi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 44 | InstrItinData<IIC_iBITr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>, |
| 45 | InstrItinData<IIC_iBITsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>, |
| 46 | InstrItinData<IIC_iBITsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>, |
| 47 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 48 | // Unary Instructions that produce a result |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 49 | InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 50 | InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 51 | // |
Evan Cheng | 576a396 | 2010-09-25 00:49:35 +0000 | [diff] [blame] | 52 | // Zero and sign extension instructions |
| 53 | InstrItinData<IIC_iEXTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>, |
| 54 | InstrItinData<IIC_iEXTAr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>, |
Evan Cheng | 7e1bf30 | 2010-09-29 00:27:46 +0000 | [diff] [blame] | 55 | InstrItinData<IIC_iEXTAsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>],[2, 2, 1, 1]>, |
Evan Cheng | 576a396 | 2010-09-25 00:49:35 +0000 | [diff] [blame] | 56 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 57 | // Compare instructions |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 58 | InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>, |
| 59 | InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 60 | InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
| 61 | InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 62 | // |
Evan Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 63 | // Test instructions |
| 64 | InstrItinData<IIC_iTSTi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>, |
| 65 | InstrItinData<IIC_iTSTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 66 | InstrItinData<IIC_iTSTsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
| 67 | InstrItinData<IIC_iTSTsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>, |
| 68 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 69 | // Move instructions, unconditional |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 70 | InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>, |
| 71 | InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>, |
| 72 | InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>, |
| 73 | InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>, |
Evan Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 74 | InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 75 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 76 | // |
| 77 | // Move instructions, conditional |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 78 | InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>, |
| 79 | InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
| 80 | InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
| 81 | InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>, |
Evan Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 82 | // |
| 83 | // MVN instructions |
| 84 | InstrItinData<IIC_iMVNi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>, |
| 85 | InstrItinData<IIC_iMVNr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>, |
| 86 | InstrItinData<IIC_iMVNsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>, |
| 87 | InstrItinData<IIC_iMVNsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 88 | |
| 89 | // Integer multiply pipeline |
| 90 | // Result written in E5, but that is relative to the last cycle of multicycle, |
| 91 | // so we use 6 for those cases |
| 92 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 93 | InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 94 | InstrItinData<IIC_iMAC16 , [InstrStage<1, [A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 95 | InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 96 | InstrItinData<IIC_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 97 | InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 98 | InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 99 | InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 100 | InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 101 | InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 102 | InstrItinData<IIC_iMAC64 , [InstrStage<2, [A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 103 | InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 104 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 105 | // Integer load pipeline |
| 106 | // |
| 107 | // loads have an extra cycle of latency, but are fully pipelined |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 108 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 109 | // |
| 110 | // Immediate offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 111 | InstrItinData<IIC_iLoad_i , [InstrStage<1, [A8_Issue], 0>, |
| 112 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 113 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 114 | InstrItinData<IIC_iLoad_bh_i, [InstrStage<1, [A8_Issue], 0>, |
| 115 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 116 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 117 | InstrItinData<IIC_iLoad_d_i, [InstrStage<1, [A8_Issue], 0>, |
| 118 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 119 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 120 | // |
| 121 | // Register offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 122 | InstrItinData<IIC_iLoad_r , [InstrStage<1, [A8_Issue], 0>, |
| 123 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 124 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 125 | InstrItinData<IIC_iLoad_bh_r, [InstrStage<1, [A8_Issue], 0>, |
| 126 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 127 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 128 | InstrItinData<IIC_iLoad_d_r , [InstrStage<1, [A8_Issue], 0>, |
| 129 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 130 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 131 | // |
| 132 | // Scaled register offset, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 133 | InstrItinData<IIC_iLoad_si , [InstrStage<2, [A8_Issue], 0>, |
| 134 | InstrStage<1, [A8_Pipe0], 0>, |
| 135 | InstrStage<1, [A8_Pipe1]>, |
| 136 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 137 | InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>, |
| 138 | InstrItinData<IIC_iLoad_bh_si,[InstrStage<2, [A8_Issue], 0>, |
| 139 | InstrStage<1, [A8_Pipe0], 0>, |
| 140 | InstrStage<1, [A8_Pipe1]>, |
| 141 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 142 | InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 143 | // |
| 144 | // Immediate offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 145 | InstrItinData<IIC_iLoad_iu , [InstrStage<1, [A8_Issue], 0>, |
| 146 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 147 | InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>, |
| 148 | InstrItinData<IIC_iLoad_bh_iu,[InstrStage<1, [A8_Issue], 0>, |
| 149 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 150 | InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 151 | // |
| 152 | // Register offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 153 | InstrItinData<IIC_iLoad_ru , [InstrStage<1, [A8_Issue], 0>, |
| 154 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 155 | InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>, |
| 156 | InstrItinData<IIC_iLoad_bh_ru,[InstrStage<1, [A8_Issue], 0>, |
| 157 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 158 | InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>, |
| 159 | InstrItinData<IIC_iLoad_d_ru, [InstrStage<1, [A8_Issue], 0>, |
| 160 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 161 | InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 162 | // |
| 163 | // Scaled register offset with update, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 164 | InstrItinData<IIC_iLoad_siu , [InstrStage<2, [A8_Issue], 0>, |
| 165 | InstrStage<1, [A8_Pipe0], 0>, |
| 166 | InstrStage<1, [A8_Pipe1]>, |
| 167 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 168 | InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>, |
| 169 | InstrItinData<IIC_iLoad_bh_siu,[InstrStage<2, [A8_Issue], 0>, |
| 170 | InstrStage<1, [A8_Pipe0], 0>, |
| 171 | InstrStage<1, [A8_Pipe1]>, |
| 172 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 173 | InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 174 | // |
| 175 | // Load multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 176 | InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>, |
| 177 | InstrStage<2, [A8_Pipe0], 0>, |
| 178 | InstrStage<2, [A8_Pipe1]>, |
| 179 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 180 | InstrStage<1, [A8_LdSt0]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 181 | |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 182 | // |
| 183 | // Load multiple plus branch |
| 184 | InstrItinData<IIC_iLoadmBr , [InstrStage<2, [A8_Issue], 0>, |
| 185 | InstrStage<2, [A8_Pipe0], 0>, |
| 186 | InstrStage<2, [A8_Pipe1]>, |
| 187 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 188 | InstrStage<1, [A8_LdSt0]>, |
| 189 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
| 190 | |
Evan Cheng | bd30ce4 | 2010-09-24 22:41:41 +0000 | [diff] [blame] | 191 | // |
| 192 | // iLoadi + iALUr for t2LDRpci_pic. |
| 193 | InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>, |
| 194 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 195 | InstrStage<1, [A8_LdSt0]>, |
| 196 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>, |
| 197 | |
| 198 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 199 | // Integer store pipeline |
| 200 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 201 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 202 | // |
| 203 | // Immediate offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 204 | InstrItinData<IIC_iStore_i , [InstrStage<1, [A8_Issue], 0>, |
| 205 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 206 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 207 | InstrItinData<IIC_iStore_bh_i,[InstrStage<1, [A8_Issue], 0>, |
| 208 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 209 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 210 | InstrItinData<IIC_iStore_d_i, [InstrStage<1, [A8_Issue], 0>, |
| 211 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 212 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 213 | // |
| 214 | // Register offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 215 | InstrItinData<IIC_iStore_r , [InstrStage<1, [A8_Issue], 0>, |
| 216 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 217 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 218 | InstrItinData<IIC_iStore_bh_r,[InstrStage<1, [A8_Issue], 0>, |
| 219 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 220 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 221 | InstrItinData<IIC_iStore_d_r, [InstrStage<1, [A8_Issue], 0>, |
| 222 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 223 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 224 | // |
| 225 | // Scaled register offset, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 226 | InstrItinData<IIC_iStore_si , [InstrStage<2, [A8_Issue], 0>, |
| 227 | InstrStage<1, [A8_Pipe0], 0>, |
| 228 | InstrStage<1, [A8_Pipe1]>, |
| 229 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 230 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 231 | InstrItinData<IIC_iStore_bh_si,[InstrStage<2, [A8_Issue], 0>, |
| 232 | InstrStage<1, [A8_Pipe0], 0>, |
| 233 | InstrStage<1, [A8_Pipe1]>, |
| 234 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 235 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 236 | // |
| 237 | // Immediate offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 238 | InstrItinData<IIC_iStore_iu , [InstrStage<1, [A8_Issue], 0>, |
| 239 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 240 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>, |
| 241 | InstrItinData<IIC_iStore_bh_iu,[InstrStage<1, [A8_Issue], 0>, |
| 242 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 243 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 244 | // |
| 245 | // Register offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 246 | InstrItinData<IIC_iStore_ru , [InstrStage<1, [A8_Issue], 0>, |
| 247 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 248 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
| 249 | InstrItinData<IIC_iStore_bh_ru,[InstrStage<1, [A8_Issue], 0>, |
| 250 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 251 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
| 252 | InstrItinData<IIC_iStore_d_ru, [InstrStage<1, [A8_Issue], 0>, |
| 253 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 254 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 255 | // |
| 256 | // Scaled register offset with update, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 257 | InstrItinData<IIC_iStore_siu, [InstrStage<2, [A8_Issue], 0>, |
| 258 | InstrStage<1, [A8_Pipe0], 0>, |
| 259 | InstrStage<1, [A8_Pipe1]>, |
| 260 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 261 | InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>, |
| 262 | InstrItinData<IIC_iStore_bh_siu,[InstrStage<2, [A8_Issue], 0>, |
| 263 | InstrStage<1, [A8_Pipe0], 0>, |
| 264 | InstrStage<1, [A8_Pipe1]>, |
| 265 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 266 | InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 267 | // |
| 268 | // Store multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 269 | InstrItinData<IIC_iStorem , [InstrStage<2, [A8_Issue], 0>, |
| 270 | InstrStage<2, [A8_Pipe0], 0>, |
| 271 | InstrStage<2, [A8_Pipe1]>, |
| 272 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 273 | InstrStage<1, [A8_LdSt0]>]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 274 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 275 | // Branch |
| 276 | // |
| 277 | // no delay slots, so the latency of a branch is unimportant |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 278 | InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 279 | |
| 280 | // VFP |
| 281 | // Issue through integer pipeline, and execute in NEON unit. We assume |
| 282 | // RunFast mode so that NFP pipeline is used for single-precision when |
| 283 | // possible. |
| 284 | // |
| 285 | // FP Special Register to Integer Register File Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 286 | InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 287 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 288 | // |
| 289 | // Single-precision FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 290 | InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 291 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 292 | // |
| 293 | // Double-precision FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 294 | InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 295 | InstrStage<4, [A8_NPipe], 0>, |
| 296 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 297 | // |
| 298 | // Single-precision FP Compare |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 299 | InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 300 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 301 | // |
| 302 | // Double-precision FP Compare |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 303 | InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 304 | InstrStage<4, [A8_NPipe], 0>, |
| 305 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 306 | // |
| 307 | // Single to Double FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 308 | InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 309 | InstrStage<7, [A8_NPipe], 0>, |
| 310 | InstrStage<7, [A8_NLSPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 311 | // |
| 312 | // Double to Single FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 313 | InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 314 | InstrStage<5, [A8_NPipe], 0>, |
| 315 | InstrStage<5, [A8_NLSPipe]>], [5, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 316 | // |
| 317 | // Single-Precision FP to Integer Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 318 | InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 319 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 320 | // |
| 321 | // Double-Precision FP to Integer Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 322 | InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 323 | InstrStage<8, [A8_NPipe], 0>, |
| 324 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 325 | // |
| 326 | // Integer to Single-Precision FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 327 | InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 328 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 329 | // |
| 330 | // Integer to Double-Precision FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 331 | InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 332 | InstrStage<8, [A8_NPipe], 0>, |
| 333 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 334 | // |
| 335 | // Single-precision FP ALU |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 336 | InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 337 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 338 | // |
| 339 | // Double-precision FP ALU |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 340 | InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 341 | InstrStage<9, [A8_NPipe], 0>, |
| 342 | InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 343 | // |
| 344 | // Single-precision FP Multiply |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 345 | InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 346 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 347 | // |
| 348 | // Double-precision FP Multiply |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 349 | InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 350 | InstrStage<11, [A8_NPipe], 0>, |
| 351 | InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 352 | // |
| 353 | // Single-precision FP MAC |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 354 | InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 355 | InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 356 | // |
| 357 | // Double-precision FP MAC |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 358 | InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 359 | InstrStage<19, [A8_NPipe], 0>, |
| 360 | InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 361 | // |
| 362 | // Single-precision FP DIV |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 363 | InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 364 | InstrStage<20, [A8_NPipe], 0>, |
| 365 | InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 366 | // |
| 367 | // Double-precision FP DIV |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 368 | InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 369 | InstrStage<29, [A8_NPipe], 0>, |
| 370 | InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 371 | // |
| 372 | // Single-precision FP SQRT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 373 | InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 374 | InstrStage<19, [A8_NPipe], 0>, |
| 375 | InstrStage<19, [A8_NLSPipe]>], [19, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 376 | // |
| 377 | // Double-precision FP SQRT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 378 | InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 379 | InstrStage<29, [A8_NPipe], 0>, |
| 380 | InstrStage<29, [A8_NLSPipe]>], [29, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 381 | // |
| 382 | // Single-precision FP Load |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 383 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 384 | InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 385 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 386 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 387 | InstrStage<1, [A8_NLSPipe]>], |
| 388 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 389 | // |
| 390 | // Double-precision FP Load |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 391 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 392 | InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 393 | InstrStage<1, [A8_Pipe0], 0>, |
| 394 | InstrStage<1, [A8_Pipe1]>, |
| 395 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 396 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 397 | InstrStage<1, [A8_NLSPipe]>], |
| 398 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 399 | // |
| 400 | // FP Load Multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 401 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 402 | InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 403 | InstrStage<2, [A8_Pipe0], 0>, |
| 404 | InstrStage<2, [A8_Pipe1]>, |
| 405 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 406 | InstrStage<1, [A8_LdSt0], 0>, |
| 407 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 408 | // |
| 409 | // Single-precision FP Store |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 410 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 411 | InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 412 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 413 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 414 | InstrStage<1, [A8_NLSPipe]>], |
| 415 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 416 | // |
| 417 | // Double-precision FP Store |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 418 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 419 | InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 420 | InstrStage<1, [A8_Pipe0], 0>, |
| 421 | InstrStage<1, [A8_Pipe1]>, |
| 422 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 423 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 424 | InstrStage<1, [A8_NLSPipe]>], |
| 425 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 426 | // |
| 427 | // FP Store Multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 428 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 429 | InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 430 | InstrStage<2, [A8_Pipe0], 0>, |
| 431 | InstrStage<2, [A8_Pipe1]>, |
| 432 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 433 | InstrStage<1, [A8_LdSt0], 0>, |
| 434 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 435 | |
| 436 | // NEON |
| 437 | // Issue through integer pipeline, and execute in NEON unit. |
| 438 | // |
| 439 | // VLD1 |
| 440 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 441 | InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 442 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 443 | InstrStage<1, [A8_LdSt0], 0>, |
| 444 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 445 | // |
| 446 | // VLD2 |
| 447 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 448 | InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 449 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 450 | InstrStage<1, [A8_LdSt0], 0>, |
| 451 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 452 | // |
| 453 | // VLD3 |
| 454 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 455 | InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 456 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 457 | InstrStage<1, [A8_LdSt0], 0>, |
| 458 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 459 | // |
| 460 | // VLD4 |
| 461 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 462 | InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 463 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 464 | InstrStage<1, [A8_LdSt0], 0>, |
| 465 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 466 | // |
| 467 | // VST |
| 468 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 469 | InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 470 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 471 | InstrStage<1, [A8_LdSt0], 0>, |
| 472 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 473 | // |
| 474 | // Double-register FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 475 | InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 476 | InstrStage<1, [A8_NPipe]>], [5, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 477 | // |
| 478 | // Quad-register FP Unary |
| 479 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 480 | // so we use 6 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 481 | InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 482 | InstrStage<2, [A8_NPipe]>], [6, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 483 | // |
| 484 | // Double-register FP Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 485 | InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 486 | InstrStage<1, [A8_NPipe]>], [5, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 487 | // |
| 488 | // Quad-register FP Binary |
| 489 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 490 | // so we use 6 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 491 | InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 492 | InstrStage<2, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 493 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 494 | // Move |
| 495 | InstrItinData<IIC_VMOV, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 496 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
| 497 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 498 | // Move Immediate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 499 | InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 500 | InstrStage<1, [A8_NPipe]>], [3]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 501 | // |
| 502 | // Double-register Permute Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 503 | InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 504 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 505 | // |
| 506 | // Quad-register Permute Move |
| 507 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 508 | // so we use 3 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 509 | InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 510 | InstrStage<2, [A8_NLSPipe]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 511 | // |
| 512 | // Integer to Single-precision Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 513 | InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 514 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 515 | // |
| 516 | // Integer to Double-precision Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 517 | InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 518 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 519 | // |
| 520 | // Single-precision to Integer Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 521 | InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 522 | InstrStage<1, [A8_NLSPipe]>], [20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 523 | // |
| 524 | // Double-precision to Integer Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 525 | InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 526 | InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 527 | // |
| 528 | // Integer to Lane Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 529 | InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 530 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 531 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 532 | // Vector narrow move |
| 533 | InstrItinData<IIC_VMOVN , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Evan Cheng | ef0ccad | 2010-10-01 21:48:06 +0000 | [diff] [blame^] | 534 | InstrStage<1, [A8_NPipe]>], [2, 1]>, |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 535 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 536 | // Double-register Permute |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 537 | InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 538 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 539 | // |
| 540 | // Quad-register Permute |
| 541 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 542 | // so we use 3 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 543 | InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 544 | InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 545 | // |
| 546 | // Quad-register Permute (3 cycle issue) |
| 547 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 548 | // so we use 4 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 549 | InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 550 | InstrStage<1, [A8_NLSPipe]>, |
| 551 | InstrStage<1, [A8_NPipe], 0>, |
| 552 | InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 553 | // |
| 554 | // Double-register FP Multiple-Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 555 | InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 556 | InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 557 | // |
| 558 | // Quad-register FP Multiple-Accumulate |
| 559 | // Result written in N9, but that is relative to the last cycle of multicycle, |
| 560 | // so we use 10 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 561 | InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 562 | InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 563 | // |
| 564 | // Double-register Reciprical Step |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 565 | InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 566 | InstrStage<1, [A8_NPipe]>], [9, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 567 | // |
| 568 | // Quad-register Reciprical Step |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 569 | InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 570 | InstrStage<2, [A8_NPipe]>], [10, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 571 | // |
| 572 | // Double-register Integer Count |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 573 | InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 574 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 575 | // |
| 576 | // Quad-register Integer Count |
| 577 | // Result written in N3, but that is relative to the last cycle of multicycle, |
| 578 | // so we use 4 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 579 | InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 580 | InstrStage<2, [A8_NPipe]>], [4, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 581 | // |
| 582 | // Double-register Integer Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 583 | InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 584 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 585 | // |
| 586 | // Quad-register Integer Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 587 | InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 588 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 589 | // |
| 590 | // Double-register Integer Q-Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 591 | InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 592 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 593 | // |
| 594 | // Quad-register Integer CountQ-Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 595 | InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 596 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 597 | // |
| 598 | // Double-register Integer Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 599 | InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 600 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 601 | // |
| 602 | // Quad-register Integer Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 603 | InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 604 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 605 | // |
| 606 | // Double-register Integer Binary (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 607 | InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 608 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 609 | // |
| 610 | // Quad-register Integer Binary (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 611 | InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 612 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 613 | |
| 614 | // |
| 615 | // Double-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 616 | InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 617 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 618 | // |
| 619 | // Quad-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 620 | InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 621 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 622 | // |
| 623 | // Double-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 624 | InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 625 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 626 | // |
| 627 | // Quad-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 628 | InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 629 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 630 | // |
| 631 | // Double-register Integer Shift |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 632 | InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 633 | InstrStage<1, [A8_NPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 634 | // |
| 635 | // Quad-register Integer Shift |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 636 | InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 637 | InstrStage<2, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 638 | // |
| 639 | // Double-register Integer Shift (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 640 | InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 641 | InstrStage<1, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 642 | // |
| 643 | // Quad-register Integer Shift (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 644 | InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 645 | InstrStage<2, [A8_NPipe]>], [5, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 646 | // |
| 647 | // Double-register Integer Pair Add Long |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 648 | InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 649 | InstrStage<1, [A8_NPipe]>], [6, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 650 | // |
| 651 | // Quad-register Integer Pair Add Long |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 652 | InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 653 | InstrStage<2, [A8_NPipe]>], [7, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 654 | // |
| 655 | // Double-register Absolute Difference and Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 656 | InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 657 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 658 | // |
| 659 | // Quad-register Absolute Difference and Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 660 | InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 661 | InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 662 | |
| 663 | // |
| 664 | // Double-register Integer Multiply (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 665 | InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 666 | InstrStage<1, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 667 | // |
| 668 | // Double-register Integer Multiply (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 669 | InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 670 | InstrStage<2, [A8_NPipe]>], [7, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 671 | // |
| 672 | // Quad-register Integer Multiply (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 673 | InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 674 | InstrStage<2, [A8_NPipe]>], [7, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 675 | // |
| 676 | // Quad-register Integer Multiply (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 677 | InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 678 | InstrStage<1, [A8_NPipe]>, |
| 679 | InstrStage<2, [A8_NLSPipe], 0>, |
| 680 | InstrStage<3, [A8_NPipe]>], [9, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 681 | // |
| 682 | // Double-register Integer Multiply-Accumulate (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 683 | InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 684 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 685 | // |
| 686 | // Double-register Integer Multiply-Accumulate (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 687 | InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 688 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 689 | // |
| 690 | // Quad-register Integer Multiply-Accumulate (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 691 | InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 692 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 693 | // |
| 694 | // Quad-register Integer Multiply-Accumulate (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 695 | InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 696 | InstrStage<1, [A8_NPipe]>, |
| 697 | InstrStage<2, [A8_NLSPipe], 0>, |
| 698 | InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 699 | // |
| 700 | // Double-register VEXT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 701 | InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 702 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 703 | // |
| 704 | // Quad-register VEXT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 705 | InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 706 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 707 | // |
| 708 | // VTB |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 709 | InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 710 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>, |
| 711 | InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 712 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>, |
| 713 | InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 714 | InstrStage<1, [A8_NLSPipe]>, |
| 715 | InstrStage<1, [A8_NPipe], 0>, |
| 716 | InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>, |
| 717 | InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 718 | InstrStage<1, [A8_NLSPipe]>, |
| 719 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 720 | InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 721 | // |
| 722 | // VTBX |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 723 | InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 724 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>, |
| 725 | InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 726 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>, |
| 727 | InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 728 | InstrStage<1, [A8_NLSPipe]>, |
| 729 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 730 | InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 731 | InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 732 | InstrStage<1, [A8_NLSPipe]>, |
| 733 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 734 | InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]> |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 735 | ]>; |