Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 1 | //=- ARMScheduleA8.td - ARM Cortex-A8 Scheduling Definitions -*- tablegen -*-=// |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 2 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 3 | // 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 Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 7 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
| 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 Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 16 | // Functional Units. |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 17 | def A8_Pipe0 : FuncUnit; // pipeline 0 |
| 18 | def A8_Pipe1 : FuncUnit; // pipeline 1 |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 19 | def A8_LSPipe : FuncUnit; // Load / store pipeline |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 20 | def A8_NPipe : FuncUnit; // NEON ALU/MUL pipe |
| 21 | def A8_NLSPipe : FuncUnit; // NEON LS pipe |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 22 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 23 | // Dual issue pipeline represented by A8_Pipe0 | A8_Pipe1 |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 24 | // |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 25 | def CortexA8Itineraries : ProcessorItineraries< |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 26 | [A8_Pipe0, A8_Pipe1, A8_LSPipe, A8_NPipe, A8_NLSPipe], |
Evan Cheng | 63d66ee | 2010-09-28 23:50:49 +0000 | [diff] [blame] | 27 | [], [ |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 28 | // Two fully-pipelined integer ALU pipelines |
| 29 | // |
| 30 | // No operand cycles |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 31 | InstrItinData<IIC_iALUx , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 32 | // |
| 33 | // Binary Instructions that produce a result |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 34 | 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 Cheng | 3881cb7 | 2010-09-29 22:42:35 +0000 | [diff] [blame] | 37 | InstrItinData<IIC_iALUsir,[InstrStage<1,[A8_Pipe0, A8_Pipe1]>], [2, 1, 2]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 38 | InstrItinData<IIC_iALUsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 39 | // |
Evan Cheng | 7e1bf30 | 2010-09-29 00:27:46 +0000 | [diff] [blame] | 40 | // 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 Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 46 | // Unary Instructions that produce a result |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 47 | InstrItinData<IIC_iUNAr , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 48 | InstrItinData<IIC_iUNAsi, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 49 | // |
Evan Cheng | 576a396 | 2010-09-25 00:49:35 +0000 | [diff] [blame] | 50 | // 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 Cheng | 7e1bf30 | 2010-09-29 00:27:46 +0000 | [diff] [blame] | 53 | InstrItinData<IIC_iEXTAsr,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>],[2, 2, 1, 1]>, |
Evan Cheng | 576a396 | 2010-09-25 00:49:35 +0000 | [diff] [blame] | 54 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 55 | // Compare instructions |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 56 | 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 Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 60 | // |
Evan Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 61 | // 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 Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 67 | // Move instructions, unconditional |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 68 | 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 Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 72 | InstrItinData<IIC_iMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 73 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 74 | // |
| 75 | // Move instructions, conditional |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 76 | 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 Cheng | c47f7d6 | 2010-11-13 05:14:20 +0000 | [diff] [blame] | 80 | InstrItinData<IIC_iCMOVix2,[InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 81 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [3, 1]>, |
Evan Cheng | 5d42c56 | 2010-09-29 00:49:25 +0000 | [diff] [blame] | 82 | // |
| 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 Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 88 | |
| 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 Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 93 | InstrItinData<IIC_iMUL16 , [InstrStage<1, [A8_Pipe0]>], [5, 1, 1]>, |
Evan Cheng | 8ae6ffa | 2010-10-09 01:15:04 +0000 | [diff] [blame] | 94 | InstrItinData<IIC_iMAC16 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>, |
| 95 | InstrItinData<IIC_iMUL32 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1]>, |
| 96 | InstrItinData<IIC_iMAC32 , [InstrStage<2, [A8_Pipe0]>], [6, 1, 1, 4]>, |
| 97 | InstrItinData<IIC_iMUL64 , [InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>, |
| 98 | InstrItinData<IIC_iMAC64 , [InstrStage<3, [A8_Pipe0]>], [6, 6, 1, 1]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 99 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 100 | // Integer load pipeline |
| 101 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 102 | // Immediate offset |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 103 | InstrItinData<IIC_iLoad_i , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 104 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 105 | InstrItinData<IIC_iLoad_bh_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 106 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 107 | InstrItinData<IIC_iLoad_d_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 108 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 109 | // |
| 110 | // Register offset |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 111 | InstrItinData<IIC_iLoad_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 112 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 113 | InstrItinData<IIC_iLoad_bh_r, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 114 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 115 | InstrItinData<IIC_iLoad_d_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 116 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 117 | // |
| 118 | // Scaled register offset, issues over 2 cycles |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 119 | // FIXME: lsl by 2 takes 1 cycle. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 120 | InstrItinData<IIC_iLoad_si , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 121 | InstrStage<1, [A8_LSPipe]>], [4, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 122 | InstrItinData<IIC_iLoad_bh_si,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 123 | InstrStage<1, [A8_LSPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 124 | // |
| 125 | // Immediate offset with update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 126 | InstrItinData<IIC_iLoad_iu , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 127 | InstrStage<1, [A8_LSPipe]>], [3, 2, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 128 | InstrItinData<IIC_iLoad_bh_iu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 129 | InstrStage<1, [A8_LSPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 130 | // |
| 131 | // Register offset with update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 132 | InstrItinData<IIC_iLoad_ru , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 133 | InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 134 | InstrItinData<IIC_iLoad_bh_ru,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 135 | InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 136 | InstrItinData<IIC_iLoad_d_ru, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 137 | InstrStage<1, [A8_LSPipe]>], [3, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 138 | // |
| 139 | // Scaled register offset with update, issues over 2 cycles |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 140 | InstrItinData<IIC_iLoad_siu , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
| 141 | InstrStage<2, [A8_LSPipe]>], [4, 3, 1, 1]>, |
| 142 | InstrItinData<IIC_iLoad_bh_siu,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
| 143 | InstrStage<2, [A8_LSPipe]>], [4, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 144 | // |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 145 | // Load multiple, def is the 5th operand. Pipeline 0 only. |
| 146 | // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 147 | InstrItinData<IIC_iLoad_m , [InstrStage<2, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 148 | InstrStage<2, [A8_LSPipe]>], [1, 1, 1, 1, 3]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 149 | // |
| 150 | // Load multiple + update, defs are the 1st and 5th operands. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 151 | InstrItinData<IIC_iLoad_mu , [InstrStage<3, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 152 | InstrStage<3, [A8_LSPipe]>], [2, 1, 1, 1, 3]>, |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 153 | // |
| 154 | // Load multiple plus branch |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 155 | InstrItinData<IIC_iLoad_mBr, [InstrStage<3, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 156 | InstrStage<3, [A8_LSPipe]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 157 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], |
| 158 | [1, 2, 1, 1, 3]>, |
| 159 | // |
| 160 | // Pop, def is the 3rd operand. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 161 | InstrItinData<IIC_iPop , [InstrStage<3, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 162 | InstrStage<3, [A8_LSPipe]>], [1, 1, 3]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 163 | // |
| 164 | // Push, def is the 3th operand. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 165 | InstrItinData<IIC_iPop_Br, [InstrStage<3, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 166 | InstrStage<3, [A8_LSPipe]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 167 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], |
| 168 | [1, 1, 3]>, |
Evan Cheng | 7602acb | 2010-09-08 22:57:08 +0000 | [diff] [blame] | 169 | |
Evan Cheng | bd30ce4 | 2010-09-24 22:41:41 +0000 | [diff] [blame] | 170 | // |
| 171 | // iLoadi + iALUr for t2LDRpci_pic. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 172 | InstrItinData<IIC_iLoadiALU, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 173 | InstrStage<1, [A8_LSPipe]>, |
Evan Cheng | bd30ce4 | 2010-09-24 22:41:41 +0000 | [diff] [blame] | 174 | InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [4, 1]>, |
| 175 | |
| 176 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 177 | // Integer store pipeline |
| 178 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 179 | // Immediate offset |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 180 | InstrItinData<IIC_iStore_i , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 181 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 182 | InstrItinData<IIC_iStore_bh_i,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 183 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 184 | InstrItinData<IIC_iStore_d_i, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 185 | InstrStage<1, [A8_LSPipe]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 186 | // |
| 187 | // Register offset |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 188 | InstrItinData<IIC_iStore_r , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 189 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 190 | InstrItinData<IIC_iStore_bh_r,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 191 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 192 | InstrItinData<IIC_iStore_d_r, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 193 | InstrStage<1, [A8_LSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 194 | // |
| 195 | // Scaled register offset, issues over 2 cycles |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 196 | InstrItinData<IIC_iStore_si , [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 197 | InstrStage<2, [A8_LSPipe]>], [3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 198 | InstrItinData<IIC_iStore_bh_si,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 199 | InstrStage<2, [A8_LSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 200 | // |
| 201 | // Immediate offset with update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 202 | InstrItinData<IIC_iStore_iu , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 203 | InstrStage<1, [A8_LSPipe]>], [2, 3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 204 | InstrItinData<IIC_iStore_bh_iu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 205 | InstrStage<1, [A8_LSPipe]>], [2, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 206 | // |
| 207 | // Register offset with update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 208 | InstrItinData<IIC_iStore_ru , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 209 | InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 210 | InstrItinData<IIC_iStore_bh_ru,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 211 | InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 212 | InstrItinData<IIC_iStore_d_ru, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 213 | InstrStage<1, [A8_LSPipe]>], [2, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 214 | // |
| 215 | // Scaled register offset with update, issues over 2 cycles |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 216 | InstrItinData<IIC_iStore_siu, [InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 217 | InstrStage<2, [A8_LSPipe]>], [3, 3, 1, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 218 | InstrItinData<IIC_iStore_bh_siu,[InstrStage<2, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 219 | InstrStage<2, [A8_LSPipe]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 220 | // |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 221 | // Store multiple. Pipeline 0 only. |
| 222 | // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 223 | InstrItinData<IIC_iStore_m , [InstrStage<2, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 224 | InstrStage<2, [A8_LSPipe]>]>, |
Evan Cheng | a0792de | 2010-10-06 06:27:31 +0000 | [diff] [blame] | 225 | // |
| 226 | // Store multiple + update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 227 | InstrItinData<IIC_iStore_mu, [InstrStage<2, [A8_Pipe0], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 228 | InstrStage<2, [A8_LSPipe]>], [2]>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 229 | |
Evan Cheng | dfed19f | 2010-11-03 06:34:55 +0000 | [diff] [blame] | 230 | // |
| 231 | // Preload |
| 232 | InstrItinData<IIC_Preload, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>], [2, 2]>, |
| 233 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 234 | // Branch |
| 235 | // |
| 236 | // no delay slots, so the latency of a branch is unimportant |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 237 | InstrItinData<IIC_Br , [InstrStage<1, [A8_Pipe0, A8_Pipe1]>]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 238 | |
| 239 | // VFP |
| 240 | // Issue through integer pipeline, and execute in NEON unit. We assume |
| 241 | // RunFast mode so that NFP pipeline is used for single-precision when |
| 242 | // possible. |
| 243 | // |
| 244 | // FP Special Register to Integer Register File Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 245 | InstrItinData<IIC_fpSTAT , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | e09206d | 2010-10-29 23:16:55 +0000 | [diff] [blame] | 246 | InstrStage<1, [A8_NLSPipe]>], [20]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 247 | // |
| 248 | // Single-precision FP Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 249 | InstrItinData<IIC_fpUNA32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 250 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 251 | // |
| 252 | // Double-precision FP Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 253 | InstrItinData<IIC_fpUNA64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 254 | InstrStage<4, [A8_NPipe], 0>, |
| 255 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 256 | // |
| 257 | // Single-precision FP Compare |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 258 | InstrItinData<IIC_fpCMP32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 259 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 260 | // |
| 261 | // Double-precision FP Compare |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 262 | InstrItinData<IIC_fpCMP64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 263 | InstrStage<4, [A8_NPipe], 0>, |
| 264 | InstrStage<4, [A8_NLSPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 265 | // |
| 266 | // Single to Double FP Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 267 | InstrItinData<IIC_fpCVTSD , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 268 | InstrStage<7, [A8_NPipe], 0>, |
| 269 | InstrStage<7, [A8_NLSPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 270 | // |
| 271 | // Double to Single FP Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 272 | InstrItinData<IIC_fpCVTDS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 273 | InstrStage<5, [A8_NPipe], 0>, |
| 274 | InstrStage<5, [A8_NLSPipe]>], [5, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 275 | // |
| 276 | // Single-Precision FP to Integer Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 277 | InstrItinData<IIC_fpCVTSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 278 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 279 | // |
| 280 | // Double-Precision FP to Integer Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 281 | InstrItinData<IIC_fpCVTDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 282 | InstrStage<8, [A8_NPipe], 0>, |
| 283 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 284 | // |
| 285 | // Integer to Single-Precision FP Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 286 | InstrItinData<IIC_fpCVTIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 287 | InstrStage<1, [A8_NPipe]>], [7, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 288 | // |
| 289 | // Integer to Double-Precision FP Convert |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 290 | InstrItinData<IIC_fpCVTID , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 291 | InstrStage<8, [A8_NPipe], 0>, |
| 292 | InstrStage<8, [A8_NLSPipe]>], [8, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 293 | // |
| 294 | // Single-precision FP ALU |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 295 | InstrItinData<IIC_fpALU32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 296 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 297 | // |
| 298 | // Double-precision FP ALU |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 299 | InstrItinData<IIC_fpALU64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 300 | InstrStage<9, [A8_NPipe], 0>, |
| 301 | InstrStage<9, [A8_NLSPipe]>], [9, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 302 | // |
| 303 | // Single-precision FP Multiply |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 304 | InstrItinData<IIC_fpMUL32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 305 | InstrStage<1, [A8_NPipe]>], [7, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 306 | // |
| 307 | // Double-precision FP Multiply |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 308 | InstrItinData<IIC_fpMUL64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 309 | InstrStage<11, [A8_NPipe], 0>, |
| 310 | InstrStage<11, [A8_NLSPipe]>], [11, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 311 | // |
| 312 | // Single-precision FP MAC |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 313 | InstrItinData<IIC_fpMAC32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 314 | InstrStage<1, [A8_NPipe]>], [7, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 315 | // |
| 316 | // Double-precision FP MAC |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 317 | InstrItinData<IIC_fpMAC64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 318 | InstrStage<19, [A8_NPipe], 0>, |
| 319 | InstrStage<19, [A8_NLSPipe]>], [19, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 320 | // |
| 321 | // Single-precision FP DIV |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 322 | InstrItinData<IIC_fpDIV32 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 323 | InstrStage<20, [A8_NPipe], 0>, |
| 324 | InstrStage<20, [A8_NLSPipe]>], [20, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 325 | // |
| 326 | // Double-precision FP DIV |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 327 | InstrItinData<IIC_fpDIV64 , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 328 | InstrStage<29, [A8_NPipe], 0>, |
| 329 | InstrStage<29, [A8_NLSPipe]>], [29, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 330 | // |
| 331 | // Single-precision FP SQRT |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 332 | InstrItinData<IIC_fpSQRT32, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 333 | InstrStage<19, [A8_NPipe], 0>, |
| 334 | InstrStage<19, [A8_NLSPipe]>], [19, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 335 | // |
| 336 | // Double-precision FP SQRT |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 337 | InstrItinData<IIC_fpSQRT64, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 338 | InstrStage<29, [A8_NPipe], 0>, |
| 339 | InstrStage<29, [A8_NLSPipe]>], [29, 1]>, |
Andrew Trick | 5b7a825 | 2010-10-21 03:40:16 +0000 | [diff] [blame] | 340 | |
| 341 | // |
| 342 | // Integer to Single-precision Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 343 | InstrItinData<IIC_fpMOVIS, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Andrew Trick | 5b7a825 | 2010-10-21 03:40:16 +0000 | [diff] [blame] | 344 | InstrStage<1, [A8_NPipe]>], |
| 345 | [2, 1]>, |
| 346 | // |
| 347 | // Integer to Double-precision Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 348 | InstrItinData<IIC_fpMOVID, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Andrew Trick | 5b7a825 | 2010-10-21 03:40:16 +0000 | [diff] [blame] | 349 | InstrStage<1, [A8_NPipe]>], |
| 350 | [2, 1, 1]>, |
| 351 | // |
| 352 | // Single-precision to Integer Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 353 | InstrItinData<IIC_fpMOVSI, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Andrew Trick | 5b7a825 | 2010-10-21 03:40:16 +0000 | [diff] [blame] | 354 | InstrStage<1, [A8_NPipe]>], |
| 355 | [20, 1]>, |
| 356 | // |
| 357 | // Double-precision to Integer Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 358 | InstrItinData<IIC_fpMOVDI, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Andrew Trick | 5b7a825 | 2010-10-21 03:40:16 +0000 | [diff] [blame] | 359 | InstrStage<1, [A8_NPipe]>], |
| 360 | [20, 20, 1]>, |
| 361 | |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 362 | // |
| 363 | // Single-precision FP Load |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 364 | InstrItinData<IIC_fpLoad32, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 365 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 366 | InstrStage<1, [A8_LSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 367 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 368 | // |
| 369 | // Double-precision FP Load |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 370 | InstrItinData<IIC_fpLoad64, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 371 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 372 | InstrStage<1, [A8_LSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 373 | [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 374 | // |
| 375 | // FP Load Multiple |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 376 | // FIXME: A8_LSPipe cycle time is dynamic, this assumes 3 to 4 registers. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 377 | InstrItinData<IIC_fpLoad_m, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 378 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 379 | InstrStage<1, [A8_LSPipe]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 380 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 381 | InstrStage<1, [A8_LSPipe]>], [1, 1, 1, 2]>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame] | 382 | // |
| 383 | // FP Load Multiple + update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 384 | InstrItinData<IIC_fpLoad_mu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 385 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 386 | InstrStage<1, [A8_LSPipe]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 387 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 388 | InstrStage<1, [A8_LSPipe]>], [2, 1, 1, 1, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 389 | // |
| 390 | // Single-precision FP Store |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 391 | InstrItinData<IIC_fpStore32,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 392 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 393 | InstrStage<1, [A8_LSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 394 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 395 | // |
| 396 | // Double-precision FP Store |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 397 | InstrItinData<IIC_fpStore64,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 398 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 399 | InstrStage<1, [A8_LSPipe]>], |
Evan Cheng | df9da6a | 2010-10-01 21:40:30 +0000 | [diff] [blame] | 400 | [1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 401 | // |
| 402 | // FP Store Multiple |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 403 | InstrItinData<IIC_fpStore_m,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 404 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 405 | InstrStage<1, [A8_LSPipe]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 406 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 407 | InstrStage<1, [A8_LSPipe]>], [1, 1, 1, 1]>, |
Evan Cheng | 5a50cee | 2010-10-07 01:50:48 +0000 | [diff] [blame] | 408 | // |
| 409 | // FP Store Multiple + update |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 410 | InstrItinData<IIC_fpStore_mu,[InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 411 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 412 | InstrStage<1, [A8_LSPipe]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 413 | InstrStage<1, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 414 | InstrStage<1, [A8_LSPipe]>], [2, 1, 1, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 415 | |
| 416 | // NEON |
| 417 | // Issue through integer pipeline, and execute in NEON unit. |
| 418 | // |
| 419 | // VLD1 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 420 | InstrItinData<IIC_VLD1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 421 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 422 | InstrStage<2, [A8_LSPipe]>], |
| 423 | [2, 1]>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 424 | // VLD1x2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 425 | InstrItinData<IIC_VLD1x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 426 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 427 | InstrStage<2, [A8_LSPipe]>], |
| 428 | [2, 2, 1]>, |
| 429 | // |
| 430 | // VLD1x3 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 431 | InstrItinData<IIC_VLD1x3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 432 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 433 | InstrStage<3, [A8_LSPipe]>], |
| 434 | [2, 2, 3, 1]>, |
| 435 | // |
| 436 | // VLD1x4 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 437 | InstrItinData<IIC_VLD1x4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 438 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 439 | InstrStage<3, [A8_LSPipe]>], |
| 440 | [2, 2, 3, 3, 1]>, |
| 441 | // |
| 442 | // VLD1u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 443 | InstrItinData<IIC_VLD1u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 444 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 445 | InstrStage<2, [A8_LSPipe]>], |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 446 | [2, 2, 1]>, |
| 447 | // |
| 448 | // VLD1x2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 449 | InstrItinData<IIC_VLD1x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 450 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 451 | InstrStage<2, [A8_LSPipe]>], |
| 452 | [2, 2, 2, 1]>, |
| 453 | // |
| 454 | // VLD1x3u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 455 | InstrItinData<IIC_VLD1x3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 456 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 457 | InstrStage<3, [A8_LSPipe]>], |
| 458 | [2, 2, 3, 2, 1]>, |
| 459 | // |
| 460 | // VLD1x4u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 461 | InstrItinData<IIC_VLD1x4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 462 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | d2ca813 | 2010-10-09 01:03:04 +0000 | [diff] [blame] | 463 | InstrStage<3, [A8_LSPipe]>], |
| 464 | [2, 2, 3, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 465 | // |
Bob Wilson | b796bbb | 2010-11-01 22:04:05 +0000 | [diff] [blame] | 466 | // VLD1ln |
| 467 | InstrItinData<IIC_VLD1ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Bob Wilson | 8d41294 | 2010-11-27 06:35:09 +0000 | [diff] [blame] | 468 | InstrStage<3, [A8_NLSPipe], 0>, |
Bob Wilson | b796bbb | 2010-11-01 22:04:05 +0000 | [diff] [blame] | 469 | InstrStage<3, [A8_LSPipe]>], |
| 470 | [3, 1, 1, 1]>, |
| 471 | // |
| 472 | // VLD1lnu |
| 473 | InstrItinData<IIC_VLD1lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Bob Wilson | 8d41294 | 2010-11-27 06:35:09 +0000 | [diff] [blame] | 474 | InstrStage<3, [A8_NLSPipe], 0>, |
Bob Wilson | b796bbb | 2010-11-01 22:04:05 +0000 | [diff] [blame] | 475 | InstrStage<3, [A8_LSPipe]>], |
| 476 | [3, 2, 1, 1, 1, 1]>, |
| 477 | // |
Bob Wilson | 2a0e974 | 2010-11-27 06:35:16 +0000 | [diff] [blame] | 478 | // VLD1dup |
| 479 | InstrItinData<IIC_VLD1dup, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 480 | InstrStage<2, [A8_NLSPipe], 0>, |
| 481 | InstrStage<2, [A8_LSPipe]>], |
| 482 | [2, 1]>, |
| 483 | // |
| 484 | // VLD1dupu |
| 485 | InstrItinData<IIC_VLD1dupu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 486 | InstrStage<2, [A8_NLSPipe], 0>, |
| 487 | InstrStage<2, [A8_LSPipe]>], |
| 488 | [2, 2, 1, 1]>, |
| 489 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 490 | // VLD2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 491 | InstrItinData<IIC_VLD2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 492 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 493 | InstrStage<2, [A8_LSPipe]>], |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 494 | [2, 2, 1]>, |
| 495 | // |
| 496 | // VLD2x2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 497 | InstrItinData<IIC_VLD2x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 498 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 499 | InstrStage<3, [A8_LSPipe]>], |
| 500 | [2, 2, 3, 3, 1]>, |
| 501 | // |
| 502 | // VLD2ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 503 | InstrItinData<IIC_VLD2ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 504 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 505 | InstrStage<3, [A8_LSPipe]>], |
| 506 | [3, 3, 1, 1, 1, 1]>, |
| 507 | // |
| 508 | // VLD2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 509 | InstrItinData<IIC_VLD2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 510 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 511 | InstrStage<2, [A8_LSPipe]>], |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 512 | [2, 2, 2, 1, 1, 1]>, |
| 513 | // |
| 514 | // VLD2x2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 515 | InstrItinData<IIC_VLD2x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 516 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 517 | InstrStage<3, [A8_LSPipe]>], |
| 518 | [2, 2, 3, 3, 2, 1]>, |
| 519 | // |
| 520 | // VLD2lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 521 | InstrItinData<IIC_VLD2lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 522 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 40bb683 | 2010-10-09 01:26:12 +0000 | [diff] [blame] | 523 | InstrStage<3, [A8_LSPipe]>], |
| 524 | [3, 3, 2, 1, 1, 1, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 525 | // |
Bob Wilson | b1dfa7a | 2010-11-28 06:51:26 +0000 | [diff] [blame] | 526 | // VLD2dup |
| 527 | InstrItinData<IIC_VLD2dup, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 528 | InstrStage<2, [A8_NLSPipe], 0>, |
| 529 | InstrStage<2, [A8_LSPipe]>], |
Bob Wilson | 2fcda63 | 2010-11-29 19:35:23 +0000 | [diff] [blame] | 530 | [2, 2, 1]>, |
Bob Wilson | b1dfa7a | 2010-11-28 06:51:26 +0000 | [diff] [blame] | 531 | // |
| 532 | // VLD2dupu |
| 533 | InstrItinData<IIC_VLD2dupu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 534 | InstrStage<2, [A8_NLSPipe], 0>, |
| 535 | InstrStage<2, [A8_LSPipe]>], |
Bob Wilson | 2fcda63 | 2010-11-29 19:35:23 +0000 | [diff] [blame] | 536 | [2, 2, 2, 1, 1]>, |
Bob Wilson | b1dfa7a | 2010-11-28 06:51:26 +0000 | [diff] [blame] | 537 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 538 | // VLD3 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 539 | InstrItinData<IIC_VLD3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 540 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 84f69e8 | 2010-10-09 01:45:34 +0000 | [diff] [blame] | 541 | InstrStage<4, [A8_LSPipe]>], |
| 542 | [3, 3, 4, 1]>, |
| 543 | // |
| 544 | // VLD3ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 545 | InstrItinData<IIC_VLD3ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 546 | InstrStage<5, [A8_NLSPipe], 0>, |
Evan Cheng | 84f69e8 | 2010-10-09 01:45:34 +0000 | [diff] [blame] | 547 | InstrStage<5, [A8_LSPipe]>], |
| 548 | [4, 4, 5, 1, 1, 1, 1, 2]>, |
| 549 | // |
| 550 | // VLD3u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 551 | InstrItinData<IIC_VLD3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 552 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 84f69e8 | 2010-10-09 01:45:34 +0000 | [diff] [blame] | 553 | InstrStage<4, [A8_LSPipe]>], |
| 554 | [3, 3, 4, 2, 1]>, |
| 555 | // |
| 556 | // VLD3lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 557 | InstrItinData<IIC_VLD3lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 558 | InstrStage<5, [A8_NLSPipe], 0>, |
Evan Cheng | 84f69e8 | 2010-10-09 01:45:34 +0000 | [diff] [blame] | 559 | InstrStage<5, [A8_LSPipe]>], |
| 560 | [4, 4, 5, 2, 1, 1, 1, 1, 1, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 561 | // |
Bob Wilson | 86c6d80 | 2010-11-29 19:35:29 +0000 | [diff] [blame] | 562 | // VLD3dup |
| 563 | InstrItinData<IIC_VLD3dup, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 564 | InstrStage<3, [A8_NLSPipe], 0>, |
| 565 | InstrStage<3, [A8_LSPipe]>], |
| 566 | [2, 2, 3, 1]>, |
| 567 | // |
| 568 | // VLD3dupu |
| 569 | InstrItinData<IIC_VLD3dupu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 570 | InstrStage<3, [A8_NLSPipe], 0>, |
| 571 | InstrStage<3, [A8_LSPipe]>], |
| 572 | [2, 2, 3, 2, 1, 1]>, |
| 573 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 574 | // VLD4 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 575 | InstrItinData<IIC_VLD4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 576 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 10dc63f | 2010-10-09 04:07:58 +0000 | [diff] [blame] | 577 | InstrStage<4, [A8_LSPipe]>], |
| 578 | [3, 3, 4, 4, 1]>, |
| 579 | // |
| 580 | // VLD4ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 581 | InstrItinData<IIC_VLD4ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 582 | InstrStage<5, [A8_NLSPipe], 0>, |
Evan Cheng | 10dc63f | 2010-10-09 04:07:58 +0000 | [diff] [blame] | 583 | InstrStage<5, [A8_LSPipe]>], |
| 584 | [4, 4, 5, 5, 1, 1, 1, 1, 2, 2]>, |
| 585 | // |
| 586 | // VLD4u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 587 | InstrItinData<IIC_VLD4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 588 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 10dc63f | 2010-10-09 04:07:58 +0000 | [diff] [blame] | 589 | InstrStage<4, [A8_LSPipe]>], |
| 590 | [3, 3, 4, 4, 2, 1]>, |
| 591 | // |
| 592 | // VLD4lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 593 | InstrItinData<IIC_VLD4lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 594 | InstrStage<5, [A8_NLSPipe], 0>, |
Evan Cheng | 10dc63f | 2010-10-09 04:07:58 +0000 | [diff] [blame] | 595 | InstrStage<5, [A8_LSPipe]>], |
| 596 | [4, 4, 5, 5, 2, 1, 1, 1, 1, 1, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 597 | // |
Bob Wilson | 6c4c982 | 2010-11-30 00:00:35 +0000 | [diff] [blame^] | 598 | // VLD4dup |
| 599 | InstrItinData<IIC_VLD4dup, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 600 | InstrStage<3, [A8_NLSPipe], 0>, |
| 601 | InstrStage<3, [A8_LSPipe]>], |
| 602 | [2, 2, 3, 3, 1]>, |
| 603 | // |
| 604 | // VLD4dupu |
| 605 | InstrItinData<IIC_VLD4dupu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
| 606 | InstrStage<3, [A8_NLSPipe], 0>, |
| 607 | InstrStage<3, [A8_LSPipe]>], |
| 608 | [2, 2, 3, 3, 2, 1, 1]>, |
| 609 | // |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 610 | // VST1 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 611 | InstrItinData<IIC_VST1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 612 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 613 | InstrStage<2, [A8_LSPipe]>], |
| 614 | [1, 1, 1]>, |
| 615 | // |
| 616 | // VST1x2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 617 | InstrItinData<IIC_VST1x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 618 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 619 | InstrStage<2, [A8_LSPipe]>], |
| 620 | [1, 1, 1, 1]>, |
| 621 | // |
| 622 | // VST1x3 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 623 | InstrItinData<IIC_VST1x3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 624 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 625 | InstrStage<3, [A8_LSPipe]>], |
| 626 | [1, 1, 1, 1, 2]>, |
| 627 | // |
| 628 | // VST1x4 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 629 | InstrItinData<IIC_VST1x4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 630 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 631 | InstrStage<3, [A8_LSPipe]>], |
| 632 | [1, 1, 1, 1, 2, 2]>, |
| 633 | // |
| 634 | // VST1u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 635 | InstrItinData<IIC_VST1u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 636 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 637 | InstrStage<2, [A8_LSPipe]>], |
| 638 | [2, 1, 1, 1, 1]>, |
| 639 | // |
| 640 | // VST1x2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 641 | InstrItinData<IIC_VST1x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 642 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 643 | InstrStage<2, [A8_LSPipe]>], |
| 644 | [2, 1, 1, 1, 1, 1]>, |
| 645 | // |
| 646 | // VST1x3u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 647 | InstrItinData<IIC_VST1x3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 648 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 649 | InstrStage<3, [A8_LSPipe]>], |
| 650 | [2, 1, 1, 1, 1, 1, 2]>, |
| 651 | // |
| 652 | // VST1x4u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 653 | InstrItinData<IIC_VST1x4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 654 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 655 | InstrStage<3, [A8_LSPipe]>], |
| 656 | [2, 1, 1, 1, 1, 1, 2, 2]>, |
| 657 | // |
Bob Wilson | d0c6bc2 | 2010-11-02 21:18:25 +0000 | [diff] [blame] | 658 | // VST1ln |
| 659 | InstrItinData<IIC_VST1ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Bob Wilson | 8d41294 | 2010-11-27 06:35:09 +0000 | [diff] [blame] | 660 | InstrStage<2, [A8_NLSPipe], 0>, |
Bob Wilson | d0c6bc2 | 2010-11-02 21:18:25 +0000 | [diff] [blame] | 661 | InstrStage<2, [A8_LSPipe]>], |
| 662 | [1, 1, 1]>, |
| 663 | // |
| 664 | // VST1lnu |
| 665 | InstrItinData<IIC_VST1lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1]>, |
Bob Wilson | 8d41294 | 2010-11-27 06:35:09 +0000 | [diff] [blame] | 666 | InstrStage<2, [A8_NLSPipe], 0>, |
Bob Wilson | d0c6bc2 | 2010-11-02 21:18:25 +0000 | [diff] [blame] | 667 | InstrStage<2, [A8_LSPipe]>], |
| 668 | [2, 1, 1, 1, 1]>, |
| 669 | // |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 670 | // VST2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 671 | InstrItinData<IIC_VST2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 672 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 673 | InstrStage<2, [A8_LSPipe]>], |
| 674 | [1, 1, 1, 1]>, |
| 675 | // |
| 676 | // VST2x2 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 677 | InstrItinData<IIC_VST2x2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 678 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 679 | InstrStage<4, [A8_LSPipe]>], |
| 680 | [1, 1, 1, 1, 2, 2]>, |
| 681 | // |
| 682 | // VST2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 683 | InstrItinData<IIC_VST2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 684 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 685 | InstrStage<2, [A8_LSPipe]>], |
| 686 | [2, 1, 1, 1, 1, 1]>, |
| 687 | // |
| 688 | // VST2x2u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 689 | InstrItinData<IIC_VST2x2u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 690 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 691 | InstrStage<4, [A8_LSPipe]>], |
| 692 | [2, 1, 1, 1, 1, 1, 2, 2]>, |
| 693 | // |
| 694 | // VST2ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 695 | InstrItinData<IIC_VST2ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 696 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 697 | InstrStage<2, [A8_LSPipe]>], |
| 698 | [1, 1, 1, 1]>, |
| 699 | // |
| 700 | // VST2lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 701 | InstrItinData<IIC_VST2lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 702 | InstrStage<2, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 703 | InstrStage<2, [A8_LSPipe]>], |
| 704 | [2, 1, 1, 1, 1, 1]>, |
| 705 | // |
| 706 | // VST3 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 707 | InstrItinData<IIC_VST3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 708 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 709 | InstrStage<3, [A8_LSPipe]>], |
| 710 | [1, 1, 1, 1, 2]>, |
| 711 | // |
| 712 | // VST3u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 713 | InstrItinData<IIC_VST3u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 714 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 715 | InstrStage<3, [A8_LSPipe]>], |
| 716 | [2, 1, 1, 1, 1, 1, 2]>, |
| 717 | // |
| 718 | // VST3ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 719 | InstrItinData<IIC_VST3ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 720 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 721 | InstrStage<3, [A8_LSPipe]>], |
| 722 | [1, 1, 1, 1, 2]>, |
| 723 | // |
| 724 | // VST3lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 725 | InstrItinData<IIC_VST3lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 726 | InstrStage<3, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 727 | InstrStage<3, [A8_LSPipe]>], |
| 728 | [2, 1, 1, 1, 1, 1, 2]>, |
| 729 | // |
| 730 | // VST4 |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 731 | InstrItinData<IIC_VST4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 732 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 733 | InstrStage<4, [A8_LSPipe]>], |
| 734 | [1, 1, 1, 1, 2, 2]>, |
| 735 | // |
| 736 | // VST4u |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 737 | InstrItinData<IIC_VST4u, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 738 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 739 | InstrStage<4, [A8_LSPipe]>], |
| 740 | [2, 1, 1, 1, 1, 1, 2, 2]>, |
| 741 | // |
| 742 | // VST4ln |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 743 | InstrItinData<IIC_VST4ln, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 744 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 745 | InstrStage<4, [A8_LSPipe]>], |
| 746 | [1, 1, 1, 1, 2, 2]>, |
| 747 | // |
| 748 | // VST4lnu |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 749 | InstrItinData<IIC_VST4lnu, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
| 750 | InstrStage<4, [A8_NLSPipe], 0>, |
Evan Cheng | 60ff879 | 2010-10-11 22:03:18 +0000 | [diff] [blame] | 751 | InstrStage<4, [A8_LSPipe]>], |
| 752 | [2, 1, 1, 1, 1, 1, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 753 | // |
| 754 | // Double-register FP Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 755 | InstrItinData<IIC_VUNAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 756 | InstrStage<1, [A8_NPipe]>], [5, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 757 | // |
| 758 | // Quad-register FP Unary |
| 759 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 760 | // so we use 6 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 761 | InstrItinData<IIC_VUNAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 762 | InstrStage<2, [A8_NPipe]>], [6, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 763 | // |
| 764 | // Double-register FP Binary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 765 | InstrItinData<IIC_VBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 766 | InstrStage<1, [A8_NPipe]>], [5, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 767 | // |
Evan Cheng | 08cec1e | 2010-10-11 23:41:41 +0000 | [diff] [blame] | 768 | // VPADD, etc. |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 769 | InstrItinData<IIC_VPBIND, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | 08cec1e | 2010-10-11 23:41:41 +0000 | [diff] [blame] | 770 | InstrStage<1, [A8_NPipe]>], [5, 2, 2]>, |
| 771 | // |
| 772 | // Double-register FP VMUL |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 773 | InstrItinData<IIC_VFMULD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | 08cec1e | 2010-10-11 23:41:41 +0000 | [diff] [blame] | 774 | InstrStage<1, [A8_NPipe]>], [5, 2, 1]>, |
| 775 | |
| 776 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 777 | // Quad-register FP Binary |
| 778 | // Result written in N5, but that is relative to the last cycle of multicycle, |
| 779 | // so we use 6 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 780 | InstrItinData<IIC_VBINQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 781 | InstrStage<2, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 782 | // |
Evan Cheng | 08cec1e | 2010-10-11 23:41:41 +0000 | [diff] [blame] | 783 | // Quad-register FP VMUL |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 784 | InstrItinData<IIC_VFMULQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | 08cec1e | 2010-10-11 23:41:41 +0000 | [diff] [blame] | 785 | InstrStage<1, [A8_NPipe]>], [6, 2, 1]>, |
| 786 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 787 | // Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 788 | InstrItinData<IIC_VMOV, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 789 | InstrStage<1, [A8_NPipe]>], [1, 1]>, |
| 790 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 791 | // Move Immediate |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 792 | InstrItinData<IIC_VMOVImm, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 793 | InstrStage<1, [A8_NPipe]>], [3]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 794 | // |
| 795 | // Double-register Permute Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 796 | InstrItinData<IIC_VMOVD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 797 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 798 | // |
| 799 | // Quad-register Permute Move |
| 800 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 801 | // so we use 3 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 802 | InstrItinData<IIC_VMOVQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 803 | InstrStage<2, [A8_NLSPipe]>], [3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 804 | // |
| 805 | // Integer to Single-precision Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 806 | InstrItinData<IIC_VMOVIS , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 807 | InstrStage<1, [A8_NLSPipe]>], [2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 808 | // |
| 809 | // Integer to Double-precision Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 810 | InstrItinData<IIC_VMOVID , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 811 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 812 | // |
| 813 | // Single-precision to Integer Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 814 | InstrItinData<IIC_VMOVSI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 815 | InstrStage<1, [A8_NLSPipe]>], [20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 816 | // |
| 817 | // Double-precision to Integer Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 818 | InstrItinData<IIC_VMOVDI , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 819 | InstrStage<1, [A8_NLSPipe]>], [20, 20, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 820 | // |
| 821 | // Integer to Lane Move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 822 | InstrItinData<IIC_VMOVISL , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 823 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 824 | // |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 825 | // Vector narrow move |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 826 | InstrItinData<IIC_VMOVN , [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Evan Cheng | ef0ccad | 2010-10-01 21:48:06 +0000 | [diff] [blame] | 827 | InstrStage<1, [A8_NPipe]>], [2, 1]>, |
Evan Cheng | cae6a12 | 2010-10-01 20:50:58 +0000 | [diff] [blame] | 828 | // |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 829 | // Double-register Permute |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 830 | InstrItinData<IIC_VPERMD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 831 | InstrStage<1, [A8_NLSPipe]>], [2, 2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 832 | // |
| 833 | // Quad-register Permute |
| 834 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 835 | // so we use 3 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 836 | InstrItinData<IIC_VPERMQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 837 | InstrStage<2, [A8_NLSPipe]>], [3, 3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 838 | // |
| 839 | // Quad-register Permute (3 cycle issue) |
| 840 | // Result written in N2, but that is relative to the last cycle of multicycle, |
| 841 | // so we use 4 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 842 | InstrItinData<IIC_VPERMQ3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 843 | InstrStage<1, [A8_NLSPipe]>, |
| 844 | InstrStage<1, [A8_NPipe], 0>, |
| 845 | InstrStage<2, [A8_NLSPipe]>], [4, 4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 846 | // |
| 847 | // Double-register FP Multiple-Accumulate |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 848 | InstrItinData<IIC_VMACD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 849 | InstrStage<1, [A8_NPipe]>], [9, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 850 | // |
| 851 | // Quad-register FP Multiple-Accumulate |
| 852 | // Result written in N9, but that is relative to the last cycle of multicycle, |
| 853 | // so we use 10 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 854 | InstrItinData<IIC_VMACQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 855 | InstrStage<2, [A8_NPipe]>], [10, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 856 | // |
| 857 | // Double-register Reciprical Step |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 858 | InstrItinData<IIC_VRECSD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 859 | InstrStage<1, [A8_NPipe]>], [9, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 860 | // |
| 861 | // Quad-register Reciprical Step |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 862 | InstrItinData<IIC_VRECSQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 863 | InstrStage<2, [A8_NPipe]>], [10, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 864 | // |
| 865 | // Double-register Integer Count |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 866 | InstrItinData<IIC_VCNTiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 867 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 868 | // |
| 869 | // Quad-register Integer Count |
| 870 | // Result written in N3, but that is relative to the last cycle of multicycle, |
| 871 | // so we use 4 for those cases |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 872 | InstrItinData<IIC_VCNTiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 873 | InstrStage<2, [A8_NPipe]>], [4, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 874 | // |
| 875 | // Double-register Integer Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 876 | InstrItinData<IIC_VUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 877 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 878 | // |
| 879 | // Quad-register Integer Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 880 | InstrItinData<IIC_VUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 881 | InstrStage<1, [A8_NPipe]>], [4, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 882 | // |
| 883 | // Double-register Integer Q-Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 884 | InstrItinData<IIC_VQUNAiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 885 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 886 | // |
| 887 | // Quad-register Integer CountQ-Unary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 888 | InstrItinData<IIC_VQUNAiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 889 | InstrStage<1, [A8_NPipe]>], [4, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 890 | // |
| 891 | // Double-register Integer Binary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 892 | InstrItinData<IIC_VBINiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 893 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 894 | // |
| 895 | // Quad-register Integer Binary |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 896 | InstrItinData<IIC_VBINiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 897 | InstrStage<1, [A8_NPipe]>], [3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 898 | // |
| 899 | // Double-register Integer Binary (4 cycle) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 900 | InstrItinData<IIC_VBINi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 901 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 902 | // |
| 903 | // Quad-register Integer Binary (4 cycle) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 904 | InstrItinData<IIC_VBINi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 905 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 906 | |
| 907 | // |
| 908 | // Double-register Integer Subtract |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 909 | InstrItinData<IIC_VSUBiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 910 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 911 | // |
| 912 | // Quad-register Integer Subtract |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 913 | InstrItinData<IIC_VSUBiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 914 | InstrStage<1, [A8_NPipe]>], [3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 915 | // |
| 916 | // Double-register Integer Subtract |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 917 | InstrItinData<IIC_VSUBi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 918 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 919 | // |
| 920 | // Quad-register Integer Subtract |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 921 | InstrItinData<IIC_VSUBi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 922 | InstrStage<1, [A8_NPipe]>], [4, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 923 | // |
| 924 | // Double-register Integer Shift |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 925 | InstrItinData<IIC_VSHLiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 926 | InstrStage<1, [A8_NPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 927 | // |
| 928 | // Quad-register Integer Shift |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 929 | InstrItinData<IIC_VSHLiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 930 | InstrStage<2, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 931 | // |
| 932 | // Double-register Integer Shift (4 cycle) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 933 | InstrItinData<IIC_VSHLi4D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 934 | InstrStage<1, [A8_NPipe]>], [4, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 935 | // |
| 936 | // Quad-register Integer Shift (4 cycle) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 937 | InstrItinData<IIC_VSHLi4Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 938 | InstrStage<2, [A8_NPipe]>], [5, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 939 | // |
| 940 | // Double-register Integer Pair Add Long |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 941 | InstrItinData<IIC_VPALiD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 942 | InstrStage<1, [A8_NPipe]>], [6, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 943 | // |
| 944 | // Quad-register Integer Pair Add Long |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 945 | InstrItinData<IIC_VPALiQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 946 | InstrStage<2, [A8_NPipe]>], [7, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 947 | // |
| 948 | // Double-register Absolute Difference and Accumulate |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 949 | InstrItinData<IIC_VABAD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 950 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 951 | // |
| 952 | // Quad-register Absolute Difference and Accumulate |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 953 | InstrItinData<IIC_VABAQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 954 | InstrStage<2, [A8_NPipe]>], [6, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 955 | |
| 956 | // |
| 957 | // Double-register Integer Multiply (.8, .16) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 958 | InstrItinData<IIC_VMULi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 959 | InstrStage<1, [A8_NPipe]>], [6, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 960 | // |
| 961 | // Double-register Integer Multiply (.32) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 962 | InstrItinData<IIC_VMULi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 963 | InstrStage<2, [A8_NPipe]>], [7, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 964 | // |
| 965 | // Quad-register Integer Multiply (.8, .16) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 966 | InstrItinData<IIC_VMULi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 967 | InstrStage<2, [A8_NPipe]>], [7, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 968 | // |
| 969 | // Quad-register Integer Multiply (.32) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 970 | InstrItinData<IIC_VMULi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 971 | InstrStage<1, [A8_NPipe]>, |
| 972 | InstrStage<2, [A8_NLSPipe], 0>, |
| 973 | InstrStage<3, [A8_NPipe]>], [9, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 974 | // |
| 975 | // Double-register Integer Multiply-Accumulate (.8, .16) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 976 | InstrItinData<IIC_VMACi16D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 977 | InstrStage<1, [A8_NPipe]>], [6, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 978 | // |
| 979 | // Double-register Integer Multiply-Accumulate (.32) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 980 | InstrItinData<IIC_VMACi32D, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 981 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 982 | // |
| 983 | // Quad-register Integer Multiply-Accumulate (.8, .16) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 984 | InstrItinData<IIC_VMACi16Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 985 | InstrStage<2, [A8_NPipe]>], [7, 3, 2, 2]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 986 | // |
| 987 | // Quad-register Integer Multiply-Accumulate (.32) |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 988 | InstrItinData<IIC_VMACi32Q, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 989 | InstrStage<1, [A8_NPipe]>, |
| 990 | InstrStage<2, [A8_NLSPipe], 0>, |
| 991 | InstrStage<3, [A8_NPipe]>], [9, 3, 2, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 992 | // |
| 993 | // Double-register VEXT |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 994 | InstrItinData<IIC_VEXTD, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 995 | InstrStage<1, [A8_NLSPipe]>], [2, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 996 | // |
| 997 | // Quad-register VEXT |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 998 | InstrItinData<IIC_VEXTQ, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 999 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 1000 | // |
| 1001 | // VTB |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1002 | InstrItinData<IIC_VTB1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1003 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1004 | InstrItinData<IIC_VTB2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1005 | InstrStage<2, [A8_NLSPipe]>], [3, 2, 2, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1006 | InstrItinData<IIC_VTB3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1007 | InstrStage<1, [A8_NLSPipe]>, |
| 1008 | InstrStage<1, [A8_NPipe], 0>, |
| 1009 | InstrStage<2, [A8_NLSPipe]>], [4, 2, 2, 3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1010 | InstrItinData<IIC_VTB4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1011 | InstrStage<1, [A8_NLSPipe]>, |
| 1012 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 1013 | InstrStage<2, [A8_NLSPipe]>],[4, 2, 2, 3, 3, 1]>, |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 1014 | // |
| 1015 | // VTBX |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1016 | InstrItinData<IIC_VTBX1, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1017 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1018 | InstrItinData<IIC_VTBX2, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1019 | InstrStage<2, [A8_NLSPipe]>], [3, 1, 2, 2, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1020 | InstrItinData<IIC_VTBX3, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1021 | InstrStage<1, [A8_NLSPipe]>, |
| 1022 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 1023 | InstrStage<2, [A8_NLSPipe]>],[4, 1, 2, 2, 3, 1]>, |
Evan Cheng | 41957f6 | 2010-11-03 00:40:22 +0000 | [diff] [blame] | 1024 | InstrItinData<IIC_VTBX4, [InstrStage<1, [A8_Pipe0, A8_Pipe1], 0>, |
Anton Korobeynikov | 928eb49 | 2010-04-18 20:31:01 +0000 | [diff] [blame] | 1025 | InstrStage<1, [A8_NLSPipe]>, |
| 1026 | InstrStage<1, [A8_NPipe], 0>, |
Jim Grosbach | e9e3f20 | 2010-06-28 04:27:01 +0000 | [diff] [blame] | 1027 | InstrStage<2, [A8_NLSPipe]>], [4, 1, 2, 2, 3, 3, 1]> |
Anton Korobeynikov | e167601 | 2010-04-07 18:22:11 +0000 | [diff] [blame] | 1028 | ]>; |