blob: 48d1905aeefc1c4122b4d2591e2789ebe2356729 [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 //
Evan Cheng576a3962010-09-25 00:49:35 +000045 // Zero and sign extension instructions
46 InstrItinData<IIC_iEXTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
47 InstrItinData<IIC_iEXTAr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
48 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000049 // Compare instructions
Jim Grosbache9e3f202010-06-28 04:27:01 +000050 InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
51 InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
52 InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
53 InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000054 //
55 // Move instructions, unconditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000056 InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
Evan Cheng5be39222010-09-24 22:03:46 +000057 InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
Evan Chengbd30ce42010-09-24 22:41:41 +000058 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000059 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
60 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
61 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000062 //
63 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000064 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
65 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
66 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
67 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000068
69 // Integer multiply pipeline
70 // Result written in E5, but that is relative to the last cycle of multicycle,
71 // so we use 6 for those cases
72 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000073 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000074 InstrItinData<IIC_iMAC16 , [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_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000077 InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000078 InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000079 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000080 InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000081 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000082 InstrItinData<IIC_iMAC64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000083 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000084
Anton Korobeynikove1676012010-04-07 18:22:11 +000085 // Integer load pipeline
86 //
87 // loads have an extra cycle of latency, but are fully pipelined
Anton Korobeynikov928eb492010-04-18 20:31:01 +000088 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +000089 //
90 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000091 InstrItinData<IIC_iLoadi , [InstrStage<1, [A8_Issue], 0>,
92 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
93 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000094 //
95 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000096 InstrItinData<IIC_iLoadr , [InstrStage<1, [A8_Issue], 0>,
97 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
98 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000099 //
100 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000101 InstrItinData<IIC_iLoadsi , [InstrStage<2, [A8_Issue], 0>,
102 InstrStage<1, [A8_Pipe0], 0>,
103 InstrStage<1, [A8_Pipe1]>,
104 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
105 InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000106 //
107 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000108 InstrItinData<IIC_iLoadiu , [InstrStage<1, [A8_Issue], 0>,
109 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
110 InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000111 //
112 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000113 InstrItinData<IIC_iLoadru , [InstrStage<1, [A8_Issue], 0>,
114 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
115 InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000116 //
117 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000118 InstrItinData<IIC_iLoadsiu , [InstrStage<2, [A8_Issue], 0>,
119 InstrStage<1, [A8_Pipe0], 0>,
120 InstrStage<1, [A8_Pipe1]>,
121 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
122 InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000123 //
124 // Load multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000125 InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>,
126 InstrStage<2, [A8_Pipe0], 0>,
127 InstrStage<2, [A8_Pipe1]>,
128 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
129 InstrStage<1, [A8_LdSt0]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000130
Evan Cheng7602acb2010-09-08 22:57:08 +0000131 //
132 // Load multiple plus branch
133 InstrItinData<IIC_iLoadmBr , [InstrStage<2, [A8_Issue], 0>,
134 InstrStage<2, [A8_Pipe0], 0>,
135 InstrStage<2, [A8_Pipe1]>,
136 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
137 InstrStage<1, [A8_LdSt0]>,
138 InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
139
Evan Chengbd30ce42010-09-24 22:41:41 +0000140 //
141 // iLoadi + iALUr for t2LDRpci_pic.
142 InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>,
143 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
144 InstrStage<1, [A8_LdSt0]>,
145 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>,
146
147
Anton Korobeynikove1676012010-04-07 18:22:11 +0000148 // Integer store pipeline
149 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000150 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000151 //
152 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000153 InstrItinData<IIC_iStorei , [InstrStage<1, [A8_Issue], 0>,
154 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
155 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000156 //
157 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000158 InstrItinData<IIC_iStorer , [InstrStage<1, [A8_Issue], 0>,
159 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
160 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000161 //
162 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000163 InstrItinData<IIC_iStoresi , [InstrStage<2, [A8_Issue], 0>,
164 InstrStage<1, [A8_Pipe0], 0>,
165 InstrStage<1, [A8_Pipe1]>,
166 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
167 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000168 //
169 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000170 InstrItinData<IIC_iStoreiu , [InstrStage<1, [A8_Issue], 0>,
171 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
172 InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000173 //
174 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000175 InstrItinData<IIC_iStoreru , [InstrStage<1, [A8_Issue], 0>,
176 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
177 InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000178 //
179 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000180 InstrItinData<IIC_iStoresiu, [InstrStage<2, [A8_Issue], 0>,
181 InstrStage<1, [A8_Pipe0], 0>,
182 InstrStage<1, [A8_Pipe1]>,
183 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
184 InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000185 //
186 // Store multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000187 InstrItinData<IIC_iStorem , [InstrStage<2, [A8_Issue], 0>,
188 InstrStage<2, [A8_Pipe0], 0>,
189 InstrStage<2, [A8_Pipe1]>,
190 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
191 InstrStage<1, [A8_LdSt0]>]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000192
Anton Korobeynikove1676012010-04-07 18:22:11 +0000193 // Branch
194 //
195 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000196 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000197
198 // VFP
199 // Issue through integer pipeline, and execute in NEON unit. We assume
200 // RunFast mode so that NFP pipeline is used for single-precision when
201 // possible.
202 //
203 // FP Special Register to Integer Register File Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000204 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
205 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000206 //
207 // Single-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000208 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
209 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000210 //
211 // Double-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000212 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
213 InstrStage<4, [A8_NPipe], 0>,
214 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000215 //
216 // Single-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000217 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
218 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000219 //
220 // Double-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000221 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
222 InstrStage<4, [A8_NPipe], 0>,
223 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000224 //
225 // Single to Double FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000226 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
227 InstrStage<7, [A8_NPipe], 0>,
228 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000229 //
230 // Double to Single FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000231 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
232 InstrStage<5, [A8_NPipe], 0>,
233 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000234 //
235 // Single-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000236 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
237 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000238 //
239 // Double-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000240 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
241 InstrStage<8, [A8_NPipe], 0>,
242 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000243 //
244 // Integer to Single-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000245 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
246 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000247 //
248 // Integer to Double-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000249 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
250 InstrStage<8, [A8_NPipe], 0>,
251 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000252 //
253 // Single-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000254 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
255 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000256 //
257 // Double-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000258 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
259 InstrStage<9, [A8_NPipe], 0>,
260 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000261 //
262 // Single-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000263 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
264 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000265 //
266 // Double-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000267 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
268 InstrStage<11, [A8_NPipe], 0>,
269 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000270 //
271 // Single-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000272 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
273 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000274 //
275 // Double-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000276 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
277 InstrStage<19, [A8_NPipe], 0>,
278 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000279 //
280 // Single-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000281 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
282 InstrStage<20, [A8_NPipe], 0>,
283 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000284 //
285 // Double-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000286 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
287 InstrStage<29, [A8_NPipe], 0>,
288 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000289 //
290 // Single-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000291 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
292 InstrStage<19, [A8_NPipe], 0>,
293 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000294 //
295 // Double-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000296 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
297 InstrStage<29, [A8_NPipe], 0>,
298 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000299 //
300 // Single-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000301 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000302 InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000303 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
304 InstrStage<1, [A8_LdSt0], 0>,
305 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000306 //
307 // Double-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000308 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000309 InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000310 InstrStage<1, [A8_Pipe0], 0>,
311 InstrStage<1, [A8_Pipe1]>,
312 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
313 InstrStage<1, [A8_LdSt0], 0>,
314 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000315 //
316 // FP Load Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000317 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000318 InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000319 InstrStage<2, [A8_Pipe0], 0>,
320 InstrStage<2, [A8_Pipe1]>,
321 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
322 InstrStage<1, [A8_LdSt0], 0>,
323 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000324 //
325 // Single-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000326 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000327 InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000328 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
329 InstrStage<1, [A8_LdSt0], 0>,
330 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000331 //
332 // Double-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000333 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000334 InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000335 InstrStage<1, [A8_Pipe0], 0>,
336 InstrStage<1, [A8_Pipe1]>,
337 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
338 InstrStage<1, [A8_LdSt0], 0>,
339 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000340 //
341 // FP Store Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000342 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000343 InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000344 InstrStage<2, [A8_Pipe0], 0>,
345 InstrStage<2, [A8_Pipe1]>,
346 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
347 InstrStage<1, [A8_LdSt0], 0>,
348 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000349
350 // NEON
351 // Issue through integer pipeline, and execute in NEON unit.
352 //
353 // VLD1
354 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000355 InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000356 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
357 InstrStage<1, [A8_LdSt0], 0>,
358 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000359 //
360 // VLD2
361 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000362 InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000363 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
364 InstrStage<1, [A8_LdSt0], 0>,
365 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000366 //
367 // VLD3
368 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000369 InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000370 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
371 InstrStage<1, [A8_LdSt0], 0>,
372 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000373 //
374 // VLD4
375 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000376 InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000377 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
378 InstrStage<1, [A8_LdSt0], 0>,
379 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000380 //
381 // VST
382 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000383 InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000384 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
385 InstrStage<1, [A8_LdSt0], 0>,
386 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000387 //
388 // Double-register FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000389 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
390 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000391 //
392 // Quad-register FP Unary
393 // Result written in N5, but that is relative to the last cycle of multicycle,
394 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000395 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
396 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000397 //
398 // Double-register FP Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000399 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
400 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000401 //
402 // Quad-register FP Binary
403 // Result written in N5, but that is relative to the last cycle of multicycle,
404 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000405 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
406 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000407 //
408 // Move Immediate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000409 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
410 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000411 //
412 // Double-register Permute Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000413 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
414 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000415 //
416 // Quad-register Permute Move
417 // Result written in N2, but that is relative to the last cycle of multicycle,
418 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000419 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
420 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000421 //
422 // Integer to Single-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000423 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
424 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000425 //
426 // Integer to Double-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000427 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
428 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000429 //
430 // Single-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000431 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
432 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000433 //
434 // Double-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000435 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
436 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000437 //
438 // Integer to Lane Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000439 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
440 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000441 //
442 // Double-register Permute
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000443 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
444 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000445 //
446 // Quad-register Permute
447 // Result written in N2, but that is relative to the last cycle of multicycle,
448 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000449 InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
450 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000451 //
452 // Quad-register Permute (3 cycle issue)
453 // Result written in N2, but that is relative to the last cycle of multicycle,
454 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000455 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
456 InstrStage<1, [A8_NLSPipe]>,
457 InstrStage<1, [A8_NPipe], 0>,
458 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000459 //
460 // Double-register FP Multiple-Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000461 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
462 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000463 //
464 // Quad-register FP Multiple-Accumulate
465 // Result written in N9, but that is relative to the last cycle of multicycle,
466 // so we use 10 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000467 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
468 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000469 //
470 // Double-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000471 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
472 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000473 //
474 // Quad-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000475 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
476 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000477 //
478 // Double-register Integer Count
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000479 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
480 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000481 //
482 // Quad-register Integer Count
483 // Result written in N3, but that is relative to the last cycle of multicycle,
484 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000485 InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
486 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000487 //
488 // Double-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000489 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
490 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000491 //
492 // Quad-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000493 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
494 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000495 //
496 // Double-register Integer Q-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000497 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
498 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000499 //
500 // Quad-register Integer CountQ-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000501 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
502 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000503 //
504 // Double-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000505 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
506 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000507 //
508 // Quad-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000509 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
510 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000511 //
512 // Double-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000513 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
514 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000515 //
516 // Quad-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000517 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
518 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000519
520 //
521 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000522 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
523 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000524 //
525 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000526 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
527 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000528 //
529 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000530 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
531 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000532 //
533 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000534 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
535 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000536 //
537 // Double-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000538 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
539 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000540 //
541 // Quad-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000542 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
543 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000544 //
545 // Double-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000546 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
547 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000548 //
549 // Quad-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000550 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
551 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000552 //
553 // Double-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000554 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
555 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000556 //
557 // Quad-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000558 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
559 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000560 //
561 // Double-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000562 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
563 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000564 //
565 // Quad-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000566 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
567 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000568
569 //
570 // Double-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000571 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
572 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000573 //
574 // Double-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000575 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
576 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000577 //
578 // Quad-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000579 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
580 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000581 //
582 // Quad-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000583 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
584 InstrStage<1, [A8_NPipe]>,
585 InstrStage<2, [A8_NLSPipe], 0>,
586 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000587 //
588 // Double-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000589 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
590 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000591 //
592 // Double-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000593 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
594 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000595 //
596 // Quad-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000597 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
598 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000599 //
600 // Quad-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000601 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
602 InstrStage<1, [A8_NPipe]>,
603 InstrStage<2, [A8_NLSPipe], 0>,
604 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000605 //
606 // Double-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000607 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
608 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000609 //
610 // Quad-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000611 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
612 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000613 //
614 // VTB
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000615 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
616 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
617 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
618 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
619 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
620 InstrStage<1, [A8_NLSPipe]>,
621 InstrStage<1, [A8_NPipe], 0>,
622 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
623 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
624 InstrStage<1, [A8_NLSPipe]>,
625 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000626 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000627 //
628 // VTBX
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000629 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
630 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
631 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
632 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
633 InstrItinData<IIC_VTBX3, [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, 1]>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000637 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
638 InstrStage<1, [A8_NLSPipe]>,
639 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000640 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000641]>;