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