blob: 3cbfe751f533452c7b37e8dbb3582aaecc4529c6 [file] [log] [blame]
Anton Korobeynikove1676012010-04-07 18:22:11 +00001//=- ARMScheduleA8.td - ARM Cortex-A8 Scheduling Definitions -*- tablegen -*-=//
Jim Grosbache9e3f202010-06-28 04:27:01 +00002//
Anton Korobeynikove1676012010-04-07 18:22:11 +00003// 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 Grosbache9e3f202010-06-28 04:27:01 +00007//
Anton Korobeynikove1676012010-04-07 18:22:11 +00008//===----------------------------------------------------------------------===//
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 Korobeynikov928eb492010-04-18 20:31:01 +000016// Functional Units.
17def A8_Issue : FuncUnit; // issue
18def A8_Pipe0 : FuncUnit; // pipeline 0
19def A8_Pipe1 : FuncUnit; // pipeline 1
20def A8_LdSt0 : FuncUnit; // pipeline 0 load/store
21def A8_LdSt1 : FuncUnit; // pipeline 1 load/store
22def A8_NPipe : FuncUnit; // NEON ALU/MUL pipe
23def A8_NLSPipe : FuncUnit; // NEON LS pipe
Anton Korobeynikove1676012010-04-07 18:22:11 +000024//
Anton Korobeynikov928eb492010-04-18 20:31:01 +000025// Dual issue pipeline represented by A8_Pipe0 | A8_Pipe1
Anton Korobeynikove1676012010-04-07 18:22:11 +000026//
Anton Korobeynikov928eb492010-04-18 20:31:01 +000027def CortexA8Itineraries : ProcessorItineraries<
28 [A8_Issue, A8_Pipe0, A8_Pipe1, A8_LdSt0, A8_LdSt1, A8_NPipe, A8_NLSPipe], [
Anton Korobeynikove1676012010-04-07 18:22:11 +000029 // Two fully-pipelined integer ALU pipelines
30 //
31 // No operand cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +000032 InstrItinData<IIC_iALUx , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000033 //
34 // Binary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000035 InstrItinData<IIC_iALUi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
36 InstrItinData<IIC_iALUr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>,
37 InstrItinData<IIC_iALUsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
38 InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000039 //
40 // Unary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000041 InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
42 InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
43 InstrItinData<IIC_iUNAsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000044 //
45 // Compare instructions
Jim Grosbache9e3f202010-06-28 04:27:01 +000046 InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
47 InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
48 InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
49 InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000050 //
51 // Move instructions, unconditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000052 InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
Evan Cheng5be39222010-09-24 22:03:46 +000053 InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
Evan Chengbd30ce42010-09-24 22:41:41 +000054 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000055 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
56 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
57 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000058 //
59 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000060 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
61 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
62 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
63 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000064
65 // Integer multiply pipeline
66 // Result written in E5, but that is relative to the last cycle of multicycle,
67 // so we use 6 for those cases
68 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000069 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000070 InstrItinData<IIC_iMAC16 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000071 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000072 InstrItinData<IIC_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000073 InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000074 InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000075 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000076 InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000077 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000078 InstrItinData<IIC_iMAC64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000079 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000080
Anton Korobeynikove1676012010-04-07 18:22:11 +000081 // Integer load pipeline
82 //
83 // loads have an extra cycle of latency, but are fully pipelined
Anton Korobeynikov928eb492010-04-18 20:31:01 +000084 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +000085 //
86 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000087 InstrItinData<IIC_iLoadi , [InstrStage<1, [A8_Issue], 0>,
88 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
89 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000090 //
91 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000092 InstrItinData<IIC_iLoadr , [InstrStage<1, [A8_Issue], 0>,
93 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
94 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000095 //
96 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +000097 InstrItinData<IIC_iLoadsi , [InstrStage<2, [A8_Issue], 0>,
98 InstrStage<1, [A8_Pipe0], 0>,
99 InstrStage<1, [A8_Pipe1]>,
100 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
101 InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000102 //
103 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000104 InstrItinData<IIC_iLoadiu , [InstrStage<1, [A8_Issue], 0>,
105 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
106 InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000107 //
108 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000109 InstrItinData<IIC_iLoadru , [InstrStage<1, [A8_Issue], 0>,
110 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
111 InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000112 //
113 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000114 InstrItinData<IIC_iLoadsiu , [InstrStage<2, [A8_Issue], 0>,
115 InstrStage<1, [A8_Pipe0], 0>,
116 InstrStage<1, [A8_Pipe1]>,
117 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
118 InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000119 //
120 // Load multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000121 InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>,
122 InstrStage<2, [A8_Pipe0], 0>,
123 InstrStage<2, [A8_Pipe1]>,
124 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
125 InstrStage<1, [A8_LdSt0]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000126
Evan Cheng7602acb2010-09-08 22:57:08 +0000127 //
128 // Load multiple plus branch
129 InstrItinData<IIC_iLoadmBr , [InstrStage<2, [A8_Issue], 0>,
130 InstrStage<2, [A8_Pipe0], 0>,
131 InstrStage<2, [A8_Pipe1]>,
132 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
133 InstrStage<1, [A8_LdSt0]>,
134 InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
135
Evan Chengbd30ce42010-09-24 22:41:41 +0000136 //
137 // iLoadi + iALUr for t2LDRpci_pic.
138 InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>,
139 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
140 InstrStage<1, [A8_LdSt0]>,
141 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>,
142
143
Anton Korobeynikove1676012010-04-07 18:22:11 +0000144 // Integer store pipeline
145 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000146 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000147 //
148 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000149 InstrItinData<IIC_iStorei , [InstrStage<1, [A8_Issue], 0>,
150 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
151 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000152 //
153 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000154 InstrItinData<IIC_iStorer , [InstrStage<1, [A8_Issue], 0>,
155 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
156 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000157 //
158 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000159 InstrItinData<IIC_iStoresi , [InstrStage<2, [A8_Issue], 0>,
160 InstrStage<1, [A8_Pipe0], 0>,
161 InstrStage<1, [A8_Pipe1]>,
162 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
163 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000164 //
165 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000166 InstrItinData<IIC_iStoreiu , [InstrStage<1, [A8_Issue], 0>,
167 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
168 InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000169 //
170 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000171 InstrItinData<IIC_iStoreru , [InstrStage<1, [A8_Issue], 0>,
172 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
173 InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000174 //
175 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000176 InstrItinData<IIC_iStoresiu, [InstrStage<2, [A8_Issue], 0>,
177 InstrStage<1, [A8_Pipe0], 0>,
178 InstrStage<1, [A8_Pipe1]>,
179 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
180 InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000181 //
182 // Store multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000183 InstrItinData<IIC_iStorem , [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]>]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000188
Anton Korobeynikove1676012010-04-07 18:22:11 +0000189 // Branch
190 //
191 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000192 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000193
194 // VFP
195 // Issue through integer pipeline, and execute in NEON unit. We assume
196 // RunFast mode so that NFP pipeline is used for single-precision when
197 // possible.
198 //
199 // FP Special Register to Integer Register File Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000200 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
201 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000202 //
203 // Single-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000204 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
205 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000206 //
207 // Double-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000208 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
209 InstrStage<4, [A8_NPipe], 0>,
210 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000211 //
212 // Single-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000213 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
214 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000215 //
216 // Double-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000217 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
218 InstrStage<4, [A8_NPipe], 0>,
219 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000220 //
221 // Single to Double FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000222 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
223 InstrStage<7, [A8_NPipe], 0>,
224 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000225 //
226 // Double to Single FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000227 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
228 InstrStage<5, [A8_NPipe], 0>,
229 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000230 //
231 // Single-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000232 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
233 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000234 //
235 // Double-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000236 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
237 InstrStage<8, [A8_NPipe], 0>,
238 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000239 //
240 // Integer to Single-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000241 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
242 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000243 //
244 // Integer to Double-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000245 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
246 InstrStage<8, [A8_NPipe], 0>,
247 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000248 //
249 // Single-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000250 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
251 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000252 //
253 // Double-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000254 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
255 InstrStage<9, [A8_NPipe], 0>,
256 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000257 //
258 // Single-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000259 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
260 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000261 //
262 // Double-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000263 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
264 InstrStage<11, [A8_NPipe], 0>,
265 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000266 //
267 // Single-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000268 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
269 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000270 //
271 // Double-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000272 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
273 InstrStage<19, [A8_NPipe], 0>,
274 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000275 //
276 // Single-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000277 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
278 InstrStage<20, [A8_NPipe], 0>,
279 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000280 //
281 // Double-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000282 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
283 InstrStage<29, [A8_NPipe], 0>,
284 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000285 //
286 // Single-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000287 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
288 InstrStage<19, [A8_NPipe], 0>,
289 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000290 //
291 // Double-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000292 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
293 InstrStage<29, [A8_NPipe], 0>,
294 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000295 //
296 // Single-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000297 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000298 InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000299 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
300 InstrStage<1, [A8_LdSt0], 0>,
301 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000302 //
303 // Double-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000304 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000305 InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000306 InstrStage<1, [A8_Pipe0], 0>,
307 InstrStage<1, [A8_Pipe1]>,
308 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
309 InstrStage<1, [A8_LdSt0], 0>,
310 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000311 //
312 // FP Load Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000313 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000314 InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000315 InstrStage<2, [A8_Pipe0], 0>,
316 InstrStage<2, [A8_Pipe1]>,
317 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
318 InstrStage<1, [A8_LdSt0], 0>,
319 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000320 //
321 // Single-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000322 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000323 InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000324 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
325 InstrStage<1, [A8_LdSt0], 0>,
326 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000327 //
328 // Double-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000329 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000330 InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000331 InstrStage<1, [A8_Pipe0], 0>,
332 InstrStage<1, [A8_Pipe1]>,
333 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
334 InstrStage<1, [A8_LdSt0], 0>,
335 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000336 //
337 // FP Store Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000338 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000339 InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000340 InstrStage<2, [A8_Pipe0], 0>,
341 InstrStage<2, [A8_Pipe1]>,
342 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
343 InstrStage<1, [A8_LdSt0], 0>,
344 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000345
346 // NEON
347 // Issue through integer pipeline, and execute in NEON unit.
348 //
349 // VLD1
350 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000351 InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000352 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
353 InstrStage<1, [A8_LdSt0], 0>,
354 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000355 //
356 // VLD2
357 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000358 InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000359 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
360 InstrStage<1, [A8_LdSt0], 0>,
361 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000362 //
363 // VLD3
364 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000365 InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000366 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
367 InstrStage<1, [A8_LdSt0], 0>,
368 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000369 //
370 // VLD4
371 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000372 InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000373 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
374 InstrStage<1, [A8_LdSt0], 0>,
375 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000376 //
377 // VST
378 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000379 InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000380 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
381 InstrStage<1, [A8_LdSt0], 0>,
382 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000383 //
384 // Double-register FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000385 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
386 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000387 //
388 // Quad-register FP Unary
389 // Result written in N5, but that is relative to the last cycle of multicycle,
390 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000391 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
392 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000393 //
394 // Double-register FP Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000395 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
396 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000397 //
398 // Quad-register FP Binary
399 // Result written in N5, but that is relative to the last cycle of multicycle,
400 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000401 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
402 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000403 //
404 // Move Immediate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000405 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
406 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000407 //
408 // Double-register Permute Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000409 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
410 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000411 //
412 // Quad-register Permute Move
413 // Result written in N2, but that is relative to the last cycle of multicycle,
414 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000415 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
416 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000417 //
418 // Integer to Single-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000419 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
420 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000421 //
422 // Integer to Double-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000423 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
424 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000425 //
426 // Single-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000427 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
428 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000429 //
430 // Double-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000431 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
432 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000433 //
434 // Integer to Lane Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000435 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
436 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000437 //
438 // Double-register Permute
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000439 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
440 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000441 //
442 // Quad-register Permute
443 // Result written in N2, but that is relative to the last cycle of multicycle,
444 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000445 InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
446 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000447 //
448 // Quad-register Permute (3 cycle issue)
449 // Result written in N2, but that is relative to the last cycle of multicycle,
450 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000451 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
452 InstrStage<1, [A8_NLSPipe]>,
453 InstrStage<1, [A8_NPipe], 0>,
454 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000455 //
456 // Double-register FP Multiple-Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000457 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
458 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000459 //
460 // Quad-register FP Multiple-Accumulate
461 // Result written in N9, but that is relative to the last cycle of multicycle,
462 // so we use 10 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000463 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
464 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000465 //
466 // Double-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000467 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
468 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000469 //
470 // Quad-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000471 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
472 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000473 //
474 // Double-register Integer Count
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000475 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
476 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000477 //
478 // Quad-register Integer Count
479 // Result written in N3, but that is relative to the last cycle of multicycle,
480 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000481 InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
482 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000483 //
484 // Double-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000485 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
486 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000487 //
488 // Quad-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000489 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
490 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000491 //
492 // Double-register Integer Q-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000493 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
494 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000495 //
496 // Quad-register Integer CountQ-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000497 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
498 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000499 //
500 // Double-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000501 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
502 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000503 //
504 // Quad-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000505 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
506 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000507 //
508 // Double-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000509 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
510 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000511 //
512 // Quad-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000513 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
514 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000515
516 //
517 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000518 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
519 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000520 //
521 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000522 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
523 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000524 //
525 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000526 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
527 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000528 //
529 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000530 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
531 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000532 //
533 // Double-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000534 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
535 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000536 //
537 // Quad-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000538 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
539 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000540 //
541 // Double-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000542 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
543 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000544 //
545 // Quad-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000546 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
547 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000548 //
549 // Double-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000550 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
551 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000552 //
553 // Quad-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000554 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
555 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000556 //
557 // Double-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000558 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
559 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000560 //
561 // Quad-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000562 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
563 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000564
565 //
566 // Double-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000567 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
568 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000569 //
570 // Double-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000571 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
572 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000573 //
574 // Quad-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000575 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
576 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000577 //
578 // Quad-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000579 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
580 InstrStage<1, [A8_NPipe]>,
581 InstrStage<2, [A8_NLSPipe], 0>,
582 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000583 //
584 // Double-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000585 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
586 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000587 //
588 // Double-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000589 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
590 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000591 //
592 // Quad-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000593 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
594 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000595 //
596 // Quad-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000597 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
598 InstrStage<1, [A8_NPipe]>,
599 InstrStage<2, [A8_NLSPipe], 0>,
600 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000601 //
602 // Double-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000603 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
604 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000605 //
606 // Quad-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000607 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
608 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000609 //
610 // VTB
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000611 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
612 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
613 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
614 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
615 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
616 InstrStage<1, [A8_NLSPipe]>,
617 InstrStage<1, [A8_NPipe], 0>,
618 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
619 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
620 InstrStage<1, [A8_NLSPipe]>,
621 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000622 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000623 //
624 // VTBX
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000625 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
626 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
627 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
628 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
629 InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
630 InstrStage<1, [A8_NLSPipe]>,
631 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000632 InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000633 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
634 InstrStage<1, [A8_NLSPipe]>,
635 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000636 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000637]>;