blob: 8962ec93efa5a78e57b4acdf40b83a526ef5ebdc [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]>,
Evan Cheng3881cb72010-09-29 22:42:35 +000039 InstrItinData<IIC_iALUsir,[InstrStage<1,[A8_Pipe0, A8_Pipe1]>], [2, 1, 2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000040 InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000041 //
Evan Cheng7e1bf302010-09-29 00:27:46 +000042 // Bitwise Instructions that produce a result
43 InstrItinData<IIC_iBITi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
44 InstrItinData<IIC_iBITr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>,
45 InstrItinData<IIC_iBITsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
46 InstrItinData<IIC_iBITsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
47 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000048 // Unary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000049 InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
50 InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000051 //
Evan Cheng576a3962010-09-25 00:49:35 +000052 // Zero and sign extension instructions
53 InstrItinData<IIC_iEXTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
54 InstrItinData<IIC_iEXTAr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
Evan Cheng7e1bf302010-09-29 00:27:46 +000055 InstrItinData<IIC_iEXTAsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>],[2, 2, 1, 1]>,
Evan Cheng576a3962010-09-25 00:49:35 +000056 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000057 // Compare instructions
Jim Grosbache9e3f202010-06-28 04:27:01 +000058 InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
59 InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
60 InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
61 InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000062 //
Evan Cheng5d42c562010-09-29 00:49:25 +000063 // Test instructions
64 InstrItinData<IIC_iTSTi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
65 InstrItinData<IIC_iTSTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
66 InstrItinData<IIC_iTSTsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
67 InstrItinData<IIC_iTSTsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
68 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000069 // Move instructions, unconditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000070 InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
71 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
72 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
73 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Evan Cheng5d42c562010-09-29 00:49:25 +000074 InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
75 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000076 //
77 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000078 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
79 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
80 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
81 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Evan Cheng5d42c562010-09-29 00:49:25 +000082 //
83 // MVN instructions
84 InstrItinData<IIC_iMVNi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
85 InstrItinData<IIC_iMVNr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
86 InstrItinData<IIC_iMVNsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
87 InstrItinData<IIC_iMVNsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000088
89 // Integer multiply pipeline
90 // Result written in E5, but that is relative to the last cycle of multicycle,
91 // so we use 6 for those cases
92 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000093 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000094 InstrItinData<IIC_iMAC16 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000095 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000096 InstrItinData<IIC_iMUL32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000097 InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000098 InstrItinData<IIC_iMAC32 , [InstrStage<1, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +000099 InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000100 InstrItinData<IIC_iMUL64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000101 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000102 InstrItinData<IIC_iMAC64 , [InstrStage<2, [A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000103 InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000104
Anton Korobeynikove1676012010-04-07 18:22:11 +0000105 // Integer load pipeline
106 //
107 // loads have an extra cycle of latency, but are fully pipelined
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000108 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000109 //
110 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000111 InstrItinData<IIC_iLoadi , [InstrStage<1, [A8_Issue], 0>,
112 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
113 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000114 //
115 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000116 InstrItinData<IIC_iLoadr , [InstrStage<1, [A8_Issue], 0>,
117 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
118 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000119 //
120 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000121 InstrItinData<IIC_iLoadsi , [InstrStage<2, [A8_Issue], 0>,
122 InstrStage<1, [A8_Pipe0], 0>,
123 InstrStage<1, [A8_Pipe1]>,
124 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
125 InstrStage<1, [A8_LdSt0]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000126 //
127 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000128 InstrItinData<IIC_iLoadiu , [InstrStage<1, [A8_Issue], 0>,
129 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
130 InstrStage<1, [A8_LdSt0]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000131 //
132 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000133 InstrItinData<IIC_iLoadru , [InstrStage<1, [A8_Issue], 0>,
134 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
135 InstrStage<1, [A8_LdSt0]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000136 //
137 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000138 InstrItinData<IIC_iLoadsiu , [InstrStage<2, [A8_Issue], 0>,
139 InstrStage<1, [A8_Pipe0], 0>,
140 InstrStage<1, [A8_Pipe1]>,
141 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
142 InstrStage<1, [A8_LdSt0]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000143 //
144 // Load multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000145 InstrItinData<IIC_iLoadm , [InstrStage<2, [A8_Issue], 0>,
146 InstrStage<2, [A8_Pipe0], 0>,
147 InstrStage<2, [A8_Pipe1]>,
148 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
149 InstrStage<1, [A8_LdSt0]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000150
Evan Cheng7602acb2010-09-08 22:57:08 +0000151 //
152 // Load multiple plus branch
153 InstrItinData<IIC_iLoadmBr , [InstrStage<2, [A8_Issue], 0>,
154 InstrStage<2, [A8_Pipe0], 0>,
155 InstrStage<2, [A8_Pipe1]>,
156 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
157 InstrStage<1, [A8_LdSt0]>,
158 InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
159
Evan Chengbd30ce42010-09-24 22:41:41 +0000160 //
161 // iLoadi + iALUr for t2LDRpci_pic.
162 InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Issue], 0>,
163 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
164 InstrStage<1, [A8_LdSt0]>,
165 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>,
166
167
Anton Korobeynikove1676012010-04-07 18:22:11 +0000168 // Integer store pipeline
169 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000170 // use A8_Issue to enforce the 1 load/store per cycle limit
Anton Korobeynikove1676012010-04-07 18:22:11 +0000171 //
172 // Immediate offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000173 InstrItinData<IIC_iStorei , [InstrStage<1, [A8_Issue], 0>,
174 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
175 InstrStage<1, [A8_LdSt0]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000176 //
177 // Register offset
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000178 InstrItinData<IIC_iStorer , [InstrStage<1, [A8_Issue], 0>,
179 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
180 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000181 //
182 // Scaled register offset, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000183 InstrItinData<IIC_iStoresi , [InstrStage<2, [A8_Issue], 0>,
184 InstrStage<1, [A8_Pipe0], 0>,
185 InstrStage<1, [A8_Pipe1]>,
186 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
187 InstrStage<1, [A8_LdSt0]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000188 //
189 // Immediate offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000190 InstrItinData<IIC_iStoreiu , [InstrStage<1, [A8_Issue], 0>,
191 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
192 InstrStage<1, [A8_LdSt0]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000193 //
194 // Register offset with update
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000195 InstrItinData<IIC_iStoreru , [InstrStage<1, [A8_Issue], 0>,
196 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
197 InstrStage<1, [A8_LdSt0]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000198 //
199 // Scaled register offset with update, issues over 2 cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000200 InstrItinData<IIC_iStoresiu, [InstrStage<2, [A8_Issue], 0>,
201 InstrStage<1, [A8_Pipe0], 0>,
202 InstrStage<1, [A8_Pipe1]>,
203 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
204 InstrStage<1, [A8_LdSt0]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000205 //
206 // Store multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000207 InstrItinData<IIC_iStorem , [InstrStage<2, [A8_Issue], 0>,
208 InstrStage<2, [A8_Pipe0], 0>,
209 InstrStage<2, [A8_Pipe1]>,
210 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
211 InstrStage<1, [A8_LdSt0]>]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000212
Anton Korobeynikove1676012010-04-07 18:22:11 +0000213 // Branch
214 //
215 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000216 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000217
218 // VFP
219 // Issue through integer pipeline, and execute in NEON unit. We assume
220 // RunFast mode so that NFP pipeline is used for single-precision when
221 // possible.
222 //
223 // FP Special Register to Integer Register File Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000224 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
225 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000226 //
227 // Single-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000228 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
229 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000230 //
231 // Double-precision FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000232 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
233 InstrStage<4, [A8_NPipe], 0>,
234 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000235 //
236 // Single-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000237 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
238 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000239 //
240 // Double-precision FP Compare
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000241 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
242 InstrStage<4, [A8_NPipe], 0>,
243 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000244 //
245 // Single to Double FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000246 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
247 InstrStage<7, [A8_NPipe], 0>,
248 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000249 //
250 // Double to Single FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000251 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
252 InstrStage<5, [A8_NPipe], 0>,
253 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000254 //
255 // Single-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000256 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
257 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000258 //
259 // Double-Precision FP to Integer Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000260 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
261 InstrStage<8, [A8_NPipe], 0>,
262 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000263 //
264 // Integer to Single-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000265 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
266 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000267 //
268 // Integer to Double-Precision FP Convert
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000269 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
270 InstrStage<8, [A8_NPipe], 0>,
271 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000272 //
273 // Single-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000274 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
275 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000276 //
277 // Double-precision FP ALU
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000278 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
279 InstrStage<9, [A8_NPipe], 0>,
280 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000281 //
282 // Single-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000283 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
284 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000285 //
286 // Double-precision FP Multiply
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000287 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
288 InstrStage<11, [A8_NPipe], 0>,
289 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000290 //
291 // Single-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000292 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
293 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000294 //
295 // Double-precision FP MAC
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000296 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
297 InstrStage<19, [A8_NPipe], 0>,
298 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000299 //
300 // Single-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000301 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
302 InstrStage<20, [A8_NPipe], 0>,
303 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000304 //
305 // Double-precision FP DIV
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000306 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
307 InstrStage<29, [A8_NPipe], 0>,
308 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000309 //
310 // Single-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000311 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
312 InstrStage<19, [A8_NPipe], 0>,
313 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000314 //
315 // Double-precision FP SQRT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000316 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
317 InstrStage<29, [A8_NPipe], 0>,
318 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000319 //
320 // Single-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000321 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000322 InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000323 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 // Double-precision FP Load
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000328 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000329 InstrItinData<IIC_fpLoad64, [InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000330 InstrStage<1, [A8_Pipe0], 0>,
331 InstrStage<1, [A8_Pipe1]>,
332 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
333 InstrStage<1, [A8_LdSt0], 0>,
334 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000335 //
336 // FP Load Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000337 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000338 InstrItinData<IIC_fpLoadm, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000339 InstrStage<2, [A8_Pipe0], 0>,
340 InstrStage<2, [A8_Pipe1]>,
341 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
342 InstrStage<1, [A8_LdSt0], 0>,
343 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000344 //
345 // Single-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000346 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000347 InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000348 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
349 InstrStage<1, [A8_LdSt0], 0>,
350 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000351 //
352 // Double-precision FP Store
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000353 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000354 InstrItinData<IIC_fpStore64,[InstrStage<2, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000355 InstrStage<1, [A8_Pipe0], 0>,
356 InstrStage<1, [A8_Pipe1]>,
357 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
358 InstrStage<1, [A8_LdSt0], 0>,
359 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000360 //
361 // FP Store Multiple
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000362 // use A8_Issue to enforce the 1 load/store per cycle limit
Jim Grosbache9e3f202010-06-28 04:27:01 +0000363 InstrItinData<IIC_fpStorem, [InstrStage<3, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000364 InstrStage<2, [A8_Pipe0], 0>,
365 InstrStage<2, [A8_Pipe1]>,
366 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
367 InstrStage<1, [A8_LdSt0], 0>,
368 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000369
370 // NEON
371 // Issue through integer pipeline, and execute in NEON unit.
372 //
373 // VLD1
374 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000375 InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000376 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
377 InstrStage<1, [A8_LdSt0], 0>,
378 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000379 //
380 // VLD2
381 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000382 InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000383 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
384 InstrStage<1, [A8_LdSt0], 0>,
385 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000386 //
387 // VLD3
388 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000389 InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000390 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
391 InstrStage<1, [A8_LdSt0], 0>,
392 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000393 //
394 // VLD4
395 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000396 InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000397 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
398 InstrStage<1, [A8_LdSt0], 0>,
399 InstrStage<1, [A8_NLSPipe]>], [2, 2, 2, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000400 //
401 // VST
402 // FIXME: We don't model this instruction properly
Jim Grosbache9e3f202010-06-28 04:27:01 +0000403 InstrItinData<IIC_VST, [InstrStage<1, [A8_Issue], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000404 InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
405 InstrStage<1, [A8_LdSt0], 0>,
406 InstrStage<1, [A8_NLSPipe]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000407 //
408 // Double-register FP Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000409 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
410 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000411 //
412 // Quad-register FP Unary
413 // Result written in N5, but that is relative to the last cycle of multicycle,
414 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000415 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
416 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000417 //
418 // Double-register FP Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000419 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
420 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000421 //
422 // Quad-register FP Binary
423 // Result written in N5, but that is relative to the last cycle of multicycle,
424 // so we use 6 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000425 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
426 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000427 //
428 // Move Immediate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000429 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
430 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000431 //
432 // Double-register Permute Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000433 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
434 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000435 //
436 // Quad-register Permute Move
437 // Result written in N2, but that is relative to the last cycle of multicycle,
438 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000439 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
440 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000441 //
442 // Integer to Single-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000443 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
444 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000445 //
446 // Integer to Double-precision Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000447 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
448 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000449 //
450 // Single-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000451 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
452 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000453 //
454 // Double-precision to Integer Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000455 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
456 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000457 //
458 // Integer to Lane Move
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000459 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
460 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000461 //
462 // Double-register Permute
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000463 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
464 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000465 //
466 // Quad-register Permute
467 // Result written in N2, but that is relative to the last cycle of multicycle,
468 // so we use 3 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000469 InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
470 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000471 //
472 // Quad-register Permute (3 cycle issue)
473 // Result written in N2, but that is relative to the last cycle of multicycle,
474 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000475 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
476 InstrStage<1, [A8_NLSPipe]>,
477 InstrStage<1, [A8_NPipe], 0>,
478 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000479 //
480 // Double-register FP Multiple-Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000481 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
482 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000483 //
484 // Quad-register FP Multiple-Accumulate
485 // Result written in N9, but that is relative to the last cycle of multicycle,
486 // so we use 10 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000487 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
488 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000489 //
490 // Double-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000491 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
492 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000493 //
494 // Quad-register Reciprical Step
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000495 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
496 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000497 //
498 // Double-register Integer Count
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000499 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
500 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000501 //
502 // Quad-register Integer Count
503 // Result written in N3, but that is relative to the last cycle of multicycle,
504 // so we use 4 for those cases
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000505 InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
506 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000507 //
508 // Double-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000509 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
510 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000511 //
512 // Quad-register Integer Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000513 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
514 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000515 //
516 // Double-register Integer Q-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000517 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
518 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000519 //
520 // Quad-register Integer CountQ-Unary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000521 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
522 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000523 //
524 // Double-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000525 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
526 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000527 //
528 // Quad-register Integer Binary
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000529 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
530 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000531 //
532 // Double-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000533 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
534 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000535 //
536 // Quad-register Integer Binary (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000537 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
538 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000539
540 //
541 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000542 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
543 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000544 //
545 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000546 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
547 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000548 //
549 // Double-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000550 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
551 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000552 //
553 // Quad-register Integer Subtract
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000554 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
555 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000556 //
557 // Double-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000558 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
559 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000560 //
561 // Quad-register Integer Shift
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000562 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
563 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000564 //
565 // Double-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000566 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
567 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000568 //
569 // Quad-register Integer Shift (4 cycle)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000570 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
571 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000572 //
573 // Double-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000574 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
575 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000576 //
577 // Quad-register Integer Pair Add Long
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000578 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
579 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000580 //
581 // Double-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000582 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
583 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000584 //
585 // Quad-register Absolute Difference and Accumulate
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000586 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
587 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000588
589 //
590 // Double-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000591 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
592 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000593 //
594 // Double-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000595 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
596 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000597 //
598 // Quad-register Integer Multiply (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000599 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
600 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000601 //
602 // Quad-register Integer Multiply (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000603 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
604 InstrStage<1, [A8_NPipe]>,
605 InstrStage<2, [A8_NLSPipe], 0>,
606 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000607 //
608 // Double-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000609 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
610 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000611 //
612 // Double-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000613 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
614 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000615 //
616 // Quad-register Integer Multiply-Accumulate (.8, .16)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000617 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
618 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000619 //
620 // Quad-register Integer Multiply-Accumulate (.32)
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000621 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
622 InstrStage<1, [A8_NPipe]>,
623 InstrStage<2, [A8_NLSPipe], 0>,
624 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000625 //
626 // Double-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000627 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
628 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000629 //
630 // Quad-register VEXT
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000631 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
632 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000633 //
634 // VTB
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000635 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
636 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
637 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
638 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
639 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
640 InstrStage<1, [A8_NLSPipe]>,
641 InstrStage<1, [A8_NPipe], 0>,
642 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
643 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
644 InstrStage<1, [A8_NLSPipe]>,
645 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000646 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000647 //
648 // VTBX
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000649 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
650 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
651 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
652 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
653 InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
654 InstrStage<1, [A8_NLSPipe]>,
655 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000656 InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000657 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
658 InstrStage<1, [A8_NLSPipe]>,
659 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000660 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000661]>;