xref: /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ARMScheduleM55.td (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1bdd1243dSDimitry Andric//==- ARMScheduleM55.td - Arm Cortex-M55 Scheduling Definitions -*- tablegen -*-=//
2bdd1243dSDimitry Andric//
3bdd1243dSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4bdd1243dSDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
5bdd1243dSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6bdd1243dSDimitry Andric//
7bdd1243dSDimitry Andric//===----------------------------------------------------------------------===//
8bdd1243dSDimitry Andric//
9bdd1243dSDimitry Andric// This file defines the scheduling model for the Arm Cortex-M55 processors.
10bdd1243dSDimitry Andric//
11bdd1243dSDimitry Andric//===----------------------------------------------------------------------===//
12bdd1243dSDimitry Andric
13bdd1243dSDimitry Andric// ===---------------------------------------------------------------------===//
14bdd1243dSDimitry Andric// Cortex-M55 is a lot like the M4/M33 in terms of scheduling. It technically
15bdd1243dSDimitry Andric// has an extra pipeline stage but that is unimportant for scheduling, just
16bdd1243dSDimitry Andric// starting our model a stage later. The main points of interest over an
17bdd1243dSDimitry Andric// Cortex-M4 are MVE instructions and the ability to dual issue thumb1
18bdd1243dSDimitry Andric// instructions.
19bdd1243dSDimitry Andric//
20bdd1243dSDimitry Andric//
21bdd1243dSDimitry Andric// MVE
22bdd1243dSDimitry Andric//
23bdd1243dSDimitry Andric// The EPU pipelines now include both MVE and FP instructions. It has four
24bdd1243dSDimitry Andric// pipelines across 4 stages (E1-E4). These pipelines are "control",
25bdd1243dSDimitry Andric// "load/store", "integer" and "float/mul". We start the schedule at E2 to line
26bdd1243dSDimitry Andric// up with the rest of the pipeline we model, and take the latency as the time
27bdd1243dSDimitry Andric// between reading registers (almost always in E2) and register write (or
28bdd1243dSDimitry Andric// forward, if it allows it). This mean that a lot of instructions (including
29bdd1243dSDimitry Andric// loads) actually take 1 cycle (amazingly).
30bdd1243dSDimitry Andric//
31bdd1243dSDimitry Andric// Each MVE instruction needs to take 2 beats, each performing 64bits of the
32bdd1243dSDimitry Andric// 128bit vector operation. So long as the beats are to different pipelines,
33bdd1243dSDimitry Andric// the execution of the first-beat-of-the-second-instruction can overlap with
34bdd1243dSDimitry Andric// the second-beat-of-the-first. For example a sequence of VLDR;VADD;VMUL;VSTR
35bdd1243dSDimitry Andric// can look like this is a pipeline:
36bdd1243dSDimitry Andric//          1    2    3    4    5
37bdd1243dSDimitry Andric// LD/ST  : VLDR VLDR      VSTR VSTR
38bdd1243dSDimitry Andric// INTEGER:      VADD VADD
39bdd1243dSDimitry Andric// FP/MUL :           VMUL VMUL
40bdd1243dSDimitry Andric//
41bdd1243dSDimitry Andric// But a sequence of VLDR;VLDRB;VADD;VSTR because the loads cannot overlap,
42bdd1243dSDimitry Andric// looks like:
43bdd1243dSDimitry Andric//          1     2     3     4     5    6
44bdd1243dSDimitry Andric// LD/ST  : VLDR  VLDR  VLDRB VLDRB VSTR VSTR
45bdd1243dSDimitry Andric// INTEGER:                   VADD  VADD
46bdd1243dSDimitry Andric//
47bdd1243dSDimitry Andric// For this schedule, we currently model latencies and pipelines well for each
48bdd1243dSDimitry Andric// instruction. MVE instruction take two beats, modelled using
49*5f757f3fSDimitry Andric// ReleaseAtCycles=[2].
50bdd1243dSDimitry Andric//
51bdd1243dSDimitry Andric//
52bdd1243dSDimitry Andric// Dual Issue
53bdd1243dSDimitry Andric//
54bdd1243dSDimitry Andric// Cortex-M55 can dual issue two 16-bit T1 instructions providing one is one of
55bdd1243dSDimitry Andric// NOPs, ITs, Brs, ADDri/SUBri, UXTB/H, SXTB/H and MOVri's. NOPs and IT's are
56bdd1243dSDimitry Andric// not relevant (they will not appear when scheduling), Brs are only at the end
57bdd1243dSDimitry Andric// of the block. The others are more useful, and where the problems arise.
58bdd1243dSDimitry Andric//
59bdd1243dSDimitry Andric// The first problem comes from the fact that we will only be seeing Thumb2
60bdd1243dSDimitry Andric// instructions at the point in the pipeline where we do the scheduling. The
61bdd1243dSDimitry Andric// Thumb2SizeReductionPass has not been run yet. Especially pre-ra scheduling
62bdd1243dSDimitry Andric// (where the scheduler has the most freedom) we can only really guess at which
63bdd1243dSDimitry Andric// instructions will become thumb1 instructions. We are quite optimistic, and
64bdd1243dSDimitry Andric// may get some things wrong as a result.
65bdd1243dSDimitry Andric//
66bdd1243dSDimitry Andric// The other problem is one of telling llvm what to do exactly. The way we
67bdd1243dSDimitry Andric// attempt to meld this is:
68bdd1243dSDimitry Andric//  Set IssueWidth to 2 to allow 2 instructions per cycle.
69bdd1243dSDimitry Andric//  All instructions we cannot dual issue are "SingleIssue=1" (MVE/FP and T2
70bdd1243dSDimitry Andric//    instructions)
71bdd1243dSDimitry Andric//  We guess at another set of instructions that will become T1 instruction.
72bdd1243dSDimitry Andric//    These become the primary instruction in a dual issue pair (the normal
73bdd1243dSDimitry Andric//    one). These use normal resources and latencies, but set SingleIssue = 0.
74bdd1243dSDimitry Andric//  We guess at another set of instructions that will be shrank down into T1 DI
75bdd1243dSDimitry Andric//    instructions (add, sub, mov's, etc), which become the secondary. These
76bdd1243dSDimitry Andric//    don't use a resource, and set SingleIssue = 0.
77bdd1243dSDimitry Andric//
78bdd1243dSDimitry Andric// So our guessing is a bit rough. It may be possible to improve this by moving
79bdd1243dSDimitry Andric// T2SizeReduction pass earlier in the pipeline, for example, so that at least
80bdd1243dSDimitry Andric// Post-RA scheduling sees what is T1/T2. It may also be possible to write a
81bdd1243dSDimitry Andric// custom instruction matcher for more accurately guess at T1 instructions.
82bdd1243dSDimitry Andric
83bdd1243dSDimitry Andric
84bdd1243dSDimitry Andricdef CortexM55Model : SchedMachineModel {
85bdd1243dSDimitry Andric  let MicroOpBufferSize = 0;      // Explicitly set to zero since M55 is in-order.
86bdd1243dSDimitry Andric  let IssueWidth = 2;             // There is some dual-issue support in M55.
87bdd1243dSDimitry Andric  let MispredictPenalty = 3;      // Default is 10
88bdd1243dSDimitry Andric  let LoadLatency = 4;            // Default is 4
89bdd1243dSDimitry Andric  let PostRAScheduler = 1;
90bdd1243dSDimitry Andric  let FullInstRWOverlapCheck = 1;
91bdd1243dSDimitry Andric
92bdd1243dSDimitry Andric  let CompleteModel = 0;
93bdd1243dSDimitry Andric  let UnsupportedFeatures = [IsARM, HasNEON, HasDotProd, HasMatMulInt8, HasZCZ,
94bdd1243dSDimitry Andric                             IsNotMClass, HasV8, HasV8_3a, HasTrustZone, HasDFB,
95bdd1243dSDimitry Andric                             IsWindows];
96bdd1243dSDimitry Andric}
97bdd1243dSDimitry Andric
98bdd1243dSDimitry Andric
99bdd1243dSDimitry Andriclet SchedModel = CortexM55Model in {
100bdd1243dSDimitry Andric
101bdd1243dSDimitry Andric//===----------------------------------------------------------------------===//
102bdd1243dSDimitry Andric// Define each kind of processor resource and number available.
103bdd1243dSDimitry Andric
104bdd1243dSDimitry Andric// Modeling each pipeline as a ProcResource using the BufferSize = 0 since
105bdd1243dSDimitry Andric// M55 is in-order.
106bdd1243dSDimitry Andricdef M55UnitALU : ProcResource<1> { let BufferSize = 0; } // Int ALU
107bdd1243dSDimitry Andricdef M55UnitVecALU : ProcResource<1> { let BufferSize = 0; } // MVE integer pipe
108bdd1243dSDimitry Andricdef M55UnitVecFPALU : ProcResource<1> { let BufferSize = 0; } // MVE float pipe
109bdd1243dSDimitry Andricdef M55UnitLoadStore : ProcResource<1> { let BufferSize = 0; } // MVE load/store pipe
110bdd1243dSDimitry Andricdef M55UnitVecSys : ProcResource<1> { let BufferSize = 0; } // MVE control/sys pipe
111bdd1243dSDimitry Andric
112bdd1243dSDimitry Andric// Some VMOV's can go down either pipeline. FIXME: This M55Write2IntFPE2 is
113bdd1243dSDimitry Andric// intended to model the VMOV taking either Int or FP for 2 cycles. It is not
114bdd1243dSDimitry Andric// clear if the llvm scheduler is using it like we want though.
115bdd1243dSDimitry Andricdef M55UnitVecIntFP: ProcResGroup<[M55UnitVecALU, M55UnitVecFPALU]>;
116bdd1243dSDimitry Andric
117bdd1243dSDimitry Andric
118bdd1243dSDimitry Andric//===----------------------------------------------------------------------===//
119bdd1243dSDimitry Andric// Subtarget-specific SchedWrite types which both map the ProcResources and
120bdd1243dSDimitry Andric// set the latency.
121bdd1243dSDimitry Andric
122bdd1243dSDimitry Andric//=====//
123bdd1243dSDimitry Andric// ALU //
124bdd1243dSDimitry Andric//=====//
125bdd1243dSDimitry Andric
126bdd1243dSDimitry Andric// Generic writes for Flags, GRPs and other extra operands (eg post-inc, vadc flags, vaddlv etc)
127bdd1243dSDimitry Andricdef M55WriteLat0  : SchedWriteRes<[]>  { let Latency = 0; let NumMicroOps = 0; }
128bdd1243dSDimitry Andricdef M55WriteLat1  : SchedWriteRes<[]>  { let Latency = 1; let NumMicroOps = 0; }
129bdd1243dSDimitry Andricdef M55WriteLat2  : SchedWriteRes<[]>  { let Latency = 2; let NumMicroOps = 0; }
130bdd1243dSDimitry Andric
131bdd1243dSDimitry Andric// DX instructions are ALU instructions that take a single cycle. The
132bdd1243dSDimitry Andric// instructions that may be shrank to T1 (and can be dual issued) are
133bdd1243dSDimitry Andric// SingleIssue = 0. The others are SingleIssue = 1.
134bdd1243dSDimitry Andriclet SingleIssue = 0, Latency = 1 in {
135bdd1243dSDimitry Andric    def : WriteRes<WriteALU, [M55UnitALU]>;
136bdd1243dSDimitry Andric    def : WriteRes<WriteCMP, [M55UnitALU]>;
137bdd1243dSDimitry Andric    def : WriteRes<WriteBr, [M55UnitALU]>;
138bdd1243dSDimitry Andric    def : WriteRes<WriteBrL, [M55UnitALU]>;
139bdd1243dSDimitry Andric    def : WriteRes<WriteBrTbl, [M55UnitALU]>;
140bdd1243dSDimitry Andric    def : WriteRes<WriteST, [M55UnitALU]>;
141bdd1243dSDimitry Andric    def M55WriteDX_DI : SchedWriteRes<[M55UnitALU]>;
142bdd1243dSDimitry Andric}
143bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 1 in {
144bdd1243dSDimitry Andric    def : WriteRes<WritePreLd, [M55UnitALU]>;
145bdd1243dSDimitry Andric    def M55WriteDX_SI : SchedWriteRes<[M55UnitALU]>;
146bdd1243dSDimitry Andric}
147bdd1243dSDimitry Andric
148bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_SI], (instregex "t2BF[CI]", "t2CPS", "t2DBG",
149bdd1243dSDimitry Andric          "t2MRS", "t2MSR", "t2SEL", "t2SG", "t2TT")>;
150bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_SI], (instregex "t2SUBS_PC_LR", "COPY")>;
151bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_SI], (instregex "t2CS(EL|INC|INV|NEG)")>;
152bdd1243dSDimitry Andric// Thumb 2 instructions that could be reduced to a thumb 1 instruction and can
153bdd1243dSDimitry Andric// be dual issued with one of the above. This list is optimistic.
154bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_DI], (instregex "t2ADDC?rr$", "t2ADDrr$",
155bdd1243dSDimitry Andric           "t2ADDSrr$", "t2ANDrr$", "t2ASRr[ir]$", "t2BICrr$", "t2CMNzrr$",
156bdd1243dSDimitry Andric           "t2CMPr[ir]$", "t2EORrr$", "t2LSLr[ir]$", "t2LSRr[ir]$", "t2MVNr$",
157bdd1243dSDimitry Andric           "t2ORRrr$", "t2REV(16|SH)?$", "t2RORrr$", "t2RSBr[ir]$", "t2RSBSri$",
158bdd1243dSDimitry Andric           "t2SBCrr$", "t2SUBS?rr$", "t2TEQrr$", "t2TSTrr$", "t2STRi12$",
159bdd1243dSDimitry Andric           "t2STRs$", "t2STRBi12$", "t2STRBs$", "t2STRHi12$", "t2STRHs$",
160bdd1243dSDimitry Andric           "t2STR_POST$", "t2STMIA$", "t2STMIA_UPD$", "t2STMDB$", "t2STMDB_UPD$")>;
161bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_DI], (instregex "t2SETPAN$", "tADC$", "tADDhirr$",
162bdd1243dSDimitry Andric           "tADDrSP$", "tADDrSPi$", "tADDrr$", "tADDspi$", "tADDspr$", "tADR$",
163bdd1243dSDimitry Andric           "tAND$", "tASRri$", "tASRrr$", "tBIC$", "tBKPT$", "tCBNZ$", "tCBZ$",
164bdd1243dSDimitry Andric           "tCMNz$", "tCMPhir$", "tCMPi8$", "tCMPr$", "tCPS$", "tEOR$", "tHINT$",
165bdd1243dSDimitry Andric           "tHLT$", "tLSLri$", "tLSLrr$", "tLSRri$", "tLSRrr$", "tMOVSr$",
166bdd1243dSDimitry Andric           "tMUL$", "tMVN$", "tORR$", "tPICADD$", "tPOP$", "tPUSH$", "tREV$",
167bdd1243dSDimitry Andric           "tREV16$", "tREVSH$", "tROR$", "tRSB$", "tSBC$", "tSETEND$",
168bdd1243dSDimitry Andric           "tSTMIA_UPD$", "tSTRBi$", "tSTRBr$", "tSTRHi$", "tSTRHr$", "tSTRi$",
169bdd1243dSDimitry Andric           "tSTRr$", "tSTRspi$", "tSUBrr$", "tSUBspi$", "tSVC$", "tTRAP$",
170bdd1243dSDimitry Andric           "tTST$", "tUDF$")>;
171bdd1243dSDimitry Andricdef : InstRW<[M55WriteDX_DI], (instregex "tB$", "tBLXNSr$", "tBLXr$", "tBX$",
172bdd1243dSDimitry Andric           "tBXNS$", "tBcc$")>;
173bdd1243dSDimitry Andric
174bdd1243dSDimitry Andric
175bdd1243dSDimitry Andric// CX instructions take 2 (or more) cycles. Again T1 instructions may be dual
176bdd1243dSDimitry Andric// issues (SingleIssue = 0)
177bdd1243dSDimitry Andriclet SingleIssue = 0, Latency = 2 in {
178bdd1243dSDimitry Andric    def : WriteRes<WriteLd, [M55UnitALU]>;
179bdd1243dSDimitry Andric    def M55WriteCX_DI  : SchedWriteRes<[M55UnitALU]>;
180bdd1243dSDimitry Andric}
181bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 2 in {
182bdd1243dSDimitry Andric    def : WriteRes<WriteALUsi, [M55UnitALU]>;
183bdd1243dSDimitry Andric    def : WriteRes<WriteALUsr, [M55UnitALU]>;
184bdd1243dSDimitry Andric    def : WriteRes<WriteALUSsr, [M55UnitALU]>;
185bdd1243dSDimitry Andric    def : WriteRes<WriteCMPsi, [M55UnitALU]>;
186bdd1243dSDimitry Andric    def : WriteRes<WriteCMPsr, [M55UnitALU]>;
187bdd1243dSDimitry Andric    def : WriteRes<WriteDIV, [M55UnitALU]>;
188bdd1243dSDimitry Andric    def M55WriteCX_SI  : SchedWriteRes<[M55UnitALU]>;
189bdd1243dSDimitry Andric}
190bdd1243dSDimitry Andric
191bdd1243dSDimitry Andricdef : SchedAlias<WriteMUL16, M55WriteCX_SI>;
192bdd1243dSDimitry Andricdef : SchedAlias<WriteMUL32, M55WriteCX_SI>;
193bdd1243dSDimitry Andricdef : SchedAlias<WriteMUL64Lo, M55WriteCX_SI>;
194bdd1243dSDimitry Andricdef : WriteRes<WriteMUL64Hi, []> { let Latency = 2; }
195bdd1243dSDimitry Andricdef : SchedAlias<WriteMAC16, M55WriteCX_SI>;
196bdd1243dSDimitry Andricdef : SchedAlias<WriteMAC32, M55WriteCX_SI>;
197bdd1243dSDimitry Andricdef : SchedAlias<WriteMAC64Lo, M55WriteCX_SI>;
198bdd1243dSDimitry Andricdef : WriteRes<WriteMAC64Hi, []> { let Latency = 2; }
199bdd1243dSDimitry Andric
200bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI], (instregex "t2CDP", "t2CLREX", "t2[DI][MS]B",
201bdd1243dSDimitry Andric           "t2MCR", "t2MOVSs[ir]", "t2MRC", "t2MUL", "t2STC")>;
202bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI], (instregex "t2Q", "t2[SU](ADD|ASX|BFX|DIV)",
203bdd1243dSDimitry Andric           "t2[SU]H(ADD|ASX|SUB|SAX)", "t2SM[LM]", "t2S(SAT|SUB|SAX)", "t2UQ",
204bdd1243dSDimitry Andric           "t2USA", "t2USUB", "t2UXTA[BH]")>;
205bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI], (instregex "t2LD[AC]", "t2STL", "t2STRD")>;
206bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI], (instregex "MVE_[SU]Q?R?SH[LR]$")>;
207bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI, M55WriteLat2], (instregex "MVE_ASRL", "MVE_LSLL",
208bdd1243dSDimitry Andric            "MVE_LSRL", "MVE_[SU]Q?R?SH[LR]L")>;
209bdd1243dSDimitry Andric// This may be higher in practice, but that likely doesn't make a difference
210bdd1243dSDimitry Andric// for scheduling
211bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_SI], (instregex "t2CLRM")>;
212bdd1243dSDimitry Andric
213bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_DI], (instregex "t2LDR[BH]?i12$", "t2LDRS?[BH]?s$",
214bdd1243dSDimitry Andric           "t2LDM")>;
215bdd1243dSDimitry Andricdef : InstRW<[M55WriteCX_DI], (instregex "tLDM", "tLDRBi$", "tLDRBr$",
216bdd1243dSDimitry Andric           "tLDRHi$", "tLDRHr$", "tLDRSB$", "tLDRSH$", "tLDRi$", "tLDRpci$",
217bdd1243dSDimitry Andric           "tLDRr$", "tLDRspi$")>;
218bdd1243dSDimitry Andric
219bdd1243dSDimitry Andric// Dual Issue instructions
220bdd1243dSDimitry Andriclet Latency = 1, SingleIssue = 0 in {
221bdd1243dSDimitry Andric    def : WriteRes<WriteNoop, []>;
222bdd1243dSDimitry Andric    def M55WriteDI : SchedWriteRes<[]>;
223bdd1243dSDimitry Andric}
224bdd1243dSDimitry Andric
225bdd1243dSDimitry Andricdef : InstRW<[M55WriteDI], (instregex "tADDi[38]$", "tSUBi[38]$", "tMOVi8$",
226bdd1243dSDimitry Andric           "tMOVr$", "tUXT[BH]$", "tSXT[BH]$")>;
227bdd1243dSDimitry Andric// Thumb 2 instructions that could be reduced to a dual issuable Thumb 1
228bdd1243dSDimitry Andric// instruction above.
229bdd1243dSDimitry Andricdef : InstRW<[M55WriteDI], (instregex "t2ADDS?ri$", "t2MOV[ir]$", "t2MOVi16$",
230bdd1243dSDimitry Andric           "t2MOVr$", "t2SUBS?ri$", "t2[US]XT[BH]$")>;
231bdd1243dSDimitry Andricdef : InstRW<[M55WriteDI], (instregex "t2IT", "IT")>;
232bdd1243dSDimitry Andric
233bdd1243dSDimitry Andric
234bdd1243dSDimitry Andricdef : InstRW<[M55WriteLat0], (instregex "t2LoopDec")>;
235bdd1243dSDimitry Andric
236bdd1243dSDimitry Andric// Forwarding
237bdd1243dSDimitry Andric
238bdd1243dSDimitry Andric// No forwarding in the ALU normally
239bdd1243dSDimitry Andricdef : ReadAdvance<ReadALU, 0>;
240bdd1243dSDimitry Andricdef : ReadAdvance<ReadALUsr, 0>;
241bdd1243dSDimitry Andricdef : ReadAdvance<ReadMUL, 0>;
242bdd1243dSDimitry Andricdef : ReadAdvance<ReadMAC, 0>;
243bdd1243dSDimitry Andric
244bdd1243dSDimitry Andric//=============//
245bdd1243dSDimitry Andric// MVE and VFP //
246bdd1243dSDimitry Andric//=============//
247bdd1243dSDimitry Andric
248*5f757f3fSDimitry Andric// The Writes that take ReleaseAtCycles=[2] are MVE instruction, the others VFP.
249bdd1243dSDimitry Andric
250bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 1 in {
251bdd1243dSDimitry Andric  def M55WriteLSE2 : SchedWriteRes<[M55UnitLoadStore]>;
252bdd1243dSDimitry Andric  def M55WriteIntE2 : SchedWriteRes<[M55UnitVecALU]>;
253bdd1243dSDimitry Andric  def M55WriteFloatE2 : SchedWriteRes<[M55UnitVecFPALU]>;
254bdd1243dSDimitry Andric  def M55WriteSysE2 : SchedWriteRes<[M55UnitVecSys]>;
255bdd1243dSDimitry Andric
256*5f757f3fSDimitry Andric  def M55Write2LSE2 : SchedWriteRes<[M55UnitLoadStore]> { let ReleaseAtCycles=[2]; }
257*5f757f3fSDimitry Andric  def M55Write2IntE2 : SchedWriteRes<[M55UnitVecALU]> { let ReleaseAtCycles=[2]; }
258*5f757f3fSDimitry Andric  def M55Write2FloatE2 : SchedWriteRes<[M55UnitVecFPALU]> { let ReleaseAtCycles=[2]; }
259*5f757f3fSDimitry Andric  def M55Write2IntFPE2 : SchedWriteRes<[M55UnitVecIntFP]> { let ReleaseAtCycles=[2]; }
260bdd1243dSDimitry Andric}
261bdd1243dSDimitry Andric
262bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 2 in {
263bdd1243dSDimitry Andric  def M55WriteLSE3 : SchedWriteRes<[M55UnitLoadStore]>;
264bdd1243dSDimitry Andric  def M55WriteIntE3 : SchedWriteRes<[M55UnitVecALU]>;
265bdd1243dSDimitry Andric  def M55WriteFloatE3 : SchedWriteRes<[M55UnitVecFPALU]>;
266bdd1243dSDimitry Andric
267*5f757f3fSDimitry Andric  def M55Write2LSE3 : SchedWriteRes<[M55UnitLoadStore]> { let ReleaseAtCycles=[2]; }
268*5f757f3fSDimitry Andric  def M55Write2IntE3 : SchedWriteRes<[M55UnitVecALU]> { let ReleaseAtCycles=[2]; }
269*5f757f3fSDimitry Andric  def M55Write2FloatE3 : SchedWriteRes<[M55UnitVecFPALU]> { let ReleaseAtCycles=[2]; }
270bdd1243dSDimitry Andric}
271bdd1243dSDimitry Andric
272bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 3 in {
273*5f757f3fSDimitry Andric  def M55Write2IntE3Plus1 : SchedWriteRes<[M55UnitVecALU]> { let ReleaseAtCycles=[2]; }
274bdd1243dSDimitry Andric
275bdd1243dSDimitry Andric  // Same as M55Write2IntE3/M55Write2FloatE3 above, but longer latency and no forwarding into stores
276*5f757f3fSDimitry Andric  def M55Write2IntE4NoFwd : SchedWriteRes<[M55UnitVecALU]> { let ReleaseAtCycles=[2]; }
277*5f757f3fSDimitry Andric  def M55Write2FloatE4NoFwd : SchedWriteRes<[M55UnitVecFPALU]> { let ReleaseAtCycles=[2]; }
278bdd1243dSDimitry Andric}
279bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 4 in {
280*5f757f3fSDimitry Andric  def M55Write2IntE3Plus2 : SchedWriteRes<[M55UnitVecALU]> { let ReleaseAtCycles=[2]; }
281bdd1243dSDimitry Andric  def M55WriteFloatE3Plus2 : SchedWriteRes<[M55UnitVecFPALU]>;
282bdd1243dSDimitry Andric}
283bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 9 in {
284bdd1243dSDimitry Andric  def M55WriteFloatE3Plus7 : SchedWriteRes<[M55UnitVecFPALU]>;
285bdd1243dSDimitry Andric}
286bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 15 in {
287bdd1243dSDimitry Andric  def M55WriteFloatE3Plus13 : SchedWriteRes<[M55UnitVecFPALU]>;
288bdd1243dSDimitry Andric}
289bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 16 in {
290bdd1243dSDimitry Andric  def M55WriteFloatE3Plus14 : SchedWriteRes<[M55UnitVecFPALU]>;
291bdd1243dSDimitry Andric}
292bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 21 in {
293bdd1243dSDimitry Andric  def M55WriteFloatE3Plus19 : SchedWriteRes<[M55UnitVecFPALU]>;
294bdd1243dSDimitry Andric}
295bdd1243dSDimitry Andric// VMUL (Double precision) + VADD (Double precision)
296bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 24 in {
297bdd1243dSDimitry Andric  def M55WriteFloatE3Plus22 : SchedWriteRes<[M55UnitVecFPALU]>;
298bdd1243dSDimitry Andric}
299bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 30 in {
300bdd1243dSDimitry Andric  def M55WriteFloatE3Plus28 : SchedWriteRes<[M55UnitVecFPALU]>;
301bdd1243dSDimitry Andric}
302bdd1243dSDimitry Andriclet SingleIssue = 1, Latency = 36 in {
303bdd1243dSDimitry Andric  def M55WriteFloatE3Plus34 : SchedWriteRes<[M55UnitVecFPALU]>;
304bdd1243dSDimitry Andric}
305bdd1243dSDimitry Andric
306bdd1243dSDimitry Andricdef M55Read0 : SchedReadAdvance<0>;
307bdd1243dSDimitry Andricdef M55Read1 : SchedReadAdvance<1, [M55Write2LSE3, M55Write2IntE3, M55Write2FloatE3]>;
308bdd1243dSDimitry Andricdef M55GatherQRead : SchedReadAdvance<-4>;
309bdd1243dSDimitry Andric
310bdd1243dSDimitry Andric// MVE instructions
311bdd1243dSDimitry Andric
312bdd1243dSDimitry Andric// Loads and Stores of different kinds
313bdd1243dSDimitry Andric
314bdd1243dSDimitry Andric// Normal loads
315bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2], (instregex "MVE_VLDR(B|H|W)(S|U)(8|16|32)$")>;
316bdd1243dSDimitry Andric// Pre/post inc loads
317bdd1243dSDimitry Andricdef : InstRW<[M55WriteLat1, M55Write2LSE2], (instregex "MVE_VLDR(B|H|W)(S|U)(8|16|32)_(post|pre)$")>;
318bdd1243dSDimitry Andric// Gather loads
319bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE3, M55Read0, M55GatherQRead], (instregex "MVE_VLDR(B|H|W|D)(S|U)(8|16|32|64)_rq")>;
320bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE3, M55GatherQRead], (instregex "MVE_VLDR(B|H|W|D)(S|U)(8|16|32|64)_qi$")>;
321bdd1243dSDimitry Andricdef : InstRW<[M55WriteLat1, M55Write2LSE3, M55GatherQRead], (instregex "MVE_VLDR(W|D)U(32|64)_qi_pre$")>;
322bdd1243dSDimitry Andric// Interleaving loads
323bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2], (instregex "MVE_VLD[24][0-3]_(8|16|32)$")>;
324bdd1243dSDimitry Andric// Interleaving loads with wb
325bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2, M55WriteLat1], (instregex "MVE_VLD[24][0-3]_(8|16|32)_wb$")>;
326bdd1243dSDimitry Andric
327bdd1243dSDimitry Andric// Normal stores
328bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2, M55Read1], (instregex "MVE_VSTR(B|H|W)U?(8|16|32)$")>;
329bdd1243dSDimitry Andric// Pre/post inc stores
330bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2, M55Read1], (instregex "MVE_VSTR(B|H|W)U?(8|16|32)_(post|pre)$")>;
331bdd1243dSDimitry Andric// Scatter stores
332bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2, M55Read0, M55Read0, M55GatherQRead], (instregex "MVE_VSTR(B|H|W|D)(8|16|32|64)_rq")>;
333bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2, M55Read0, M55GatherQRead], (instregex "MVE_VSTR(B|H|W|D)(8|16|32|64)_qi")>;
334bdd1243dSDimitry Andric// Interleaving stores
335bdd1243dSDimitry Andricdef : InstRW<[M55Write2LSE2], (instregex "MVE_VST(2|4)")>;
336bdd1243dSDimitry Andric
337bdd1243dSDimitry Andric// Integer pipe operations
338bdd1243dSDimitry Andric
339bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3Plus1], (instregex "MVE_VABAV")>;
340bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VABD(u|s)")>;
341bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VABS(u|s)")>;
342bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_VADC")>;
343bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VADD(_qr_)?i")>;
344bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VAND")>;
345bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VBIC")>;
346bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VBRSR")>;
347bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VCADDi")>;
348bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VCLS")>;
349bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VCLZ")>;
350bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_V(D|I)?W?DUP")>;
351bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VEOR")>;
352bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VHADD")>;
353bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VHCADD")>;
354bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VHSUB")>;
355bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_V(MAX|MIN)A?(s|u)")>;
356*5f757f3fSDimitry Andricdef : InstRW<[M55Write2IntE3Plus2], (instregex "MVE_V(MAX|MIN)A?V(s|u)8")>;
357bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3Plus1], (instregex "MVE_V(MAX|MIN)A?V(s|u)16")>;
358*5f757f3fSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_V(MAX|MIN)A?V(s|u)32")>;
359bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE4NoFwd], (instregex "MVE_VMOVN")>;
360bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VMOVL")>;
361bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_VMULL[BT]p")>;
362bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VMVN")>;
363bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VNEG(u|s)")>;
364bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VORN")>;
365bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VORR")>;
366bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VPSEL")>;
367bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MQPRCopy")>;
368bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VQABS")>;
369bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VQADD")>;
370bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE4NoFwd], (instregex "MVE_VQMOV")>;
371bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VQNEG")>;
372bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VSHL")>;
373bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_V[QR]SHL")>;
374bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_VQRSHL")>;
375bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE4NoFwd], (instregex "MVE_VQ?R?SHRU?N")>;
376bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VSHR_")>;
377bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_VRSHR_")>;
378bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VQSUB")>;
379bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VREV")>;
380bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VRHADD")>;
381bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE3], (instregex "MVE_VSBC")>;
382bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VSLI")>;
383bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VSRI")>;
384bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntE2], (instregex "MVE_VSUB(_qr_)?i")>;
385bdd1243dSDimitry Andric
386bdd1243dSDimitry Andric// FP/Mul pipe operations.
387bdd1243dSDimitry Andric
388bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VABDf")>;
389bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VABSf")>;
390bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VADDf")>;
391bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VADD_qr_f")>;
392bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3, M55WriteLat1], (instregex "MVE_VADDLV")>;
393bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VADDV")>;
394bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VCADDf")>;
395bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCMLA")>;
396bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCMUL")>;
397bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VCMP(i|s|u)", "MVE_VPTv(4|8|16)(i|s|u)")>;
398bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VCMPf", "MVE_VPTv(4|8)f")>;
399bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCVTf16(u|s)16")>;
400bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCVTf32(u|s)32")>;
401bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCVT(u|s)16f16")>;
402bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCVT(u|s)32f32")>;
403bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE4NoFwd], (instregex "MVE_VCVTf16f32")>;
404bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VCVTf32f16")>;
405bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VFM(A|S)")>;
406bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_V(MIN|MAX)NM")>;
407bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VMOV_from_lane")>;
408bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VMOV_rr_q")>;
409bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VMOVi")>;
410bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VMUL(_qr_)?[if]")>;
411bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VQ?R?D?MULH")>;
412bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VQ?D?MULL[TB]?[su]")>;
413bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VQDMULL_qr_")>;
414bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VQ?R?D?ML(A|S)[^L]")>;
415bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3, M55WriteLat1], (instregex "MVE_VR?ML(A|S)L")>;
416bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VNEGf")>;
417bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VRINTf")>;
418bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE2], (instregex "MVE_VSUBf")>;
419bdd1243dSDimitry Andricdef : InstRW<[M55Write2FloatE3], (instregex "MVE_VSUB_qr_f")>;
420bdd1243dSDimitry Andric
421bdd1243dSDimitry Andric// Some VMOV's can go down either pipeline.
422bdd1243dSDimitry Andricdef : InstRW<[M55Write2IntFPE2], (instregex "MVE_VMOV_to_lane", "MVE_VMOV_q_rr")>;
423bdd1243dSDimitry Andric
424bdd1243dSDimitry Andricdef : InstRW<[M55WriteSysE2], (instregex "MVE_VCTP")>;
425bdd1243dSDimitry Andricdef : InstRW<[M55WriteSysE2], (instregex "MVE_VPNOT")>;
426bdd1243dSDimitry Andricdef : InstRW<[M55WriteSysE2], (instregex "MVE_VPST")>;
427bdd1243dSDimitry Andric
428bdd1243dSDimitry Andric
429bdd1243dSDimitry Andric// VFP instructions
430bdd1243dSDimitry Andric
431bdd1243dSDimitry Andricdef : SchedAlias<WriteFPCVT, M55WriteFloatE3>;
432bdd1243dSDimitry Andricdef : SchedAlias<WriteFPMOV, M55WriteFloatE3>;
433bdd1243dSDimitry Andricdef : SchedAlias<WriteFPALU32, M55WriteFloatE3>;
434bdd1243dSDimitry Andricdef : SchedAlias<WriteFPALU64, M55WriteFloatE3Plus13>;
435bdd1243dSDimitry Andricdef : SchedAlias<WriteFPMUL32, M55WriteFloatE3>;
436bdd1243dSDimitry Andricdef : SchedAlias<WriteFPMUL64, M55WriteFloatE3Plus19>;
437bdd1243dSDimitry Andricdef : SchedAlias<WriteFPMAC32, M55WriteFloatE3Plus2>;
438bdd1243dSDimitry Andricdef : SchedAlias<WriteFPMAC64, M55WriteFloatE3Plus34>;
439bdd1243dSDimitry Andricdef : SchedAlias<WriteFPDIV32, M55WriteFloatE3Plus14>;
440bdd1243dSDimitry Andricdef : SchedAlias<WriteFPDIV64, M55WriteFloatE3Plus28>;
441bdd1243dSDimitry Andricdef : SchedAlias<WriteFPSQRT32, M55WriteFloatE3Plus14>;
442bdd1243dSDimitry Andricdef : SchedAlias<WriteFPSQRT64, M55WriteFloatE3Plus28>;
443bdd1243dSDimitry Andricdef : ReadAdvance<ReadFPMUL, 0>;
444bdd1243dSDimitry Andricdef : ReadAdvance<ReadFPMAC, 0>;
445bdd1243dSDimitry Andric
446bdd1243dSDimitry Andricdef : InstRW<[M55WriteLSE3], (instregex "VLD")>;
447bdd1243dSDimitry Andricdef : InstRW<[M55WriteLSE2], (instregex "VST")>;
448bdd1243dSDimitry Andricdef : InstRW<[M55WriteLSE3], (instregex "VLLD", "VLST")>;
449bdd1243dSDimitry Andric
450bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VABS(H|S|D)")>;
451bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VCVT(A|M|N|P|R|X|Z)(S|U)(H|S|D)")>;
452bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VCVT(B|T)(DH|HD)")>;
453bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE2], (instregex "VCMPZ?(E|H|S|D)")>;
454bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3Plus7], (instregex "VDIVH")>;
455bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VFN?M(A|S)(H|S)")>; // VFMA
456bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3Plus22], (instregex "VFN?M(A|S)D")>; // VFMA
457bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VFP_V(MAX|MIN)NM")>;
458bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VINSH$", "VMOVH$", "VMOVHR$", "VMOVSR$", "VMOVDRR$")>; // VINS, VMOVX, to-FP reg movs
459bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE2], (instregex "VMOVD$", "VMOVS$", "VMOVR")>; // Other VMOV's
460bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE2], (instregex "FCONSTH", "FCONSTS", "FCONSTD")>;
461bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE2], (instregex "VGETLNi32", "VSETLNi32")>;
462bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE2], (instregex "VMSR", "VMRS")>;
463bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3Plus2], (instregex "VN?ML(A|S)H")>; // VMLA
464bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VNEG(H|S|D)")>;
465bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VRINT(A|M|N|P|R|X|Z)(H|S|D)")>;
466bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3], (instregex "VSEL..(H|S|D)")>;
467bdd1243dSDimitry Andricdef : InstRW<[M55WriteFloatE3Plus7], (instregex "VSQRTH")>;
468bdd1243dSDimitry Andric
469bdd1243dSDimitry Andricdef : WriteRes<WriteVLD1, []>;
470bdd1243dSDimitry Andricdef : WriteRes<WriteVLD2, []>;
471bdd1243dSDimitry Andricdef : WriteRes<WriteVLD3, []>;
472bdd1243dSDimitry Andricdef : WriteRes<WriteVLD4, []>;
473bdd1243dSDimitry Andricdef : WriteRes<WriteVST1, []>;
474bdd1243dSDimitry Andricdef : WriteRes<WriteVST2, []>;
475bdd1243dSDimitry Andricdef : WriteRes<WriteVST3, []>;
476bdd1243dSDimitry Andricdef : WriteRes<WriteVST4, []>;
477bdd1243dSDimitry Andric
478bdd1243dSDimitry Andric}
479