blob: 6b9b964e4246021ee6e9db963152ba7adf81d476 [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<
Evan Cheng63d66ee2010-09-28 23:50:49 +000028 [A8_Issue, A8_Pipe0, A8_Pipe1, A8_LdSt0, A8_LdSt1, A8_NPipe, A8_NLSPipe],
29 [], [
Anton Korobeynikove1676012010-04-07 18:22:11 +000030 // Two fully-pipelined integer ALU pipelines
31 //
32 // No operand cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +000033 InstrItinData<IIC_iALUx , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000034 //
35 // Binary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000036 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]>,
39 InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000040 //
Evan Cheng7e1bf302010-09-29 00:27:46 +000041 // Bitwise Instructions that produce a result
42 InstrItinData<IIC_iBITi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
43 InstrItinData<IIC_iBITr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>,
44 InstrItinData<IIC_iBITsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
45 InstrItinData<IIC_iBITsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
46 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000047 // Unary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000048 InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
49 InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000050 //
Evan Cheng576a3962010-09-25 00:49:35 +000051 // Zero and sign extension instructions
52 InstrItinData<IIC_iEXTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
53 InstrItinData<IIC_iEXTAr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
Evan Cheng7e1bf302010-09-29 00:27:46 +000054 InstrItinData<IIC_iEXTAsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>],[2, 2, 1, 1]>,
Evan Cheng576a3962010-09-25 00:49:35 +000055 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000056 // Compare instructions
Jim Grosbache9e3f202010-06-28 04:27:01 +000057 InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
58 InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
59 InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
60 InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000061 //
62 // Move instructions, unconditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000063 InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
Evan Cheng5be39222010-09-24 22:03:46 +000064 InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
Evan Chengbd30ce42010-09-24 22:41:41 +000065 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000066 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
67 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
68 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000069 //
70 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000071 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
72 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
73 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
74 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000075
76 // Integer multiply pipeline
77 // Result written in E5, but that is relative to the last cycle of multicycle,
78 // so we use 6 for those cases
79 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000080 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000081 InstrItinData<IIC_iMAC16 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000082 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000083 InstrItinData<IIC_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000084 InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000085 InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000086 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000087 InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000088 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000089 InstrItinData<IIC_iMAC64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000090 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000091
Anton Korobeynikove1676012010-04-07 18:22:11 +000092 // Integer load pipeline
93 //
94 // loads have an extra cycle of latency, but are fully pipelined
Anton Korobeynikov928eb492010-04-18 20:31:01 +000095 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +000096 //
97 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000098 InstrItinData<IIC_iLoadi , [InstrStage<1, [A8_Issue], 0>,
99 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
100 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000101 //
102 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000103 InstrItinData<IIC_iLoadr , [InstrStage<1, [A8_Issue], 0>,
104 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
105 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000106 //
107 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000108 InstrItinData<IIC_iLoadsi , [InstrStage<2, [A8_Issue], 0>,
109 InstrStage<1, [A8_Pipe0], 0>,
110 InstrStage<1, [A8_Pipe1]>,
111 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
112 InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000113 //
114 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000115 InstrItinData<IIC_iLoadiu , [InstrStage<1, [A8_Issue], 0>,
116 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
117 InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000118 //
119 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000120 InstrItinData<IIC_iLoadru , [InstrStage<1, [A8_Issue], 0>,
121 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
122 InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000123 //
124 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000125 InstrItinData<IIC_iLoadsiu , [InstrStage<2, [A8_Issue], 0>,
126 InstrStage<1, [A8_Pipe0], 0>,
127 InstrStage<1, [A8_Pipe1]>,
128 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
129 InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000130 //
131 // Load multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000132 InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>,
133 InstrStage<2, [A8_Pipe0], 0>,
134 InstrStage<2, [A8_Pipe1]>,
135 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
136 InstrStage<1, [A8_LdSt0]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000137
Evan Cheng7602acb2010-09-08 22:57:08 +0000138 //
139 // Load multiple plus branch
140 InstrItinData<IIC_iLoadmBr , [InstrStage<2, [A8_Issue], 0>,
141 InstrStage<2, [A8_Pipe0], 0>,
142 InstrStage<2, [A8_Pipe1]>,
143 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
144 InstrStage<1, [A8_LdSt0]>,
145 InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
146
Evan Chengbd30ce42010-09-24 22:41:41 +0000147 //
148 // iLoadi + iALUr for t2LDRpci_pic.
149 InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>,
150 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
151 InstrStage<1, [A8_LdSt0]>,
152 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>,
153
154
Anton Korobeynikove1676012010-04-07 18:22:11 +0000155 // Integer store pipeline
156 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000157 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000158 //
159 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000160 InstrItinData<IIC_iStorei , [InstrStage<1, [A8_Issue], 0>,
161 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
162 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000163 //
164 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000165 InstrItinData<IIC_iStorer , [InstrStage<1, [A8_Issue], 0>,
166 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
167 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000168 //
169 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000170 InstrItinData<IIC_iStoresi , [InstrStage<2, [A8_Issue], 0>,
171 InstrStage<1, [A8_Pipe0], 0>,
172 InstrStage<1, [A8_Pipe1]>,
173 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
174 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000175 //
176 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000177 InstrItinData<IIC_iStoreiu , [InstrStage<1, [A8_Issue], 0>,
178 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
179 InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000180 //
181 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000182 InstrItinData<IIC_iStoreru , [InstrStage<1, [A8_Issue], 0>,
183 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
184 InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000185 //
186 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000187 InstrItinData<IIC_iStoresiu, [InstrStage<2, [A8_Issue], 0>,
188 InstrStage<1, [A8_Pipe0], 0>,
189 InstrStage<1, [A8_Pipe1]>,
190 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
191 InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000192 //
193 // Store multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000194 InstrItinData<IIC_iStorem , [InstrStage<2, [A8_Issue], 0>,
195 InstrStage<2, [A8_Pipe0], 0>,
196 InstrStage<2, [A8_Pipe1]>,
197 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
198 InstrStage<1, [A8_LdSt0]>]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000199
Anton Korobeynikove1676012010-04-07 18:22:11 +0000200 // Branch
201 //
202 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000203 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000204
205 // VFP
206 // Issue through integer pipeline, and execute in NEON unit. We assume
207 // RunFast mode so that NFP pipeline is used for single-precision when
208 // possible.
209 //
210 // FP Special Register to Integer Register File Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000211 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
212 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000213 //
214 // Single-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000215 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
216 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000217 //
218 // Double-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000219 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
220 InstrStage<4, [A8_NPipe], 0>,
221 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000222 //
223 // Single-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000224 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
225 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000226 //
227 // Double-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000228 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
229 InstrStage<4, [A8_NPipe], 0>,
230 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000231 //
232 // Single to Double FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000233 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
234 InstrStage<7, [A8_NPipe], 0>,
235 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000236 //
237 // Double to Single FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000238 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
239 InstrStage<5, [A8_NPipe], 0>,
240 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000241 //
242 // Single-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000243 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
244 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000245 //
246 // Double-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000247 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
248 InstrStage<8, [A8_NPipe], 0>,
249 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000250 //
251 // Integer to Single-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000252 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
253 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000254 //
255 // Integer to Double-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000256 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
257 InstrStage<8, [A8_NPipe], 0>,
258 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000259 //
260 // Single-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000261 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
262 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000263 //
264 // Double-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000265 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
266 InstrStage<9, [A8_NPipe], 0>,
267 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000268 //
269 // Single-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000270 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
271 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000272 //
273 // Double-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000274 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
275 InstrStage<11, [A8_NPipe], 0>,
276 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000277 //
278 // Single-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000279 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
280 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000281 //
282 // Double-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000283 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
284 InstrStage<19, [A8_NPipe], 0>,
285 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000286 //
287 // Single-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000288 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
289 InstrStage<20, [A8_NPipe], 0>,
290 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000291 //
292 // Double-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000293 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
294 InstrStage<29, [A8_NPipe], 0>,
295 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000296 //
297 // Single-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000298 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
299 InstrStage<19, [A8_NPipe], 0>,
300 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000301 //
302 // Double-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000303 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
304 InstrStage<29, [A8_NPipe], 0>,
305 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000306 //
307 // Single-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_fpLoad32, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000310 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
311 InstrStage<1, [A8_LdSt0], 0>,
312 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000313 //
314 // Double-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000315 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000316 InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000317 InstrStage<1, [A8_Pipe0], 0>,
318 InstrStage<1, [A8_Pipe1]>,
319 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
320 InstrStage<1, [A8_LdSt0], 0>,
321 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000322 //
323 // FP Load Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000324 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000325 InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000326 InstrStage<2, [A8_Pipe0], 0>,
327 InstrStage<2, [A8_Pipe1]>,
328 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 // Single-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_fpStore32,[InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000335 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
336 InstrStage<1, [A8_LdSt0], 0>,
337 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000338 //
339 // Double-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000340 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000341 InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000342 InstrStage<1, [A8_Pipe0], 0>,
343 InstrStage<1, [A8_Pipe1]>,
344 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
345 InstrStage<1, [A8_LdSt0], 0>,
346 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000347 //
348 // FP Store Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000349 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000350 InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000351 InstrStage<2, [A8_Pipe0], 0>,
352 InstrStage<2, [A8_Pipe1]>,
353 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
354 InstrStage<1, [A8_LdSt0], 0>,
355 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000356
357 // NEON
358 // Issue through integer pipeline, and execute in NEON unit.
359 //
360 // VLD1
361 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000362 InstrItinData<IIC_VLD1, [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]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000366 //
367 // VLD2
368 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000369 InstrItinData<IIC_VLD2, [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, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000373 //
374 // VLD3
375 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000376 InstrItinData<IIC_VLD3, [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, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000380 //
381 // VLD4
382 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000383 InstrItinData<IIC_VLD4, [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]>], [2, 2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000387 //
388 // VST
389 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000390 InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000391 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
392 InstrStage<1, [A8_LdSt0], 0>,
393 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000394 //
395 // Double-register FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000396 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
397 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000398 //
399 // Quad-register FP Unary
400 // Result written in N5, but that is relative to the last cycle of multicycle,
401 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000402 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
403 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000404 //
405 // Double-register FP Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000406 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
407 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000408 //
409 // Quad-register FP Binary
410 // Result written in N5, but that is relative to the last cycle of multicycle,
411 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000412 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
413 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000414 //
415 // Move Immediate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000416 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
417 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000418 //
419 // Double-register Permute Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000420 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
421 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000422 //
423 // Quad-register Permute Move
424 // Result written in N2, but that is relative to the last cycle of multicycle,
425 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000426 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
427 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000428 //
429 // Integer to Single-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000430 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
431 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000432 //
433 // Integer to Double-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000434 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
435 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000436 //
437 // Single-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000438 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
439 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000440 //
441 // Double-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000442 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
443 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000444 //
445 // Integer to Lane Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000446 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
447 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000448 //
449 // Double-register Permute
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000450 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
451 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000452 //
453 // Quad-register Permute
454 // Result written in N2, but that is relative to the last cycle of multicycle,
455 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000456 InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
457 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000458 //
459 // Quad-register Permute (3 cycle issue)
460 // Result written in N2, but that is relative to the last cycle of multicycle,
461 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000462 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
463 InstrStage<1, [A8_NLSPipe]>,
464 InstrStage<1, [A8_NPipe], 0>,
465 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000466 //
467 // Double-register FP Multiple-Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000468 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
469 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000470 //
471 // Quad-register FP Multiple-Accumulate
472 // Result written in N9, but that is relative to the last cycle of multicycle,
473 // so we use 10 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000474 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
475 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000476 //
477 // Double-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000478 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
479 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000480 //
481 // Quad-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000482 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
483 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000484 //
485 // Double-register Integer Count
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000486 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
487 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000488 //
489 // Quad-register Integer Count
490 // Result written in N3, but that is relative to the last cycle of multicycle,
491 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000492 InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
493 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000494 //
495 // Double-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000496 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
497 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000498 //
499 // Quad-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000500 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
501 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000502 //
503 // Double-register Integer Q-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000504 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
505 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000506 //
507 // Quad-register Integer CountQ-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000508 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
509 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000510 //
511 // Double-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000512 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
513 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000514 //
515 // Quad-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000516 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
517 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000518 //
519 // Double-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000520 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
521 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000522 //
523 // Quad-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000524 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
525 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000526
527 //
528 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000529 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
530 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000531 //
532 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000533 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
534 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000535 //
536 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000537 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
538 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000539 //
540 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000541 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
542 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000543 //
544 // Double-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000545 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
546 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000547 //
548 // Quad-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000549 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
550 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000551 //
552 // Double-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000553 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
554 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000555 //
556 // Quad-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000557 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
558 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000559 //
560 // Double-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000561 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
562 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000563 //
564 // Quad-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000565 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
566 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000567 //
568 // Double-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000569 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
570 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000571 //
572 // Quad-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000573 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
574 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000575
576 //
577 // Double-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000578 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
579 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000580 //
581 // Double-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000582 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
583 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000584 //
585 // Quad-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000586 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
587 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000588 //
589 // Quad-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000590 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
591 InstrStage<1, [A8_NPipe]>,
592 InstrStage<2, [A8_NLSPipe], 0>,
593 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000594 //
595 // Double-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000596 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
597 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000598 //
599 // Double-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000600 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
601 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000602 //
603 // Quad-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000604 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
605 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000606 //
607 // Quad-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000608 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
609 InstrStage<1, [A8_NPipe]>,
610 InstrStage<2, [A8_NLSPipe], 0>,
611 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000612 //
613 // Double-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000614 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
615 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000616 //
617 // Quad-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000618 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
619 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000620 //
621 // VTB
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000622 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
623 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
624 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
625 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
626 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
627 InstrStage<1, [A8_NLSPipe]>,
628 InstrStage<1, [A8_NPipe], 0>,
629 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
630 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
631 InstrStage<1, [A8_NLSPipe]>,
632 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000633 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000634 //
635 // VTBX
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000636 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
637 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
638 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
639 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
640 InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
641 InstrStage<1, [A8_NLSPipe]>,
642 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000643 InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000644 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
645 InstrStage<1, [A8_NLSPipe]>,
646 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000647 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000648]>;