blob: fc62faa09a3c0a90ca58ce27e5cd4bc17326b7e9 [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.
Anton Korobeynikov928eb492010-04-18 20:31:01 +000017def A8_Pipe0 : FuncUnit; // pipeline 0
18def A8_Pipe1 : FuncUnit; // pipeline 1
Evan Chengd2ca8132010-10-09 01:03:04 +000019def A8_LSPipe : FuncUnit; // Load / store pipeline
Anton Korobeynikov928eb492010-04-18 20:31:01 +000020def A8_NPipe : FuncUnit; // NEON ALU/MUL pipe
21def A8_NLSPipe : FuncUnit; // NEON LS pipe
Anton Korobeynikove1676012010-04-07 18:22:11 +000022//
Anton Korobeynikov928eb492010-04-18 20:31:01 +000023// Dual issue pipeline represented by A8_Pipe0 | A8_Pipe1
Anton Korobeynikove1676012010-04-07 18:22:11 +000024//
Anton Korobeynikov928eb492010-04-18 20:31:01 +000025def CortexA8Itineraries : ProcessorItineraries<
Evan Chengd2ca8132010-10-09 01:03:04 +000026 [A8_Pipe0, A8_Pipe1, A8_LSPipe, A8_NPipe, A8_NLSPipe],
Evan Cheng63d66ee2010-09-28 23:50:49 +000027 [], [
Anton Korobeynikove1676012010-04-07 18:22:11 +000028 // Two fully-pipelined integer ALU pipelines
29 //
30 // No operand cycles
Anton Korobeynikov928eb492010-04-18 20:31:01 +000031 InstrItinData<IIC_iALUx , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000032 //
33 // Binary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000034 InstrItinData<IIC_iALUi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
35 InstrItinData<IIC_iALUr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>,
36 InstrItinData<IIC_iALUsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
Evan Cheng3881cb72010-09-29 22:42:35 +000037 InstrItinData<IIC_iALUsir,[InstrStage<1,[A8_Pipe0, A8_Pipe1]>], [2, 1, 2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000038 InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000039 //
Evan Cheng7e1bf302010-09-29 00:27:46 +000040 // Bitwise Instructions that produce a result
41 InstrItinData<IIC_iBITi ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
42 InstrItinData<IIC_iBITr ,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 2]>,
43 InstrItinData<IIC_iBITsi,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
44 InstrItinData<IIC_iBITsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>,
45 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000046 // Unary Instructions that produce a result
Jim Grosbache9e3f202010-06-28 04:27:01 +000047 InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
48 InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000049 //
Evan Cheng576a3962010-09-25 00:49:35 +000050 // Zero and sign extension instructions
51 InstrItinData<IIC_iEXTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
52 InstrItinData<IIC_iEXTAr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1]>,
Evan Cheng7e1bf302010-09-29 00:27:46 +000053 InstrItinData<IIC_iEXTAsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>],[2, 2, 1, 1]>,
Evan Cheng576a3962010-09-25 00:49:35 +000054 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000055 // Compare instructions
Jim Grosbache9e3f202010-06-28 04:27:01 +000056 InstrItinData<IIC_iCMPi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
57 InstrItinData<IIC_iCMPr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
58 InstrItinData<IIC_iCMPsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
59 InstrItinData<IIC_iCMPsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000060 //
Evan Cheng5d42c562010-09-29 00:49:25 +000061 // Test instructions
62 InstrItinData<IIC_iTSTi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
63 InstrItinData<IIC_iTSTr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
64 InstrItinData<IIC_iTSTsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
65 InstrItinData<IIC_iTSTsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
66 //
Anton Korobeynikove1676012010-04-07 18:22:11 +000067 // Move instructions, unconditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000068 InstrItinData<IIC_iMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
69 InstrItinData<IIC_iMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
70 InstrItinData<IIC_iMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
71 InstrItinData<IIC_iMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Evan Cheng5d42c562010-09-29 00:49:25 +000072 InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
73 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000074 //
75 // Move instructions, conditional
Jim Grosbache9e3f202010-06-28 04:27:01 +000076 InstrItinData<IIC_iCMOVi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>,
77 InstrItinData<IIC_iCMOVr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
78 InstrItinData<IIC_iCMOVsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>,
79 InstrItinData<IIC_iCMOVsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1, 1]>,
Evan Cheng5d42c562010-09-29 00:49:25 +000080 //
81 // MVN instructions
82 InstrItinData<IIC_iMVNi , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1]>,
83 InstrItinData<IIC_iMVNr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
84 InstrItinData<IIC_iMVNsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1]>,
85 InstrItinData<IIC_iMVNsr, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +000086
87 // Integer multiply pipeline
88 // Result written in E5, but that is relative to the last cycle of multicycle,
89 // so we use 6 for those cases
90 //
Anton Korobeynikov928eb492010-04-18 20:31:01 +000091 InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>,
Evan Cheng8ae6ffa2010-10-09 01:15:04 +000092 InstrItinData<IIC_iMAC16 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
93 InstrItinData<IIC_iMUL32 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>,
94 InstrItinData<IIC_iMAC32 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>,
95 InstrItinData<IIC_iMUL64 , [InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
96 InstrItinData<IIC_iMAC64 , [InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +000097
Anton Korobeynikove1676012010-04-07 18:22:11 +000098 // Integer load pipeline
99 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000100 // Immediate offset
Evan Cheng41957f62010-11-03 00:40:22 +0000101 InstrItinData<IIC_iLoad_i , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000102 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000103 InstrItinData<IIC_iLoad_bh_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000104 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000105 InstrItinData<IIC_iLoad_d_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000106 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000107 //
108 // Register offset
Evan Cheng41957f62010-11-03 00:40:22 +0000109 InstrItinData<IIC_iLoad_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000110 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000111 InstrItinData<IIC_iLoad_bh_r, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000112 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000113 InstrItinData<IIC_iLoad_d_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000114 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000115 //
116 // Scaled register offset, issues over 2 cycles
Evan Chengd2ca8132010-10-09 01:03:04 +0000117 // FIXME: lsl by 2 takes 1 cycle.
Evan Cheng41957f62010-11-03 00:40:22 +0000118 InstrItinData<IIC_iLoad_si , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000119 InstrStage<1, [A8_LSPipe]>], [4, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000120 InstrItinData<IIC_iLoad_bh_si,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000121 InstrStage<1, [A8_LSPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000122 //
123 // Immediate offset with update
Evan Cheng41957f62010-11-03 00:40:22 +0000124 InstrItinData<IIC_iLoad_iu , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000125 InstrStage<1, [A8_LSPipe]>], [3, 2, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000126 InstrItinData<IIC_iLoad_bh_iu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000127 InstrStage<1, [A8_LSPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000128 //
129 // Register offset with update
Evan Cheng41957f62010-11-03 00:40:22 +0000130 InstrItinData<IIC_iLoad_ru , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000131 InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000132 InstrItinData<IIC_iLoad_bh_ru,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000133 InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000134 InstrItinData<IIC_iLoad_d_ru, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000135 InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000136 //
137 // Scaled register offset with update, issues over 2 cycles
Evan Cheng41957f62010-11-03 00:40:22 +0000138 InstrItinData<IIC_iLoad_siu , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
139 InstrStage<2, [A8_LSPipe]>], [4, 3, 1, 1]>,
140 InstrItinData<IIC_iLoad_bh_siu,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
141 InstrStage<2, [A8_LSPipe]>], [4, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000142 //
Evan Chengd2ca8132010-10-09 01:03:04 +0000143 // Load multiple, def is the 5th operand. Pipeline 0 only.
144 // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers.
Evan Cheng41957f62010-11-03 00:40:22 +0000145 InstrItinData<IIC_iLoad_m , [InstrStage<2, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000146 InstrStage<2, [A8_LSPipe]>], [1, 1, 1, 1, 3]>,
Evan Chenga0792de2010-10-06 06:27:31 +0000147 //
148 // Load multiple + update, defs are the 1st and 5th operands.
Evan Cheng41957f62010-11-03 00:40:22 +0000149 InstrItinData<IIC_iLoad_mu , [InstrStage<3, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000150 InstrStage<3, [A8_LSPipe]>], [2, 1, 1, 1, 3]>,
Evan Cheng7602acb2010-09-08 22:57:08 +0000151 //
152 // Load multiple plus branch
Evan Cheng41957f62010-11-03 00:40:22 +0000153 InstrItinData<IIC_iLoad_mBr, [InstrStage<3, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000154 InstrStage<3, [A8_LSPipe]>,
Evan Chenga0792de2010-10-06 06:27:31 +0000155 InstrStage<1, [A8_Pipe0, A8_Pipe1]>],
156 [1, 2, 1, 1, 3]>,
157 //
158 // Pop, def is the 3rd operand.
Evan Cheng41957f62010-11-03 00:40:22 +0000159 InstrItinData<IIC_iPop , [InstrStage<3, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000160 InstrStage<3, [A8_LSPipe]>], [1, 1, 3]>,
Evan Chenga0792de2010-10-06 06:27:31 +0000161 //
162 // Push, def is the 3th operand.
Evan Cheng41957f62010-11-03 00:40:22 +0000163 InstrItinData<IIC_iPop_Br, [InstrStage<3, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000164 InstrStage<3, [A8_LSPipe]>,
Evan Chenga0792de2010-10-06 06:27:31 +0000165 InstrStage<1, [A8_Pipe0, A8_Pipe1]>],
166 [1, 1, 3]>,
Evan Cheng7602acb2010-09-08 22:57:08 +0000167
Evan Chengbd30ce42010-09-24 22:41:41 +0000168 //
169 // iLoadi + iALUr for t2LDRpci_pic.
Evan Cheng41957f62010-11-03 00:40:22 +0000170 InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000171 InstrStage<1, [A8_LSPipe]>,
Evan Chengbd30ce42010-09-24 22:41:41 +0000172 InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>,
173
174
Anton Korobeynikove1676012010-04-07 18:22:11 +0000175 // Integer store pipeline
176 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000177 // Immediate offset
Evan Cheng41957f62010-11-03 00:40:22 +0000178 InstrItinData<IIC_iStore_i , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000179 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000180 InstrItinData<IIC_iStore_bh_i,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000181 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000182 InstrItinData<IIC_iStore_d_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000183 InstrStage<1, [A8_LSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000184 //
185 // Register offset
Evan Cheng41957f62010-11-03 00:40:22 +0000186 InstrItinData<IIC_iStore_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000187 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000188 InstrItinData<IIC_iStore_bh_r,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000189 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000190 InstrItinData<IIC_iStore_d_r, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000191 InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000192 //
193 // Scaled register offset, issues over 2 cycles
Evan Cheng41957f62010-11-03 00:40:22 +0000194 InstrItinData<IIC_iStore_si , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000195 InstrStage<2, [A8_LSPipe]>], [3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000196 InstrItinData<IIC_iStore_bh_si,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000197 InstrStage<2, [A8_LSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000198 //
199 // Immediate offset with update
Evan Cheng41957f62010-11-03 00:40:22 +0000200 InstrItinData<IIC_iStore_iu , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000201 InstrStage<1, [A8_LSPipe]>], [2, 3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000202 InstrItinData<IIC_iStore_bh_iu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000203 InstrStage<1, [A8_LSPipe]>], [2, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000204 //
205 // Register offset with update
Evan Cheng41957f62010-11-03 00:40:22 +0000206 InstrItinData<IIC_iStore_ru , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000207 InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000208 InstrItinData<IIC_iStore_bh_ru,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000209 InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000210 InstrItinData<IIC_iStore_d_ru, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000211 InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000212 //
213 // Scaled register offset with update, issues over 2 cycles
Evan Cheng41957f62010-11-03 00:40:22 +0000214 InstrItinData<IIC_iStore_siu, [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000215 InstrStage<2, [A8_LSPipe]>], [3, 3, 1, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000216 InstrItinData<IIC_iStore_bh_siu,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000217 InstrStage<2, [A8_LSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000218 //
Evan Chengd2ca8132010-10-09 01:03:04 +0000219 // Store multiple. Pipeline 0 only.
220 // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers.
Evan Cheng41957f62010-11-03 00:40:22 +0000221 InstrItinData<IIC_iStore_m , [InstrStage<2, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000222 InstrStage<2, [A8_LSPipe]>]>,
Evan Chenga0792de2010-10-06 06:27:31 +0000223 //
224 // Store multiple + update
Evan Cheng41957f62010-11-03 00:40:22 +0000225 InstrItinData<IIC_iStore_mu, [InstrStage<2, [A8_Pipe0], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000226 InstrStage<2, [A8_LSPipe]>], [2]>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000227
Evan Chengdfed19f2010-11-03 06:34:55 +0000228 //
229 // Preload
230 InstrItinData<IIC_Preload, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>,
231
Anton Korobeynikove1676012010-04-07 18:22:11 +0000232 // Branch
233 //
234 // no delay slots, so the latency of a branch is unimportant
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000235 InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000236
237 // VFP
238 // Issue through integer pipeline, and execute in NEON unit. We assume
239 // RunFast mode so that NFP pipeline is used for single-precision when
240 // possible.
241 //
242 // FP Special Register to Integer Register File Move
Evan Cheng41957f62010-11-03 00:40:22 +0000243 InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chenge09206d2010-10-29 23:16:55 +0000244 InstrStage<1, [A8_NLSPipe]>], [20]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000245 //
246 // Single-precision FP Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000247 InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000248 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000249 //
250 // Double-precision FP Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000251 InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000252 InstrStage<4, [A8_NPipe], 0>,
253 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000254 //
255 // Single-precision FP Compare
Evan Cheng41957f62010-11-03 00:40:22 +0000256 InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000257 InstrStage<1, [A8_NPipe]>], [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000258 //
259 // Double-precision FP Compare
Evan Cheng41957f62010-11-03 00:40:22 +0000260 InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000261 InstrStage<4, [A8_NPipe], 0>,
262 InstrStage<4, [A8_NLSPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000263 //
264 // Single to Double FP Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000265 InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000266 InstrStage<7, [A8_NPipe], 0>,
267 InstrStage<7, [A8_NLSPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000268 //
269 // Double to Single FP Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000270 InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000271 InstrStage<5, [A8_NPipe], 0>,
272 InstrStage<5, [A8_NLSPipe]>], [5, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000273 //
274 // Single-Precision FP to Integer Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000275 InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000276 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000277 //
278 // Double-Precision FP to Integer Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000279 InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000280 InstrStage<8, [A8_NPipe], 0>,
281 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000282 //
283 // Integer to Single-Precision FP Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000284 InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000285 InstrStage<1, [A8_NPipe]>], [7, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000286 //
287 // Integer to Double-Precision FP Convert
Evan Cheng41957f62010-11-03 00:40:22 +0000288 InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000289 InstrStage<8, [A8_NPipe], 0>,
290 InstrStage<8, [A8_NLSPipe]>], [8, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000291 //
292 // Single-precision FP ALU
Evan Cheng41957f62010-11-03 00:40:22 +0000293 InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000294 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000295 //
296 // Double-precision FP ALU
Evan Cheng41957f62010-11-03 00:40:22 +0000297 InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000298 InstrStage<9, [A8_NPipe], 0>,
299 InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000300 //
301 // Single-precision FP Multiply
Evan Cheng41957f62010-11-03 00:40:22 +0000302 InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000303 InstrStage<1, [A8_NPipe]>], [7, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000304 //
305 // Double-precision FP Multiply
Evan Cheng41957f62010-11-03 00:40:22 +0000306 InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000307 InstrStage<11, [A8_NPipe], 0>,
308 InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000309 //
310 // Single-precision FP MAC
Evan Cheng41957f62010-11-03 00:40:22 +0000311 InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000312 InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000313 //
314 // Double-precision FP MAC
Evan Cheng41957f62010-11-03 00:40:22 +0000315 InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000316 InstrStage<19, [A8_NPipe], 0>,
317 InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000318 //
319 // Single-precision FP DIV
Evan Cheng41957f62010-11-03 00:40:22 +0000320 InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000321 InstrStage<20, [A8_NPipe], 0>,
322 InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000323 //
324 // Double-precision FP DIV
Evan Cheng41957f62010-11-03 00:40:22 +0000325 InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000326 InstrStage<29, [A8_NPipe], 0>,
327 InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000328 //
329 // Single-precision FP SQRT
Evan Cheng41957f62010-11-03 00:40:22 +0000330 InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000331 InstrStage<19, [A8_NPipe], 0>,
332 InstrStage<19, [A8_NLSPipe]>], [19, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000333 //
334 // Double-precision FP SQRT
Evan Cheng41957f62010-11-03 00:40:22 +0000335 InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000336 InstrStage<29, [A8_NPipe], 0>,
337 InstrStage<29, [A8_NLSPipe]>], [29, 1]>,
Andrew Trick5b7a8252010-10-21 03:40:16 +0000338
339 //
340 // Integer to Single-precision Move
Evan Cheng41957f62010-11-03 00:40:22 +0000341 InstrItinData<IIC_fpMOVIS, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Andrew Trick5b7a8252010-10-21 03:40:16 +0000342 InstrStage<1, [A8_NPipe]>],
343 [2, 1]>,
344 //
345 // Integer to Double-precision Move
Evan Cheng41957f62010-11-03 00:40:22 +0000346 InstrItinData<IIC_fpMOVID, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Andrew Trick5b7a8252010-10-21 03:40:16 +0000347 InstrStage<1, [A8_NPipe]>],
348 [2, 1, 1]>,
349 //
350 // Single-precision to Integer Move
Evan Cheng41957f62010-11-03 00:40:22 +0000351 InstrItinData<IIC_fpMOVSI, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Andrew Trick5b7a8252010-10-21 03:40:16 +0000352 InstrStage<1, [A8_NPipe]>],
353 [20, 1]>,
354 //
355 // Double-precision to Integer Move
Evan Cheng41957f62010-11-03 00:40:22 +0000356 InstrItinData<IIC_fpMOVDI, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Andrew Trick5b7a8252010-10-21 03:40:16 +0000357 InstrStage<1, [A8_NPipe]>],
358 [20, 20, 1]>,
359
Anton Korobeynikove1676012010-04-07 18:22:11 +0000360 //
361 // Single-precision FP Load
Evan Cheng41957f62010-11-03 00:40:22 +0000362 InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
363 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000364 InstrStage<1, [A8_LSPipe]>],
Evan Chengdf9da6a2010-10-01 21:40:30 +0000365 [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000366 //
367 // Double-precision FP Load
Evan Cheng41957f62010-11-03 00:40:22 +0000368 InstrItinData<IIC_fpLoad64, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
369 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000370 InstrStage<1, [A8_LSPipe]>],
Evan Chengdf9da6a2010-10-01 21:40:30 +0000371 [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000372 //
373 // FP Load Multiple
Evan Chengd2ca8132010-10-09 01:03:04 +0000374 // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers.
Evan Cheng41957f62010-11-03 00:40:22 +0000375 InstrItinData<IIC_fpLoad_m, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
376 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000377 InstrStage<1, [A8_LSPipe]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000378 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000379 InstrStage<1, [A8_LSPipe]>], [1, 1, 1, 2]>,
Evan Cheng5a50cee2010-10-07 01:50:48 +0000380 //
381 // FP Load Multiple + update
Evan Cheng41957f62010-11-03 00:40:22 +0000382 InstrItinData<IIC_fpLoad_mu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
383 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000384 InstrStage<1, [A8_LSPipe]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000385 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000386 InstrStage<1, [A8_LSPipe]>], [2, 1, 1, 1, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000387 //
388 // Single-precision FP Store
Evan Cheng41957f62010-11-03 00:40:22 +0000389 InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
390 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000391 InstrStage<1, [A8_LSPipe]>],
Evan Chengdf9da6a2010-10-01 21:40:30 +0000392 [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000393 //
394 // Double-precision FP Store
Evan Cheng41957f62010-11-03 00:40:22 +0000395 InstrItinData<IIC_fpStore64,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
396 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000397 InstrStage<1, [A8_LSPipe]>],
Evan Chengdf9da6a2010-10-01 21:40:30 +0000398 [1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000399 //
400 // FP Store Multiple
Evan Cheng41957f62010-11-03 00:40:22 +0000401 InstrItinData<IIC_fpStore_m,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
402 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000403 InstrStage<1, [A8_LSPipe]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000404 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000405 InstrStage<1, [A8_LSPipe]>], [1, 1, 1, 1]>,
Evan Cheng5a50cee2010-10-07 01:50:48 +0000406 //
407 // FP Store Multiple + update
Evan Cheng41957f62010-11-03 00:40:22 +0000408 InstrItinData<IIC_fpStore_mu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
409 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000410 InstrStage<1, [A8_LSPipe]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000411 InstrStage<1, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000412 InstrStage<1, [A8_LSPipe]>], [2, 1, 1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000413
414 // NEON
415 // Issue through integer pipeline, and execute in NEON unit.
416 //
417 // VLD1
Evan Cheng41957f62010-11-03 00:40:22 +0000418 InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
419 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000420 InstrStage<2, [A8_LSPipe]>],
421 [2, 1]>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000422 // VLD1x2
Evan Cheng41957f62010-11-03 00:40:22 +0000423 InstrItinData<IIC_VLD1x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
424 InstrStage<2, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000425 InstrStage<2, [A8_LSPipe]>],
426 [2, 2, 1]>,
427 //
428 // VLD1x3
Evan Cheng41957f62010-11-03 00:40:22 +0000429 InstrItinData<IIC_VLD1x3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
430 InstrStage<3, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000431 InstrStage<3, [A8_LSPipe]>],
432 [2, 2, 3, 1]>,
433 //
434 // VLD1x4
Evan Cheng41957f62010-11-03 00:40:22 +0000435 InstrItinData<IIC_VLD1x4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
436 InstrStage<3, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000437 InstrStage<3, [A8_LSPipe]>],
438 [2, 2, 3, 3, 1]>,
439 //
440 // VLD1u
Evan Cheng41957f62010-11-03 00:40:22 +0000441 InstrItinData<IIC_VLD1u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
442 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000443 InstrStage<2, [A8_LSPipe]>],
Evan Chengd2ca8132010-10-09 01:03:04 +0000444 [2, 2, 1]>,
445 //
446 // VLD1x2u
Evan Cheng41957f62010-11-03 00:40:22 +0000447 InstrItinData<IIC_VLD1x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
448 InstrStage<2, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000449 InstrStage<2, [A8_LSPipe]>],
450 [2, 2, 2, 1]>,
451 //
452 // VLD1x3u
Evan Cheng41957f62010-11-03 00:40:22 +0000453 InstrItinData<IIC_VLD1x3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
454 InstrStage<3, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000455 InstrStage<3, [A8_LSPipe]>],
456 [2, 2, 3, 2, 1]>,
457 //
458 // VLD1x4u
Evan Cheng41957f62010-11-03 00:40:22 +0000459 InstrItinData<IIC_VLD1x4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
460 InstrStage<3, [A8_NLSPipe], 0>,
Evan Chengd2ca8132010-10-09 01:03:04 +0000461 InstrStage<3, [A8_LSPipe]>],
462 [2, 2, 3, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000463 //
Bob Wilsonb796bbb2010-11-01 22:04:05 +0000464 // VLD1ln
465 InstrItinData<IIC_VLD1ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
466 InstrStage<3, [A8_NLSPipe], 1>,
467 InstrStage<3, [A8_LSPipe]>],
468 [3, 1, 1, 1]>,
469 //
470 // VLD1lnu
471 InstrItinData<IIC_VLD1lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
472 InstrStage<3, [A8_NLSPipe], 1>,
473 InstrStage<3, [A8_LSPipe]>],
474 [3, 2, 1, 1, 1, 1]>,
475 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000476 // VLD2
Evan Cheng41957f62010-11-03 00:40:22 +0000477 InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
478 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000479 InstrStage<2, [A8_LSPipe]>],
Evan Cheng40bb6832010-10-09 01:26:12 +0000480 [2, 2, 1]>,
481 //
482 // VLD2x2
Evan Cheng41957f62010-11-03 00:40:22 +0000483 InstrItinData<IIC_VLD2x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
484 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng40bb6832010-10-09 01:26:12 +0000485 InstrStage<3, [A8_LSPipe]>],
486 [2, 2, 3, 3, 1]>,
487 //
488 // VLD2ln
Evan Cheng41957f62010-11-03 00:40:22 +0000489 InstrItinData<IIC_VLD2ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
490 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng40bb6832010-10-09 01:26:12 +0000491 InstrStage<3, [A8_LSPipe]>],
492 [3, 3, 1, 1, 1, 1]>,
493 //
494 // VLD2u
Evan Cheng41957f62010-11-03 00:40:22 +0000495 InstrItinData<IIC_VLD2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
496 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000497 InstrStage<2, [A8_LSPipe]>],
Evan Cheng40bb6832010-10-09 01:26:12 +0000498 [2, 2, 2, 1, 1, 1]>,
499 //
500 // VLD2x2u
Evan Cheng41957f62010-11-03 00:40:22 +0000501 InstrItinData<IIC_VLD2x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
502 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng40bb6832010-10-09 01:26:12 +0000503 InstrStage<3, [A8_LSPipe]>],
504 [2, 2, 3, 3, 2, 1]>,
505 //
506 // VLD2lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000507 InstrItinData<IIC_VLD2lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
508 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng40bb6832010-10-09 01:26:12 +0000509 InstrStage<3, [A8_LSPipe]>],
510 [3, 3, 2, 1, 1, 1, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000511 //
512 // VLD3
Evan Cheng41957f62010-11-03 00:40:22 +0000513 InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
514 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng84f69e82010-10-09 01:45:34 +0000515 InstrStage<4, [A8_LSPipe]>],
516 [3, 3, 4, 1]>,
517 //
518 // VLD3ln
Evan Cheng41957f62010-11-03 00:40:22 +0000519 InstrItinData<IIC_VLD3ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
520 InstrStage<5, [A8_NLSPipe], 0>,
Evan Cheng84f69e82010-10-09 01:45:34 +0000521 InstrStage<5, [A8_LSPipe]>],
522 [4, 4, 5, 1, 1, 1, 1, 2]>,
523 //
524 // VLD3u
Evan Cheng41957f62010-11-03 00:40:22 +0000525 InstrItinData<IIC_VLD3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
526 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng84f69e82010-10-09 01:45:34 +0000527 InstrStage<4, [A8_LSPipe]>],
528 [3, 3, 4, 2, 1]>,
529 //
530 // VLD3lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000531 InstrItinData<IIC_VLD3lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
532 InstrStage<5, [A8_NLSPipe], 0>,
Evan Cheng84f69e82010-10-09 01:45:34 +0000533 InstrStage<5, [A8_LSPipe]>],
534 [4, 4, 5, 2, 1, 1, 1, 1, 1, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000535 //
536 // VLD4
Evan Cheng41957f62010-11-03 00:40:22 +0000537 InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
538 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng10dc63f2010-10-09 04:07:58 +0000539 InstrStage<4, [A8_LSPipe]>],
540 [3, 3, 4, 4, 1]>,
541 //
542 // VLD4ln
Evan Cheng41957f62010-11-03 00:40:22 +0000543 InstrItinData<IIC_VLD4ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
544 InstrStage<5, [A8_NLSPipe], 0>,
Evan Cheng10dc63f2010-10-09 04:07:58 +0000545 InstrStage<5, [A8_LSPipe]>],
546 [4, 4, 5, 5, 1, 1, 1, 1, 2, 2]>,
547 //
548 // VLD4u
Evan Cheng41957f62010-11-03 00:40:22 +0000549 InstrItinData<IIC_VLD4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
550 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng10dc63f2010-10-09 04:07:58 +0000551 InstrStage<4, [A8_LSPipe]>],
552 [3, 3, 4, 4, 2, 1]>,
553 //
554 // VLD4lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000555 InstrItinData<IIC_VLD4lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
556 InstrStage<5, [A8_NLSPipe], 0>,
Evan Cheng10dc63f2010-10-09 04:07:58 +0000557 InstrStage<5, [A8_LSPipe]>],
558 [4, 4, 5, 5, 2, 1, 1, 1, 1, 1, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000559 //
Evan Cheng60ff8792010-10-11 22:03:18 +0000560 // VST1
Evan Cheng41957f62010-11-03 00:40:22 +0000561 InstrItinData<IIC_VST1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
562 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000563 InstrStage<2, [A8_LSPipe]>],
564 [1, 1, 1]>,
565 //
566 // VST1x2
Evan Cheng41957f62010-11-03 00:40:22 +0000567 InstrItinData<IIC_VST1x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
568 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000569 InstrStage<2, [A8_LSPipe]>],
570 [1, 1, 1, 1]>,
571 //
572 // VST1x3
Evan Cheng41957f62010-11-03 00:40:22 +0000573 InstrItinData<IIC_VST1x3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
574 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000575 InstrStage<3, [A8_LSPipe]>],
576 [1, 1, 1, 1, 2]>,
577 //
578 // VST1x4
Evan Cheng41957f62010-11-03 00:40:22 +0000579 InstrItinData<IIC_VST1x4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
580 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000581 InstrStage<3, [A8_LSPipe]>],
582 [1, 1, 1, 1, 2, 2]>,
583 //
584 // VST1u
Evan Cheng41957f62010-11-03 00:40:22 +0000585 InstrItinData<IIC_VST1u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
586 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000587 InstrStage<2, [A8_LSPipe]>],
588 [2, 1, 1, 1, 1]>,
589 //
590 // VST1x2u
Evan Cheng41957f62010-11-03 00:40:22 +0000591 InstrItinData<IIC_VST1x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
592 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000593 InstrStage<2, [A8_LSPipe]>],
594 [2, 1, 1, 1, 1, 1]>,
595 //
596 // VST1x3u
Evan Cheng41957f62010-11-03 00:40:22 +0000597 InstrItinData<IIC_VST1x3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
598 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000599 InstrStage<3, [A8_LSPipe]>],
600 [2, 1, 1, 1, 1, 1, 2]>,
601 //
602 // VST1x4u
Evan Cheng41957f62010-11-03 00:40:22 +0000603 InstrItinData<IIC_VST1x4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
604 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000605 InstrStage<3, [A8_LSPipe]>],
606 [2, 1, 1, 1, 1, 1, 2, 2]>,
607 //
Bob Wilsond0c6bc22010-11-02 21:18:25 +0000608 // VST1ln
609 InstrItinData<IIC_VST1ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
610 InstrStage<2, [A8_NLSPipe], 1>,
611 InstrStage<2, [A8_LSPipe]>],
612 [1, 1, 1]>,
613 //
614 // VST1lnu
615 InstrItinData<IIC_VST1lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>,
616 InstrStage<2, [A8_NLSPipe], 1>,
617 InstrStage<2, [A8_LSPipe]>],
618 [2, 1, 1, 1, 1]>,
619 //
Evan Cheng60ff8792010-10-11 22:03:18 +0000620 // VST2
Evan Cheng41957f62010-11-03 00:40:22 +0000621 InstrItinData<IIC_VST2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
622 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000623 InstrStage<2, [A8_LSPipe]>],
624 [1, 1, 1, 1]>,
625 //
626 // VST2x2
Evan Cheng41957f62010-11-03 00:40:22 +0000627 InstrItinData<IIC_VST2x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
628 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000629 InstrStage<4, [A8_LSPipe]>],
630 [1, 1, 1, 1, 2, 2]>,
631 //
632 // VST2u
Evan Cheng41957f62010-11-03 00:40:22 +0000633 InstrItinData<IIC_VST2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
634 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000635 InstrStage<2, [A8_LSPipe]>],
636 [2, 1, 1, 1, 1, 1]>,
637 //
638 // VST2x2u
Evan Cheng41957f62010-11-03 00:40:22 +0000639 InstrItinData<IIC_VST2x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
640 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000641 InstrStage<4, [A8_LSPipe]>],
642 [2, 1, 1, 1, 1, 1, 2, 2]>,
643 //
644 // VST2ln
Evan Cheng41957f62010-11-03 00:40:22 +0000645 InstrItinData<IIC_VST2ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
646 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000647 InstrStage<2, [A8_LSPipe]>],
648 [1, 1, 1, 1]>,
649 //
650 // VST2lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000651 InstrItinData<IIC_VST2lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
652 InstrStage<2, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000653 InstrStage<2, [A8_LSPipe]>],
654 [2, 1, 1, 1, 1, 1]>,
655 //
656 // VST3
Evan Cheng41957f62010-11-03 00:40:22 +0000657 InstrItinData<IIC_VST3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
658 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000659 InstrStage<3, [A8_LSPipe]>],
660 [1, 1, 1, 1, 2]>,
661 //
662 // VST3u
Evan Cheng41957f62010-11-03 00:40:22 +0000663 InstrItinData<IIC_VST3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
664 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000665 InstrStage<3, [A8_LSPipe]>],
666 [2, 1, 1, 1, 1, 1, 2]>,
667 //
668 // VST3ln
Evan Cheng41957f62010-11-03 00:40:22 +0000669 InstrItinData<IIC_VST3ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
670 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000671 InstrStage<3, [A8_LSPipe]>],
672 [1, 1, 1, 1, 2]>,
673 //
674 // VST3lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000675 InstrItinData<IIC_VST3lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
676 InstrStage<3, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000677 InstrStage<3, [A8_LSPipe]>],
678 [2, 1, 1, 1, 1, 1, 2]>,
679 //
680 // VST4
Evan Cheng41957f62010-11-03 00:40:22 +0000681 InstrItinData<IIC_VST4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
682 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000683 InstrStage<4, [A8_LSPipe]>],
684 [1, 1, 1, 1, 2, 2]>,
685 //
686 // VST4u
Evan Cheng41957f62010-11-03 00:40:22 +0000687 InstrItinData<IIC_VST4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
688 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000689 InstrStage<4, [A8_LSPipe]>],
690 [2, 1, 1, 1, 1, 1, 2, 2]>,
691 //
692 // VST4ln
Evan Cheng41957f62010-11-03 00:40:22 +0000693 InstrItinData<IIC_VST4ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
694 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000695 InstrStage<4, [A8_LSPipe]>],
696 [1, 1, 1, 1, 2, 2]>,
697 //
698 // VST4lnu
Evan Cheng41957f62010-11-03 00:40:22 +0000699 InstrItinData<IIC_VST4lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
700 InstrStage<4, [A8_NLSPipe], 0>,
Evan Cheng60ff8792010-10-11 22:03:18 +0000701 InstrStage<4, [A8_LSPipe]>],
702 [2, 1, 1, 1, 1, 1, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000703 //
704 // Double-register FP Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000705 InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000706 InstrStage<1, [A8_NPipe]>], [5, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000707 //
708 // Quad-register FP Unary
709 // Result written in N5, but that is relative to the last cycle of multicycle,
710 // so we use 6 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000711 InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000712 InstrStage<2, [A8_NPipe]>], [6, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000713 //
714 // Double-register FP Binary
Evan Cheng41957f62010-11-03 00:40:22 +0000715 InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000716 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000717 //
Evan Cheng08cec1e2010-10-11 23:41:41 +0000718 // VPADD, etc.
Evan Cheng41957f62010-11-03 00:40:22 +0000719 InstrItinData<IIC_VPBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Cheng08cec1e2010-10-11 23:41:41 +0000720 InstrStage<1, [A8_NPipe]>], [5, 2, 2]>,
721 //
722 // Double-register FP VMUL
Evan Cheng41957f62010-11-03 00:40:22 +0000723 InstrItinData<IIC_VFMULD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Cheng08cec1e2010-10-11 23:41:41 +0000724 InstrStage<1, [A8_NPipe]>], [5, 2, 1]>,
725
726 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000727 // Quad-register FP Binary
728 // Result written in N5, but that is relative to the last cycle of multicycle,
729 // so we use 6 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000730 InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000731 InstrStage<2, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000732 //
Evan Cheng08cec1e2010-10-11 23:41:41 +0000733 // Quad-register FP VMUL
Evan Cheng41957f62010-11-03 00:40:22 +0000734 InstrItinData<IIC_VFMULQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Cheng08cec1e2010-10-11 23:41:41 +0000735 InstrStage<1, [A8_NPipe]>], [6, 2, 1]>,
736 //
Evan Chengcae6a122010-10-01 20:50:58 +0000737 // Move
Evan Cheng41957f62010-11-03 00:40:22 +0000738 InstrItinData<IIC_VMOV, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengcae6a122010-10-01 20:50:58 +0000739 InstrStage<1, [A8_NPipe]>], [1, 1]>,
740 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000741 // Move Immediate
Evan Cheng41957f62010-11-03 00:40:22 +0000742 InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000743 InstrStage<1, [A8_NPipe]>], [3]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000744 //
745 // Double-register Permute Move
Evan Cheng41957f62010-11-03 00:40:22 +0000746 InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000747 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000748 //
749 // Quad-register Permute Move
750 // Result written in N2, but that is relative to the last cycle of multicycle,
751 // so we use 3 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000752 InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000753 InstrStage<2, [A8_NLSPipe]>], [3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000754 //
755 // Integer to Single-precision Move
Evan Cheng41957f62010-11-03 00:40:22 +0000756 InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000757 InstrStage<1, [A8_NLSPipe]>], [2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000758 //
759 // Integer to Double-precision Move
Evan Cheng41957f62010-11-03 00:40:22 +0000760 InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000761 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000762 //
763 // Single-precision to Integer Move
Evan Cheng41957f62010-11-03 00:40:22 +0000764 InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000765 InstrStage<1, [A8_NLSPipe]>], [20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000766 //
767 // Double-precision to Integer Move
Evan Cheng41957f62010-11-03 00:40:22 +0000768 InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000769 InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000770 //
771 // Integer to Lane Move
Evan Cheng41957f62010-11-03 00:40:22 +0000772 InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000773 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000774 //
Evan Chengcae6a122010-10-01 20:50:58 +0000775 // Vector narrow move
Evan Cheng41957f62010-11-03 00:40:22 +0000776 InstrItinData<IIC_VMOVN , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Evan Chengef0ccad2010-10-01 21:48:06 +0000777 InstrStage<1, [A8_NPipe]>], [2, 1]>,
Evan Chengcae6a122010-10-01 20:50:58 +0000778 //
Anton Korobeynikove1676012010-04-07 18:22:11 +0000779 // Double-register Permute
Evan Cheng41957f62010-11-03 00:40:22 +0000780 InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000781 InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000782 //
783 // Quad-register Permute
784 // Result written in N2, but that is relative to the last cycle of multicycle,
785 // so we use 3 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000786 InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000787 InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000788 //
789 // Quad-register Permute (3 cycle issue)
790 // Result written in N2, but that is relative to the last cycle of multicycle,
791 // so we use 4 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000792 InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000793 InstrStage<1, [A8_NLSPipe]>,
794 InstrStage<1, [A8_NPipe], 0>,
795 InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000796 //
797 // Double-register FP Multiple-Accumulate
Evan Cheng41957f62010-11-03 00:40:22 +0000798 InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000799 InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000800 //
801 // Quad-register FP Multiple-Accumulate
802 // Result written in N9, but that is relative to the last cycle of multicycle,
803 // so we use 10 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000804 InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000805 InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000806 //
807 // Double-register Reciprical Step
Evan Cheng41957f62010-11-03 00:40:22 +0000808 InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000809 InstrStage<1, [A8_NPipe]>], [9, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000810 //
811 // Quad-register Reciprical Step
Evan Cheng41957f62010-11-03 00:40:22 +0000812 InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000813 InstrStage<2, [A8_NPipe]>], [10, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000814 //
815 // Double-register Integer Count
Evan Cheng41957f62010-11-03 00:40:22 +0000816 InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000817 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000818 //
819 // Quad-register Integer Count
820 // Result written in N3, but that is relative to the last cycle of multicycle,
821 // so we use 4 for those cases
Evan Cheng41957f62010-11-03 00:40:22 +0000822 InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000823 InstrStage<2, [A8_NPipe]>], [4, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000824 //
825 // Double-register Integer Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000826 InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000827 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000828 //
829 // Quad-register Integer Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000830 InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000831 InstrStage<1, [A8_NPipe]>], [4, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000832 //
833 // Double-register Integer Q-Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000834 InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000835 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000836 //
837 // Quad-register Integer CountQ-Unary
Evan Cheng41957f62010-11-03 00:40:22 +0000838 InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000839 InstrStage<1, [A8_NPipe]>], [4, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000840 //
841 // Double-register Integer Binary
Evan Cheng41957f62010-11-03 00:40:22 +0000842 InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000843 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000844 //
845 // Quad-register Integer Binary
Evan Cheng41957f62010-11-03 00:40:22 +0000846 InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000847 InstrStage<1, [A8_NPipe]>], [3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000848 //
849 // Double-register Integer Binary (4 cycle)
Evan Cheng41957f62010-11-03 00:40:22 +0000850 InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000851 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000852 //
853 // Quad-register Integer Binary (4 cycle)
Evan Cheng41957f62010-11-03 00:40:22 +0000854 InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000855 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000856
857 //
858 // Double-register Integer Subtract
Evan Cheng41957f62010-11-03 00:40:22 +0000859 InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000860 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000861 //
862 // Quad-register Integer Subtract
Evan Cheng41957f62010-11-03 00:40:22 +0000863 InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000864 InstrStage<1, [A8_NPipe]>], [3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000865 //
866 // Double-register Integer Subtract
Evan Cheng41957f62010-11-03 00:40:22 +0000867 InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000868 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000869 //
870 // Quad-register Integer Subtract
Evan Cheng41957f62010-11-03 00:40:22 +0000871 InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000872 InstrStage<1, [A8_NPipe]>], [4, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000873 //
874 // Double-register Integer Shift
Evan Cheng41957f62010-11-03 00:40:22 +0000875 InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000876 InstrStage<1, [A8_NPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000877 //
878 // Quad-register Integer Shift
Evan Cheng41957f62010-11-03 00:40:22 +0000879 InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000880 InstrStage<2, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000881 //
882 // Double-register Integer Shift (4 cycle)
Evan Cheng41957f62010-11-03 00:40:22 +0000883 InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000884 InstrStage<1, [A8_NPipe]>], [4, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000885 //
886 // Quad-register Integer Shift (4 cycle)
Evan Cheng41957f62010-11-03 00:40:22 +0000887 InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000888 InstrStage<2, [A8_NPipe]>], [5, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000889 //
890 // Double-register Integer Pair Add Long
Evan Cheng41957f62010-11-03 00:40:22 +0000891 InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000892 InstrStage<1, [A8_NPipe]>], [6, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000893 //
894 // Quad-register Integer Pair Add Long
Evan Cheng41957f62010-11-03 00:40:22 +0000895 InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000896 InstrStage<2, [A8_NPipe]>], [7, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000897 //
898 // Double-register Absolute Difference and Accumulate
Evan Cheng41957f62010-11-03 00:40:22 +0000899 InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000900 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000901 //
902 // Quad-register Absolute Difference and Accumulate
Evan Cheng41957f62010-11-03 00:40:22 +0000903 InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000904 InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000905
906 //
907 // Double-register Integer Multiply (.8, .16)
Evan Cheng41957f62010-11-03 00:40:22 +0000908 InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000909 InstrStage<1, [A8_NPipe]>], [6, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000910 //
911 // Double-register Integer Multiply (.32)
Evan Cheng41957f62010-11-03 00:40:22 +0000912 InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000913 InstrStage<2, [A8_NPipe]>], [7, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000914 //
915 // Quad-register Integer Multiply (.8, .16)
Evan Cheng41957f62010-11-03 00:40:22 +0000916 InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000917 InstrStage<2, [A8_NPipe]>], [7, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000918 //
919 // Quad-register Integer Multiply (.32)
Evan Cheng41957f62010-11-03 00:40:22 +0000920 InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000921 InstrStage<1, [A8_NPipe]>,
922 InstrStage<2, [A8_NLSPipe], 0>,
923 InstrStage<3, [A8_NPipe]>], [9, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000924 //
925 // Double-register Integer Multiply-Accumulate (.8, .16)
Evan Cheng41957f62010-11-03 00:40:22 +0000926 InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000927 InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000928 //
929 // Double-register Integer Multiply-Accumulate (.32)
Evan Cheng41957f62010-11-03 00:40:22 +0000930 InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000931 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000932 //
933 // Quad-register Integer Multiply-Accumulate (.8, .16)
Evan Cheng41957f62010-11-03 00:40:22 +0000934 InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000935 InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000936 //
937 // Quad-register Integer Multiply-Accumulate (.32)
Evan Cheng41957f62010-11-03 00:40:22 +0000938 InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000939 InstrStage<1, [A8_NPipe]>,
940 InstrStage<2, [A8_NLSPipe], 0>,
941 InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000942 //
943 // Double-register VEXT
Evan Cheng41957f62010-11-03 00:40:22 +0000944 InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000945 InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000946 //
947 // Quad-register VEXT
Evan Cheng41957f62010-11-03 00:40:22 +0000948 InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000949 InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000950 //
951 // VTB
Evan Cheng41957f62010-11-03 00:40:22 +0000952 InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000953 InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000954 InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000955 InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000956 InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000957 InstrStage<1, [A8_NLSPipe]>,
958 InstrStage<1, [A8_NPipe], 0>,
959 InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000960 InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000961 InstrStage<1, [A8_NLSPipe]>,
962 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000963 InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>,
Anton Korobeynikove1676012010-04-07 18:22:11 +0000964 //
965 // VTBX
Evan Cheng41957f62010-11-03 00:40:22 +0000966 InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000967 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000968 InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000969 InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000970 InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000971 InstrStage<1, [A8_NLSPipe]>,
972 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000973 InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>,
Evan Cheng41957f62010-11-03 00:40:22 +0000974 InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>,
Anton Korobeynikov928eb492010-04-18 20:31:01 +0000975 InstrStage<1, [A8_NLSPipe]>,
976 InstrStage<1, [A8_NPipe], 0>,
Jim Grosbache9e3f202010-06-28 04:27:01 +0000977 InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]>
Anton Korobeynikove1676012010-04-07 18:22:11 +0000978]>;