1//==- AArch64SchedTSV110.td - Huawei TSV110 Scheduling Definitions -*- tablegen -*-=// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8// 9// This file defines the machine model for Huawei TSV110 to support 10// instruction scheduling and other instruction cost heuristics. 11// 12//===----------------------------------------------------------------------===// 13 14// ===---------------------------------------------------------------------===// 15// The following definitions describe the simpler per-operand machine model. 16// This works with MachineScheduler. See llvm/MC/MCSchedule.h for details. 17 18// Huawei TSV110 scheduling machine model. 19def TSV110Model : SchedMachineModel { 20 let IssueWidth = 4; // 4 micro-ops dispatched per cycle. 21 let MicroOpBufferSize = 128; // 128 micro-op re-order buffer 22 let LoopMicroOpBufferSize = 16; 23 let LoadLatency = 4; // Optimistic load latency. 24 let MispredictPenalty = 14; // Fetch + Decode/Rename/Dispatch + Branch 25 let CompleteModel = 1; 26 27 list<Predicate> UnsupportedFeatures = !listconcat(SVEUnsupported.F, 28 PAUnsupported.F); 29} 30 31// Define each kind of processor resource and number available on the TSV110, 32// which has 8 pipelines, each with its own queue where micro-ops wait for 33// their operands and issue out-of-order to one of eight execution pipelines. 34let SchedModel = TSV110Model in { 35 def TSV110UnitALU : ProcResource<1>; // Int ALU 36 def TSV110UnitAB : ProcResource<2>; // Int ALU/BRU 37 def TSV110UnitMDU : ProcResource<1>; // Multi-Cycle 38 def TSV110UnitFSU1 : ProcResource<1>; // FP/ASIMD 39 def TSV110UnitFSU2 : ProcResource<1>; // FP/ASIMD 40 def TSV110UnitLdSt : ProcResource<2>; // Load/Store 41 42 def TSV110UnitF : ProcResGroup<[TSV110UnitFSU1, TSV110UnitFSU2]>; 43 def TSV110UnitALUAB : ProcResGroup<[TSV110UnitALU, TSV110UnitAB]>; 44 def TSV110UnitFLdSt : ProcResGroup<[TSV110UnitFSU1, TSV110UnitFSU2, TSV110UnitLdSt]>; 45} 46 47let SchedModel = TSV110Model in { 48 49//===----------------------------------------------------------------------===// 50// Map the target-defined scheduler read/write resources and latency for 51// TSV110 52 53// Integer ALU 54def : WriteRes<WriteImm, [TSV110UnitALUAB]> { let Latency = 1; } 55def : WriteRes<WriteI, [TSV110UnitALUAB]> { let Latency = 1; } 56def : WriteRes<WriteISReg, [TSV110UnitMDU]> { let Latency = 2; } 57def : WriteRes<WriteIEReg, [TSV110UnitMDU]> { let Latency = 2; } 58def : WriteRes<WriteExtr, [TSV110UnitALUAB]> { let Latency = 1; } 59def : WriteRes<WriteIS, [TSV110UnitALUAB]> { let Latency = 1; } 60 61// Integer Mul/MAC/Div 62def : WriteRes<WriteID32, [TSV110UnitMDU]> { let Latency = 12; 63 let ResourceCycles = [12]; } 64def : WriteRes<WriteID64, [TSV110UnitMDU]> { let Latency = 20; 65 let ResourceCycles = [20]; } 66def : WriteRes<WriteIM32, [TSV110UnitMDU]> { let Latency = 3; } 67def : WriteRes<WriteIM64, [TSV110UnitMDU]> { let Latency = 4; } 68 69// Load 70def : WriteRes<WriteLD, [TSV110UnitLdSt]> { let Latency = 4; } 71def : WriteRes<WriteLDIdx, [TSV110UnitLdSt]> { let Latency = 4; } 72def : WriteRes<WriteLDHi, []> { let Latency = 4; } 73 74// Pre/Post Indexing 75def : WriteRes<WriteAdr, [TSV110UnitALUAB]> { let Latency = 1; } 76 77// Store 78def : WriteRes<WriteST, [TSV110UnitLdSt]> { let Latency = 1; } 79def : WriteRes<WriteSTP, [TSV110UnitLdSt]> { let Latency = 1; } 80def : WriteRes<WriteSTIdx, [TSV110UnitLdSt]> { let Latency = 1; } 81 82// FP 83def : WriteRes<WriteF, [TSV110UnitF]> { let Latency = 2; } 84def : WriteRes<WriteFCmp, [TSV110UnitF]> { let Latency = 3; } 85def : WriteRes<WriteFCvt, [TSV110UnitF]> { let Latency = 3; } 86def : WriteRes<WriteFCopy, [TSV110UnitF]> { let Latency = 2; } 87def : WriteRes<WriteFImm, [TSV110UnitF]> { let Latency = 2; } 88def : WriteRes<WriteFMul, [TSV110UnitF]> { let Latency = 5; } 89 90// FP Div, Sqrt 91def : WriteRes<WriteFDiv, [TSV110UnitFSU1]> { let Latency = 18; } 92 93def : WriteRes<WriteV, [TSV110UnitF]> { let Latency = 4; } 94def : WriteRes<WriteVLD, [TSV110UnitFLdSt]> { let Latency = 5; } 95def : WriteRes<WriteVST, [TSV110UnitF]> { let Latency = 1; } 96 97// Branch 98def : WriteRes<WriteBr, [TSV110UnitAB]> { let Latency = 1; } 99def : WriteRes<WriteBrReg, [TSV110UnitAB]> { let Latency = 1; } 100def : WriteRes<WriteSys, []> { let Latency = 1; } 101def : WriteRes<WriteBarrier, []> { let Latency = 1; } 102def : WriteRes<WriteHint, []> { let Latency = 1; } 103 104def : WriteRes<WriteAtomic, []> { let Unsupported = 1; } 105 106// Forwarding logic is modeled only for multiply and accumulate. 107def : ReadAdvance<ReadI, 0>; 108def : ReadAdvance<ReadISReg, 0>; 109def : ReadAdvance<ReadIEReg, 0>; 110def : ReadAdvance<ReadIM, 0>; 111def : ReadAdvance<ReadIMA, 2, [WriteIM32, WriteIM64]>; 112def : ReadAdvance<ReadID, 0>; 113def : ReadAdvance<ReadExtrHi, 0>; 114def : ReadAdvance<ReadAdrBase, 0>; 115def : ReadAdvance<ReadVLD, 0>; 116 117def : InstRW<[WriteI], (instrs COPY)>; 118 119// Detailed Refinements 120//===----------------------------------------------------------------------===// 121 122// Contains all of the TSV110 specific SchedWriteRes types. The approach 123// below is to define a generic SchedWriteRes for every combination of 124// latency and microOps. The naming conventions is to use a prefix, one field 125// for latency, and one or more microOp count/type designators. 126// Prefix: TSV110Wr 127// Latency: #cyc 128// MicroOp Count/Types: #(ALU|AB|MDU|FSU1|FSU2|LdSt|ALUAB|F|FLdSt) 129// 130// e.g. TSV110Wr_6cyc_1ALU_6MDU_4LdSt means the total latency is 6 and there are 131// 1 micro-ops to be issued down one ALU pipe, six MDU pipes and four LdSt pipes. 132// 133 134//===----------------------------------------------------------------------===// 135// Define Generic 1 micro-op types 136 137def TSV110Wr_1cyc_1AB : SchedWriteRes<[TSV110UnitAB]> { let Latency = 1; } 138def TSV110Wr_1cyc_1ALU : SchedWriteRes<[TSV110UnitALU]> { let Latency = 1; } 139def TSV110Wr_1cyc_1ALUAB : SchedWriteRes<[TSV110UnitALUAB]> { let Latency = 1; } 140def TSV110Wr_1cyc_1LdSt : SchedWriteRes<[TSV110UnitLdSt]> { let Latency = 1; } 141 142def TSV110Wr_2cyc_1AB : SchedWriteRes<[TSV110UnitAB]> { let Latency = 2; } 143def TSV110Wr_2cyc_1ALU : SchedWriteRes<[TSV110UnitALU]> { let Latency = 2; } 144def TSV110Wr_2cyc_1LdSt : SchedWriteRes<[TSV110UnitLdSt]> { let Latency = 2; } 145def TSV110Wr_2cyc_1MDU : SchedWriteRes<[TSV110UnitMDU]> { let Latency = 2; } 146def TSV110Wr_2cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 2; } 147def TSV110Wr_2cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 2; } 148 149def TSV110Wr_3cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 3; } 150def TSV110Wr_3cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 3; } 151def TSV110Wr_3cyc_1MDU : SchedWriteRes<[TSV110UnitMDU]> { let Latency = 3; } 152 153def TSV110Wr_4cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 4; } 154def TSV110Wr_4cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 4; } 155def TSV110Wr_4cyc_1LdSt : SchedWriteRes<[TSV110UnitLdSt]> { let Latency = 4; } 156def TSV110Wr_4cyc_1MDU : SchedWriteRes<[TSV110UnitMDU]> { let Latency = 4; } 157 158def TSV110Wr_5cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 5; } 159def TSV110Wr_5cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 5; } 160def TSV110Wr_5cyc_1FSU2 : SchedWriteRes<[TSV110UnitFSU2]> { let Latency = 5; } 161def TSV110Wr_5cyc_1LdSt : SchedWriteRes<[TSV110UnitLdSt]> { let Latency = 5; } 162 163def TSV110Wr_6cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 6; } 164 165def TSV110Wr_7cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 7; } 166 167def TSV110Wr_8cyc_1F : SchedWriteRes<[TSV110UnitF]> { let Latency = 8; } 168 169def TSV110Wr_11cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 11; } 170 171def TSV110Wr_12cyc_1MDU : SchedWriteRes<[TSV110UnitMDU]> { let Latency = 12; } 172 173def TSV110Wr_17cyc_1FSU2 : SchedWriteRes<[TSV110UnitFSU2]> { let Latency = 17; } 174 175def TSV110Wr_18cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 18; } 176 177def TSV110Wr_20cyc_1MDU : SchedWriteRes<[TSV110UnitMDU]> { let Latency = 20; } 178 179def TSV110Wr_24cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 24; } 180 181def TSV110Wr_31cyc_1FSU2 : SchedWriteRes<[TSV110UnitFSU2]> { let Latency = 31; } 182 183def TSV110Wr_36cyc_1FSU2 : SchedWriteRes<[TSV110UnitFSU2]> { let Latency = 36; } 184 185def TSV110Wr_38cyc_1FSU1 : SchedWriteRes<[TSV110UnitFSU1]> { let Latency = 38; } 186 187def TSV110Wr_64cyc_1FSU2 : SchedWriteRes<[TSV110UnitFSU2]> { let Latency = 64; } 188 189//===----------------------------------------------------------------------===// 190// Define Generic 2 micro-op types 191 192def TSV110Wr_1cyc_1LdSt_1ALUAB : SchedWriteRes<[TSV110UnitLdSt, 193 TSV110UnitALUAB]> { 194 let Latency = 1; 195 let NumMicroOps = 2; 196} 197 198def TSV110Wr_2cyc_1LdSt_1ALUAB : SchedWriteRes<[TSV110UnitLdSt, 199 TSV110UnitALUAB]> { 200 let Latency = 2; 201 let NumMicroOps = 2; 202} 203 204def TSV110Wr_2cyc_2LdSt : SchedWriteRes<[TSV110UnitLdSt, 205 TSV110UnitLdSt]> { 206 let Latency = 2; 207 let NumMicroOps = 2; 208} 209 210def TSV110Wr_2cyc_2F : SchedWriteRes<[TSV110UnitF, 211 TSV110UnitF]> { 212 let Latency = 2; 213 let NumMicroOps = 2; 214} 215 216def TSV110Wr_2cyc_1FSU1_1FSU2 : SchedWriteRes<[TSV110UnitFSU1, 217 TSV110UnitFSU2]> { 218 let Latency = 2; 219 let NumMicroOps = 2; 220} 221 222def TSV110Wr_4cyc_2F : SchedWriteRes<[TSV110UnitF, 223 TSV110UnitF]> { 224 let Latency = 4; 225 let NumMicroOps = 2; 226} 227 228def TSV110Wr_4cyc_1FSU1_1FSU2 : SchedWriteRes<[TSV110UnitFSU1, 229 TSV110UnitFSU2]> { 230 let Latency = 4; 231 let NumMicroOps = 2; 232} 233 234def TSV110Wr_4cyc_1LdSt_1ALUAB : SchedWriteRes<[TSV110UnitLdSt, 235 TSV110UnitALUAB]> { 236 let Latency = 4; 237 let NumMicroOps = 2; 238} 239 240def TSV110Wr_5cyc_1ALU_1F : SchedWriteRes<[TSV110UnitALU, 241 TSV110UnitF]> { 242 let Latency = 5; 243 let NumMicroOps = 2; 244} 245 246def TSV110Wr_6cyc_2LdSt : SchedWriteRes<[TSV110UnitLdSt, 247 TSV110UnitLdSt]> { 248 let Latency = 6; 249 let NumMicroOps = 2; 250} 251 252def TSV110Wr_6cyc_1LdSt_1ALUAB : SchedWriteRes<[TSV110UnitLdSt, 253 TSV110UnitALUAB]> { 254 let Latency = 6; 255 let NumMicroOps = 2; 256} 257 258def TSV110Wr_7cyc_1F_1LdSt : SchedWriteRes<[TSV110UnitF, 259 TSV110UnitLdSt]> { 260 let Latency = 7; 261 let NumMicroOps = 2; 262} 263 264def TSV110Wr_8cyc_2FSU1 : SchedWriteRes<[TSV110UnitFSU1, 265 TSV110UnitFSU1]> { 266 let Latency = 8; 267 let NumMicroOps = 2; 268} 269 270 271def TSV110Wr_8cyc_1FSU1_1FSU2 : SchedWriteRes<[TSV110UnitFSU1, 272 TSV110UnitFSU2]> { 273 let Latency = 8; 274 let NumMicroOps = 2; 275} 276 277//===----------------------------------------------------------------------===// 278// Define Generic 3 micro-op types 279 280def TSV110Wr_6cyc_3F : SchedWriteRes<[TSV110UnitF, TSV110UnitF, 281 TSV110UnitF]> { 282 let Latency = 6; 283 let NumMicroOps = 3; 284} 285 286def TSV110Wr_6cyc_3LdSt : SchedWriteRes<[TSV110UnitLdSt, TSV110UnitLdSt, 287 TSV110UnitLdSt]> { 288 let Latency = 6; 289 let NumMicroOps = 3; 290} 291 292def TSV110Wr_7cyc_2F_1LdSt : SchedWriteRes<[TSV110UnitF, TSV110UnitF, 293 TSV110UnitLdSt]> { 294 let Latency = 7; 295 let NumMicroOps = 3; 296} 297 298//===----------------------------------------------------------------------===// 299// Define Generic 4 micro-op types 300 301def TSV110Wr_8cyc_4F : SchedWriteRes<[TSV110UnitF, TSV110UnitF, 302 TSV110UnitF, TSV110UnitF]> { 303 let Latency = 8; 304 let NumMicroOps = 4; 305} 306 307def TSV110Wr_8cyc_3F_1LdSt : SchedWriteRes<[TSV110UnitF, TSV110UnitF, 308 TSV110UnitF, TSV110UnitLdSt]> { 309 let Latency = 8; 310 let NumMicroOps = 4; 311} 312 313//===----------------------------------------------------------------------===// 314// Define Generic 5 micro-op types 315 316def TSV110Wr_8cyc_3F_2LdSt : SchedWriteRes<[TSV110UnitF, TSV110UnitF, TSV110UnitF, 317 TSV110UnitLdSt, TSV110UnitLdSt]> { 318 let Latency = 8; 319 let NumMicroOps = 5; 320} 321 322//===----------------------------------------------------------------------===// 323// Define Generic 8 micro-op types 324 325def TSV110Wr_10cyc_4F_4LdSt : SchedWriteRes<[TSV110UnitF, TSV110UnitF, 326 TSV110UnitF, TSV110UnitF, 327 TSV110UnitLdSt, TSV110UnitLdSt, 328 TSV110UnitLdSt, TSV110UnitLdSt]> { 329 let Latency = 10; 330 let NumMicroOps = 8; 331} 332 333 334// Branch Instructions 335// ----------------------------------------------------------------------------- 336 337def : InstRW<[TSV110Wr_1cyc_1AB], (instrs B)>; 338def : InstRW<[TSV110Wr_1cyc_1AB], (instrs BL)>; 339def : InstRW<[TSV110Wr_1cyc_1AB], (instrs BLR)>; 340def : InstRW<[TSV110Wr_1cyc_1AB], (instregex "^(BR|RET|(CBZ|CBNZ|TBZ|TBNZ))$")>; 341 342 343// Cryptography Extensions 344// ----------------------------------------------------------------------------- 345 346def : InstRW<[TSV110Wr_3cyc_1FSU1], (instregex "^AES[DE]")>; 347def : InstRW<[TSV110Wr_3cyc_1FSU1], (instregex "^AESI?MC")>; 348def : InstRW<[TSV110Wr_2cyc_1FSU1], (instregex "^SHA1SU1")>; 349def : InstRW<[TSV110Wr_2cyc_2F], (instregex "^SHA1(H|SU0)")>; 350def : InstRW<[TSV110Wr_5cyc_1FSU1], (instregex "^SHA1[CMP]")>; 351def : InstRW<[TSV110Wr_2cyc_1FSU1], (instregex "^SHA256SU0")>; 352def : InstRW<[TSV110Wr_3cyc_1FSU1], (instregex "^SHA256SU1")>; 353def : InstRW<[TSV110Wr_5cyc_1FSU1], (instregex "^SHA256(H|H2)")>; 354def TSV110ReadCRC: SchedReadAdvance<1, [TSV110Wr_2cyc_1MDU]>; 355def : InstRW<[TSV110Wr_2cyc_1MDU, TSV110ReadCRC], (instregex "^CRC32.*$")>; 356 357 358// Arithmetic and Logical Instructions 359// ----------------------------------------------------------------------------- 360 361def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "(BIC|EON|ORN)[WX]rr")>; 362def : InstRW<[TSV110Wr_1cyc_1AB], (instregex "(BIC)S[WX]rr")>; 363 364def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "(ADD|AND|EOR|ORR|SUB)[WX]r(r|i)")>; 365def : InstRW<[TSV110Wr_1cyc_1AB], (instregex "(ADD|AND|EOR|ORR|SUB)S[WX]r(r|i)")>; 366 367def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^(ADC|SBC|BIC)[WX]r$")>; 368def : InstRW<[TSV110Wr_1cyc_1AB], (instregex "^(ADC|SBC)S[WX]r$")>; 369 370def : InstRW<[TSV110Wr_2cyc_1MDU], (instregex "^(AND|BIC|EON|EOR|ORN|ORR)[WX]rs$")>; 371def : InstRW<[TSV110Wr_2cyc_1AB], (instregex "^(AND|BIC|EON|EOR|ORN|ORR)S[WX]rs$")>; 372def : InstRW<[TSV110Wr_2cyc_1MDU], (instregex "^(ADD|SUB)[WX]r(s|x|x64)$")>; 373def : InstRW<[TSV110Wr_2cyc_1AB], (instregex "^(ADD|SUB)S[WX]r(s|x|x64)$")>; 374 375def : InstRW<[TSV110Wr_1cyc_1AB], (instregex "^(CCMN|CCMP)(W|X)(r|i)$")>; 376def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^(CSEL|CSINC|CSINV|CSNEG)(W|X)r$")>; 377 378 379// Move and Shift Instructions 380// ----------------------------------------------------------------------------- 381 382def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instrs ADR, ADRP)>; 383def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^MOV[NZK][WX]i")>; 384def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "(LSLV|LSRV|ASRV|RORV)(W|X)r")>; 385 386 387// Divide and Multiply Instructions 388// ----------------------------------------------------------------------------- 389 390def : InstRW<[TSV110Wr_12cyc_1MDU], (instregex "^(S|U)DIVWr$")>; 391def : InstRW<[TSV110Wr_20cyc_1MDU], (instregex "^(S|U)DIVXr$")>; 392 393def TSV110ReadMAW : SchedReadAdvance<2, [TSV110Wr_3cyc_1MDU]>; 394def : InstRW<[TSV110Wr_3cyc_1MDU, TSV110ReadMAW], (instrs MADDWrrr, MSUBWrrr)>; 395def TSV110ReadMAQ : SchedReadAdvance<3, [TSV110Wr_4cyc_1MDU]>; 396def : InstRW<[TSV110Wr_4cyc_1MDU, TSV110ReadMAQ], (instrs MADDXrrr, MSUBXrrr)>; 397def : InstRW<[TSV110Wr_3cyc_1MDU, TSV110ReadMAW], (instregex "(S|U)(MADDL|MSUBL)rrr")>; 398def : InstRW<[TSV110Wr_4cyc_1MDU], (instregex "^(S|U)MULHrr$")>; 399 400 401// Miscellaneous Data-Processing Instructions 402// ----------------------------------------------------------------------------- 403 404def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^EXTR(W|X)rri$")>; 405def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^(S|U)?BFM(W|X)ri$")>; 406def : InstRW<[TSV110Wr_1cyc_1ALUAB], (instregex "^(CLS|CLZ|RBIT|REV(16|32)?)(W|X)r$")>; 407 408 409// Load Instructions 410// ----------------------------------------------------------------------------- 411 412def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDR(W|X)l$")>; 413def : InstRW<[TSV110Wr_4cyc_1LdSt], (instrs LDRSWl)>; 414 415def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDR(BB|HH|W|X)ui$")>; 416def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDRS(BW|BX|HW|HX|W)ui$")>; 417 418def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteAdr], (instregex "^LDR(BB|HH|W|X)(post|pre)$")>; 419def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteAdr], (instregex "^LDRS(BW|BX|HW|HX|W)(post|pre)$")>; 420 421def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDTR(B|H|W|X)i$")>; 422def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDUR(BB|HH|W|X)i$")>; 423def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDTRS(BW|BX|HW|HX|W)i$")>; 424def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^LDURS(BW|BX|HW|HX|W)i$")>; 425 426def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteLDHi], (instregex "^LDNP(W|X)i$")>; 427def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteLDHi], (instregex "^LDP(W|X)i$")>; 428def : InstRW<[TSV110Wr_4cyc_1LdSt_1ALUAB, WriteLDHi, WriteAdr],(instregex "^LDP(W|X)(post|pre)$")>; 429 430def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteLDHi], (instrs LDPSWi)>; 431def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteLDHi, WriteAdr], (instrs LDPSWpost)>; 432def : InstRW<[TSV110Wr_4cyc_1LdSt, WriteLDHi, WriteAdr], (instrs LDPSWpre)>; 433 434def : InstRW<[TSV110Wr_4cyc_1LdSt], (instrs PRFMl)>; 435def : InstRW<[TSV110Wr_4cyc_1LdSt], (instrs PRFUMi)>; 436def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^PRFMui$")>; 437def : InstRW<[TSV110Wr_4cyc_1LdSt], (instregex "^PRFMro(W|X)$")>; 438 439 440// Store Instructions 441// ----------------------------------------------------------------------------- 442 443def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STN?P(W|X)i$")>; 444def : InstRW<[TSV110Wr_1cyc_1LdSt, WriteAdr], (instregex "^STP(W|X)(post|pre)$")>; 445def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STUR(BB|HH|W|X)i$")>; 446def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STTR(B|H|W|X)i$")>; 447def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STR(BB|HH|W|X)ui$")>; 448 449def : InstRW<[TSV110Wr_1cyc_1LdSt, WriteAdr], (instregex "^STR(BB|HH|W|X)(post|pre)$")>; 450def : InstRW<[TSV110Wr_1cyc_1LdSt, WriteAdr], (instregex "^STR(BB|HH|W|X)ro(W|X)$")>; 451 452 453// FP Data Processing Instructions 454// ----------------------------------------------------------------------------- 455 456def : InstRW<[TSV110Wr_2cyc_1F], (instregex "F(ABS|NEG)(D|S)r")>; 457def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FCCMP(E)?(S|D)rr$")>; 458def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FCMP(E)?(S|D)r(r|i)$")>; 459def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FCSEL(S|D)rrr$")>; 460 461def : InstRW<[TSV110Wr_11cyc_1FSU1], (instrs FDIVSrr)>; 462def : InstRW<[TSV110Wr_18cyc_1FSU1], (instrs FDIVDrr)>; 463def : InstRW<[TSV110Wr_17cyc_1FSU2], (instrs FSQRTSr)>; 464def : InstRW<[TSV110Wr_31cyc_1FSU2], (instrs FSQRTDr)>; 465 466def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^F(MAX|MIN).+rr")>; 467 468def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^FN?M(ADD|SUB)Hrrr")>; 469def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^FN?M(ADD|SUB)Srrr")>; 470def : InstRW<[TSV110Wr_7cyc_1F], (instregex "^FN?M(ADD|SUB)Drrr")>; 471 472def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^F(ADD|SUB)Hrr")>; 473def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^F(ADD|SUB)Srr")>; 474def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^F(ADD|SUB)Drr")>; 475 476def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^F(N)?MULHrr$")>; 477def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^F(N)?MULSrr$")>; 478def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^F(N)?MULDrr$")>; 479 480def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FRINT.+r")>; 481 482 483// FP Miscellaneous Instructions 484// ----------------------------------------------------------------------------- 485 486def : InstRW<[TSV110Wr_5cyc_1ALU_1F], (instregex "^[SU]CVTF[SU][WX][SD]ri")>; 487def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^FCVT(A|M|N|P|Z)(S|U)U(W|X)(S|D)r$")>; 488def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FCVT[HSD][HSD]r")>; 489 490def : InstRW<[TSV110Wr_2cyc_1FSU1], (instregex "^FMOV(DX|WS|XD|SW|DXHigh|XDHigh)r$")>; 491def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^FMOV[SD][ir]$")>; 492 493 494// FP Load Instructions 495// ----------------------------------------------------------------------------- 496 497def : InstRW<[TSV110Wr_5cyc_1LdSt], (instregex "^LDR[DSQ]l")>; 498def : InstRW<[TSV110Wr_5cyc_1LdSt], (instregex "^LDUR[BDHSQ]i")>; 499def : InstRW<[TSV110Wr_5cyc_1LdSt, WriteAdr], (instregex "^LDR[BDHSQ](post|pre)")>; 500def : InstRW<[TSV110Wr_5cyc_1LdSt], (instregex "^LDR[BDHSQ]ui")>; 501def : InstRW<[TSV110Wr_6cyc_1LdSt_1ALUAB, ReadAdrBase], (instregex "^LDR(Q|D|H|S|B)ro(W|X)$")>; 502def : InstRW<[TSV110Wr_5cyc_1LdSt, WriteLDHi], (instregex "^LDN?P[DQS]i")>; 503def : InstRW<[TSV110Wr_5cyc_1LdSt, WriteLDHi, WriteAdr], (instregex "^LDP[DQS](post|pre)")>; 504 505 506// FP Store Instructions 507// ----------------------------------------------------------------------------- 508 509def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STUR[BHSDQ]i")>; 510def : InstRW<[TSV110Wr_1cyc_1LdSt_1ALUAB, ReadAdrBase], (instregex "^STR[BHSDQ](post|pre)")>; 511def : InstRW<[TSV110Wr_1cyc_1LdSt], (instregex "^STR[BHSDQ]ui")>; 512def : InstRW<[TSV110Wr_2cyc_1LdSt_1ALUAB, ReadAdrBase], (instregex "^STR[BHSDQ]ro[WX]")>; 513def : InstRW<[TSV110Wr_2cyc_2LdSt], (instregex "^STN?P[SDQ]i")>; 514def : InstRW<[TSV110Wr_2cyc_2LdSt, WriteAdr], (instregex "^STP[SDQ](post|pre)")>; 515 516 517// ASIMD Integer Instructions 518// ----------------------------------------------------------------------------- 519 520// Reference for forms in this group 521// D form - v8i8, v4i16, v2i32 522// Q form - v16i8, v8i16, v4i32 523// D form - v1i8, v1i16, v1i32, v1i64 524// Q form - v16i8, v8i16, v4i32, v2i64 525// D form - v8i8_v8i16, v4i16_v4i32, v2i32_v2i64 526// Q form - v16i8_v8i16, v8i16_v4i32, v4i32_v2i64 527 528// ASIMD simple arithmetic 529def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^(ABS|ADD(P)?|NEG|SUB)v")>; 530def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^[SU](ADD(L|LP|W)|SUB(L|W))v")>; 531 532// ASIMD complex arithmetic 533def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]H(ADD|SUB)v")>; 534def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^R?(ADD|SUB)HN2?v")>; 535def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]Q(ADD|SUB)v")>; 536def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^(SU|US)QADDv")>; 537def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]RHADDv")>; 538def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]ABAL?v")>; 539def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]ABDL?v")>; 540def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]ADALPv")>; 541def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^((SQ)(ABS|NEG))v")>; 542 543// ASIMD compare 544def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^CM(EQ|GE|GT|HI|HS|LE|LT|TST)v")>; 545 546// ASIMD max/min 547def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^[SU](MIN|MAX)P?v")>; 548 549// ASIMD logical 550def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^(AND|BIC|BIF|BIT|BSL|EOR|MVN|NOT|ORN|ORR)v")>; 551 552// ASIMD multiply accumulate, D-form 553def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^(MUL|ML[AS]|SQR?D(MULH))(v8i8|v4i16|v2i32|v1i8|v1i16|v1i32|v1i64)")>; 554// ASIMD multiply accumulate, Q-form 555def : InstRW<[TSV110Wr_8cyc_2FSU1], (instregex "^(MUL|ML[AS]|SQR?D(MULH))(v16i8|v8i16|v4i32)")>; 556 557// ASIMD multiply accumulate long 558def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "(S|U|SQD)(MLAL|MLSL|MULL)v.*")>; 559def : InstRW<[TSV110Wr_2cyc_1FSU1], (instregex "^PMULL(v8i8|v16i8)")>; 560def : InstRW<[TSV110Wr_2cyc_1FSU1], (instregex "^PMULL(v1i64|v2i64)")>; 561 562// ASIMD shift 563// ASIMD shift accumulate 564def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^(S|SR|U|UR)SRA")>; 565// ASIMD shift by immed, basic 566def : InstRW<[TSV110Wr_4cyc_1FSU1], 567 (instregex "SHLv","SLIv","SRIv","SHRNv","SQXTNv","SQXTUNv","UQXTNv")>; 568// ASIMD shift by immed, complex 569def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^[SU]?(Q|R){1,2}SHR")>; 570def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^SQSHLU")>; 571// ASIMD shift by register, basic, Q-form 572def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^[SU]SHL(v16i8|v8i16|v4i32|v2i64)")>; 573// ASIMD shift by register, complex, D-form 574def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^[SU][QR]{1,2}SHL(v1i8|v1i16|v1i32|v1i64|v8i8|v4i16|v2i32|b|d|h|s)")>; 575// ASIMD shift by register, complex, Q-form 576def : InstRW<[TSV110Wr_4cyc_1FSU1], (instregex "^[SU][QR]{1,2}SHL(v16i8|v8i16|v4i32|v2i64)")>; 577 578// ASIMD reduction 579// ASIMD arith, reduce, 4H/4S 580def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU]?ADDL?V(v8i8|v4i16|v2i32)v$")>; 581// ASIMD arith, reduce, 8B/8H 582def : InstRW<[TSV110Wr_8cyc_1FSU1_1FSU2], (instregex "^[SU]?ADDL?V(v8i16|v4i32)v$")>; 583// ASIMD arith, reduce, 16B 584def : InstRW<[TSV110Wr_8cyc_1FSU1_1FSU2], (instregex "^[SU]?ADDL?Vv16i8v$")>; 585 586// ASIMD max/min, reduce, 4H/4S 587def : InstRW<[TSV110Wr_4cyc_1FSU1_1FSU2], (instregex "^[SU](MIN|MAX)V(v4i16|v4i32)v$")>; 588// ASIMD max/min, reduce, 8B/8H 589def : InstRW<[TSV110Wr_8cyc_1FSU1_1FSU2], (instregex "^[SU](MIN|MAX)V(v8i8|v8i16)v$")>; 590// ASIMD max/min, reduce, 16B 591def : InstRW<[TSV110Wr_8cyc_1FSU1_1FSU2], (instregex "^[SU](MIN|MAX)Vv16i8v$")>; 592 593 594// Vector - Floating Point 595// ----------------------------------------------------------------------------- 596 597// Reference for forms in this group 598// D form - v2f32 599// Q form - v4f32, v2f64 600// D form - 32, 64 601// D form - v1i32, v1i64 602// D form - v2i32 603// Q form - v4i32, v2i64 604 605// ASIMD FP sign manipulation 606def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^FABSv")>; 607def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^FNEGv")>; 608 609// ASIMD FP compare 610def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^F(AC|CM)(EQ|GE|GT|LE|LT)v")>; 611 612// ASIMD FP convert 613def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^FCVT[AMNPZ][SU]v")>; 614def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FCVT(L)v")>; 615def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^FCVT(N|XN)v")>; 616 617// ASIMD FP divide, D-form, F32 618def : InstRW<[TSV110Wr_11cyc_1FSU1], (instregex "FDIVv2f32")>; 619// ASIMD FP divide, Q-form, F32 620def : InstRW<[TSV110Wr_24cyc_1FSU1], (instregex "FDIVv4f32")>; 621// ASIMD FP divide, Q-form, F64 622def : InstRW<[TSV110Wr_38cyc_1FSU1], (instregex "FDIVv2f64")>; 623 624// ASIMD FP SQRT 625def : InstRW<[TSV110Wr_17cyc_1FSU2], (instrs FSQRTv2f32)>; 626def : InstRW<[TSV110Wr_36cyc_1FSU2], (instrs FSQRTv4f32)>; 627def : InstRW<[TSV110Wr_64cyc_1FSU2], (instrs FSQRTv2f64)>; 628 629// ASIMD FP max,min 630def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^F(MAX|MIN)(NM)?v")>; 631def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^F(MAX|MIN)(NM)?Pv")>; 632def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^F(MAX|MIN)(NM)?Vv")>; 633 634// ASIMD FP add 635def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^F(ADD|ADDP|SUB)v")>; 636 637// ASIMD FP multiply 638def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^FMULX?v")>; 639 640 641// ASIMD Miscellaneous Instructions 642// ----------------------------------------------------------------------------- 643 644def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^(CLS|CLZ|CNT)v")>; 645def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^(DUP|INS)v.+lane")>; 646def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^REV(16|32|64)v")>; 647def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^(UZP|ZIP)[12]v")>; 648 649def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^EXTv")>; 650def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^XTNv")>; 651def : InstRW<[TSV110Wr_2cyc_1FSU1_1FSU2], (instregex "^RBITv")>; 652 653def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^(INS|DUP)v.+gpr")>; 654 655def : InstRW<[TSV110Wr_3cyc_1FSU1], (instregex "^[SU]MOVv")>; 656 657// ASIMD table lookup, D-form 658def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^TB[LX]v8i8One")>; 659def : InstRW<[TSV110Wr_4cyc_2F], (instregex "^TB[LX]v8i8Two")>; 660def : InstRW<[TSV110Wr_6cyc_3F], (instregex "^TB[LX]v8i8Three")>; 661def : InstRW<[TSV110Wr_8cyc_4F], (instregex "^TB[LX]v8i8Four")>; 662// ASIMD table lookup, Q-form 663def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^TB[LX]v16i8One")>; 664def : InstRW<[TSV110Wr_4cyc_2F], (instregex "^TB[LX]v16i8Two")>; 665def : InstRW<[TSV110Wr_6cyc_3F], (instregex "^TB[LX]v16i8Three")>; 666def : InstRW<[TSV110Wr_8cyc_4F], (instregex "^TB[LX]v16i8Four")>; 667 668def : InstRW<[TSV110Wr_2cyc_1F], (instregex "^FMOVv")>; 669 670def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^FRINT[AIMNPXZ]v")>; 671def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^[SU]CVTFv")>; 672def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^[FU](RECP|RSQRT)(E|X)v")>; 673 674 675// ASIMD Load Instructions 676// ----------------------------------------------------------------------------- 677 678def : InstRW<[TSV110Wr_7cyc_1F_1LdSt], (instregex "^LD1Rv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 679def : InstRW<[TSV110Wr_7cyc_1F_1LdSt, WriteAdr], (instregex "^LD1Rv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 680def : InstRW<[TSV110Wr_7cyc_2F_1LdSt], (instregex "^LD2Rv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 681def : InstRW<[TSV110Wr_7cyc_2F_1LdSt, WriteAdr], (instregex "^LD2Rv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 682def : InstRW<[TSV110Wr_8cyc_3F_1LdSt], (instregex "^LD3Rv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 683def : InstRW<[TSV110Wr_8cyc_3F_1LdSt, WriteAdr], (instregex "^LD3Rv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 684def : InstRW<[TSV110Wr_8cyc_3F_2LdSt], (instregex "^LD4Rv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 685def : InstRW<[TSV110Wr_8cyc_3F_2LdSt, WriteAdr], (instregex "^LD4Rv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 686 687def : InstRW<[TSV110Wr_7cyc_1F_1LdSt], (instregex "LD1i(8|16|32|64)$")>; 688def : InstRW<[TSV110Wr_7cyc_1F_1LdSt, WriteAdr], (instregex "LD1i(8|16|32|64)_POST$")>; 689def : InstRW<[TSV110Wr_7cyc_2F_1LdSt], (instregex "LD2i(8|16|32|64)$")>; 690def : InstRW<[TSV110Wr_7cyc_2F_1LdSt, WriteAdr], (instregex "LD2i(8|16|32|64)_POST$")>; 691def : InstRW<[TSV110Wr_8cyc_3F_1LdSt], (instregex "LD3i(8|16|32|64)$")>; 692def : InstRW<[TSV110Wr_8cyc_3F_1LdSt, WriteAdr], (instregex "LD3i(8|16|32|64)_POST$")>; 693def : InstRW<[TSV110Wr_8cyc_3F_2LdSt], (instregex "LD4i(8|16|32|64)$")>; 694def : InstRW<[TSV110Wr_8cyc_3F_2LdSt, WriteAdr], (instregex "LD4i(8|16|32|64)_POST$")>; 695 696def : InstRW<[TSV110Wr_5cyc_1LdSt], (instregex "^LD1Onev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 697def : InstRW<[TSV110Wr_5cyc_1LdSt, WriteAdr], (instregex "^LD1Onev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 698def : InstRW<[TSV110Wr_5cyc_1LdSt], (instregex "^LD1Twov(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 699def : InstRW<[TSV110Wr_5cyc_1LdSt, WriteAdr], (instregex "^LD1Twov(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 700def : InstRW<[TSV110Wr_6cyc_3LdSt], (instregex "^LD1Threev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 701def : InstRW<[TSV110Wr_6cyc_3LdSt, WriteAdr], (instregex "^LD1Threev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 702def : InstRW<[TSV110Wr_6cyc_2LdSt], (instregex "^LD1Fourv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 703def : InstRW<[TSV110Wr_6cyc_2LdSt, WriteAdr], (instregex "^LD1Fourv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 704 705def : InstRW<[TSV110Wr_7cyc_2F_1LdSt], (instregex "^LD2Twov(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 706def : InstRW<[TSV110Wr_7cyc_2F_1LdSt, WriteAdr], (instregex "^LD2Twov(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 707 708def : InstRW<[TSV110Wr_8cyc_3F_1LdSt], (instregex "^LD3Threev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 709def : InstRW<[TSV110Wr_8cyc_3F_1LdSt, WriteAdr], (instregex "^LD3Threev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 710 711def : InstRW<[TSV110Wr_10cyc_4F_4LdSt], (instregex "^LD4Fourv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 712def : InstRW<[TSV110Wr_10cyc_4F_4LdSt, WriteAdr], (instregex "^LD4Fourv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 713 714 715// ASIMD Store Instructions 716// ----------------------------------------------------------------------------- 717 718def : InstRW<[TSV110Wr_3cyc_1F], (instregex "ST1i(8|16|32|64)$")>; 719def : InstRW<[TSV110Wr_3cyc_1F, WriteAdr], (instregex "ST1i(8|16|32|64)_POST$")>; 720def : InstRW<[TSV110Wr_4cyc_1F], (instregex "ST2i(8|16|32|64)$")>; 721def : InstRW<[TSV110Wr_4cyc_1F, WriteAdr], (instregex "ST2i(8|16|32|64)_POST$")>; 722def : InstRW<[TSV110Wr_5cyc_1F], (instregex "ST3i(8|16|32|64)$")>; 723def : InstRW<[TSV110Wr_5cyc_1F, WriteAdr], (instregex "ST3i(8|16|32|64)_POST$")>; 724def : InstRW<[TSV110Wr_6cyc_1F], (instregex "ST4i(8|16|32|64)$")>; 725def : InstRW<[TSV110Wr_6cyc_1F, WriteAdr], (instregex "ST4i(8|16|32|64)_POST$")>; 726 727def : InstRW<[TSV110Wr_3cyc_1F], (instregex "^ST1Onev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 728def : InstRW<[TSV110Wr_3cyc_1F, WriteAdr], (instregex "^ST1Onev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 729def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^ST1Twov(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 730def : InstRW<[TSV110Wr_4cyc_1F, WriteAdr], (instregex "^ST1Twov(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 731def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^ST1Threev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 732def : InstRW<[TSV110Wr_5cyc_1F, WriteAdr], (instregex "^ST1Threev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 733def : InstRW<[TSV110Wr_6cyc_1F], (instregex "^ST1Fourv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 734def : InstRW<[TSV110Wr_6cyc_1F, WriteAdr], (instregex "^ST1Fourv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 735 736def : InstRW<[TSV110Wr_4cyc_1F], (instregex "^ST2Twov(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 737def : InstRW<[TSV110Wr_4cyc_1F, WriteAdr], (instregex "^ST2Twov(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 738 739def : InstRW<[TSV110Wr_5cyc_1F], (instregex "^ST3Threev(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 740def : InstRW<[TSV110Wr_5cyc_1F, WriteAdr], (instregex "^ST3Threev(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 741 742def : InstRW<[TSV110Wr_8cyc_1F], (instregex "^ST4Fourv(8b|4h|2s|1d|16b|8h|4s|2d)$")>; 743def : InstRW<[TSV110Wr_8cyc_1F, WriteAdr], (instregex "^ST4Fourv(8b|4h|2s|1d|16b|8h|4s|2d)_POST$")>; 744 745} // SchedModel = TSV110Model 746