blob: 282abca98803a65a5748ff777163e232b9cc68af [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]>,
53 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
54 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
55 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000056 //
57 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000058 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
59 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
60 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
61 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000062
63 // Integer multiply pipeline
64 // Result written in E5, but that is relative to the last cycle of multicycle,
65 // so we use 6 for those cases
66 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000067 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000068 InstrItinData<IIC_iMAC16 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000069 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000070 InstrItinData<IIC_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000071 InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000072 InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000073 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000074 InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000075 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000076 InstrItinData<IIC_iMAC64 , [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
Anton Korobeynikove1676012010-04-07 18:22:11 +000079 // Integer load pipeline
80 //
81 // loads have an extra cycle of latency, but are fully pipelined
Anton Korobeynikov928eb492010-04-18 20:31:01 +000082 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +000083 //
84 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000085 InstrItinData<IIC_iLoadi , [InstrStage<1, [A8_Issue], 0>,
86 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
87 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000088 //
89 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +000090 InstrItinData<IIC_iLoadr , [InstrStage<1, [A8_Issue], 0>,
91 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
92 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000093 //
94 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +000095 InstrItinData<IIC_iLoadsi , [InstrStage<2, [A8_Issue], 0>,
96 InstrStage<1, [A8_Pipe0], 0>,
97 InstrStage<1, [A8_Pipe1]>,
98 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
99 InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000100 //
101 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000102 InstrItinData<IIC_iLoadiu , [InstrStage<1, [A8_Issue], 0>,
103 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
104 InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000105 //
106 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000107 InstrItinData<IIC_iLoadru , [InstrStage<1, [A8_Issue], 0>,
108 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
109 InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000110 //
111 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000112 InstrItinData<IIC_iLoadsiu , [InstrStage<2, [A8_Issue], 0>,
113 InstrStage<1, [A8_Pipe0], 0>,
114 InstrStage<1, [A8_Pipe1]>,
115 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
116 InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000117 //
118 // Load multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000119 InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>,
120 InstrStage<2, [A8_Pipe0], 0>,
121 InstrStage<2, [A8_Pipe1]>,
122 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
123 InstrStage<1, [A8_LdSt0]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000124
125 // Integer store pipeline
126 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000127 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000128 //
129 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000130 InstrItinData<IIC_iStorei , [InstrStage<1, [A8_Issue], 0>,
131 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
132 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000133 //
134 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000135 InstrItinData<IIC_iStorer , [InstrStage<1, [A8_Issue], 0>,
136 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
137 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000138 //
139 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000140 InstrItinData<IIC_iStoresi , [InstrStage<2, [A8_Issue], 0>,
141 InstrStage<1, [A8_Pipe0], 0>,
142 InstrStage<1, [A8_Pipe1]>,
143 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
144 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000145 //
146 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000147 InstrItinData<IIC_iStoreiu , [InstrStage<1, [A8_Issue], 0>,
148 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
149 InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000150 //
151 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000152 InstrItinData<IIC_iStoreru , [InstrStage<1, [A8_Issue], 0>,
153 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
154 InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000155 //
156 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000157 InstrItinData<IIC_iStoresiu, [InstrStage<2, [A8_Issue], 0>,
158 InstrStage<1, [A8_Pipe0], 0>,
159 InstrStage<1, [A8_Pipe1]>,
160 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
161 InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000162 //
163 // Store multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000164 InstrItinData<IIC_iStorem , [InstrStage<2, [A8_Issue], 0>,
165 InstrStage<2, [A8_Pipe0], 0>,
166 InstrStage<2, [A8_Pipe1]>,
167 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
168 InstrStage<1, [A8_LdSt0]>]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000169
Anton Korobeynikove1676012010-04-07 18:22:11 +0000170 // Branch
171 //
172 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000173 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000174
175 // VFP
176 // Issue through integer pipeline, and execute in NEON unit. We assume
177 // RunFast mode so that NFP pipeline is used for single-precision when
178 // possible.
179 //
180 // FP Special Register to Integer Register File Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000181 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
182 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000183 //
184 // Single-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000185 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
186 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000187 //
188 // Double-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000189 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
190 InstrStage<4, [A8_NPipe], 0>,
191 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000192 //
193 // Single-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000194 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
195 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000196 //
197 // Double-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000198 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
199 InstrStage<4, [A8_NPipe], 0>,
200 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000201 //
202 // Single to Double FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000203 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
204 InstrStage<7, [A8_NPipe], 0>,
205 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000206 //
207 // Double to Single FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000208 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
209 InstrStage<5, [A8_NPipe], 0>,
210 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000211 //
212 // Single-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000213 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
214 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000215 //
216 // Double-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000217 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
218 InstrStage<8, [A8_NPipe], 0>,
219 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000220 //
221 // Integer to Single-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000222 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
223 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000224 //
225 // Integer to Double-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000226 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
227 InstrStage<8, [A8_NPipe], 0>,
228 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000229 //
230 // Single-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000231 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
232 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000233 //
234 // Double-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000235 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
236 InstrStage<9, [A8_NPipe], 0>,
237 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000238 //
239 // Single-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000240 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
241 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000242 //
243 // Double-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000244 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
245 InstrStage<11, [A8_NPipe], 0>,
246 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000247 //
248 // Single-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000249 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
250 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000251 //
252 // Double-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000253 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
254 InstrStage<19, [A8_NPipe], 0>,
255 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000256 //
257 // Single-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000258 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
259 InstrStage<20, [A8_NPipe], 0>,
260 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000261 //
262 // Double-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000263 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
264 InstrStage<29, [A8_NPipe], 0>,
265 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000266 //
267 // Single-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000268 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
269 InstrStage<19, [A8_NPipe], 0>,
270 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000271 //
272 // Double-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000273 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
274 InstrStage<29, [A8_NPipe], 0>,
275 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000276 //
277 // Single-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000278 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000279 InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000280 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
281 InstrStage<1, [A8_LdSt0], 0>,
282 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000283 //
284 // Double-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000285 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000286 InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000287 InstrStage<1, [A8_Pipe0], 0>,
288 InstrStage<1, [A8_Pipe1]>,
289 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
290 InstrStage<1, [A8_LdSt0], 0>,
291 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000292 //
293 // FP Load Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000294 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000295 InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000296 InstrStage<2, [A8_Pipe0], 0>,
297 InstrStage<2, [A8_Pipe1]>,
298 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
299 InstrStage<1, [A8_LdSt0], 0>,
300 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000301 //
302 // Single-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000303 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000304 InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000305 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
306 InstrStage<1, [A8_LdSt0], 0>,
307 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000308 //
309 // Double-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000310 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000311 InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000312 InstrStage<1, [A8_Pipe0], 0>,
313 InstrStage<1, [A8_Pipe1]>,
314 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
315 InstrStage<1, [A8_LdSt0], 0>,
316 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000317 //
318 // FP Store Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000319 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000320 InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000321 InstrStage<2, [A8_Pipe0], 0>,
322 InstrStage<2, [A8_Pipe1]>,
323 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
324 InstrStage<1, [A8_LdSt0], 0>,
325 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000326
327 // NEON
328 // Issue through integer pipeline, and execute in NEON unit.
329 //
330 // VLD1
331 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000332 InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000333 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 // VLD2
338 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000339 InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000340 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
341 InstrStage<1, [A8_LdSt0], 0>,
342 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000343 //
344 // VLD3
345 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000346 InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000347 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
348 InstrStage<1, [A8_LdSt0], 0>,
349 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000350 //
351 // VLD4
352 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000353 InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000354 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
355 InstrStage<1, [A8_LdSt0], 0>,
356 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000357 //
358 // VST
359 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000360 InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000361 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
362 InstrStage<1, [A8_LdSt0], 0>,
363 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000364 //
365 // Double-register FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000366 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
367 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000368 //
369 // Quad-register FP Unary
370 // Result written in N5, but that is relative to the last cycle of multicycle,
371 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000372 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
373 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000374 //
375 // Double-register FP Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000376 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
377 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000378 //
379 // Quad-register FP Binary
380 // Result written in N5, but that is relative to the last cycle of multicycle,
381 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000382 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
383 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000384 //
385 // Move Immediate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000386 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
387 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000388 //
389 // Double-register Permute Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000390 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
391 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000392 //
393 // Quad-register Permute Move
394 // Result written in N2, but that is relative to the last cycle of multicycle,
395 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000396 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
397 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000398 //
399 // Integer to Single-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000400 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
401 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000402 //
403 // Integer to Double-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000404 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
405 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000406 //
407 // Single-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000408 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
409 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000410 //
411 // Double-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000412 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
413 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000414 //
415 // Integer to Lane Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000416 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
417 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000418 //
419 // Double-register Permute
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000420 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
421 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000422 //
423 // Quad-register Permute
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_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
427 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000428 //
429 // Quad-register Permute (3 cycle issue)
430 // Result written in N2, but that is relative to the last cycle of multicycle,
431 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000432 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
433 InstrStage<1, [A8_NLSPipe]>,
434 InstrStage<1, [A8_NPipe], 0>,
435 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000436 //
437 // Double-register FP Multiple-Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000438 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
439 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000440 //
441 // Quad-register FP Multiple-Accumulate
442 // Result written in N9, but that is relative to the last cycle of multicycle,
443 // so we use 10 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000444 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
445 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000446 //
447 // Double-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000448 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
449 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000450 //
451 // Quad-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000452 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
453 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000454 //
455 // Double-register Integer Count
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000456 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
457 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000458 //
459 // Quad-register Integer Count
460 // Result written in N3, 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_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
463 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000464 //
465 // Double-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000466 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
467 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000468 //
469 // Quad-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000470 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
471 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000472 //
473 // Double-register Integer Q-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000474 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
475 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000476 //
477 // Quad-register Integer CountQ-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000478 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
479 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000480 //
481 // Double-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000482 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
483 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000484 //
485 // Quad-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000486 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
487 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000488 //
489 // Double-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000490 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
491 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000492 //
493 // Quad-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000494 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
495 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000496
497 //
498 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000499 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
500 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000501 //
502 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000503 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
504 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000505 //
506 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000507 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
508 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000509 //
510 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000511 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
512 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000513 //
514 // Double-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000515 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
516 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000517 //
518 // Quad-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000519 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
520 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000521 //
522 // Double-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000523 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
524 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000525 //
526 // Quad-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000527 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
528 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000529 //
530 // Double-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000531 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
532 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000533 //
534 // Quad-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000535 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
536 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000537 //
538 // Double-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000539 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
540 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000541 //
542 // Quad-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000543 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
544 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000545
546 //
547 // Double-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000548 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
549 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000550 //
551 // Double-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000552 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
553 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000554 //
555 // Quad-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000556 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
557 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000558 //
559 // Quad-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000560 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
561 InstrStage<1, [A8_NPipe]>,
562 InstrStage<2, [A8_NLSPipe], 0>,
563 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000564 //
565 // Double-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000566 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
567 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000568 //
569 // Double-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000570 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
571 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000572 //
573 // Quad-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000574 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
575 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000576 //
577 // Quad-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000578 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
579 InstrStage<1, [A8_NPipe]>,
580 InstrStage<2, [A8_NLSPipe], 0>,
581 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000582 //
583 // Double-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000584 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
585 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000586 //
587 // Quad-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000588 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
589 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000590 //
591 // VTB
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000592 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
593 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
594 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
595 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
596 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
597 InstrStage<1, [A8_NLSPipe]>,
598 InstrStage<1, [A8_NPipe], 0>,
599 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
600 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
601 InstrStage<1, [A8_NLSPipe]>,
602 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000603 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000604 //
605 // VTBX
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000606 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
607 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
608 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
609 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
610 InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
611 InstrStage<1, [A8_NLSPipe]>,
612 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000613 InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000614 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
615 InstrStage<1, [A8_NLSPipe]>,
616 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000617 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000618]>;