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 | // |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 175 | // Load multiple, def is the 5th operand. |
| 176 | InstrItinData<IIC_iLoad_m , [InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 177 | InstrStage<2, [A8_Pipe0], 0>, |
| 178 | InstrStage<2, [A8_Pipe1]>, |
| 179 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 180 | InstrStage<1, [A8_LdSt0]>], [1, 1, 1, 1, 3]>, |
| 181 | // |
| 182 | // Load multiple + update, defs are the 1st and 5th operands. |
| 183 | InstrItinData<IIC_iLoad_mu , [InstrStage<2, [A8_Issue], 0>, |
| 184 | InstrStage<2, [A8_Pipe0], 0>, |
| 185 | InstrStage<2, [A8_Pipe1]>, |
| 186 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 187 | InstrStage<1, [A8_LdSt0]>], [2, 1, 1, 1, 3]>, |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 188 | // |
| 189 | // Load multiple plus branch |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 190 | InstrItinData<IIC_iLoad_mBr, [InstrStage<2, [A8_Issue], 0>, |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 191 | InstrStage<2, [A8_Pipe0], 0>, |
| 192 | InstrStage<2, [A8_Pipe1]>, |
| 193 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 194 | InstrStage<1, [A8_LdSt0]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 195 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], |
| 196 | [1, 2, 1, 1, 3]>, |
| 197 | // |
| 198 | // Pop, def is the 3rd operand. |
| 199 | InstrItinData<IIC_iPop , [InstrStage<2, [A8_Issue], 0>, |
| 200 | InstrStage<2, [A8_Pipe0], 0>, |
| 201 | InstrStage<2, [A8_Pipe1]>, |
| 202 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 203 | InstrStage<1, [A8_LdSt0]>], [1, 1, 3]>, |
| 204 | // |
| 205 | // Push, def is the 3th operand. |
| 206 | InstrItinData<IIC_iPop_Br, [InstrStage<2, [A8_Issue], 0>, |
| 207 | InstrStage<2, [A8_Pipe0], 0>, |
| 208 | InstrStage<2, [A8_Pipe1]>, |
| 209 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 210 | InstrStage<1, [A8_LdSt0]>, |
| 211 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], |
| 212 | [1, 1, 3]>, |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 213 | |
Evan Cheng | bd30ce4 | 2010-09-24 22:41:41 +0000 | [diff] [blame] | 214 | // |
| 215 | // iLoadi + iALUr for t2LDRpci_pic. |
| 216 | InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>, |
| 217 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 218 | InstrStage<1, [A8_LdSt0]>, |
| 219 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>, |
| 220 | |
| 221 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 222 | // Integer store pipeline |
| 223 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 224 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 225 | // |
| 226 | // Immediate offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 227 | InstrItinData<IIC_iStore_i , [InstrStage<1, [A8_Issue], 0>, |
| 228 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 229 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 230 | InstrItinData<IIC_iStore_bh_i,[InstrStage<1, [A8_Issue], 0>, |
| 231 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 232 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
| 233 | InstrItinData<IIC_iStore_d_i, [InstrStage<1, [A8_Issue], 0>, |
| 234 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 235 | InstrStage<1, [A8_LdSt0]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 236 | // |
| 237 | // Register offset |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 238 | InstrItinData<IIC_iStore_r , [InstrStage<1, [A8_Issue], 0>, |
| 239 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 240 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 241 | InstrItinData<IIC_iStore_bh_r,[InstrStage<1, [A8_Issue], 0>, |
| 242 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 243 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 244 | InstrItinData<IIC_iStore_d_r, [InstrStage<1, [A8_Issue], 0>, |
| 245 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 246 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 247 | // |
| 248 | // Scaled register offset, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 249 | InstrItinData<IIC_iStore_si , [InstrStage<2, [A8_Issue], 0>, |
| 250 | InstrStage<1, [A8_Pipe0], 0>, |
| 251 | InstrStage<1, [A8_Pipe1]>, |
| 252 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 253 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
| 254 | InstrItinData<IIC_iStore_bh_si,[InstrStage<2, [A8_Issue], 0>, |
| 255 | InstrStage<1, [A8_Pipe0], 0>, |
| 256 | InstrStage<1, [A8_Pipe1]>, |
| 257 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 258 | InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 259 | // |
| 260 | // Immediate offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 261 | InstrItinData<IIC_iStore_iu , [InstrStage<1, [A8_Issue], 0>, |
| 262 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 263 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>, |
| 264 | InstrItinData<IIC_iStore_bh_iu,[InstrStage<1, [A8_Issue], 0>, |
| 265 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 266 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 267 | // |
| 268 | // Register offset with update |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 269 | InstrItinData<IIC_iStore_ru , [InstrStage<1, [A8_Issue], 0>, |
| 270 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 271 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
| 272 | InstrItinData<IIC_iStore_bh_ru,[InstrStage<1, [A8_Issue], 0>, |
| 273 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 274 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
| 275 | InstrItinData<IIC_iStore_d_ru, [InstrStage<1, [A8_Issue], 0>, |
| 276 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 277 | InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 278 | // |
| 279 | // Scaled register offset with update, issues over 2 cycles |
Evan Cheng | 0e55fd6 | 2010-09-30 01:08:25 +0000 | [diff] [blame] | 280 | InstrItinData<IIC_iStore_siu, [InstrStage<2, [A8_Issue], 0>, |
| 281 | InstrStage<1, [A8_Pipe0], 0>, |
| 282 | InstrStage<1, [A8_Pipe1]>, |
| 283 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 284 | InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>, |
| 285 | InstrItinData<IIC_iStore_bh_siu,[InstrStage<2, [A8_Issue], 0>, |
| 286 | InstrStage<1, [A8_Pipe0], 0>, |
| 287 | InstrStage<1, [A8_Pipe1]>, |
| 288 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 289 | InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 290 | // |
| 291 | // Store multiple |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 292 | InstrItinData<IIC_iStore_m , [InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 293 | InstrStage<2, [A8_Pipe0], 0>, |
| 294 | InstrStage<2, [A8_Pipe1]>, |
| 295 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 296 | InstrStage<1, [A8_LdSt0]>]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 297 | // |
| 298 | // Store multiple + update |
| 299 | InstrItinData<IIC_iStore_mu, [InstrStage<2, [A8_Issue], 0>, |
| 300 | InstrStage<2, [A8_Pipe0], 0>, |
| 301 | InstrStage<2, [A8_Pipe1]>, |
| 302 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 303 | InstrStage<1, [A8_LdSt0]>], [2]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 304 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 305 | // Branch |
| 306 | // |
| 307 | // no delay slots, so the latency of a branch is unimportant |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 308 | InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 309 | |
| 310 | // VFP |
| 311 | // Issue through integer pipeline, and execute in NEON unit. We assume |
| 312 | // RunFast mode so that NFP pipeline is used for single-precision when |
| 313 | // possible. |
| 314 | // |
| 315 | // FP Special Register to Integer Register File Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 316 | InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 317 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 318 | // |
| 319 | // Single-precision FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 320 | InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 321 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 322 | // |
| 323 | // Double-precision FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 324 | InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 325 | InstrStage<4, [A8_NPipe], 0>, |
| 326 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 327 | // |
| 328 | // Single-precision FP Compare |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 329 | InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 330 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 331 | // |
| 332 | // Double-precision FP Compare |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 333 | InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 334 | InstrStage<4, [A8_NPipe], 0>, |
| 335 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 336 | // |
| 337 | // Single to Double FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 338 | InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 339 | InstrStage<7, [A8_NPipe], 0>, |
| 340 | InstrStage<7, [A8_NLSPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 341 | // |
| 342 | // Double to Single FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 343 | InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 344 | InstrStage<5, [A8_NPipe], 0>, |
| 345 | InstrStage<5, [A8_NLSPipe]>], [5, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 346 | // |
| 347 | // Single-Precision FP to Integer Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 348 | InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 349 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 350 | // |
| 351 | // Double-Precision FP to Integer Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 352 | InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 353 | InstrStage<8, [A8_NPipe], 0>, |
| 354 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 355 | // |
| 356 | // Integer to Single-Precision FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 357 | InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 358 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 359 | // |
| 360 | // Integer to Double-Precision FP Convert |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 361 | InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 362 | InstrStage<8, [A8_NPipe], 0>, |
| 363 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 364 | // |
| 365 | // Single-precision FP ALU |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 366 | InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 367 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 368 | // |
| 369 | // Double-precision FP ALU |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 370 | InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 371 | InstrStage<9, [A8_NPipe], 0>, |
| 372 | InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 373 | // |
| 374 | // Single-precision FP Multiply |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 375 | InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 376 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 377 | // |
| 378 | // Double-precision FP Multiply |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 379 | InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 380 | InstrStage<11, [A8_NPipe], 0>, |
| 381 | InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 382 | // |
| 383 | // Single-precision FP MAC |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 384 | InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 385 | InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 386 | // |
| 387 | // Double-precision FP MAC |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 388 | InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 389 | InstrStage<19, [A8_NPipe], 0>, |
| 390 | InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 391 | // |
| 392 | // Single-precision FP DIV |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 393 | InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 394 | InstrStage<20, [A8_NPipe], 0>, |
| 395 | InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 396 | // |
| 397 | // Double-precision FP DIV |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 398 | InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 399 | InstrStage<29, [A8_NPipe], 0>, |
| 400 | InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 401 | // |
| 402 | // Single-precision FP SQRT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 403 | InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 404 | InstrStage<19, [A8_NPipe], 0>, |
| 405 | InstrStage<19, [A8_NLSPipe]>], [19, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 406 | // |
| 407 | // Double-precision FP SQRT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 408 | InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 409 | InstrStage<29, [A8_NPipe], 0>, |
| 410 | InstrStage<29, [A8_NLSPipe]>], [29, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 411 | // |
| 412 | // Single-precision FP Load |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 413 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 414 | InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 415 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 416 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 417 | InstrStage<2, [A8_NLSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 418 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 419 | // |
| 420 | // Double-precision FP Load |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 421 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 422 | InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 423 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 424 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 425 | InstrStage<2, [A8_NLSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 426 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 427 | // |
| 428 | // FP Load Multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 429 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 430 | InstrItinData<IIC_fpLoad_m, [InstrStage<3, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 431 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 432 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 433 | InstrStage<1, [A8_NLSPipe]>], [1, 1, 1, 2]>, |
| 434 | // |
| 435 | // FP Load Multiple + update |
| 436 | InstrItinData<IIC_fpLoad_mu,[InstrStage<3, [A8_Issue], 0>, |
| 437 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 438 | InstrStage<1, [A8_LdSt0], 0>, |
| 439 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1, 1, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 440 | // |
| 441 | // Single-precision FP Store |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 442 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 443 | InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 444 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 445 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 446 | InstrStage<2, [A8_NLSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 447 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 448 | // |
| 449 | // Double-precision FP Store |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 450 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 451 | InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 452 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 453 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 454 | InstrStage<2, [A8_NLSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 455 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 456 | // |
| 457 | // FP Store Multiple |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 458 | // use A8_Issue to enforce the 1 load/store per cycle limit |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 459 | InstrItinData<IIC_fpStore_m,[InstrStage<3, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 460 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 461 | InstrStage<1, [A8_LdSt0], 0>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame^] | 462 | InstrStage<1, [A8_NLSPipe]>], [1, 1, 1, 1]>, |
| 463 | // |
| 464 | // FP Store Multiple + update |
| 465 | InstrItinData<IIC_fpStore_mu,[InstrStage<3, [A8_Issue], 0>, |
| 466 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 467 | InstrStage<1, [A8_LdSt0], 0>, |
| 468 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 469 | |
| 470 | // NEON |
| 471 | // Issue through integer pipeline, and execute in NEON unit. |
| 472 | // |
| 473 | // VLD1 |
| 474 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 475 | InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 476 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 477 | InstrStage<1, [A8_LdSt0], 0>, |
| 478 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 479 | // |
| 480 | // VLD2 |
| 481 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 482 | InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 483 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 484 | InstrStage<1, [A8_LdSt0], 0>, |
| 485 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 486 | // |
| 487 | // VLD3 |
| 488 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 489 | InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 490 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 491 | InstrStage<1, [A8_LdSt0], 0>, |
| 492 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 493 | // |
| 494 | // VLD4 |
| 495 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 496 | InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 497 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 498 | InstrStage<1, [A8_LdSt0], 0>, |
| 499 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 500 | // |
| 501 | // VST |
| 502 | // FIXME: We don't model this instruction properly |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 503 | InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 504 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 505 | InstrStage<1, [A8_LdSt0], 0>, |
| 506 | InstrStage<1, [A8_NLSPipe]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 507 | // |
| 508 | // Double-register FP Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 509 | InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 510 | InstrStage<1, [A8_NPipe]>], [5, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 511 | // |
| 512 | // Quad-register FP Unary |
| 513 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 514 | // so we use 6 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 515 | InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 516 | InstrStage<2, [A8_NPipe]>], [6, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 517 | // |
| 518 | // Double-register FP Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 519 | InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 520 | InstrStage<1, [A8_NPipe]>], [5, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 521 | // |
| 522 | // Quad-register FP Binary |
| 523 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 524 | // so we use 6 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 525 | InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 526 | InstrStage<2, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 527 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 528 | // Move |
| 529 | InstrItinData<IIC_VMOV, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 530 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
| 531 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 532 | // Move Immediate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 533 | InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 534 | InstrStage<1, [A8_NPipe]>], [3]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 535 | // |
| 536 | // Double-register Permute Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 537 | InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 538 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 539 | // |
| 540 | // Quad-register Permute Move |
| 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_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 544 | InstrStage<2, [A8_NLSPipe]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 545 | // |
| 546 | // Integer to Single-precision Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 547 | InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 548 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 549 | // |
| 550 | // Integer to Double-precision Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 551 | InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 552 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 553 | // |
| 554 | // Single-precision to Integer Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 555 | InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 556 | InstrStage<1, [A8_NLSPipe]>], [20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 557 | // |
| 558 | // Double-precision to Integer Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 559 | InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 560 | InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 561 | // |
| 562 | // Integer to Lane Move |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 563 | InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 564 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 565 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 566 | // Vector narrow move |
| 567 | InstrItinData<IIC_VMOVN , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Evan Cheng | ef0ccad | 2010-10-01 21:48:06 +0000 | [diff] [blame] | 568 | InstrStage<1, [A8_NPipe]>], [2, 1]>, |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 569 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 570 | // Double-register Permute |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 571 | InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 572 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 573 | // |
| 574 | // Quad-register Permute |
| 575 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 576 | // so we use 3 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 577 | InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 578 | InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 579 | // |
| 580 | // Quad-register Permute (3 cycle issue) |
| 581 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 582 | // so we use 4 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 583 | InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 584 | InstrStage<1, [A8_NLSPipe]>, |
| 585 | InstrStage<1, [A8_NPipe], 0>, |
| 586 | InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 587 | // |
| 588 | // Double-register FP Multiple-Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 589 | InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 590 | InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 591 | // |
| 592 | // Quad-register FP Multiple-Accumulate |
| 593 | // Result written in N9, but that is relative to the last cycle of multicycle, |
| 594 | // so we use 10 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 595 | InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 596 | InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 597 | // |
| 598 | // Double-register Reciprical Step |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 599 | InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 600 | InstrStage<1, [A8_NPipe]>], [9, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 601 | // |
| 602 | // Quad-register Reciprical Step |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 603 | InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 604 | InstrStage<2, [A8_NPipe]>], [10, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 605 | // |
| 606 | // Double-register Integer Count |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 607 | InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 608 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 609 | // |
| 610 | // Quad-register Integer Count |
| 611 | // Result written in N3, but that is relative to the last cycle of multicycle, |
| 612 | // so we use 4 for those cases |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 613 | InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 614 | InstrStage<2, [A8_NPipe]>], [4, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 615 | // |
| 616 | // Double-register Integer Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 617 | InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 618 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 619 | // |
| 620 | // Quad-register Integer Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 621 | InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 622 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 623 | // |
| 624 | // Double-register Integer Q-Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 625 | InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 626 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 627 | // |
| 628 | // Quad-register Integer CountQ-Unary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 629 | InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 630 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 631 | // |
| 632 | // Double-register Integer Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 633 | InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 634 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 635 | // |
| 636 | // Quad-register Integer Binary |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 637 | InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 638 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 639 | // |
| 640 | // Double-register Integer Binary (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 641 | InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 642 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 643 | // |
| 644 | // Quad-register Integer Binary (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 645 | InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 646 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 647 | |
| 648 | // |
| 649 | // Double-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 650 | InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 651 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 652 | // |
| 653 | // Quad-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 654 | InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 655 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 656 | // |
| 657 | // Double-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 658 | InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 659 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 660 | // |
| 661 | // Quad-register Integer Subtract |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 662 | InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 663 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 664 | // |
| 665 | // Double-register Integer Shift |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 666 | InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 667 | InstrStage<1, [A8_NPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 668 | // |
| 669 | // Quad-register Integer Shift |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 670 | InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 671 | InstrStage<2, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 672 | // |
| 673 | // Double-register Integer Shift (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 674 | InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 675 | InstrStage<1, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 676 | // |
| 677 | // Quad-register Integer Shift (4 cycle) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 678 | InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 679 | InstrStage<2, [A8_NPipe]>], [5, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 680 | // |
| 681 | // Double-register Integer Pair Add Long |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 682 | InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 683 | InstrStage<1, [A8_NPipe]>], [6, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 684 | // |
| 685 | // Quad-register Integer Pair Add Long |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 686 | InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 687 | InstrStage<2, [A8_NPipe]>], [7, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 688 | // |
| 689 | // Double-register Absolute Difference and Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 690 | InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 691 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 692 | // |
| 693 | // Quad-register Absolute Difference and Accumulate |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 694 | InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 695 | InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 696 | |
| 697 | // |
| 698 | // Double-register Integer Multiply (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 699 | InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 700 | InstrStage<1, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 701 | // |
| 702 | // Double-register Integer Multiply (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 703 | InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 704 | InstrStage<2, [A8_NPipe]>], [7, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 705 | // |
| 706 | // Quad-register Integer Multiply (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 707 | InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 708 | InstrStage<2, [A8_NPipe]>], [7, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 709 | // |
| 710 | // Quad-register Integer Multiply (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 711 | InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 712 | InstrStage<1, [A8_NPipe]>, |
| 713 | InstrStage<2, [A8_NLSPipe], 0>, |
| 714 | InstrStage<3, [A8_NPipe]>], [9, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 715 | // |
| 716 | // Double-register Integer Multiply-Accumulate (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 717 | InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 718 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 719 | // |
| 720 | // Double-register Integer Multiply-Accumulate (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 721 | InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 722 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 723 | // |
| 724 | // Quad-register Integer Multiply-Accumulate (.8, .16) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 725 | InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 726 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 727 | // |
| 728 | // Quad-register Integer Multiply-Accumulate (.32) |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 729 | InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 730 | InstrStage<1, [A8_NPipe]>, |
| 731 | InstrStage<2, [A8_NLSPipe], 0>, |
| 732 | InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 733 | // |
| 734 | // Double-register VEXT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 735 | InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 736 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 737 | // |
| 738 | // Quad-register VEXT |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 739 | InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 740 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 741 | // |
| 742 | // VTB |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 743 | InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 744 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>, |
| 745 | InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 746 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>, |
| 747 | InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 748 | InstrStage<1, [A8_NLSPipe]>, |
| 749 | InstrStage<1, [A8_NPipe], 0>, |
| 750 | InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>, |
| 751 | InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 752 | InstrStage<1, [A8_NLSPipe]>, |
| 753 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 754 | InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 755 | // |
| 756 | // VTBX |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 757 | InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 758 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>, |
| 759 | InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 760 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>, |
| 761 | InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 762 | InstrStage<1, [A8_NLSPipe]>, |
| 763 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 764 | InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 765 | InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 766 | InstrStage<1, [A8_NLSPipe]>, |
| 767 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 768 | InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]> |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 769 | ]>; |