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