2017-10-08 20:52:54 +08:00
|
|
|
//=- X86SchedSkylake.td - X86 Skylake Server Scheduling ------*- tablegen -*-=//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the machine model for Skylake Server to support
|
|
|
|
// instruction scheduling and other instruction cost heuristics.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def SkylakeServerModel : SchedMachineModel {
|
|
|
|
// All x86 instructions are modeled as a single micro-op, and SKylake can
|
|
|
|
// decode 6 instructions per cycle.
|
|
|
|
let IssueWidth = 6;
|
|
|
|
let MicroOpBufferSize = 224; // Based on the reorder buffer.
|
|
|
|
let LoadLatency = 5;
|
|
|
|
let MispredictPenalty = 14;
|
2018-03-26 01:25:37 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Based on the LSD (loop-stream detector) queue size and benchmarking data.
|
|
|
|
let LoopMicroOpBufferSize = 50;
|
|
|
|
|
|
|
|
// This flag is set to allow the scheduler to assign a default model to
|
|
|
|
// unrecognized opcodes.
|
|
|
|
let CompleteModel = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
let SchedModel = SkylakeServerModel in {
|
|
|
|
|
|
|
|
// Skylake Server can issue micro-ops to 8 different ports in one cycle.
|
|
|
|
|
|
|
|
// Ports 0, 1, 5, and 6 handle all computation.
|
|
|
|
// Port 4 gets the data half of stores. Store data can be available later than
|
|
|
|
// the store address, but since we don't model the latency of stores, we can
|
|
|
|
// ignore that.
|
|
|
|
// Ports 2 and 3 are identical. They handle loads and the address half of
|
|
|
|
// stores. Port 7 can handle address calculations.
|
|
|
|
def SKXPort0 : ProcResource<1>;
|
|
|
|
def SKXPort1 : ProcResource<1>;
|
|
|
|
def SKXPort2 : ProcResource<1>;
|
|
|
|
def SKXPort3 : ProcResource<1>;
|
|
|
|
def SKXPort4 : ProcResource<1>;
|
|
|
|
def SKXPort5 : ProcResource<1>;
|
|
|
|
def SKXPort6 : ProcResource<1>;
|
|
|
|
def SKXPort7 : ProcResource<1>;
|
|
|
|
|
|
|
|
// Many micro-ops are capable of issuing on multiple ports.
|
|
|
|
def SKXPort01 : ProcResGroup<[SKXPort0, SKXPort1]>;
|
|
|
|
def SKXPort23 : ProcResGroup<[SKXPort2, SKXPort3]>;
|
|
|
|
def SKXPort237 : ProcResGroup<[SKXPort2, SKXPort3, SKXPort7]>;
|
|
|
|
def SKXPort04 : ProcResGroup<[SKXPort0, SKXPort4]>;
|
|
|
|
def SKXPort05 : ProcResGroup<[SKXPort0, SKXPort5]>;
|
|
|
|
def SKXPort06 : ProcResGroup<[SKXPort0, SKXPort6]>;
|
|
|
|
def SKXPort15 : ProcResGroup<[SKXPort1, SKXPort5]>;
|
|
|
|
def SKXPort16 : ProcResGroup<[SKXPort1, SKXPort6]>;
|
|
|
|
def SKXPort56 : ProcResGroup<[SKXPort5, SKXPort6]>;
|
|
|
|
def SKXPort015 : ProcResGroup<[SKXPort0, SKXPort1, SKXPort5]>;
|
|
|
|
def SKXPort056 : ProcResGroup<[SKXPort0, SKXPort5, SKXPort6]>;
|
|
|
|
def SKXPort0156: ProcResGroup<[SKXPort0, SKXPort1, SKXPort5, SKXPort6]>;
|
|
|
|
|
2018-03-26 04:16:53 +08:00
|
|
|
def SKXDivider : ProcResource<1>; // Integer division issued on port 0.
|
2018-04-02 13:33:28 +08:00
|
|
|
// FP division and sqrt on port 0.
|
|
|
|
def SKXFPDivider : ProcResource<1>;
|
2018-03-26 04:16:53 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// 60 Entry Unified Scheduler
|
|
|
|
def SKXPortAny : ProcResGroup<[SKXPort0, SKXPort1, SKXPort2, SKXPort3, SKXPort4,
|
|
|
|
SKXPort5, SKXPort6, SKXPort7]> {
|
|
|
|
let BufferSize=60;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Loads are 5 cycles, so ReadAfterLd registers needn't be available until 5
|
|
|
|
// cycles after the memory operand.
|
|
|
|
def : ReadAdvance<ReadAfterLd, 5>;
|
|
|
|
|
|
|
|
// Many SchedWrites are defined in pairs with and without a folded load.
|
|
|
|
// Instructions with folded loads are usually micro-fused, so they only appear
|
|
|
|
// as two micro-ops when queued in the reservation station.
|
|
|
|
// This multiclass defines the resource usage for variants with and without
|
|
|
|
// folded loads.
|
|
|
|
multiclass SKXWriteResPair<X86FoldableSchedWrite SchedRW,
|
2018-03-19 22:46:07 +08:00
|
|
|
list<ProcResourceKind> ExePorts,
|
2018-03-25 18:21:19 +08:00
|
|
|
int Lat, list<int> Res = [1], int UOps = 1,
|
|
|
|
int LoadLat = 5> {
|
2017-10-08 20:52:54 +08:00
|
|
|
// Register variant is using a single cycle on ExePort.
|
2018-03-19 22:46:07 +08:00
|
|
|
def : WriteRes<SchedRW, ExePorts> {
|
|
|
|
let Latency = Lat;
|
|
|
|
let ResourceCycles = Res;
|
|
|
|
let NumMicroOps = UOps;
|
|
|
|
}
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-03-25 18:21:19 +08:00
|
|
|
// Memory variant also uses a cycle on port 2/3 and adds LoadLat cycles to
|
|
|
|
// the latency (default = 5).
|
2018-03-19 22:46:07 +08:00
|
|
|
def : WriteRes<SchedRW.Folded, !listconcat([SKXPort23], ExePorts)> {
|
2018-03-25 18:21:19 +08:00
|
|
|
let Latency = !add(Lat, LoadLat);
|
2018-03-19 22:46:07 +08:00
|
|
|
let ResourceCycles = !listconcat([1], Res);
|
2018-03-25 18:21:19 +08:00
|
|
|
let NumMicroOps = !add(UOps, 1);
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-07 00:16:46 +08:00
|
|
|
// A folded store needs a cycle on port 4 for the store data, and an extra port
|
|
|
|
// 2/3/7 cycle to recompute the address.
|
|
|
|
def : WriteRes<WriteRMW, [SKXPort237,SKXPort4]>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
// Arithmetic.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteALU, [SKXPort0156], 1>; // Simple integer ALU op.
|
|
|
|
defm : SKXWriteResPair<WriteIMul, [SKXPort1], 3>; // Integer multiplication.
|
2018-03-26 04:16:53 +08:00
|
|
|
defm : SKXWriteResPair<WriteIDiv, [SKXPort0, SKXDivider], 25, [1,10], 1, 4>; // Integer division.
|
2018-03-27 05:06:14 +08:00
|
|
|
defm : SKXWriteResPair<WriteCRC32, [SKXPort1], 3>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-03-26 04:16:53 +08:00
|
|
|
def : WriteRes<WriteIMulH, []> { let Latency = 3; } // Integer multiplication, high part.
|
2017-10-08 20:52:54 +08:00
|
|
|
def : WriteRes<WriteLEA, [SKXPort15]>; // LEA instructions can't fold loads.
|
|
|
|
|
2018-04-09 01:53:18 +08:00
|
|
|
defm : SKXWriteResPair<WriteCMOV, [SKXPort06], 1>; // Conditional move.
|
|
|
|
def : WriteRes<WriteSETCC, [SKXPort06]>; // Setcc.
|
|
|
|
def : WriteRes<WriteSETCCStore, [SKXPort06,SKXPort4,SKXPort237]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
}
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Integer shifts and rotates.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteShift, [SKXPort06], 1>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-03-27 02:19:28 +08:00
|
|
|
// Bit counts.
|
|
|
|
defm : SKXWriteResPair<WriteBitScan, [SKXPort1], 3>;
|
|
|
|
defm : SKXWriteResPair<WriteLZCNT, [SKXPort1], 3>;
|
|
|
|
defm : SKXWriteResPair<WriteTZCNT, [SKXPort1], 3>;
|
|
|
|
defm : SKXWriteResPair<WritePOPCNT, [SKXPort1], 3>;
|
|
|
|
|
2018-03-30 04:41:39 +08:00
|
|
|
// BMI1 BEXTR, BMI2 BZHI
|
|
|
|
defm : SKXWriteResPair<WriteBEXTR, [SKXPort06,SKXPort15], 2, [1,1], 2>;
|
|
|
|
defm : SKXWriteResPair<WriteBZHI, [SKXPort15], 1>;
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Loads, stores, and moves, not folded with other operations.
|
|
|
|
def : WriteRes<WriteLoad, [SKXPort23]> { let Latency = 5; }
|
|
|
|
def : WriteRes<WriteStore, [SKXPort237, SKXPort4]>;
|
|
|
|
def : WriteRes<WriteMove, [SKXPort0156]>;
|
|
|
|
|
|
|
|
// Idioms that clear a register, like xorps %xmm0, %xmm0.
|
|
|
|
// These can often bypass execution ports completely.
|
|
|
|
def : WriteRes<WriteZero, []>;
|
|
|
|
|
|
|
|
// Branches don't produce values, so they have no latency, but they still
|
|
|
|
// consume resources. Indirect branches can fold loads.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteJump, [SKXPort06], 1>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
// Floating point. This covers both scalar and vector operations.
|
2018-03-15 22:45:30 +08:00
|
|
|
def : WriteRes<WriteFLoad, [SKXPort23]> { let Latency = 5; }
|
|
|
|
def : WriteRes<WriteFStore, [SKXPort237, SKXPort4]>;
|
|
|
|
def : WriteRes<WriteFMove, [SKXPort015]>;
|
|
|
|
|
2018-04-25 18:51:19 +08:00
|
|
|
defm : SKXWriteResPair<WriteFAdd, [SKXPort015], 4, [1], 1, 6>; // Floating point add/sub.
|
2018-04-17 15:22:44 +08:00
|
|
|
defm : SKXWriteResPair<WriteFCmp, [SKXPort015], 4, [1], 1, 6>; // Floating point compare.
|
|
|
|
defm : SKXWriteResPair<WriteFCom, [SKXPort0], 2>; // Floating point compare to flags.
|
2018-04-25 03:22:01 +08:00
|
|
|
defm : SKXWriteResPair<WriteFMul, [SKXPort015], 4, [1], 1, 6>; // Floating point multiplication.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteFDiv, [SKXPort0], 12>; // 10-14 cycles. // Floating point division.
|
|
|
|
defm : SKXWriteResPair<WriteFSqrt, [SKXPort0], 15>; // Floating point square root.
|
2018-04-23 02:09:50 +08:00
|
|
|
defm : SKXWriteResPair<WriteFRcp, [SKXPort0], 4, [1], 1, 6>; // Floating point reciprocal estimate.
|
|
|
|
defm : SKXWriteResPair<WriteFRsqrt, [SKXPort0], 4, [1], 1, 6>; // Floating point reciprocal square root estimate.
|
2018-04-25 21:07:58 +08:00
|
|
|
defm : SKXWriteResPair<WriteFMA, [SKXPort015], 4, [1], 1, 6>; // Fused Multiply Add.
|
|
|
|
defm : SKXWriteResPair<WriteFMAS, [SKXPort015], 4, [1], 1, 5>; // Fused Multiply Add (Scalar).
|
|
|
|
defm : SKXWriteResPair<WriteFMAY, [SKXPort015], 4, [1], 1, 7>; // Fused Multiply Add (YMM/ZMM).
|
2018-04-21 05:16:05 +08:00
|
|
|
defm : SKXWriteResPair<WriteFSign, [SKXPort0], 1>; // Floating point fabs/fchs.
|
|
|
|
defm : SKXWriteResPair<WriteFLogic, [SKXPort015], 1, [1], 1, 6>; // Floating point and/or/xor logicals.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteFShuffle, [SKXPort5], 1>; // Floating point vector shuffles.
|
2018-04-11 21:49:19 +08:00
|
|
|
defm : SKXWriteResPair<WriteFVarShuffle, [SKXPort5], 1>; // Floating point vector variable shuffles.
|
2018-04-23 02:35:53 +08:00
|
|
|
defm : SKXWriteResPair<WriteFBlend, [SKXPort015], 1, [1], 1, 6>; // Floating point vector blends.
|
2018-04-22 22:43:12 +08:00
|
|
|
defm : SKXWriteResPair<WriteFVarBlend, [SKXPort015], 2, [2], 2, 6>; // Fp vector variable blends.
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-25 00:43:07 +08:00
|
|
|
def : WriteRes<WriteCvtF2FSt, [SKXPort4,SKXPort5,SKXPort237,SKXPort015]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// FMA Scheduling helper class.
|
|
|
|
// class FMASC { X86FoldableSchedWrite Sched = WriteFAdd; }
|
|
|
|
|
|
|
|
// Vector integer operations.
|
2018-03-15 22:45:30 +08:00
|
|
|
def : WriteRes<WriteVecLoad, [SKXPort23]> { let Latency = 5; }
|
|
|
|
def : WriteRes<WriteVecStore, [SKXPort237, SKXPort4]>;
|
|
|
|
def : WriteRes<WriteVecMove, [SKXPort015]>;
|
|
|
|
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteVecALU, [SKXPort15], 1>; // Vector integer ALU op, no logicals.
|
2018-04-21 05:16:05 +08:00
|
|
|
defm : SKXWriteResPair<WriteVecLogic, [SKXPort015], 1, [1], 1, 6>; // Vector integer and/or/xor.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteVecShift, [SKXPort0], 1>; // Vector integer shifts.
|
|
|
|
defm : SKXWriteResPair<WriteVecIMul, [SKXPort0], 5>; // Vector integer multiply.
|
2018-03-31 12:54:32 +08:00
|
|
|
defm : SKXWriteResPair<WritePMULLD, [SKXPort015], 10, [2], 2, 6>; // Vector integer multiply.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteShuffle, [SKXPort5], 1>; // Vector shuffles.
|
2018-04-11 21:49:19 +08:00
|
|
|
defm : SKXWriteResPair<WriteVarShuffle, [SKXPort5], 1>; // Vector variable shuffles.
|
2018-04-23 02:35:53 +08:00
|
|
|
defm : SKXWriteResPair<WriteBlend, [SKXPort5], 1, [1], 1, 6>; // Vector blends.
|
2018-04-22 22:43:12 +08:00
|
|
|
defm : SKXWriteResPair<WriteVarBlend, [SKXPort015], 2, [2], 2, 6>; // Vector variable blends.
|
2018-04-22 18:39:16 +08:00
|
|
|
defm : SKXWriteResPair<WriteMPSAD, [SKXPort5], 4, [2], 2, 6>; // Vector MPSAD.
|
|
|
|
defm : SKXWriteResPair<WritePSADBW, [SKXPort5], 3, [1,1], 1, 6>; // Vector PSADBW.
|
2018-04-25 02:49:25 +08:00
|
|
|
defm : SKXWriteResPair<WritePHMINPOS, [SKXPort015], 4, [1], 1, 6>; // Vector PHMINPOS.
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-24 21:21:41 +08:00
|
|
|
// Vector insert/extract operations.
|
|
|
|
def : WriteRes<WriteVecInsert, [SKXPort5]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
|
|
|
def : WriteRes<WriteVecInsertLd, [SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
def : WriteRes<WriteVecExtract, [SKXPort0,SKXPort5]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
}
|
|
|
|
def : WriteRes<WriteVecExtractSt, [SKXPort4,SKXPort5,SKXPort237]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
}
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Conversion between integer and float.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteCvtF2I, [SKXPort1], 3>; // Float -> Integer.
|
|
|
|
defm : SKXWriteResPair<WriteCvtI2F, [SKXPort1], 4>; // Integer -> Float.
|
|
|
|
defm : SKXWriteResPair<WriteCvtF2F, [SKXPort1], 3>; // Float -> Float size conversion.
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
// Strings instructions.
|
2018-03-22 22:56:18 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Packed Compare Implicit Length Strings, Return Mask
|
|
|
|
def : WriteRes<WritePCmpIStrM, [SKXPort0]> {
|
|
|
|
let Latency = 10;
|
2018-03-22 22:56:18 +08:00
|
|
|
let NumMicroOps = 3;
|
2017-10-08 20:52:54 +08:00
|
|
|
let ResourceCycles = [3];
|
|
|
|
}
|
|
|
|
def : WriteRes<WritePCmpIStrMLd, [SKXPort0, SKXPort23]> {
|
2018-03-22 22:56:18 +08:00
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [3,1];
|
2018-03-26 01:25:37 +08:00
|
|
|
}
|
2018-03-22 22:56:18 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Packed Compare Explicit Length Strings, Return Mask
|
2018-03-22 22:56:18 +08:00
|
|
|
def : WriteRes<WritePCmpEStrM, [SKXPort0, SKXPort5, SKXPort015, SKXPort0156]> {
|
|
|
|
let Latency = 19;
|
|
|
|
let NumMicroOps = 9;
|
|
|
|
let ResourceCycles = [4,3,1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 22:56:18 +08:00
|
|
|
def : WriteRes<WritePCmpEStrMLd, [SKXPort0, SKXPort5, SKXPort23, SKXPort015, SKXPort0156]> {
|
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 10;
|
|
|
|
let ResourceCycles = [4,3,1,1,1];
|
|
|
|
}
|
|
|
|
|
|
|
|
// Packed Compare Implicit Length Strings, Return Index
|
2017-10-08 20:52:54 +08:00
|
|
|
def : WriteRes<WritePCmpIStrI, [SKXPort0]> {
|
2018-03-22 22:56:18 +08:00
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 3;
|
2017-10-08 20:52:54 +08:00
|
|
|
let ResourceCycles = [3];
|
|
|
|
}
|
|
|
|
def : WriteRes<WritePCmpIStrILd, [SKXPort0, SKXPort23]> {
|
2018-03-22 22:56:18 +08:00
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [3,1];
|
|
|
|
}
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Packed Compare Explicit Length Strings, Return Index
|
2018-03-22 22:56:18 +08:00
|
|
|
def : WriteRes<WritePCmpEStrI, [SKXPort0,SKXPort5,SKXPort0156]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [4,3,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 22:56:18 +08:00
|
|
|
def : WriteRes<WritePCmpEStrILd, [SKXPort0, SKXPort5, SKXPort23, SKXPort0156]> {
|
|
|
|
let Latency = 24;
|
|
|
|
let NumMicroOps = 9;
|
|
|
|
let ResourceCycles = [4,3,1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
|
|
|
|
2018-03-28 04:38:54 +08:00
|
|
|
// MOVMSK Instructions.
|
|
|
|
def : WriteRes<WriteFMOVMSK, [SKXPort0]> { let Latency = 2; }
|
|
|
|
def : WriteRes<WriteVecMOVMSK, [SKXPort0]> { let Latency = 2; }
|
|
|
|
def : WriteRes<WriteMMXMOVMSK, [SKXPort0]> { let Latency = 2; }
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// AES instructions.
|
2018-03-22 21:18:08 +08:00
|
|
|
def : WriteRes<WriteAESDecEnc, [SKXPort0]> { // Decryption, encryption.
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 1;
|
2017-10-08 20:52:54 +08:00
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
def : WriteRes<WriteAESDecEncLd, [SKXPort0, SKXPort23]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
|
|
|
|
def : WriteRes<WriteAESIMC, [SKXPort0]> { // InvMixColumn.
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
2017-10-08 20:52:54 +08:00
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
def : WriteRes<WriteAESIMCLd, [SKXPort0, SKXPort23]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 14;
|
2018-03-22 21:18:08 +08:00
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
|
|
|
|
def : WriteRes<WriteAESKeyGen, [SKXPort0,SKXPort5,SKXPort015]> { // Key Generation.
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 11;
|
|
|
|
let ResourceCycles = [3,6,2];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
def : WriteRes<WriteAESKeyGenLd, [SKXPort0,SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 11;
|
|
|
|
let ResourceCycles = [3,6,1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Carry-less multiplication instructions.
|
2018-03-22 21:37:30 +08:00
|
|
|
def : WriteRes<WriteCLMul, [SKXPort5]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 21:37:30 +08:00
|
|
|
def : WriteRes<WriteCLMulLd, [SKXPort5, SKXPort23]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Catch-all for expensive system instructions.
|
|
|
|
def : WriteRes<WriteSystem, [SKXPort0156]> { let Latency = 100; } // def WriteSystem : SchedWrite;
|
|
|
|
|
|
|
|
// AVX2.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteFShuffle256, [SKXPort5], 3>; // Fp 256-bit width vector shuffles.
|
2018-04-11 21:49:19 +08:00
|
|
|
defm : SKXWriteResPair<WriteFVarShuffle256, [SKXPort5], 3>; // Fp 256-bit width vector variable shuffles.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteShuffle256, [SKXPort5], 3>; // 256-bit width vector shuffles.
|
2018-04-11 21:49:19 +08:00
|
|
|
defm : SKXWriteResPair<WriteVarShuffle256, [SKXPort5], 3>; // 256-bit width vector variable shuffles.
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WriteVarVecShift, [SKXPort0, SKXPort5], 2, [2, 1]>; // Variable vector shifts.
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
// Old microcoded instructions that nobody use.
|
|
|
|
def : WriteRes<WriteMicrocoded, [SKXPort0156]> { let Latency = 100; } // def WriteMicrocoded : SchedWrite;
|
|
|
|
|
|
|
|
// Fence instructions.
|
|
|
|
def : WriteRes<WriteFence, [SKXPort23, SKXPort4]>;
|
|
|
|
|
2018-04-22 02:07:36 +08:00
|
|
|
// Load/store MXCSR.
|
|
|
|
def : WriteRes<WriteLDMXCSR, [SKXPort0,SKXPort23,SKXPort0156]> { let Latency = 7; let NumMicroOps = 3; let ResourceCycles = [1,1,1]; }
|
|
|
|
def : WriteRes<WriteSTMXCSR, [SKXPort4,SKXPort5,SKXPort237]> { let Latency = 2; let NumMicroOps = 3; let ResourceCycles = [1,1,1]; }
|
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
// Nop, not very useful expect it provides a model for nops!
|
|
|
|
def : WriteRes<WriteNop, []>;
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Horizontal add/sub instructions.
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-04-22 23:25:59 +08:00
|
|
|
defm : SKXWriteResPair<WriteFHAdd, [SKXPort5,SKXPort015], 6, [2,1], 3, 6>;
|
2018-03-19 22:46:07 +08:00
|
|
|
defm : SKXWriteResPair<WritePHAdd, [SKXPort15], 1>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
// Remaining instrs.
|
|
|
|
|
|
|
|
def SKXWriteResGroup1 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup1], (instregex "KANDBrr",
|
|
|
|
"KANDDrr",
|
|
|
|
"KANDNBrr",
|
|
|
|
"KANDNDrr",
|
|
|
|
"KANDNQrr",
|
|
|
|
"KANDNWrr",
|
|
|
|
"KANDQrr",
|
|
|
|
"KANDWrr",
|
|
|
|
"KMOVBkk",
|
|
|
|
"KMOVDkk",
|
|
|
|
"KMOVQkk",
|
|
|
|
"KMOVWkk",
|
|
|
|
"KNOTBrr",
|
|
|
|
"KNOTDrr",
|
|
|
|
"KNOTQrr",
|
|
|
|
"KNOTWrr",
|
|
|
|
"KORBrr",
|
|
|
|
"KORDrr",
|
|
|
|
"KORQrr",
|
|
|
|
"KORWrr",
|
|
|
|
"KXNORBrr",
|
|
|
|
"KXNORDrr",
|
|
|
|
"KXNORQrr",
|
|
|
|
"KXNORWrr",
|
|
|
|
"KXORBrr",
|
|
|
|
"KXORDrr",
|
|
|
|
"KXORQrr",
|
|
|
|
"KXORWrr",
|
|
|
|
"MMX_PADDSBirr",
|
|
|
|
"MMX_PADDSWirr",
|
|
|
|
"MMX_PADDUSBirr",
|
|
|
|
"MMX_PADDUSWirr",
|
|
|
|
"MMX_PAVGBirr",
|
|
|
|
"MMX_PAVGWirr",
|
|
|
|
"MMX_PCMPEQBirr",
|
|
|
|
"MMX_PCMPEQDirr",
|
|
|
|
"MMX_PCMPEQWirr",
|
|
|
|
"MMX_PCMPGTBirr",
|
|
|
|
"MMX_PCMPGTDirr",
|
|
|
|
"MMX_PCMPGTWirr",
|
|
|
|
"MMX_PMAXSWirr",
|
|
|
|
"MMX_PMAXUBirr",
|
|
|
|
"MMX_PMINSWirr",
|
|
|
|
"MMX_PMINUBirr",
|
|
|
|
"MMX_PSUBSBirr",
|
|
|
|
"MMX_PSUBSWirr",
|
|
|
|
"MMX_PSUBUSBirr",
|
|
|
|
"MMX_PSUBUSWirr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVB2MZ128rr",
|
|
|
|
"VPMOVB2MZ256rr",
|
|
|
|
"VPMOVB2MZrr",
|
|
|
|
"VPMOVD2MZ128rr",
|
|
|
|
"VPMOVD2MZ256rr",
|
|
|
|
"VPMOVD2MZrr",
|
|
|
|
"VPMOVQ2MZ128rr",
|
|
|
|
"VPMOVQ2MZ256rr",
|
|
|
|
"VPMOVQ2MZrr",
|
|
|
|
"VPMOVW2MZ128rr",
|
|
|
|
"VPMOVW2MZ256rr",
|
|
|
|
"VPMOVW2MZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup3 : SchedWriteRes<[SKXPort5]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup3], (instregex "COMP_FST0r",
|
|
|
|
"COM_FST0r",
|
|
|
|
"KMOVBkr",
|
|
|
|
"KMOVDkr",
|
|
|
|
"KMOVQkr",
|
|
|
|
"KMOVWkr",
|
|
|
|
"MMX_MOVD64rr",
|
|
|
|
"MMX_MOVD64to64rr",
|
|
|
|
"MOV64toPQIrr",
|
|
|
|
"MOVDI2PDIrr",
|
|
|
|
"PSLLDQri",
|
|
|
|
"PSRLDQri",
|
|
|
|
"UCOM_FPr",
|
|
|
|
"UCOM_Fr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOV64toPQIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOV64toPQIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVDI2PDIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVDI2PDIrr",
|
|
|
|
"VPSLLDQYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDQZ128rr",
|
|
|
|
"VPSLLDQZ256rr",
|
|
|
|
"VPSLLDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLDQri",
|
|
|
|
"VPSRLDQYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDQZ128rr",
|
|
|
|
"VPSRLDQZ256rr",
|
|
|
|
"VPSRLDQZrr",
|
2018-04-22 03:11:55 +08:00
|
|
|
"VPSRLDQri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup4 : SchedWriteRes<[SKXPort6]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup4], (instregex "JMP(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup5 : SchedWriteRes<[SKXPort01]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup5], (instregex "PABSBrr",
|
|
|
|
"PABSDrr",
|
|
|
|
"PABSWrr",
|
|
|
|
"PADDSBrr",
|
|
|
|
"PADDSWrr",
|
|
|
|
"PADDUSBrr",
|
|
|
|
"PADDUSWrr",
|
|
|
|
"PAVGBrr",
|
|
|
|
"PAVGWrr",
|
|
|
|
"PCMPEQBrr",
|
|
|
|
"PCMPEQDrr",
|
|
|
|
"PCMPEQQrr",
|
|
|
|
"PCMPEQWrr",
|
|
|
|
"PCMPGTBrr",
|
|
|
|
"PCMPGTDrr",
|
|
|
|
"PCMPGTWrr",
|
|
|
|
"PMAXSBrr",
|
|
|
|
"PMAX(C?)SDrr",
|
|
|
|
"PMAXSWrr",
|
|
|
|
"PMAXUBrr",
|
|
|
|
"PMAXUDrr",
|
|
|
|
"PMAXUWrr",
|
|
|
|
"PMINSBrr",
|
|
|
|
"PMIN(C?)SDrr",
|
|
|
|
"PMINSWrr",
|
|
|
|
"PMINUBrr",
|
|
|
|
"PMINUDrr",
|
|
|
|
"PMINUWrr",
|
|
|
|
"PSIGNBrr",
|
|
|
|
"PSIGNDrr",
|
|
|
|
"PSIGNWrr",
|
|
|
|
"PSLLDri",
|
|
|
|
"PSLLQri",
|
|
|
|
"PSLLWri",
|
|
|
|
"PSRADri",
|
|
|
|
"PSRAWri",
|
|
|
|
"PSRLDri",
|
|
|
|
"PSRLQri",
|
|
|
|
"PSRLWri",
|
|
|
|
"PSUBSBrr",
|
|
|
|
"PSUBSWrr",
|
|
|
|
"PSUBUSBrr",
|
|
|
|
"PSUBUSWrr",
|
|
|
|
"VPABSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSBZ128rr",
|
|
|
|
"VPABSBZ256rr",
|
|
|
|
"VPABSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSBrr",
|
|
|
|
"VPABSDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSDZ128rr",
|
|
|
|
"VPABSDZ256rr",
|
|
|
|
"VPABSDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSQZ128rr",
|
|
|
|
"VPABSQZ256rr",
|
|
|
|
"VPABSQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSWZ128rr",
|
|
|
|
"VPABSWZ256rr",
|
|
|
|
"VPABSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSWrr",
|
|
|
|
"VPADDSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSBZ128rr",
|
|
|
|
"VPADDSBZ256rr",
|
|
|
|
"VPADDSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSBrr",
|
|
|
|
"VPADDSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSWZ128rr",
|
|
|
|
"VPADDSWZ256rr",
|
|
|
|
"VPADDSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSWrr",
|
|
|
|
"VPADDUSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSBZ128rr",
|
|
|
|
"VPADDUSBZ256rr",
|
|
|
|
"VPADDUSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSBrr",
|
|
|
|
"VPADDUSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSWZ128rr",
|
|
|
|
"VPADDUSWZ256rr",
|
|
|
|
"VPADDUSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSWrr",
|
|
|
|
"VPAVGBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGBZ128rr",
|
|
|
|
"VPAVGBZ256rr",
|
|
|
|
"VPAVGBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGBrr",
|
|
|
|
"VPAVGWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGWZ128rr",
|
|
|
|
"VPAVGWZ256rr",
|
|
|
|
"VPAVGWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGWrr",
|
|
|
|
"VPCMPEQBYrr",
|
|
|
|
"VPCMPEQBrr",
|
|
|
|
"VPCMPEQDYrr",
|
|
|
|
"VPCMPEQDrr",
|
|
|
|
"VPCMPEQQYrr",
|
|
|
|
"VPCMPEQQrr",
|
|
|
|
"VPCMPEQWYrr",
|
|
|
|
"VPCMPEQWrr",
|
|
|
|
"VPCMPGTBYrr",
|
|
|
|
"VPCMPGTBrr",
|
|
|
|
"VPCMPGTDYrr",
|
|
|
|
"VPCMPGTDrr",
|
|
|
|
"VPCMPGTWYrr",
|
|
|
|
"VPCMPGTWrr",
|
|
|
|
"VPMAXSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSBZ128rr",
|
|
|
|
"VPMAXSBZ256rr",
|
|
|
|
"VPMAXSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXSBrr",
|
|
|
|
"VPMAX(C?)SDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAX(C?)SDZ128rr",
|
|
|
|
"VPMAX(C?)SDZ256rr",
|
|
|
|
"VPMAX(C?)SDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAX(C?)SDrr",
|
|
|
|
"VPMAXSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSWZ128rr",
|
|
|
|
"VPMAXSWZ256rr",
|
|
|
|
"VPMAXSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXSWrr",
|
|
|
|
"VPMAXUBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUBZ128rr",
|
|
|
|
"VPMAXUBZ256rr",
|
|
|
|
"VPMAXUBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUBrr",
|
|
|
|
"VPMAXUDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUDZ128rr",
|
|
|
|
"VPMAXUDZ256rr",
|
|
|
|
"VPMAXUDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUDrr",
|
|
|
|
"VPMAXUWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUWZ128rr",
|
|
|
|
"VPMAXUWZ256rr",
|
|
|
|
"VPMAXUWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUWrr",
|
|
|
|
"VPMINSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSBZ128rr",
|
|
|
|
"VPMINSBZ256rr",
|
|
|
|
"VPMINSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSBrr",
|
|
|
|
"VPMIN(C?)SDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMIN(C?)SDZ128rr",
|
|
|
|
"VPMIN(C?)SDZ256rr",
|
|
|
|
"VPMIN(C?)SDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMIN(C?)SDrr",
|
|
|
|
"VPMINSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSWZ128rr",
|
|
|
|
"VPMINSWZ256rr",
|
|
|
|
"VPMINSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSWrr",
|
|
|
|
"VPMINUBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUBZ128rr",
|
|
|
|
"VPMINUBZ256rr",
|
|
|
|
"VPMINUBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUBrr",
|
|
|
|
"VPMINUDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUDZ128rr",
|
|
|
|
"VPMINUDZ256rr",
|
|
|
|
"VPMINUDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUDrr",
|
|
|
|
"VPMINUWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUWZ128rr",
|
|
|
|
"VPMINUWZ256rr",
|
|
|
|
"VPMINUWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPROLDZ128ri",
|
|
|
|
"VPROLDZ256ri",
|
|
|
|
"VPROLDZri",
|
|
|
|
"VPROLQZ128ri",
|
|
|
|
"VPROLQZ256ri",
|
|
|
|
"VPROLQZri",
|
|
|
|
"VPROLVDZ128rr",
|
|
|
|
"VPROLVDZ256rr",
|
|
|
|
"VPROLVDZrr",
|
|
|
|
"VPROLVQZ128rr",
|
|
|
|
"VPROLVQZ256rr",
|
|
|
|
"VPROLVQZrr",
|
|
|
|
"VPRORDZ128ri",
|
|
|
|
"VPRORDZ256ri",
|
|
|
|
"VPRORDZri",
|
|
|
|
"VPRORQZ128ri",
|
|
|
|
"VPRORQZ256ri",
|
|
|
|
"VPRORQZri",
|
|
|
|
"VPRORVDZ128rr",
|
|
|
|
"VPRORVDZ256rr",
|
|
|
|
"VPRORVDZrr",
|
|
|
|
"VPRORVQZ128rr",
|
|
|
|
"VPRORVQZ256rr",
|
|
|
|
"VPRORVQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSIGNBYrr",
|
|
|
|
"VPSIGNBrr",
|
|
|
|
"VPSIGNDYrr",
|
|
|
|
"VPSIGNDrr",
|
|
|
|
"VPSIGNWYrr",
|
|
|
|
"VPSIGNWrr",
|
|
|
|
"VPSLLDYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDZ128ri",
|
|
|
|
"VPSLLDZ256ri",
|
|
|
|
"VPSLLDZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLDri",
|
|
|
|
"VPSLLQYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLQZ128ri",
|
|
|
|
"VPSLLQZ256ri",
|
|
|
|
"VPSLLQZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLQri",
|
|
|
|
"VPSLLVDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVDZ128rr",
|
|
|
|
"VPSLLVDZ256rr",
|
|
|
|
"VPSLLVDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVDrr",
|
|
|
|
"VPSLLVQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVQZ128rr",
|
|
|
|
"VPSLLVQZ256rr",
|
|
|
|
"VPSLLVQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVWZ128rr",
|
|
|
|
"VPSLLVWZ256rr",
|
|
|
|
"VPSLLVWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLWZ128ri",
|
|
|
|
"VPSLLWZ256ri",
|
|
|
|
"VPSLLWZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWri",
|
|
|
|
"VPSRADYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRADZ128ri",
|
|
|
|
"VPSRADZ256ri",
|
|
|
|
"VPSRADZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRADri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAQZ128ri",
|
|
|
|
"VPSRAQZ256ri",
|
|
|
|
"VPSRAQZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAVDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAVDZ128rr",
|
|
|
|
"VPSRAVDZ256rr",
|
|
|
|
"VPSRAVDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAVDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAVQZ128rr",
|
|
|
|
"VPSRAVQZ256rr",
|
|
|
|
"VPSRAVQZrr",
|
|
|
|
"VPSRAVWZ128rr",
|
|
|
|
"VPSRAVWZ256rr",
|
|
|
|
"VPSRAVWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAWZ128ri",
|
|
|
|
"VPSRAWZ256ri",
|
|
|
|
"VPSRAWZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWri",
|
|
|
|
"VPSRLDYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDZ128ri",
|
|
|
|
"VPSRLDZ256ri",
|
|
|
|
"VPSRLDZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLDri",
|
|
|
|
"VPSRLQYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLQZ128ri",
|
|
|
|
"VPSRLQZ256ri",
|
|
|
|
"VPSRLQZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLQri",
|
|
|
|
"VPSRLVDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVDZ128rr",
|
|
|
|
"VPSRLVDZ256rr",
|
|
|
|
"VPSRLVDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVDrr",
|
|
|
|
"VPSRLVQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVQZ128rr",
|
|
|
|
"VPSRLVQZ256rr",
|
|
|
|
"VPSRLVQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVWZ128rr",
|
|
|
|
"VPSRLVWZ256rr",
|
|
|
|
"VPSRLVWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLWYri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLWZ128ri",
|
|
|
|
"VPSRLWZ256ri",
|
|
|
|
"VPSRLWZri",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLWri",
|
|
|
|
"VPSUBSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSBZ128rr",
|
|
|
|
"VPSUBSBZ256rr",
|
|
|
|
"VPSUBSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSBrr",
|
|
|
|
"VPSUBSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSWZ128rr",
|
|
|
|
"VPSUBSWZ256rr",
|
|
|
|
"VPSUBSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSWrr",
|
|
|
|
"VPSUBUSBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSBZ128rr",
|
|
|
|
"VPSUBUSBZ256rr",
|
|
|
|
"VPSUBUSBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSBrr",
|
|
|
|
"VPSUBUSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSWZ128rr",
|
|
|
|
"VPSUBUSWZ256rr",
|
|
|
|
"VPSUBUSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSWrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup6 : SchedWriteRes<[SKXPort05]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-24 00:10:50 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup6], (instrs FINCSTP, FNOP)>;
|
|
|
|
def: InstRW<[SKXWriteResGroup6], (instregex "MMX_MOVQ64rr",
|
2018-04-20 01:32:10 +08:00
|
|
|
"MMX_PABS(B|D|W)rr",
|
|
|
|
"MMX_PADD(B|D|Q|W)irr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_PANDNirr",
|
|
|
|
"MMX_PANDirr",
|
|
|
|
"MMX_PORirr",
|
2018-04-20 01:32:10 +08:00
|
|
|
"MMX_PSIGN(B|D|W)rr",
|
|
|
|
"MMX_PSUB(B|D|Q|W)irr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_PXORirr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup7 : SchedWriteRes<[SKXPort06]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-23 21:24:17 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup7], (instrs CDQ, CQO, CLAC, STAC)>;
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup7], (instregex "ADC(16|32|64)ri",
|
|
|
|
"ADC(16|32|64)i",
|
|
|
|
"ADC(8|16|32|64)rr",
|
|
|
|
"ADCX(32|64)rr",
|
|
|
|
"ADOX(32|64)rr",
|
|
|
|
"BT(16|32|64)ri8",
|
|
|
|
"BT(16|32|64)rr",
|
|
|
|
"BTC(16|32|64)ri8",
|
|
|
|
"BTC(16|32|64)rr",
|
|
|
|
"BTR(16|32|64)ri8",
|
|
|
|
"BTR(16|32|64)rr",
|
|
|
|
"BTS(16|32|64)ri8",
|
|
|
|
"BTS(16|32|64)rr",
|
|
|
|
"SAR(8|16|32|64)r1",
|
|
|
|
"SAR(8|16|32|64)ri",
|
|
|
|
"SBB(16|32|64)ri",
|
|
|
|
"SBB(16|32|64)i",
|
|
|
|
"SBB(8|16|32|64)rr",
|
|
|
|
"SHL(8|16|32|64)r1",
|
|
|
|
"SHL(8|16|32|64)ri",
|
|
|
|
"SHR(8|16|32|64)r1",
|
2018-04-24 06:19:55 +08:00
|
|
|
"SHR(8|16|32|64)ri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup8 : SchedWriteRes<[SKXPort15]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup8], (instregex "ANDN(32|64)rr",
|
|
|
|
"BLSI(32|64)rr",
|
|
|
|
"BLSMSK(32|64)rr",
|
2018-04-24 05:04:23 +08:00
|
|
|
"BLSR(32|64)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup9 : SchedWriteRes<[SKXPort015]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-22 05:59:36 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup9], (instregex "PADDBrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"PADDDrr",
|
|
|
|
"PADDQrr",
|
|
|
|
"PADDWrr",
|
|
|
|
"PSUBBrr",
|
|
|
|
"PSUBDrr",
|
|
|
|
"PSUBQrr",
|
|
|
|
"PSUBWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VBLENDMPDZ128rr",
|
|
|
|
"VBLENDMPDZ256rr",
|
|
|
|
"VBLENDMPDZrr",
|
|
|
|
"VBLENDMPSZ128rr",
|
|
|
|
"VBLENDMPSZ256rr",
|
|
|
|
"VBLENDMPSZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDBZ128rr",
|
|
|
|
"VPADDBZ256rr",
|
|
|
|
"VPADDBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDBrr",
|
|
|
|
"VPADDDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDDZ128rr",
|
|
|
|
"VPADDDZ256rr",
|
|
|
|
"VPADDDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDDrr",
|
|
|
|
"VPADDQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDQZ128rr",
|
|
|
|
"VPADDQZ256rr",
|
|
|
|
"VPADDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDQrr",
|
|
|
|
"VPADDWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDWZ128rr",
|
|
|
|
"VPADDWZ256rr",
|
|
|
|
"VPADDWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDWrr",
|
|
|
|
"VPBLENDDYrri",
|
|
|
|
"VPBLENDDrri",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBLENDMBZ128rr",
|
|
|
|
"VPBLENDMBZ256rr",
|
|
|
|
"VPBLENDMBZrr",
|
|
|
|
"VPBLENDMDZ128rr",
|
|
|
|
"VPBLENDMDZ256rr",
|
|
|
|
"VPBLENDMDZrr",
|
|
|
|
"VPBLENDMQZ128rr",
|
|
|
|
"VPBLENDMQZ256rr",
|
|
|
|
"VPBLENDMQZrr",
|
|
|
|
"VPBLENDMWZ128rr",
|
|
|
|
"VPBLENDMWZ256rr",
|
|
|
|
"VPBLENDMWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBBYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBBZ128rr",
|
|
|
|
"VPSUBBZ256rr",
|
|
|
|
"VPSUBBZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBBrr",
|
|
|
|
"VPSUBDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBDZ128rr",
|
|
|
|
"VPSUBDZ256rr",
|
|
|
|
"VPSUBDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBDrr",
|
|
|
|
"VPSUBQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBQZ128rr",
|
|
|
|
"VPSUBQZ256rr",
|
|
|
|
"VPSUBQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBQrr",
|
|
|
|
"VPSUBWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBWZ128rr",
|
|
|
|
"VPSUBWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPTERNLOGDZ128rri",
|
|
|
|
"VPTERNLOGDZ256rri",
|
|
|
|
"VPTERNLOGDZrri",
|
|
|
|
"VPTERNLOGQZ128rri",
|
|
|
|
"VPTERNLOGQZ256rri",
|
2018-04-21 05:16:05 +08:00
|
|
|
"VPTERNLOGQZrri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup10 : SchedWriteRes<[SKXPort0156]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-06 05:56:19 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup10], (instrs CBW, CWDE, CDQE)>;
|
2018-04-07 00:16:48 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup10], (instregex "CLC",
|
2018-03-22 12:23:41 +08:00
|
|
|
"CMC",
|
2018-04-18 03:35:14 +08:00
|
|
|
"LAHF", // TODO: This doesn't match Agner's data
|
2018-03-22 12:23:41 +08:00
|
|
|
"NOOP",
|
2018-04-18 03:35:14 +08:00
|
|
|
"SAHF", // TODO: This doesn't match Agner's data
|
2018-03-22 12:23:41 +08:00
|
|
|
"SGDT64m",
|
|
|
|
"SIDT64m",
|
|
|
|
"SLDT64m",
|
|
|
|
"SMSW16m",
|
|
|
|
"STC",
|
|
|
|
"STRm",
|
2018-04-20 02:00:17 +08:00
|
|
|
"SYSCALL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup11 : SchedWriteRes<[SKXPort4,SKXPort237]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup11], (instregex "FBSTPm",
|
|
|
|
"KMOVBmk",
|
|
|
|
"KMOVDmk",
|
|
|
|
"KMOVQmk",
|
|
|
|
"KMOVWmk",
|
|
|
|
"MMX_MOVD64from64rm",
|
|
|
|
"MMX_MOVD64mr",
|
|
|
|
"MMX_MOVNTQmr",
|
|
|
|
"MMX_MOVQ64mr",
|
|
|
|
"MOVAPDmr",
|
|
|
|
"MOVAPSmr",
|
|
|
|
"MOVDQAmr",
|
|
|
|
"MOVDQUmr",
|
|
|
|
"MOVHPDmr",
|
|
|
|
"MOVHPSmr",
|
|
|
|
"MOVLPDmr",
|
|
|
|
"MOVLPSmr",
|
|
|
|
"MOVNTDQmr",
|
|
|
|
"MOVNTI_64mr",
|
|
|
|
"MOVNTImr",
|
|
|
|
"MOVNTPDmr",
|
|
|
|
"MOVNTPSmr",
|
|
|
|
"MOVPDI2DImr",
|
|
|
|
"MOVPQI2QImr",
|
|
|
|
"MOVPQIto64mr",
|
|
|
|
"MOVSDmr",
|
|
|
|
"MOVSSmr",
|
|
|
|
"MOVUPDmr",
|
|
|
|
"MOVUPSmr",
|
|
|
|
"ST_FP32m",
|
|
|
|
"ST_FP64m",
|
|
|
|
"ST_FP80m",
|
|
|
|
"VEXTRACTF128mr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VEXTRACTF32x4Z256mr(b?)",
|
|
|
|
"VEXTRACTF32x4Zmr(b?)",
|
|
|
|
"VEXTRACTF32x8Zmr(b?)",
|
|
|
|
"VEXTRACTF64x2Z256mr(b?)",
|
|
|
|
"VEXTRACTF64x2Zmr(b?)",
|
|
|
|
"VEXTRACTF64x4Zmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VEXTRACTI128mr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VEXTRACTI32x4Z256mr(b?)",
|
|
|
|
"VEXTRACTI32x4Zmr(b?)",
|
|
|
|
"VEXTRACTI32x8Zmr(b?)",
|
|
|
|
"VEXTRACTI64x2Z256mr(b?)",
|
|
|
|
"VEXTRACTI64x2Zmr(b?)",
|
|
|
|
"VEXTRACTI64x4Zmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVAPDYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVAPDZ128mr(b?)",
|
|
|
|
"VMOVAPDZ256mr(b?)",
|
|
|
|
"VMOVAPDZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVAPDmr",
|
|
|
|
"VMOVAPSYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVAPSZ128mr(b?)",
|
|
|
|
"VMOVAPSZ256mr(b?)",
|
|
|
|
"VMOVAPSZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVAPSmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVDQA32Z128mr(b?)",
|
|
|
|
"VMOVDQA32Z256mr(b?)",
|
|
|
|
"VMOVDQA32Zmr(b?)",
|
|
|
|
"VMOVDQA64Z128mr(b?)",
|
|
|
|
"VMOVDQA64Z256mr(b?)",
|
|
|
|
"VMOVDQA64Zmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVDQAYmr",
|
|
|
|
"VMOVDQAmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVDQU16Z128mr(b?)",
|
|
|
|
"VMOVDQU16Z256mr(b?)",
|
|
|
|
"VMOVDQU16Zmr(b?)",
|
|
|
|
"VMOVDQU32Z128mr(b?)",
|
|
|
|
"VMOVDQU32Z256mr(b?)",
|
|
|
|
"VMOVDQU32Zmr(b?)",
|
|
|
|
"VMOVDQU64Z128mr(b?)",
|
|
|
|
"VMOVDQU64Z256mr(b?)",
|
|
|
|
"VMOVDQU64Zmr(b?)",
|
|
|
|
"VMOVDQU8Z128mr(b?)",
|
|
|
|
"VMOVDQU8Z256mr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVDQUYmr",
|
|
|
|
"VMOVDQUmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVHPDZ128mr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVHPDmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVHPSZ128mr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVHPSmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVLPDZ128mr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVLPDmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVLPSZ128mr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVLPSmr",
|
|
|
|
"VMOVNTDQYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVNTDQZ128mr(b?)",
|
|
|
|
"VMOVNTDQZ256mr(b?)",
|
|
|
|
"VMOVNTDQZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVNTDQmr",
|
|
|
|
"VMOVNTPDYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVNTPDZ128mr(b?)",
|
|
|
|
"VMOVNTPDZ256mr(b?)",
|
|
|
|
"VMOVNTPDZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVNTPDmr",
|
|
|
|
"VMOVNTPSYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVNTPSZ128mr(b?)",
|
|
|
|
"VMOVNTPSZ256mr(b?)",
|
|
|
|
"VMOVNTPSZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVNTPSmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVPDI2DIZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVPDI2DImr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVPQI(2QI|to64)Zmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVPQI2QImr",
|
|
|
|
"VMOVPQIto64mr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVSDZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVSDmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVSSZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVSSmr",
|
|
|
|
"VMOVUPDYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVUPDZ128mr(b?)",
|
|
|
|
"VMOVUPDZ256mr(b?)",
|
|
|
|
"VMOVUPDZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVUPDmr",
|
|
|
|
"VMOVUPSYmr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVUPSZ128mr(b?)",
|
|
|
|
"VMOVUPSZ256mr(b?)",
|
|
|
|
"VMOVUPSZmr(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVUPSmr",
|
|
|
|
"VMPTRSTm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup12 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-17 15:22:44 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup12], (instregex "MMX_MOVD64from64rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_MOVD64grr",
|
|
|
|
"MOVPDI2DIrr",
|
|
|
|
"MOVPQIto64rr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVPDI2DIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVPDI2DIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVPQIto64Zrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVPQIto64rr",
|
|
|
|
"VTESTPDYrr",
|
|
|
|
"VTESTPDrr",
|
|
|
|
"VTESTPSYrr",
|
2018-04-17 15:22:44 +08:00
|
|
|
"VTESTPSrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup13 : SchedWriteRes<[SKXPort5]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-04-24 21:21:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup13], (instregex "MMX_MOVQ2DQrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup14 : SchedWriteRes<[SKXPort05]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-04-24 00:10:50 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup14], (instrs FDECSTP)>;
|
|
|
|
def: InstRW<[SKXWriteResGroup14], (instregex "MMX_MOVDQ2Qrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup15 : SchedWriteRes<[SKXPort06]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup15], (instregex "CMOV(A|BE)(16|32|64)rr",
|
|
|
|
"ROL(8|16|32|64)r1",
|
|
|
|
"ROL(8|16|32|64)ri",
|
|
|
|
"ROR(8|16|32|64)r1",
|
|
|
|
"ROR(8|16|32|64)ri",
|
|
|
|
"SET(A|BE)r")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup17 : SchedWriteRes<[SKXPort0156]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup17], (instrs LFENCE,
|
|
|
|
WAIT,
|
|
|
|
XGETBV)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup18 : SchedWriteRes<[SKXPort0,SKXPort237]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup18], (instregex "VMASKMOVPDYmr",
|
|
|
|
"VMASKMOVPDmr",
|
|
|
|
"VMASKMOVPSYmr",
|
|
|
|
"VMASKMOVPSmr",
|
|
|
|
"VPMASKMOVDYmr",
|
|
|
|
"VPMASKMOVDmr",
|
|
|
|
"VPMASKMOVQYmr",
|
|
|
|
"VPMASKMOVQmr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup19 : SchedWriteRes<[SKXPort5,SKXPort01]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup19], (instregex "PSLLDrr",
|
|
|
|
"PSLLQrr",
|
|
|
|
"PSLLWrr",
|
|
|
|
"PSRADrr",
|
|
|
|
"PSRAWrr",
|
|
|
|
"PSRLDrr",
|
|
|
|
"PSRLQrr",
|
|
|
|
"PSRLWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLQZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLWZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRADZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRADrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAQZ128rr",
|
|
|
|
"VPSRAWZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLQZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLQrr",
|
|
|
|
"VPSRLWrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup20 : SchedWriteRes<[SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup20], (instregex "CLFLUSH")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup21 : SchedWriteRes<[SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup21], (instregex "SFENCE")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup22 : SchedWriteRes<[SKXPort06,SKXPort15]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-05 01:54:19 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup22], (instrs BSWAP64r)>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup22_1 : SchedWriteRes<[SKXPort15]> {
|
|
|
|
let Latency = 1;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup22_1], (instrs BSWAP32r)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup23 : SchedWriteRes<[SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup23], (instrs CWD)>;
|
2018-03-20 03:00:32 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup23], (instrs JCXZ, JECXZ, JRCXZ)>;
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup23], (instregex "ADC8i8",
|
|
|
|
"ADC8ri",
|
|
|
|
"SBB8i8",
|
|
|
|
"SBB8ri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup25 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort237]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup25], (instregex "FNSTCW16m")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup27 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort15]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup27], (instregex "MOVBE(16|32|64)mr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup28 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup28], (instrs PUSH16r, PUSH32r, PUSH64r,
|
|
|
|
STOSB, STOSL, STOSQ, STOSW)>;
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup28], (instregex "PUSH(16|32|64)rmr",
|
2018-04-27 21:32:42 +08:00
|
|
|
"PUSH64i8")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup29 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort15]> {
|
|
|
|
let Latency = 2;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [2,2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup29], (instregex "VMOVDQU8Zmr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup30 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup30], (instregex "KADDBrr",
|
|
|
|
"KADDDrr",
|
|
|
|
"KADDQrr",
|
|
|
|
"KADDWrr",
|
|
|
|
"KMOVBrk",
|
|
|
|
"KMOVDrk",
|
|
|
|
"KMOVQrk",
|
|
|
|
"KMOVWrk",
|
|
|
|
"KORTESTBrr",
|
|
|
|
"KORTESTDrr",
|
|
|
|
"KORTESTQrr",
|
|
|
|
"KORTESTWrr",
|
|
|
|
"KTESTBrr",
|
|
|
|
"KTESTDrr",
|
|
|
|
"KTESTQrr",
|
|
|
|
"KTESTWrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup31 : SchedWriteRes<[SKXPort1]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-25 18:51:19 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup31], (instregex "CMOV(N?)(B|BE|E|P)_F",
|
|
|
|
"PDEP(32|64)rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"PEXT(32|64)rr",
|
|
|
|
"SHLD(16|32|64)rri8",
|
2018-03-27 02:19:28 +08:00
|
|
|
"SHRD(16|32|64)rri8")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
[X86] Add IMUL scheduling info on sandybridge, fix it on >=haswell.
Summary:
Only IMUL16rri uses an extra P0156. IMUL32* and IMUL16rr only use
P1.
This was computed using https://github.com/google/EXEgesis/blob/master/exegesis/tools/compute_itineraries.cc
This can easily be validated by running perf on the following code:
```
int main(int argc, char**argv) {
int a = argc;
int b = argc;
int c = argc;
int d = argc;
for (int i = 0; i < LOOP_ITERATIONS; ++i) {
asm volatile(
R"(
.rept 10000
imull $0x2, %%edx, %%eax
imull $0x2, %%ecx, %%ebx
imull $0x2, %%eax, %%edx
imull $0x2, %%ebx, %%ecx
.endr
)"
: "+a"(a), "+b"(b), "+c"(c), "+d"(d)
:
:);
}
return a+b+c+d;
}
```
-> test.cc
perf stat -x, -e cycles --pfm-events=uops_executed_port:port_0:u,uops_executed_port:port_1:u,uops_executed_port:port_2:u,uops_executed_port:port_3:u,uops_executed_port:port_4:u,uops_executed_port:port_5:u,uops_executed_port:port_6:u,uops_executed_port:port_7:u test
Reviewers: craig.topper, RKSimon, gadi.haber
Subscribers: llvm-commits, gchatelet, chandlerc
Differential Revision: https://reviews.llvm.org/D43460
llvm-svn: 326877
2018-03-07 16:14:02 +08:00
|
|
|
def SKXWriteResGroup31_16i : SchedWriteRes<[SKXPort1, SKXPort0156]> {
|
2018-04-19 13:34:05 +08:00
|
|
|
let Latency = 4;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
[X86] Add IMUL scheduling info on sandybridge, fix it on >=haswell.
Summary:
Only IMUL16rri uses an extra P0156. IMUL32* and IMUL16rr only use
P1.
This was computed using https://github.com/google/EXEgesis/blob/master/exegesis/tools/compute_itineraries.cc
This can easily be validated by running perf on the following code:
```
int main(int argc, char**argv) {
int a = argc;
int b = argc;
int c = argc;
int d = argc;
for (int i = 0; i < LOOP_ITERATIONS; ++i) {
asm volatile(
R"(
.rept 10000
imull $0x2, %%edx, %%eax
imull $0x2, %%ecx, %%ebx
imull $0x2, %%eax, %%edx
imull $0x2, %%ebx, %%ecx
.endr
)"
: "+a"(a), "+b"(b), "+c"(c), "+d"(d)
:
:);
}
return a+b+c+d;
}
```
-> test.cc
perf stat -x, -e cycles --pfm-events=uops_executed_port:port_0:u,uops_executed_port:port_1:u,uops_executed_port:port_2:u,uops_executed_port:port_3:u,uops_executed_port:port_4:u,uops_executed_port:port_5:u,uops_executed_port:port_6:u,uops_executed_port:port_7:u test
Reviewers: craig.topper, RKSimon, gadi.haber
Subscribers: llvm-commits, gchatelet, chandlerc
Differential Revision: https://reviews.llvm.org/D43460
llvm-svn: 326877
2018-03-07 16:14:02 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup31_16i], (instrs IMUL16rri, IMUL16rri8)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
def SKXWriteResGroup32 : SchedWriteRes<[SKXPort5]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup32], (instregex "ADD_FPrST0",
|
|
|
|
"ADD_FST0r",
|
|
|
|
"ADD_FrST0",
|
|
|
|
"KSHIFTLBri",
|
|
|
|
"KSHIFTLDri",
|
|
|
|
"KSHIFTLQri",
|
|
|
|
"KSHIFTLWri",
|
|
|
|
"KSHIFTRBri",
|
|
|
|
"KSHIFTRDri",
|
|
|
|
"KSHIFTRQri",
|
|
|
|
"KSHIFTRWri",
|
|
|
|
"KUNPCKBWrr",
|
|
|
|
"KUNPCKDQrr",
|
|
|
|
"KUNPCKWDrr",
|
|
|
|
"PCMPGTQrr",
|
|
|
|
"SUBR_FPrST0",
|
|
|
|
"SUBR_FST0r",
|
|
|
|
"SUBR_FrST0",
|
|
|
|
"SUB_FPrST0",
|
|
|
|
"SUB_FST0r",
|
|
|
|
"SUB_FrST0",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VALIGNDZ128rri",
|
|
|
|
"VALIGNDZ256rri",
|
|
|
|
"VALIGNDZrri",
|
|
|
|
"VALIGNQZ128rri",
|
|
|
|
"VALIGNQZ256rri",
|
|
|
|
"VALIGNQZrri",
|
|
|
|
"VCMPPDZ128rri",
|
|
|
|
"VCMPPDZ256rri",
|
|
|
|
"VCMPPDZrri",
|
|
|
|
"VCMPPSZ128rri",
|
|
|
|
"VCMPPSZ256rri",
|
|
|
|
"VCMPPSZrri",
|
|
|
|
"VCMPSDZrr",
|
|
|
|
"VCMPSSZrr",
|
|
|
|
"VDBPSADBWZ128rri",
|
|
|
|
"VDBPSADBWZ256rri",
|
|
|
|
"VDBPSADBWZrri",
|
|
|
|
"VFPCLASSPDZ128rr",
|
|
|
|
"VFPCLASSPDZ256rr",
|
|
|
|
"VFPCLASSPDZrr",
|
|
|
|
"VFPCLASSPSZ128rr",
|
|
|
|
"VFPCLASSPSZ256rr",
|
|
|
|
"VFPCLASSPSZrr",
|
|
|
|
"VFPCLASSSDrr",
|
|
|
|
"VFPCLASSSSrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPBROADCASTBrr",
|
|
|
|
"VPBROADCASTWrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPCMPBZ128rri",
|
|
|
|
"VPCMPBZ256rri",
|
|
|
|
"VPCMPBZrri",
|
|
|
|
"VPCMPDZ128rri",
|
|
|
|
"VPCMPDZ256rri",
|
|
|
|
"VPCMPDZrri",
|
|
|
|
"VPCMPEQBZ128rr",
|
|
|
|
"VPCMPEQBZ256rr",
|
|
|
|
"VPCMPEQBZrr",
|
|
|
|
"VPCMPEQDZ128rr",
|
|
|
|
"VPCMPEQDZ256rr",
|
|
|
|
"VPCMPEQDZrr",
|
|
|
|
"VPCMPEQQZ128rr",
|
|
|
|
"VPCMPEQQZ256rr",
|
|
|
|
"VPCMPEQQZrr",
|
|
|
|
"VPCMPEQWZ128rr",
|
|
|
|
"VPCMPEQWZ256rr",
|
|
|
|
"VPCMPEQWZrr",
|
|
|
|
"VPCMPGTBZ128rr",
|
|
|
|
"VPCMPGTBZ256rr",
|
|
|
|
"VPCMPGTBZrr",
|
|
|
|
"VPCMPGTDZ128rr",
|
|
|
|
"VPCMPGTDZ256rr",
|
|
|
|
"VPCMPGTDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPCMPGTQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPCMPGTQZ128rr",
|
|
|
|
"VPCMPGTQZ256rr",
|
|
|
|
"VPCMPGTQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPCMPGTQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPCMPGTWZ128rr",
|
|
|
|
"VPCMPGTWZ256rr",
|
|
|
|
"VPCMPGTWZrr",
|
|
|
|
"VPCMPQZ128rri",
|
|
|
|
"VPCMPQZ256rri",
|
|
|
|
"VPCMPQZrri",
|
|
|
|
"VPCMPUBZ128rri",
|
|
|
|
"VPCMPUBZ256rri",
|
|
|
|
"VPCMPUBZrri",
|
|
|
|
"VPCMPUDZ128rri",
|
|
|
|
"VPCMPUDZ256rri",
|
|
|
|
"VPCMPUDZrri",
|
|
|
|
"VPCMPUQZ128rri",
|
|
|
|
"VPCMPUQZ256rri",
|
|
|
|
"VPCMPUQZrri",
|
|
|
|
"VPCMPUWZ128rri",
|
|
|
|
"VPCMPUWZ256rri",
|
|
|
|
"VPCMPUWZrri",
|
|
|
|
"VPCMPWZ128rri",
|
|
|
|
"VPCMPWZ256rri",
|
|
|
|
"VPCMPWZrri",
|
|
|
|
"VPMAXSQZ128rr",
|
|
|
|
"VPMAXSQZ256rr",
|
|
|
|
"VPMAXSQZrr",
|
|
|
|
"VPMAXUQZ128rr",
|
|
|
|
"VPMAXUQZ256rr",
|
|
|
|
"VPMAXUQZrr",
|
|
|
|
"VPMINSQZ128rr",
|
|
|
|
"VPMINSQZ256rr",
|
|
|
|
"VPMINSQZrr",
|
|
|
|
"VPMINUQZ128rr",
|
|
|
|
"VPMINUQZ256rr",
|
|
|
|
"VPMINUQZrr",
|
|
|
|
"VPMOVQDZ128rr",
|
|
|
|
"VPMOVQDZ256rr",
|
|
|
|
"VPMOVQDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXBDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXBDZ128rr",
|
|
|
|
"VPMOVSXBDZ256rr",
|
|
|
|
"VPMOVSXBDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXBQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXBQZ128rr",
|
|
|
|
"VPMOVSXBQZ256rr",
|
|
|
|
"VPMOVSXBQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXBWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXBWZ128rr",
|
|
|
|
"VPMOVSXBWZ256rr",
|
|
|
|
"VPMOVSXBWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXDQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXDQZ128rr",
|
|
|
|
"VPMOVSXDQZ256rr",
|
|
|
|
"VPMOVSXDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXWDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXWDZ128rr",
|
|
|
|
"VPMOVSXWDZ256rr",
|
|
|
|
"VPMOVSXWDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXWQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXWQZ128rr",
|
|
|
|
"VPMOVSXWQZ256rr",
|
|
|
|
"VPMOVSXWQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBDZ128rr",
|
|
|
|
"VPMOVZXBDZ256rr",
|
|
|
|
"VPMOVZXBDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBQZ128rr",
|
|
|
|
"VPMOVZXBQZ256rr",
|
|
|
|
"VPMOVZXBQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBWZ128rr",
|
|
|
|
"VPMOVZXBWZ256rr",
|
|
|
|
"VPMOVZXBWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXDQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXDQZ128rr",
|
|
|
|
"VPMOVZXDQZ256rr",
|
|
|
|
"VPMOVZXDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXWDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXWDZ128rr",
|
|
|
|
"VPMOVZXWDZ256rr",
|
|
|
|
"VPMOVZXWDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXWQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXWQZ128rr",
|
|
|
|
"VPMOVZXWQZ256rr",
|
|
|
|
"VPMOVZXWQZrr",
|
2018-04-18 03:35:19 +08:00
|
|
|
"VPSADBWZrr", // TODO: 512-bit ops require ports 0/1 to be joined.
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPTESTMBZ128rr",
|
|
|
|
"VPTESTMBZ256rr",
|
|
|
|
"VPTESTMBZrr",
|
|
|
|
"VPTESTMDZ128rr",
|
|
|
|
"VPTESTMDZ256rr",
|
|
|
|
"VPTESTMDZrr",
|
|
|
|
"VPTESTMQZ128rr",
|
|
|
|
"VPTESTMQZ256rr",
|
|
|
|
"VPTESTMQZrr",
|
|
|
|
"VPTESTMWZ128rr",
|
|
|
|
"VPTESTMWZ256rr",
|
|
|
|
"VPTESTMWZrr",
|
|
|
|
"VPTESTNMBZ128rr",
|
|
|
|
"VPTESTNMBZ256rr",
|
|
|
|
"VPTESTNMBZrr",
|
|
|
|
"VPTESTNMDZ128rr",
|
|
|
|
"VPTESTNMDZ256rr",
|
|
|
|
"VPTESTNMDZrr",
|
|
|
|
"VPTESTNMQZ128rr",
|
|
|
|
"VPTESTNMQZ256rr",
|
|
|
|
"VPTESTNMQZrr",
|
|
|
|
"VPTESTNMWZ128rr",
|
|
|
|
"VPTESTNMWZ256rr",
|
2018-04-22 04:45:12 +08:00
|
|
|
"VPTESTNMWZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup33 : SchedWriteRes<[SKXPort0,SKXPort5]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-24 21:21:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup33], (instregex "(V?)PTEST(Y?)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup34 : SchedWriteRes<[SKXPort0,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup34], (instregex "FNSTSW16r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup35 : SchedWriteRes<[SKXPort06]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [3];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup35], (instregex "ROL(8|16|32|64)rCL",
|
|
|
|
"ROR(8|16|32|64)rCL",
|
|
|
|
"SAR(8|16|32|64)rCL",
|
|
|
|
"SHL(8|16|32|64)rCL",
|
|
|
|
"SHR(8|16|32|64)rCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup36 : SchedWriteRes<[SKXPort0156]> {
|
2018-04-20 02:00:17 +08:00
|
|
|
let Latency = 2;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [3];
|
|
|
|
}
|
2018-04-20 02:00:17 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup36], (instrs XADD8rr, XADD16rr, XADD32rr, XADD64rr,
|
|
|
|
XCHG8rr, XCHG16rr, XCHG32rr, XCHG64rr,
|
|
|
|
XCHG16ar, XCHG32ar, XCHG64ar)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup37 : SchedWriteRes<[SKXPort0,SKXPort5]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-04-20 01:32:10 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup37], (instregex "MMX_PH(ADD|SUB)SWrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup38 : SchedWriteRes<[SKXPort5,SKXPort01]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup38], (instregex "PHADDSWrr",
|
|
|
|
"PHSUBSWrr",
|
|
|
|
"VPHADDSWrr",
|
|
|
|
"VPHADDSWYrr",
|
|
|
|
"VPHSUBSWrr",
|
|
|
|
"VPHSUBSWYrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup39 : SchedWriteRes<[SKXPort5,SKXPort05]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-04-20 01:32:10 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup39], (instregex "MMX_PH(ADD|SUB)(D|W)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup40 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup40], (instregex "PHADDDrr",
|
|
|
|
"PHADDWrr",
|
|
|
|
"PHSUBDrr",
|
|
|
|
"PHSUBWrr",
|
|
|
|
"VPHADDDYrr",
|
|
|
|
"VPHADDDrr",
|
|
|
|
"VPHADDWYrr",
|
|
|
|
"VPHADDWrr",
|
|
|
|
"VPHSUBDYrr",
|
|
|
|
"VPHSUBDrr",
|
|
|
|
"VPHSUBWYrr",
|
|
|
|
"VPHSUBWrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup41 : SchedWriteRes<[SKXPort5,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup41], (instregex "MMX_PACKSSDWirr",
|
|
|
|
"MMX_PACKSSWBirr",
|
|
|
|
"MMX_PACKUSWBirr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup42 : SchedWriteRes<[SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup42], (instregex "CLD")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup43 : SchedWriteRes<[SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup43], (instrs MFENCE)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup44 : SchedWriteRes<[SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup44], (instregex "RCL(8|16|32|64)r1",
|
|
|
|
"RCL(8|16|32|64)ri",
|
|
|
|
"RCR(8|16|32|64)r1",
|
|
|
|
"RCR(8|16|32|64)ri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup45 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort237]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup45], (instregex "FNSTSWm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup46 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort06]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,2];
|
|
|
|
}
|
2018-01-19 13:47:32 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup46], (instregex "SET(A|BE)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup47 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup47], (instregex "CALL(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup48 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 3;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup48], (instregex "CALL64pcrel32")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup49 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 21:18:08 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup49], (instregex "MMX_PMADDUBSWrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_PMADDWDirr",
|
|
|
|
"MMX_PMULHRSWrr",
|
|
|
|
"MMX_PMULHUWirr",
|
|
|
|
"MMX_PMULHWirr",
|
|
|
|
"MMX_PMULLWirr",
|
|
|
|
"MMX_PMULUDQirr",
|
|
|
|
"MUL_FPrST0",
|
|
|
|
"MUL_FST0r",
|
2018-04-21 23:16:59 +08:00
|
|
|
"MUL_FrST0")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup50 : SchedWriteRes<[SKXPort015]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-25 18:51:19 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup50], (instregex "CVTDQ2PSrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"CVTPS2DQrr",
|
|
|
|
"CVTTPS2DQrr",
|
|
|
|
"PMADDUBSWrr",
|
|
|
|
"PMADDWDrr",
|
|
|
|
"PMULDQrr",
|
|
|
|
"PMULHRSWrr",
|
|
|
|
"PMULHUWrr",
|
|
|
|
"PMULHWrr",
|
|
|
|
"PMULLWrr",
|
|
|
|
"PMULUDQrr",
|
|
|
|
"VCVTDQ2PSYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTDQ2PSZ128rr",
|
|
|
|
"VCVTDQ2PSZ256rr",
|
|
|
|
"VCVTDQ2PSZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTDQ2PSrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2QQZ128rr",
|
|
|
|
"VCVTPD2QQZ256rr",
|
|
|
|
"VCVTPD2QQZrr",
|
|
|
|
"VCVTPD2UQQZ128rr",
|
|
|
|
"VCVTPD2UQQZ256rr",
|
|
|
|
"VCVTPD2UQQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2DQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2DQZ128rr",
|
|
|
|
"VCVTPS2DQZ256rr",
|
|
|
|
"VCVTPS2DQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2DQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2UDQZ128rr",
|
|
|
|
"VCVTPS2UDQZ256rr",
|
|
|
|
"VCVTPS2UDQZrr",
|
|
|
|
"VCVTQQ2PDZ128rr",
|
|
|
|
"VCVTQQ2PDZ256rr",
|
|
|
|
"VCVTQQ2PDZrr",
|
|
|
|
"VCVTTPD2QQZ128rr",
|
|
|
|
"VCVTTPD2QQZ256rr",
|
|
|
|
"VCVTTPD2QQZrr",
|
|
|
|
"VCVTTPD2UQQZ128rr",
|
|
|
|
"VCVTTPD2UQQZ256rr",
|
|
|
|
"VCVTTPD2UQQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPS2DQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPS2DQZ128rr",
|
|
|
|
"VCVTTPS2DQZ256rr",
|
|
|
|
"VCVTTPS2DQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPS2DQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPS2UDQZ128rr",
|
|
|
|
"VCVTTPS2UDQZ256rr",
|
|
|
|
"VCVTTPS2UDQZrr",
|
|
|
|
"VCVTUDQ2PSZ128rr",
|
|
|
|
"VCVTUDQ2PSZ256rr",
|
|
|
|
"VCVTUDQ2PSZrr",
|
|
|
|
"VCVTUQQ2PDZ128rr",
|
|
|
|
"VCVTUQQ2PDZ256rr",
|
|
|
|
"VCVTUQQ2PDZrr",
|
|
|
|
"VPLZCNTDZ128rr",
|
|
|
|
"VPLZCNTDZ256rr",
|
|
|
|
"VPLZCNTDZrr",
|
|
|
|
"VPLZCNTQZ128rr",
|
|
|
|
"VPLZCNTQZ256rr",
|
|
|
|
"VPLZCNTQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDUBSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMADDUBSWZ128rr",
|
|
|
|
"VPMADDUBSWZ256rr",
|
|
|
|
"VPMADDUBSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDUBSWrr",
|
|
|
|
"VPMADDWDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMADDWDZ128rr",
|
|
|
|
"VPMADDWDZ256rr",
|
|
|
|
"VPMADDWDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDWDrr",
|
|
|
|
"VPMULDQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULDQZ128rr",
|
|
|
|
"VPMULDQZ256rr",
|
|
|
|
"VPMULDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULDQrr",
|
|
|
|
"VPMULHRSWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHRSWZ128rr",
|
|
|
|
"VPMULHRSWZ256rr",
|
|
|
|
"VPMULHRSWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHRSWrr",
|
|
|
|
"VPMULHUWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHUWZ128rr",
|
|
|
|
"VPMULHUWZ256rr",
|
|
|
|
"VPMULHUWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHUWrr",
|
|
|
|
"VPMULHWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHWZ128rr",
|
|
|
|
"VPMULHWZ256rr",
|
|
|
|
"VPMULHWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHWrr",
|
|
|
|
"VPMULLWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULLWZ128rr",
|
|
|
|
"VPMULLWZ256rr",
|
|
|
|
"VPMULLWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULLWrr",
|
|
|
|
"VPMULUDQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULUDQZ128rr",
|
|
|
|
"VPMULUDQZ256rr",
|
|
|
|
"VPMULUDQZrr",
|
2018-04-25 18:51:19 +08:00
|
|
|
"VPMULUDQrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup51 : SchedWriteRes<[SKXPort5]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-04-22 18:39:16 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup51], (instregex "VEXPANDPDZ128rr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VEXPANDPDZ256rr",
|
|
|
|
"VEXPANDPDZrr",
|
|
|
|
"VEXPANDPSZ128rr",
|
|
|
|
"VEXPANDPSZ256rr",
|
|
|
|
"VEXPANDPSZrr",
|
|
|
|
"VPEXPANDDZ128rr",
|
|
|
|
"VPEXPANDDZ256rr",
|
|
|
|
"VPEXPANDDZrr",
|
|
|
|
"VPEXPANDQZ128rr",
|
|
|
|
"VPEXPANDQZ256rr",
|
|
|
|
"VPEXPANDQZrr",
|
|
|
|
"VPMOVDBZ128rr",
|
|
|
|
"VPMOVDBZ256rr",
|
|
|
|
"VPMOVDBZrr",
|
|
|
|
"VPMOVDWZ128rr",
|
|
|
|
"VPMOVDWZ256rr",
|
|
|
|
"VPMOVDWZrr",
|
|
|
|
"VPMOVQBZ128rr",
|
|
|
|
"VPMOVQBZ256rr",
|
|
|
|
"VPMOVQBZrr",
|
|
|
|
"VPMOVQWZ128rr",
|
|
|
|
"VPMOVQWZ256rr",
|
|
|
|
"VPMOVQWZrr",
|
|
|
|
"VPMOVSDBZ128rr",
|
|
|
|
"VPMOVSDBZ256rr",
|
|
|
|
"VPMOVSDBZrr",
|
|
|
|
"VPMOVSDWZ128rr",
|
|
|
|
"VPMOVSDWZ256rr",
|
|
|
|
"VPMOVSDWZrr",
|
|
|
|
"VPMOVSQBZ128rr",
|
|
|
|
"VPMOVSQBZ256rr",
|
|
|
|
"VPMOVSQBZrr",
|
|
|
|
"VPMOVSQDZ128rr",
|
|
|
|
"VPMOVSQDZ256rr",
|
|
|
|
"VPMOVSQDZrr",
|
|
|
|
"VPMOVSQWZ128rr",
|
|
|
|
"VPMOVSQWZ256rr",
|
|
|
|
"VPMOVSQWZrr",
|
|
|
|
"VPMOVSWBZ128rr",
|
|
|
|
"VPMOVSWBZ256rr",
|
|
|
|
"VPMOVSWBZrr",
|
|
|
|
"VPMOVUSDBZ128rr",
|
|
|
|
"VPMOVUSDBZ256rr",
|
|
|
|
"VPMOVUSDBZrr",
|
|
|
|
"VPMOVUSDWZ128rr",
|
|
|
|
"VPMOVUSDWZ256rr",
|
|
|
|
"VPMOVUSDWZrr",
|
|
|
|
"VPMOVUSQBZ128rr",
|
|
|
|
"VPMOVUSQBZ256rr",
|
|
|
|
"VPMOVUSQBZrr",
|
|
|
|
"VPMOVUSQDZ128rr",
|
|
|
|
"VPMOVUSQDZ256rr",
|
|
|
|
"VPMOVUSQDZrr",
|
|
|
|
"VPMOVUSQWZ128rr",
|
|
|
|
"VPMOVUSQWZ256rr",
|
|
|
|
"VPMOVUSQWZrr",
|
|
|
|
"VPMOVUSWBZ128rr",
|
|
|
|
"VPMOVUSWBZ256rr",
|
|
|
|
"VPMOVUSWBZrr",
|
|
|
|
"VPMOVWBZ128rr",
|
|
|
|
"VPMOVWBZ256rr",
|
|
|
|
"VPMOVWBZrr")>;
|
2018-03-22 12:23:41 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
def SKXWriteResGroup52 : SchedWriteRes<[SKXPort1,SKXPort5]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-23 03:22:51 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup52], (instrs IMUL64r, MUL64r, MULX64rr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup52_16 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 4;
|
2018-04-19 13:34:05 +08:00
|
|
|
let ResourceCycles = [1,1,2];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup52_16], (instrs IMUL16r, MUL16r)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup53 : SchedWriteRes<[SKXPort5,SKXPort01]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup53], (instregex "VPSLLDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDZ256rr",
|
|
|
|
"VPSLLDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLQZ256rr",
|
|
|
|
"VPSLLQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLWZ256rr",
|
|
|
|
"VPSLLWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRADYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRADZ256rr",
|
|
|
|
"VPSRADZrr",
|
|
|
|
"VPSRAQZ256rr",
|
|
|
|
"VPSRAQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAWZ256rr",
|
|
|
|
"VPSRAWZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDZ256rr",
|
|
|
|
"VPSRLDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLQZ256rr",
|
|
|
|
"VPSRLQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLWYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLWZ256rr",
|
|
|
|
"VPSRLWZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup54 : SchedWriteRes<[SKXPort4,SKXPort5,SKXPort237]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup54], (instregex "ISTT_FP16m",
|
|
|
|
"ISTT_FP32m",
|
|
|
|
"ISTT_FP64m",
|
|
|
|
"IST_F16m",
|
|
|
|
"IST_F32m",
|
|
|
|
"IST_FP16m",
|
|
|
|
"IST_FP32m",
|
|
|
|
"IST_FP64m",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVQDZ128mr(b?)",
|
|
|
|
"VPMOVQDZ256mr(b?)",
|
|
|
|
"VPMOVQDZmr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup55 : SchedWriteRes<[SKXPort0156]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [4];
|
|
|
|
}
|
2018-04-24 00:10:50 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup55], (instrs FNCLEX)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup56 : SchedWriteRes<[SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup56], (instrs VZEROUPPER)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup57 : SchedWriteRes<[SKXPort1,SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 4;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,2];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup57], (instregex "LAR(16|32|64)rr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup58 : SchedWriteRes<[SKXPort23]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-04-22 05:59:36 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup58], (instregex "MOVSX(16|32|64)rm16",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MOVSX(16|32|64)rm32",
|
|
|
|
"MOVSX(16|32|64)rm8",
|
|
|
|
"MOVZX(16|32|64)rm16",
|
|
|
|
"MOVZX(16|32|64)rm8",
|
2018-04-22 05:59:36 +08:00
|
|
|
"(V?)MOVDDUPrm")>; // TODO: Should this be SKXWriteResGroup71?
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup59 : SchedWriteRes<[SKXPort015]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup59], (instregex "VCVTSD2SSZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup60 : SchedWriteRes<[SKXPort0,SKXPort5]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup60], (instregex "(V?)CVTDQ2PDrr",
|
|
|
|
"MMX_CVTPI2PDirr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup61 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup61], (instregex "CVTPD2DQrr",
|
|
|
|
"CVTPD2PSrr",
|
|
|
|
"CVTPS2PDrr",
|
|
|
|
"CVTSD2SSrr",
|
|
|
|
"CVTSI642SDrr",
|
|
|
|
"CVTSI2SDrr",
|
|
|
|
"CVTSI2SSrr",
|
|
|
|
"CVTSS2SDrr",
|
|
|
|
"CVTTPD2DQrr",
|
|
|
|
"MMX_CVTPD2PIirr",
|
|
|
|
"MMX_CVTPS2PIirr",
|
|
|
|
"MMX_CVTTPD2PIirr",
|
|
|
|
"MMX_CVTTPS2PIirr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTDQ2PDZ128rr",
|
|
|
|
"VCVTPD2DQZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPD2DQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2PSZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPD2PSrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2UDQZ128rr",
|
|
|
|
"VCVTPH2PSZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPH2PSrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PDZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2PDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PHZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2PHrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2QQZ128rr",
|
|
|
|
"VCVTPS2UQQZ128rr",
|
|
|
|
"VCVTQQ2PSZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSD2SSrr",
|
|
|
|
"VCVTSI642SDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSI2SDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSI2SDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSI2SSZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSI2SSrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSI642SDZrr",
|
|
|
|
"VCVTSS2SDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SDrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPD2DQZ128rr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPD2DQrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPD2UDQZ128rr",
|
|
|
|
"VCVTTPS2QQZ128rr",
|
|
|
|
"VCVTTPS2UQQZ128rr",
|
|
|
|
"VCVTUDQ2PDZ128rr",
|
|
|
|
"VCVTUQQ2PSZ128rr",
|
|
|
|
"VCVTUSI2SDZrr",
|
|
|
|
"VCVTUSI2SSZrr",
|
|
|
|
"VCVTUSI642SDZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup62 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup62], (instregex "VPCONFLICTQZ128rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup63 : SchedWriteRes<[SKXPort1,SKXPort6,SKXPort06]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup63], (instregex "STR(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup64 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort0156]> {
|
2018-03-23 03:22:51 +08:00
|
|
|
let Latency = 4;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-23 03:22:51 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup64], (instrs IMUL32r, MUL32r, MULX32rr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup65 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort015]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup65], (instregex "VCVTPS2PHZ128mr(b?)",
|
|
|
|
"VCVTPS2PHZ256mr(b?)",
|
|
|
|
"VCVTPS2PHZmr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup66 : SchedWriteRes<[SKXPort4,SKXPort5,SKXPort237]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup66], (instregex "VPMOVDBZ128mr(b?)",
|
|
|
|
"VPMOVDBZ256mr(b?)",
|
|
|
|
"VPMOVDBZmr(b?)",
|
|
|
|
"VPMOVDWZ128mr(b?)",
|
|
|
|
"VPMOVDWZ256mr(b?)",
|
|
|
|
"VPMOVDWZmr(b?)",
|
|
|
|
"VPMOVQBZ128mr(b?)",
|
|
|
|
"VPMOVQBZ256mr(b?)",
|
|
|
|
"VPMOVQBZmr(b?)",
|
|
|
|
"VPMOVQWZ128mr(b?)",
|
|
|
|
"VPMOVQWZ256mr(b?)",
|
|
|
|
"VPMOVQWZmr(b?)",
|
|
|
|
"VPMOVSDBZ128mr(b?)",
|
|
|
|
"VPMOVSDBZ256mr(b?)",
|
|
|
|
"VPMOVSDBZmr(b?)",
|
|
|
|
"VPMOVSDWZ128mr(b?)",
|
|
|
|
"VPMOVSDWZ256mr(b?)",
|
|
|
|
"VPMOVSDWZmr(b?)",
|
|
|
|
"VPMOVSQBZ128mr(b?)",
|
|
|
|
"VPMOVSQBZ256mr(b?)",
|
|
|
|
"VPMOVSQBZmr(b?)",
|
|
|
|
"VPMOVSQDZ128mr(b?)",
|
|
|
|
"VPMOVSQDZ256mr(b?)",
|
|
|
|
"VPMOVSQDZmr(b?)",
|
|
|
|
"VPMOVSQWZ128mr(b?)",
|
|
|
|
"VPMOVSQWZ256mr(b?)",
|
|
|
|
"VPMOVSQWZmr(b?)",
|
|
|
|
"VPMOVSWBZ128mr(b?)",
|
|
|
|
"VPMOVSWBZ256mr(b?)",
|
|
|
|
"VPMOVSWBZmr(b?)",
|
|
|
|
"VPMOVUSDBZ128mr(b?)",
|
|
|
|
"VPMOVUSDBZ256mr(b?)",
|
|
|
|
"VPMOVUSDBZmr(b?)",
|
|
|
|
"VPMOVUSDWZ128mr(b?)",
|
|
|
|
"VPMOVUSDWZ256mr(b?)",
|
|
|
|
"VPMOVUSDWZmr(b?)",
|
|
|
|
"VPMOVUSQBZ128mr(b?)",
|
|
|
|
"VPMOVUSQBZ256mr(b?)",
|
|
|
|
"VPMOVUSQBZmr(b?)",
|
|
|
|
"VPMOVUSQDZ128mr(b?)",
|
|
|
|
"VPMOVUSQDZ256mr(b?)",
|
|
|
|
"VPMOVUSQDZmr(b?)",
|
|
|
|
"VPMOVUSQWZ128mr(b?)",
|
|
|
|
"VPMOVUSQWZ256mr(b?)",
|
|
|
|
"VPMOVUSQWZmr(b?)",
|
|
|
|
"VPMOVUSWBZ128mr(b?)",
|
|
|
|
"VPMOVUSWBZ256mr(b?)",
|
|
|
|
"VPMOVUSWBZmr(b?)",
|
|
|
|
"VPMOVWBZ128mr(b?)",
|
|
|
|
"VPMOVWBZ256mr(b?)",
|
|
|
|
"VPMOVWBZmr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup67 : SchedWriteRes<[SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,4];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup67], (instregex "XSETBV")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup68 : SchedWriteRes<[SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [2,3];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup68], (instregex "CMPXCHG(8|16|32|64)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup69 : SchedWriteRes<[SKXPort4,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 5;
|
|
|
|
let NumMicroOps = 6;
|
|
|
|
let ResourceCycles = [1,1,4];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup69], (instregex "PUSHF16",
|
|
|
|
"PUSHF64")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup71 : SchedWriteRes<[SKXPort23]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup71], (instregex "LDDQUrm",
|
|
|
|
"MOVAPDrm",
|
|
|
|
"MOVAPSrm",
|
|
|
|
"MOVDQArm",
|
|
|
|
"MOVDQUrm",
|
|
|
|
"MOVNTDQArm",
|
|
|
|
"MOVSHDUPrm",
|
|
|
|
"MOVSLDUPrm",
|
|
|
|
"MOVUPDrm",
|
|
|
|
"MOVUPSrm",
|
|
|
|
"VBROADCASTSSrm",
|
|
|
|
"VLDDQUrm",
|
|
|
|
"VMOVAPDrm",
|
|
|
|
"VMOVAPSrm",
|
|
|
|
"VMOVDQArm",
|
|
|
|
"VMOVDQUrm",
|
|
|
|
"VMOVNTDQArm",
|
|
|
|
"VMOVSHDUPrm",
|
|
|
|
"VMOVSLDUPrm",
|
|
|
|
"VMOVUPDrm",
|
|
|
|
"VMOVUPSrm",
|
|
|
|
"VPBROADCASTDrm",
|
|
|
|
"VPBROADCASTQrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup72 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup72], (instregex "MMX_CVTPI2PSirr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCOMPRESSPDZ128rr",
|
|
|
|
"VCOMPRESSPDZ256rr",
|
|
|
|
"VCOMPRESSPDZrr",
|
|
|
|
"VCOMPRESSPSZ128rr",
|
|
|
|
"VCOMPRESSPSZ256rr",
|
|
|
|
"VCOMPRESSPSZrr",
|
|
|
|
"VPCOMPRESSDZ128rr",
|
|
|
|
"VPCOMPRESSDZ256rr",
|
|
|
|
"VPCOMPRESSDZrr",
|
|
|
|
"VPCOMPRESSQZ128rr",
|
|
|
|
"VPCOMPRESSQZ256rr",
|
|
|
|
"VPCOMPRESSQZrr",
|
|
|
|
"VPERMWZ128rr",
|
|
|
|
"VPERMWZ256rr",
|
|
|
|
"VPERMWZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup73 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup73], (instregex "MMX_PADDSBirm",
|
|
|
|
"MMX_PADDSWirm",
|
|
|
|
"MMX_PADDUSBirm",
|
|
|
|
"MMX_PADDUSWirm",
|
|
|
|
"MMX_PAVGBirm",
|
|
|
|
"MMX_PAVGWirm",
|
|
|
|
"MMX_PCMPEQBirm",
|
|
|
|
"MMX_PCMPEQDirm",
|
|
|
|
"MMX_PCMPEQWirm",
|
|
|
|
"MMX_PCMPGTBirm",
|
|
|
|
"MMX_PCMPGTDirm",
|
|
|
|
"MMX_PCMPGTWirm",
|
|
|
|
"MMX_PMAXSWirm",
|
|
|
|
"MMX_PMAXUBirm",
|
|
|
|
"MMX_PMINSWirm",
|
|
|
|
"MMX_PMINUBirm",
|
|
|
|
"MMX_PSUBSBirm",
|
|
|
|
"MMX_PSUBSWirm",
|
|
|
|
"MMX_PSUBUSBirm",
|
|
|
|
"MMX_PSUBUSWirm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup74 : SchedWriteRes<[SKXPort0,SKXPort015]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup74], (instregex "CVTSD2SI64rr",
|
|
|
|
"CVTSD2SIrr",
|
|
|
|
"CVTSS2SI64rr",
|
|
|
|
"CVTSS2SIrr",
|
|
|
|
"CVTTSD2SI64rr",
|
|
|
|
"CVTTSD2SIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2SI64Zrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSD2SI64rr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2SIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSD2SIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2USI64Zrr",
|
|
|
|
"VCVTSD2USIZrr",
|
|
|
|
"VCVTSS2SI64Zrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SI64rr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSS2SIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSS2USIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSD2SI64Zrr(b?)",
|
|
|
|
"VCVTTSD2SI64rr",
|
|
|
|
"VCVTTSD2SIZrr(b?)",
|
|
|
|
"VCVTTSD2SIrr",
|
|
|
|
"VCVTTSD2USI64Zrr(b?)",
|
|
|
|
"VCVTTSD2USIZrr(b?)",
|
|
|
|
"VCVTTSS2USIZrr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup76 : SchedWriteRes<[SKXPort6,SKXPort23]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup76], (instregex "FARJMP64",
|
|
|
|
"JMP(16|32|64)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup77 : SchedWriteRes<[SKXPort23,SKXPort05]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-20 01:32:10 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup77], (instregex "MMX_PABS(B|D|W)rm",
|
|
|
|
"MMX_PADD(B|D|Q|W)irm",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_PANDNirm",
|
|
|
|
"MMX_PANDirm",
|
|
|
|
"MMX_PORirm",
|
2018-04-20 01:32:10 +08:00
|
|
|
"MMX_PSIGN(B|D|W)rm",
|
|
|
|
"MMX_PSUB(B|D|Q|W)irm",
|
2018-03-22 12:23:41 +08:00
|
|
|
"MMX_PXORirm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup78 : SchedWriteRes<[SKXPort23,SKXPort06]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-24 06:19:55 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup78], (instregex "BT(16|32|64)mi8")>;
|
2018-04-07 01:12:18 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup78, ReadAfterLd], (instrs ADC8rm, ADC16rm, ADC32rm, ADC64rm,
|
|
|
|
ADCX32rm, ADCX64rm,
|
|
|
|
ADOX32rm, ADOX64rm,
|
|
|
|
SBB8rm, SBB16rm, SBB32rm, SBB64rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup79 : SchedWriteRes<[SKXPort23,SKXPort15]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup79], (instregex "ANDN(32|64)rm",
|
|
|
|
"BLSI(32|64)rm",
|
|
|
|
"BLSMSK(32|64)rm",
|
|
|
|
"BLSR(32|64)rm",
|
|
|
|
"MOVBE(16|32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup80 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup80], (instregex "VMOV(64to|QI2)PQIZrm(b?)",
|
|
|
|
"VMOVDI2PDIZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup81 : SchedWriteRes<[SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup81], (instrs POP16r, POP32r, POP64r)>;
|
2018-04-07 00:16:48 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup81], (instregex "POP(16|32|64)rmr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup82 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup82], (instregex "CVTSI642SSrr",
|
|
|
|
"VCVTSI642SSrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSI642SSZrr",
|
2018-04-22 23:25:59 +08:00
|
|
|
"VCVTUSI642SSZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup83 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup83], (instregex "SHLD(16|32|64)rrCL",
|
|
|
|
"SHRD(16|32|64)rrCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup84 : SchedWriteRes<[SKXPort1,SKXPort6,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup84], (instregex "SLDT(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup86 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort06]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup86], (instregex "BTC(16|32|64)mi8",
|
|
|
|
"BTR(16|32|64)mi8",
|
|
|
|
"BTS(16|32|64)mi8",
|
|
|
|
"SAR(8|16|32|64)m1",
|
|
|
|
"SAR(8|16|32|64)mi",
|
|
|
|
"SHL(8|16|32|64)m1",
|
|
|
|
"SHL(8|16|32|64)mi",
|
|
|
|
"SHR(8|16|32|64)m1",
|
|
|
|
"SHR(8|16|32|64)mi")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup87 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
2018-04-07 00:16:48 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup87], (instregex "POP(16|32|64)rmm",
|
|
|
|
"PUSH(16|32|64)rmm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup88 : SchedWriteRes<[SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 6;
|
|
|
|
let NumMicroOps = 6;
|
|
|
|
let ResourceCycles = [1,5];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup88], (instregex "STD")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup89 : SchedWriteRes<[SKXPort23]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup89], (instregex "LD_F32m",
|
|
|
|
"LD_F64m",
|
|
|
|
"LD_F80m",
|
|
|
|
"VBROADCASTF128",
|
|
|
|
"VBROADCASTI128",
|
|
|
|
"VBROADCASTSDYrm",
|
|
|
|
"VBROADCASTSSYrm",
|
|
|
|
"VLDDQUYrm",
|
|
|
|
"VMOVAPDYrm",
|
|
|
|
"VMOVAPSYrm",
|
|
|
|
"VMOVDDUPYrm",
|
|
|
|
"VMOVDQAYrm",
|
|
|
|
"VMOVDQUYrm",
|
|
|
|
"VMOVNTDQAYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVNTDQAZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMOVSHDUPYrm",
|
|
|
|
"VMOVSLDUPYrm",
|
|
|
|
"VMOVUPDYrm",
|
|
|
|
"VMOVUPSYrm",
|
|
|
|
"VPBROADCASTDYrm",
|
|
|
|
"VPBROADCASTQYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup90 : SchedWriteRes<[SKXPort0,SKXPort5]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup90], (instregex "VCVTDQ2PDYrr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup92 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup92], (instregex "INSERTPSrm",
|
|
|
|
"PACKSSDWrm",
|
|
|
|
"PACKSSWBrm",
|
|
|
|
"PACKUSDWrm",
|
|
|
|
"PACKUSWBrm",
|
|
|
|
"PALIGNRrmi",
|
|
|
|
"PSHUFBrm",
|
|
|
|
"PSHUFDmi",
|
|
|
|
"PSHUFHWmi",
|
|
|
|
"PSHUFLWmi",
|
|
|
|
"PUNPCKHBWrm",
|
|
|
|
"PUNPCKHDQrm",
|
|
|
|
"PUNPCKHQDQrm",
|
|
|
|
"PUNPCKHWDrm",
|
|
|
|
"PUNPCKLBWrm",
|
|
|
|
"PUNPCKLDQrm",
|
|
|
|
"PUNPCKLQDQrm",
|
|
|
|
"PUNPCKLWDrm",
|
|
|
|
"SHUFPDrmi",
|
|
|
|
"SHUFPSrmi",
|
|
|
|
"UNPCKHPDrm",
|
|
|
|
"UNPCKHPSrm",
|
|
|
|
"UNPCKLPDrm",
|
|
|
|
"UNPCKLPSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VINSERTPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VINSERTPSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVSDZrm(b?)",
|
|
|
|
"VMOVSSZrm(b?)",
|
|
|
|
"VPACKSSDWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKSSDWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKSSWBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKSSWBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKUSDWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKUSDWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKUSWBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKUSWBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPALIGNRZ128rmi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPALIGNRrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBROADCASTBZ128m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPBROADCASTBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBROADCASTWZ128m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPBROADCASTWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMILPDZ128m(b?)i",
|
|
|
|
"VPERMILPDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMILPDmi",
|
|
|
|
"VPERMILPDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMILPSZ128m(b?)i",
|
|
|
|
"VPERMILPSZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMILPSmi",
|
|
|
|
"VPERMILPSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFDZ128m(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFDmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFHWZ128mi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFHWmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFLWZ128mi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFLWmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDQZ128rm(b?)",
|
|
|
|
"VPSRLDQZ128rm(b?)",
|
|
|
|
"VPUNPCKHBWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHBWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHQDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHQDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHWDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHWDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLBWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLBWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLQDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLQDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLWDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLWDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSHUFPDZ128rm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSHUFPDrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSHUFPSZ128rm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSHUFPSrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKHPDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKHPDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKHPSZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKHPSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKLPDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKLPDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKLPSZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKLPSrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup93 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup93], (instregex "VCVTDQ2PDZ256rr",
|
|
|
|
"VCVTDQ2PDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPD2DQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2DQZ256rr",
|
|
|
|
"VCVTPD2DQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPD2PSYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2PSZ256rr",
|
|
|
|
"VCVTPD2PSZrr",
|
|
|
|
"VCVTPD2UDQZ256rr",
|
|
|
|
"VCVTPD2UDQZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPH2PSYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPH2PSZ256rr",
|
|
|
|
"VCVTPH2PSZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2PDYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PDZ256rr",
|
|
|
|
"VCVTPS2PDZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2PHYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PHZ256rr",
|
|
|
|
"VCVTPS2PHZrr",
|
|
|
|
"VCVTPS2QQZ256rr",
|
|
|
|
"VCVTPS2QQZrr",
|
|
|
|
"VCVTPS2UQQZ256rr",
|
|
|
|
"VCVTPS2UQQZrr",
|
|
|
|
"VCVTQQ2PSZ256rr",
|
|
|
|
"VCVTQQ2PSZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPD2DQYrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPD2DQZ256rr",
|
|
|
|
"VCVTTPD2DQZrr",
|
|
|
|
"VCVTTPD2UDQZ256rr",
|
|
|
|
"VCVTTPD2UDQZrr",
|
|
|
|
"VCVTTPS2QQZ256rr",
|
|
|
|
"VCVTTPS2QQZrr",
|
|
|
|
"VCVTTPS2UQQZ256rr",
|
|
|
|
"VCVTTPS2UQQZrr",
|
|
|
|
"VCVTUDQ2PDZ256rr",
|
|
|
|
"VCVTUDQ2PDZrr",
|
|
|
|
"VCVTUQQ2PSZ256rr",
|
|
|
|
"VCVTUQQ2PSZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup94 : SchedWriteRes<[SKXPort01,SKXPort23]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup94], (instregex "PABSBrm",
|
|
|
|
"PABSDrm",
|
|
|
|
"PABSWrm",
|
|
|
|
"PADDSBrm",
|
|
|
|
"PADDSWrm",
|
|
|
|
"PADDUSBrm",
|
|
|
|
"PADDUSWrm",
|
|
|
|
"PAVGBrm",
|
|
|
|
"PAVGWrm",
|
|
|
|
"PCMPEQBrm",
|
|
|
|
"PCMPEQDrm",
|
|
|
|
"PCMPEQQrm",
|
|
|
|
"PCMPEQWrm",
|
|
|
|
"PCMPGTBrm",
|
|
|
|
"PCMPGTDrm",
|
|
|
|
"PCMPGTWrm",
|
|
|
|
"PMAXSBrm",
|
|
|
|
"PMAX(C?)SDrm",
|
|
|
|
"PMAXSWrm",
|
|
|
|
"PMAXUBrm",
|
|
|
|
"PMAXUDrm",
|
|
|
|
"PMAXUWrm",
|
|
|
|
"PMINSBrm",
|
|
|
|
"PMIN(C?)SDrm",
|
|
|
|
"PMINSWrm",
|
|
|
|
"PMINUBrm",
|
|
|
|
"PMINUDrm",
|
|
|
|
"PMINUWrm",
|
|
|
|
"PSIGNBrm",
|
|
|
|
"PSIGNDrm",
|
|
|
|
"PSIGNWrm",
|
|
|
|
"PSLLDrm",
|
|
|
|
"PSLLQrm",
|
|
|
|
"PSLLWrm",
|
|
|
|
"PSRADrm",
|
|
|
|
"PSRAWrm",
|
|
|
|
"PSRLDrm",
|
|
|
|
"PSRLQrm",
|
|
|
|
"PSRLWrm",
|
|
|
|
"PSUBSBrm",
|
|
|
|
"PSUBSWrm",
|
|
|
|
"PSUBUSBrm",
|
|
|
|
"PSUBUSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSQZ128rm(b?)",
|
|
|
|
"VPABSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGWrm",
|
|
|
|
"VPCMPEQBrm",
|
|
|
|
"VPCMPEQDrm",
|
|
|
|
"VPCMPEQQrm",
|
|
|
|
"VPCMPEQWrm",
|
|
|
|
"VPCMPGTBrm",
|
|
|
|
"VPCMPGTDrm",
|
|
|
|
"VPCMPGTWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAX(C?)SDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAX(C?)SDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMIN(C?)SDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMIN(C?)SDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPROLDZ128m(b?)i",
|
|
|
|
"VPROLQZ128m(b?)i",
|
|
|
|
"VPROLVDZ128rm(b?)",
|
|
|
|
"VPROLVQZ128rm(b?)",
|
|
|
|
"VPRORDZ128m(b?)i",
|
|
|
|
"VPRORQZ128m(b?)i",
|
|
|
|
"VPRORVDZ128rm(b?)",
|
|
|
|
"VPRORVQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSIGNBrm",
|
|
|
|
"VPSIGNDrm",
|
|
|
|
"VPSIGNWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDZ128m(b?)i",
|
|
|
|
"VPSLLDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLQZ128m(b?)i",
|
|
|
|
"VPSLLQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVWZ128rm(b?)",
|
|
|
|
"VPSLLWZ128mi(b?)",
|
|
|
|
"VPSLLWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRADZ128m(b?)i",
|
|
|
|
"VPSRADZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRADrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAQZ128m(b?)i",
|
|
|
|
"VPSRAQZ128rm(b?)",
|
|
|
|
"VPSRAVDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAVDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAVQZ128rm(b?)",
|
|
|
|
"VPSRAVWZ128rm(b?)",
|
|
|
|
"VPSRAWZ128mi(b?)",
|
|
|
|
"VPSRAWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDZ128m(b?)i",
|
|
|
|
"VPSRLDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLQZ128m(b?)i",
|
|
|
|
"VPSRLQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVWZ128rm(b?)",
|
|
|
|
"VPSRLWZ128mi(b?)",
|
|
|
|
"VPSRLWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSWrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup95 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-23 02:35:53 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup95], (instregex "PADDBrm",
|
2018-03-22 12:23:41 +08:00
|
|
|
"PADDDrm",
|
|
|
|
"PADDQrm",
|
|
|
|
"PADDWrm",
|
|
|
|
"PSUBBrm",
|
|
|
|
"PSUBDrm",
|
|
|
|
"PSUBQrm",
|
|
|
|
"PSUBWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VBLENDMPDZ128rm(b?)",
|
|
|
|
"VBLENDMPSZ128rm(b?)",
|
|
|
|
"VBROADCASTI32X2Z128m(b?)",
|
|
|
|
"VBROADCASTSSZ128m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VINSERTF128rm",
|
|
|
|
"VINSERTI128rm",
|
|
|
|
"VMASKMOVPDrm",
|
|
|
|
"VMASKMOVPSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVAPDZ128rm(b?)",
|
|
|
|
"VMOVAPSZ128rm(b?)",
|
|
|
|
"VMOVDDUPZ128rm(b?)",
|
|
|
|
"VMOVDQA32Z128rm(b?)",
|
|
|
|
"VMOVDQA64Z128rm(b?)",
|
|
|
|
"VMOVDQU16Z128rm(b?)",
|
|
|
|
"VMOVDQU32Z128rm(b?)",
|
|
|
|
"VMOVDQU64Z128rm(b?)",
|
|
|
|
"VMOVDQU8Z128rm(b?)",
|
|
|
|
"VMOVNTDQAZ128rm(b?)",
|
|
|
|
"VMOVSHDUPZ128rm(b?)",
|
|
|
|
"VMOVSLDUPZ128rm(b?)",
|
|
|
|
"VMOVUPDZ128rm(b?)",
|
|
|
|
"VMOVUPSZ128rm(b?)",
|
|
|
|
"VPADDBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDWrm",
|
|
|
|
"VPBLENDDrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBLENDMBZ128rm(b?)",
|
|
|
|
"VPBLENDMDZ128rm(b?)",
|
|
|
|
"VPBLENDMQZ128rm(b?)",
|
|
|
|
"VPBLENDMWZ128rm(b?)",
|
|
|
|
"VPBROADCASTDZ128m(b?)",
|
|
|
|
"VPBROADCASTQZ128m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMASKMOVDrm",
|
|
|
|
"VPMASKMOVQrm",
|
|
|
|
"VPORrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBBZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBBrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPTERNLOGDZ128rm(b?)i",
|
2018-04-21 05:16:05 +08:00
|
|
|
"VPTERNLOGQZ128rm(b?)i")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup96 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup96], (instregex "MMX_PACKSSDWirm",
|
|
|
|
"MMX_PACKSSWBirm",
|
|
|
|
"MMX_PACKUSWBirm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup97 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup97], (instregex "VPERMI2W128rr",
|
|
|
|
"VPERMI2W256rr",
|
|
|
|
"VPERMI2Wrr",
|
|
|
|
"VPERMT2W128rr",
|
|
|
|
"VPERMT2W256rr",
|
|
|
|
"VPERMT2Wrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup98 : SchedWriteRes<[SKXPort23,SKXPort06]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-01-19 13:47:32 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup98], (instregex "CMOV(A|BE)(16|32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup99 : SchedWriteRes<[SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-04-06 05:16:26 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup99], (instrs LEAVE, LEAVE64,
|
|
|
|
SCASB, SCASL, SCASQ, SCASW)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup100 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup100], (instregex "CVTTSS2SI64rr",
|
|
|
|
"CVTTSS2SIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSS2USI64Zrr",
|
|
|
|
"VCVTTSS2SI64Zrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSS2SI64rr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSS2SIZrr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSS2SIrr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSS2USI64Zrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup101 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort05]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup101], (instregex "FLDCW16m")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup103 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup103], (instregex "KMOVBkm",
|
|
|
|
"KMOVDkm",
|
|
|
|
"KMOVQkm",
|
|
|
|
"KMOVWkm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup104 : SchedWriteRes<[SKXPort6,SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup104], (instregex "LRETQ",
|
|
|
|
"RETQ")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup106 : SchedWriteRes<[SKXPort4,SKXPort5,SKXPort237]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup106], (instregex "VCOMPRESSPDZ128mr(b?)",
|
|
|
|
"VCOMPRESSPDZ256mr(b?)",
|
|
|
|
"VCOMPRESSPDZmr(b?)",
|
|
|
|
"VCOMPRESSPSZ128mr(b?)",
|
|
|
|
"VCOMPRESSPSZ256mr(b?)",
|
|
|
|
"VCOMPRESSPSZmr(b?)",
|
|
|
|
"VPCOMPRESSDZ128mr(b?)",
|
|
|
|
"VPCOMPRESSDZ256mr(b?)",
|
|
|
|
"VPCOMPRESSDZmr(b?)",
|
|
|
|
"VPCOMPRESSQZ128mr(b?)",
|
|
|
|
"VPCOMPRESSQZ256mr(b?)",
|
|
|
|
"VPCOMPRESSQZmr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup107 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort06]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup107], (instregex "ROL(8|16|32|64)m1",
|
|
|
|
"ROL(8|16|32|64)mi",
|
|
|
|
"ROR(8|16|32|64)m1",
|
|
|
|
"ROR(8|16|32|64)mi")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup108 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,1,2];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup108], (instregex "XADD(8|16|32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup109 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup109], (instregex "CALL(16|32|64)m",
|
|
|
|
"FARCALL64")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup110 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 7;
|
|
|
|
let ResourceCycles = [1,2,2,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup110], (instrs VPSCATTERDQZ128mr,
|
|
|
|
VPSCATTERQQZ128mr,
|
|
|
|
VSCATTERDPDZ128mr,
|
|
|
|
VSCATTERQPDZ128mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup111 : SchedWriteRes<[SKXPort6,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 7;
|
|
|
|
let ResourceCycles = [1,3,1,2];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup111], (instrs LOOP)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup112 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 11;
|
|
|
|
let ResourceCycles = [1,4,4,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup112], (instrs VPSCATTERDQZ256mr,
|
|
|
|
VPSCATTERQQZ256mr,
|
|
|
|
VSCATTERDPDZ256mr,
|
|
|
|
VSCATTERQPDZ256mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup113 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 19;
|
|
|
|
let ResourceCycles = [1,8,8,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup113], (instrs VPSCATTERDQZmr,
|
|
|
|
VPSCATTERQQZmr,
|
|
|
|
VSCATTERDPDZmr,
|
|
|
|
VSCATTERQPDZmr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup114 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 7;
|
|
|
|
let NumMicroOps = 36;
|
|
|
|
let ResourceCycles = [1,16,1,16,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup114], (instrs VSCATTERDPSZmr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup116 : SchedWriteRes<[SKXPort015]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup116], (instregex "ROUNDPDr",
|
|
|
|
"ROUNDPSr",
|
|
|
|
"ROUNDSDr",
|
|
|
|
"ROUNDSSr",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VRNDSCALEPDZ128rri",
|
|
|
|
"VRNDSCALEPDZ256rri",
|
|
|
|
"VRNDSCALEPDZrri",
|
|
|
|
"VRNDSCALEPSZ128rri",
|
|
|
|
"VRNDSCALEPSZ256rri",
|
|
|
|
"VRNDSCALEPSZrri",
|
|
|
|
"VRNDSCALESDr",
|
|
|
|
"VRNDSCALESSr",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VROUNDPDr",
|
|
|
|
"VROUNDPSr",
|
|
|
|
"VROUNDSDr",
|
|
|
|
"VROUNDSSr",
|
2018-03-23 05:55:20 +08:00
|
|
|
"VROUNDPDYr",
|
|
|
|
"VROUNDPSYr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup117 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup117], (instregex "VTESTPDrm",
|
|
|
|
"VTESTPSrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup118 : SchedWriteRes<[SKXPort1,SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-27 02:19:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup118], (instregex "PDEP(32|64)rm",
|
|
|
|
"PEXT(32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup118_16_1 : SchedWriteRes<[SKXPort1, SKXPort0156, SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 3;
|
2018-03-26 01:25:37 +08:00
|
|
|
let ResourceCycles = [1,1,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-01-25 14:57:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup118_16_1], (instrs IMUL16rm, IMUL16rmi, IMUL16rmi8)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-19 13:34:05 +08:00
|
|
|
def SKXWriteResGroup118_16_2 : SchedWriteRes<[SKXPort1, SKXPort06, SKXPort0156, SKXPort23]> {
|
|
|
|
let Latency = 9;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 5;
|
2018-04-19 13:34:05 +08:00
|
|
|
let ResourceCycles = [1,1,2,1];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup118_16_2], (instrs IMUL16m, MUL16m)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup119 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup119], (instregex "FCOM32m",
|
|
|
|
"FCOM64m",
|
|
|
|
"FCOMP32m",
|
|
|
|
"FCOMP64m",
|
|
|
|
"MMX_PSADBWirm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VFPCLASSSDrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKSSDWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKSSDWZ256rm(b?)",
|
|
|
|
"VPACKSSDWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKSSWBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKSSWBZ256rm(b?)",
|
|
|
|
"VPACKSSWBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKUSDWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKUSDWZ256rm(b?)",
|
|
|
|
"VPACKUSDWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPACKUSWBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPACKUSWBZ256rm(b?)",
|
|
|
|
"VPACKUSWBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPALIGNRYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPALIGNRZ256rmi(b?)",
|
|
|
|
"VPALIGNRZrmi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPBLENDWYrmi",
|
|
|
|
"VPBROADCASTBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBROADCASTBZ256m(b?)",
|
|
|
|
"VPBROADCASTBZm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPBROADCASTWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBROADCASTWZ256m(b?)",
|
|
|
|
"VPBROADCASTWZm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMILPDYmi",
|
|
|
|
"VPERMILPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMILPDZ256m(b?)i",
|
|
|
|
"VPERMILPDZ256rm(b?)",
|
|
|
|
"VPERMILPDZm(b?)i",
|
|
|
|
"VPERMILPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMILPSYmi",
|
|
|
|
"VPERMILPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMILPSZ256m(b?)i",
|
|
|
|
"VPERMILPSZ256rm(b?)",
|
|
|
|
"VPERMILPSZm(b?)i",
|
|
|
|
"VPERMILPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXBDYrm",
|
|
|
|
"VPMOVSXBQYrm",
|
|
|
|
"VPMOVSXWQYrm",
|
|
|
|
"VPSHUFBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFBZ256rm(b?)",
|
|
|
|
"VPSHUFBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFDYmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFDZ256m(b?)i",
|
|
|
|
"VPSHUFDZm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFHWYmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFHWZ256mi(b?)",
|
|
|
|
"VPSHUFHWZmi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSHUFLWYmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSHUFLWZ256mi(b?)",
|
|
|
|
"VPSHUFLWZmi(b?)",
|
|
|
|
"VPSLLDQZ256rm(b?)",
|
|
|
|
"VPSLLDQZrm(b?)",
|
|
|
|
"VPSRLDQZ256rm(b?)",
|
|
|
|
"VPSRLDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHBWZ256rm(b?)",
|
|
|
|
"VPUNPCKHBWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHDQZ256rm(b?)",
|
|
|
|
"VPUNPCKHDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHQDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHQDQZ256rm(b?)",
|
|
|
|
"VPUNPCKHQDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKHWDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKHWDZ256rm(b?)",
|
|
|
|
"VPUNPCKHWDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLBWZ256rm(b?)",
|
|
|
|
"VPUNPCKLBWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLDQZ256rm(b?)",
|
|
|
|
"VPUNPCKLDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLQDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLQDQZ256rm(b?)",
|
|
|
|
"VPUNPCKLQDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPUNPCKLWDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPUNPCKLWDZ256rm(b?)",
|
|
|
|
"VPUNPCKLWDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSHUFPDYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSHUFPDZ256rm(b?)i",
|
|
|
|
"VSHUFPDZrm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSHUFPSYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSHUFPSZ256rm(b?)i",
|
|
|
|
"VSHUFPSZrm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKHPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKHPDZ256rm(b?)",
|
|
|
|
"VUNPCKHPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKHPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKHPSZ256rm(b?)",
|
|
|
|
"VUNPCKHPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKLPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKLPDZ256rm(b?)",
|
|
|
|
"VUNPCKLPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VUNPCKLPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VUNPCKLPSZ256rm(b?)",
|
|
|
|
"VUNPCKLPSZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup120 : SchedWriteRes<[SKXPort01,SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup120], (instregex "VPABSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSBZ256rm(b?)",
|
|
|
|
"VPABSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSDZ256rm(b?)",
|
|
|
|
"VPABSDZrm(b?)",
|
|
|
|
"VPABSQZ256rm(b?)",
|
|
|
|
"VPABSQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPABSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPABSWZ256rm(b?)",
|
|
|
|
"VPABSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSBZ256rm(b?)",
|
|
|
|
"VPADDSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDSWZ256rm(b?)",
|
|
|
|
"VPADDSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSBZ256rm(b?)",
|
|
|
|
"VPADDUSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDUSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDUSWZ256rm(b?)",
|
|
|
|
"VPADDUSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGBZ256rm(b?)",
|
|
|
|
"VPAVGBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPAVGWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPAVGWZ256rm(b?)",
|
|
|
|
"VPAVGWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPCMPEQBYrm",
|
|
|
|
"VPCMPEQDYrm",
|
|
|
|
"VPCMPEQQYrm",
|
|
|
|
"VPCMPEQWYrm",
|
|
|
|
"VPCMPGTBYrm",
|
|
|
|
"VPCMPGTDYrm",
|
|
|
|
"VPCMPGTWYrm",
|
|
|
|
"VPMAXSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSBZ256rm(b?)",
|
|
|
|
"VPMAXSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAX(C?)SDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAX(C?)SDZ256rm(b?)",
|
|
|
|
"VPMAX(C?)SDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXSWZ256rm(b?)",
|
|
|
|
"VPMAXSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUBZ256rm(b?)",
|
|
|
|
"VPMAXUBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUDZ256rm(b?)",
|
|
|
|
"VPMAXUDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMAXUWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMAXUWZ256rm(b?)",
|
|
|
|
"VPMAXUWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSBZ256rm(b?)",
|
|
|
|
"VPMINSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMIN(C?)SDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMIN(C?)SDZ256rm(b?)",
|
|
|
|
"VPMIN(C?)SDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINSWZ256rm(b?)",
|
|
|
|
"VPMINSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUBZ256rm(b?)",
|
|
|
|
"VPMINUBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUDZ256rm(b?)",
|
|
|
|
"VPMINUDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMINUWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMINUWZ256rm(b?)",
|
|
|
|
"VPMINUWZrm(b?)",
|
|
|
|
"VPROLDZ256m(b?)i",
|
|
|
|
"VPROLDZm(b?)i",
|
|
|
|
"VPROLQZ256m(b?)i",
|
|
|
|
"VPROLQZm(b?)i",
|
|
|
|
"VPROLVDZ256rm(b?)",
|
|
|
|
"VPROLVDZrm(b?)",
|
|
|
|
"VPROLVQZ256rm(b?)",
|
|
|
|
"VPROLVQZrm(b?)",
|
|
|
|
"VPRORDZ256m(b?)i",
|
|
|
|
"VPRORDZm(b?)i",
|
|
|
|
"VPRORQZ256m(b?)i",
|
|
|
|
"VPRORQZm(b?)i",
|
|
|
|
"VPRORVDZ256rm(b?)",
|
|
|
|
"VPRORVDZrm(b?)",
|
|
|
|
"VPRORVQZ256rm(b?)",
|
|
|
|
"VPRORVQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSIGNBYrm",
|
|
|
|
"VPSIGNDYrm",
|
|
|
|
"VPSIGNWYrm",
|
|
|
|
"VPSLLDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLDZ256m(b?)i",
|
|
|
|
"VPSLLDZ256rm(b?)",
|
|
|
|
"VPSLLDZm(b?)i",
|
|
|
|
"VPSLLDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLQZ256m(b?)i",
|
|
|
|
"VPSLLQZ256rm(b?)",
|
|
|
|
"VPSLLQZm(b?)i",
|
|
|
|
"VPSLLQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVDZ256rm(b?)",
|
|
|
|
"VPSLLVDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLVQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLVQZ256rm(b?)",
|
|
|
|
"VPSLLVQZrm(b?)",
|
|
|
|
"VPSLLVWZ256rm(b?)",
|
|
|
|
"VPSLLVWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSLLWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSLLWZ256mi(b?)",
|
|
|
|
"VPSLLWZ256rm(b?)",
|
|
|
|
"VPSLLWZmi(b?)",
|
|
|
|
"VPSLLWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRADYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRADZ256m(b?)i",
|
|
|
|
"VPSRADZ256rm(b?)",
|
|
|
|
"VPSRADZm(b?)i",
|
|
|
|
"VPSRADZrm(b?)",
|
|
|
|
"VPSRAQZ256m(b?)i",
|
|
|
|
"VPSRAQZ256rm(b?)",
|
|
|
|
"VPSRAQZm(b?)i",
|
|
|
|
"VPSRAQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAVDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAVDZ256rm(b?)",
|
|
|
|
"VPSRAVDZrm(b?)",
|
|
|
|
"VPSRAVQZ256rm(b?)",
|
|
|
|
"VPSRAVQZrm(b?)",
|
|
|
|
"VPSRAVWZ256rm(b?)",
|
|
|
|
"VPSRAVWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRAWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRAWZ256mi(b?)",
|
|
|
|
"VPSRAWZ256rm(b?)",
|
|
|
|
"VPSRAWZmi(b?)",
|
|
|
|
"VPSRAWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLDZ256m(b?)i",
|
|
|
|
"VPSRLDZ256rm(b?)",
|
|
|
|
"VPSRLDZm(b?)i",
|
|
|
|
"VPSRLDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLQZ256m(b?)i",
|
|
|
|
"VPSRLQZ256rm(b?)",
|
|
|
|
"VPSRLQZm(b?)i",
|
|
|
|
"VPSRLQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVDZ256rm(b?)",
|
|
|
|
"VPSRLVDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLVQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLVQZ256rm(b?)",
|
|
|
|
"VPSRLVQZrm(b?)",
|
|
|
|
"VPSRLVWZ256rm(b?)",
|
|
|
|
"VPSRLVWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSRLWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSRLWZ256mi(b?)",
|
|
|
|
"VPSRLWZ256rm(b?)",
|
|
|
|
"VPSRLWZmi(b?)",
|
|
|
|
"VPSRLWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSBZ256rm(b?)",
|
|
|
|
"VPSUBSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBSWZ256rm(b?)",
|
|
|
|
"VPSUBSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSBZ256rm(b?)",
|
|
|
|
"VPSUBUSBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBUSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBUSWZ256rm(b?)",
|
|
|
|
"VPSUBUSWZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup121 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup121], (instregex "VANDNPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VANDNPDZ256rm(b?)",
|
|
|
|
"VANDNPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VANDNPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VANDNPSZ256rm(b?)",
|
|
|
|
"VANDNPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VANDPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VANDPDZ256rm(b?)",
|
|
|
|
"VANDPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VANDPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VANDPSZ256rm(b?)",
|
|
|
|
"VANDPSZrm(b?)",
|
|
|
|
"VBLENDMPDZ256rm(b?)",
|
|
|
|
"VBLENDMPDZrm(b?)",
|
|
|
|
"VBLENDMPSZ256rm(b?)",
|
|
|
|
"VBLENDMPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VBLENDPDYrmi",
|
|
|
|
"VBLENDPSYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VBROADCASTF32X2Z256m(b?)",
|
|
|
|
"VBROADCASTF32X2Zm(b?)",
|
|
|
|
"VBROADCASTF32X4Z256rm(b?)",
|
|
|
|
"VBROADCASTF32X4rm(b?)",
|
|
|
|
"VBROADCASTF32X8rm(b?)",
|
|
|
|
"VBROADCASTF64X2Z128rm(b?)",
|
|
|
|
"VBROADCASTF64X2rm(b?)",
|
|
|
|
"VBROADCASTF64X4rm(b?)",
|
|
|
|
"VBROADCASTI32X2Z256m(b?)",
|
|
|
|
"VBROADCASTI32X2Zm(b?)",
|
|
|
|
"VBROADCASTI32X4Z256rm(b?)",
|
|
|
|
"VBROADCASTI32X4rm(b?)",
|
|
|
|
"VBROADCASTI32X8rm(b?)",
|
|
|
|
"VBROADCASTI64X2Z128rm(b?)",
|
|
|
|
"VBROADCASTI64X2rm(b?)",
|
|
|
|
"VBROADCASTI64X4rm(b?)",
|
|
|
|
"VBROADCASTSDZ256m(b?)",
|
|
|
|
"VBROADCASTSDZm(b?)",
|
|
|
|
"VBROADCASTSSZ256m(b?)",
|
|
|
|
"VBROADCASTSSZm(b?)",
|
|
|
|
"VINSERTF32x4Z256rm(b?)",
|
|
|
|
"VINSERTF32x4Zrm(b?)",
|
|
|
|
"VINSERTF32x8Zrm(b?)",
|
|
|
|
"VINSERTF64x2Z256rm(b?)",
|
|
|
|
"VINSERTF64x2Zrm(b?)",
|
|
|
|
"VINSERTF64x4Zrm(b?)",
|
|
|
|
"VINSERTI32x4Z256rm(b?)",
|
|
|
|
"VINSERTI32x4Zrm(b?)",
|
|
|
|
"VINSERTI32x8Zrm(b?)",
|
|
|
|
"VINSERTI64x2Z256rm(b?)",
|
|
|
|
"VINSERTI64x2Zrm(b?)",
|
|
|
|
"VINSERTI64x4Zrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMASKMOVPDYrm",
|
|
|
|
"VMASKMOVPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMOVAPDZ256rm(b?)",
|
|
|
|
"VMOVAPDZrm(b?)",
|
|
|
|
"VMOVAPSZ256rm(b?)",
|
|
|
|
"VMOVAPSZrm(b?)",
|
|
|
|
"VMOVDDUPZ256rm(b?)",
|
|
|
|
"VMOVDDUPZrm(b?)",
|
|
|
|
"VMOVDQA32Z256rm(b?)",
|
|
|
|
"VMOVDQA32Zrm(b?)",
|
|
|
|
"VMOVDQA64Z256rm(b?)",
|
|
|
|
"VMOVDQA64Zrm(b?)",
|
|
|
|
"VMOVDQU16Z256rm(b?)",
|
|
|
|
"VMOVDQU16Zrm(b?)",
|
|
|
|
"VMOVDQU32Z256rm(b?)",
|
|
|
|
"VMOVDQU32Zrm(b?)",
|
|
|
|
"VMOVDQU64Z256rm(b?)",
|
|
|
|
"VMOVDQU64Zrm(b?)",
|
|
|
|
"VMOVDQU8Z256rm(b?)",
|
|
|
|
"VMOVDQU8Zrm(b?)",
|
|
|
|
"VMOVNTDQAZ256rm(b?)",
|
|
|
|
"VMOVSHDUPZ256rm(b?)",
|
|
|
|
"VMOVSHDUPZrm(b?)",
|
|
|
|
"VMOVSLDUPZ256rm(b?)",
|
|
|
|
"VMOVSLDUPZrm(b?)",
|
|
|
|
"VMOVUPDZ256rm(b?)",
|
|
|
|
"VMOVUPDZrm(b?)",
|
|
|
|
"VMOVUPSZ256rm(b?)",
|
|
|
|
"VMOVUPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VORPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VORPDZ256rm(b?)",
|
|
|
|
"VORPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VORPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VORPSZ256rm(b?)",
|
|
|
|
"VORPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDBZ256rm(b?)",
|
|
|
|
"VPADDBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDDZ256rm(b?)",
|
|
|
|
"VPADDDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDQZ256rm(b?)",
|
|
|
|
"VPADDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPADDWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPADDWZ256rm(b?)",
|
|
|
|
"VPADDWZrm(b?)",
|
|
|
|
"VPANDDZ256rm(b?)",
|
|
|
|
"VPANDDZrm(b?)",
|
|
|
|
"VPANDNDZ256rm(b?)",
|
|
|
|
"VPANDNDZrm(b?)",
|
|
|
|
"VPANDNQZ256rm(b?)",
|
|
|
|
"VPANDNQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPANDNYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPANDQZ256rm(b?)",
|
|
|
|
"VPANDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPANDYrm",
|
|
|
|
"VPBLENDDYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPBLENDMBZ256rm(b?)",
|
|
|
|
"VPBLENDMBZrm(b?)",
|
|
|
|
"VPBLENDMDZ256rm(b?)",
|
|
|
|
"VPBLENDMDZrm(b?)",
|
|
|
|
"VPBLENDMQZ256rm(b?)",
|
|
|
|
"VPBLENDMQZrm(b?)",
|
|
|
|
"VPBLENDMWZ256rm(b?)",
|
|
|
|
"VPBLENDMWZrm(b?)",
|
|
|
|
"VPBROADCASTDZ256m(b?)",
|
|
|
|
"VPBROADCASTDZm(b?)",
|
|
|
|
"VPBROADCASTQZ256m(b?)",
|
|
|
|
"VPBROADCASTQZm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMASKMOVDYrm",
|
|
|
|
"VPMASKMOVQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPORDZ256rm(b?)",
|
|
|
|
"VPORDZrm(b?)",
|
|
|
|
"VPORQZ256rm(b?)",
|
|
|
|
"VPORQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPORYrm",
|
|
|
|
"VPSUBBYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBBZ256rm(b?)",
|
|
|
|
"VPSUBBZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBDZ256rm(b?)",
|
|
|
|
"VPSUBDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBQZ256rm(b?)",
|
|
|
|
"VPSUBQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSUBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSUBWZrm(b?)",
|
|
|
|
"VPTERNLOGDZ256rm(b?)i",
|
|
|
|
"VPTERNLOGDZrm(b?)i",
|
|
|
|
"VPTERNLOGQZ256rm(b?)i",
|
|
|
|
"VPTERNLOGQZrm(b?)i",
|
|
|
|
"VPXORDZ256rm(b?)",
|
|
|
|
"VPXORDZrm(b?)",
|
|
|
|
"VPXORQZ256rm(b?)",
|
|
|
|
"VPXORQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPXORYrm",
|
|
|
|
"VXORPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VXORPDZ256rm(b?)",
|
|
|
|
"VXORPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VXORPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VXORPSZ256rm(b?)",
|
|
|
|
"VXORPSZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup123 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,2,1];
|
|
|
|
}
|
2018-04-20 01:32:10 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup123], (instregex "MMX_PH(ADD|SUB)SWrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup124 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort05]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-04-20 01:32:10 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup124], (instregex "MMX_PH(ADD|SUB)(D|W)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup125 : SchedWriteRes<[SKXPort4,SKXPort5,SKXPort237,SKXPort015]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup125], (instregex "VCVTPS2PHYmr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup126 : SchedWriteRes<[SKXPort23,SKXPort237,SKXPort06]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,3];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup126], (instregex "ROR(8|16|32|64)mCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup127 : SchedWriteRes<[SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup127], (instregex "RCL(8|16|32|64)m1",
|
|
|
|
"RCL(8|16|32|64)mi",
|
|
|
|
"RCR(8|16|32|64)m1",
|
|
|
|
"RCR(8|16|32|64)mi")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup128 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort06]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 6;
|
|
|
|
let ResourceCycles = [1,1,1,3];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup128], (instregex "ROL(8|16|32|64)mCL",
|
|
|
|
"SAR(8|16|32|64)mCL",
|
|
|
|
"SHL(8|16|32|64)mCL",
|
|
|
|
"SHR(8|16|32|64)mCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup130 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 6;
|
|
|
|
let ResourceCycles = [1,1,1,2,1];
|
|
|
|
}
|
2018-04-02 05:54:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup130], (instregex "ADC(8|16|32|64)mi",
|
2018-03-22 12:23:41 +08:00
|
|
|
"CMPXCHG(8|16|32|64)rm",
|
2018-04-07 01:12:18 +08:00
|
|
|
"SBB(8|16|32|64)mi")>;
|
|
|
|
def: InstRW<[SKXWriteResGroup130, ReadAfterLd], (instrs ADC8mr, ADC16mr, ADC32mr, ADC64mr,
|
|
|
|
SBB8mr, SBB16mr, SBB32mr, SBB64mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup131 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [1,2,1,2,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup131], (instrs VPSCATTERQDZ128mr,
|
|
|
|
VPSCATTERQDZ256mr,
|
|
|
|
VSCATTERQPSZ128mr,
|
|
|
|
VSCATTERQPSZ256mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup132 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 12;
|
|
|
|
let ResourceCycles = [1,4,1,4,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup132], (instrs VPSCATTERDDZ128mr,
|
|
|
|
VSCATTERDPSZ128mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup133 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 20;
|
|
|
|
let ResourceCycles = [1,8,1,8,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup133], (instrs VPSCATTERDDZ256mr,
|
|
|
|
VSCATTERDPSZ256mr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup134 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 8;
|
|
|
|
let NumMicroOps = 36;
|
|
|
|
let ResourceCycles = [1,16,1,16,2];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup134], (instrs VPSCATTERDDZmr)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup135 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup135], (instregex "MMX_CVTPI2PSirm",
|
|
|
|
"MMX_PMADDUBSWrm",
|
|
|
|
"MMX_PMADDWDirm",
|
|
|
|
"MMX_PMULHRSWrm",
|
|
|
|
"MMX_PMULHUWirm",
|
|
|
|
"MMX_PMULHWirm",
|
|
|
|
"MMX_PMULLWirm",
|
|
|
|
"MMX_PMULUDQirm",
|
|
|
|
"RCPSSm",
|
|
|
|
"RSQRTSSm",
|
|
|
|
"VRCPSSm",
|
|
|
|
"VRSQRTSSm",
|
|
|
|
"VTESTPDYrm",
|
|
|
|
"VTESTPSYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup136 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup136], (instregex "PCMPGTQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VALIGNDZ128rm(b?)i",
|
|
|
|
"VALIGNQZ128rm(b?)i",
|
|
|
|
"VCMPPDZ128rm(b?)i",
|
|
|
|
"VCMPPSZ128rm(b?)i",
|
|
|
|
"VCMPSDZrm",
|
|
|
|
"VCMPSSZrm",
|
|
|
|
"VDBPSADBWZ128rmi(b?)",
|
|
|
|
"VFPCLASSSSrm(b?)",
|
|
|
|
"VPCMPBZ128rmi(b?)",
|
|
|
|
"VPCMPDZ128rmi(b?)",
|
|
|
|
"VPCMPEQBZ128rm(b?)",
|
|
|
|
"VPCMPEQDZ128rm(b?)",
|
|
|
|
"VPCMPEQQZ128rm(b?)",
|
|
|
|
"VPCMPEQWZ128rm(b?)",
|
|
|
|
"VPCMPGTBZ128rm(b?)",
|
|
|
|
"VPCMPGTDZ128rm(b?)",
|
|
|
|
"VPCMPGTQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPCMPGTQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPCMPGTWZ128rm(b?)",
|
|
|
|
"VPCMPQZ128rmi(b?)",
|
|
|
|
"VPCMPUBZ128rmi(b?)",
|
|
|
|
"VPCMPUDZ128rmi(b?)",
|
|
|
|
"VPCMPUQZ128rmi(b?)",
|
|
|
|
"VPCMPUWZ128rmi(b?)",
|
|
|
|
"VPCMPWZ128rmi(b?)",
|
|
|
|
"VPERMI2D128rm(b?)",
|
|
|
|
"VPERMI2PD128rm(b?)",
|
|
|
|
"VPERMI2PS128rm(b?)",
|
|
|
|
"VPERMI2Q128rm(b?)",
|
|
|
|
"VPERMT2D128rm(b?)",
|
|
|
|
"VPERMT2PD128rm(b?)",
|
|
|
|
"VPERMT2PS128rm(b?)",
|
|
|
|
"VPERMT2Q128rm(b?)",
|
|
|
|
"VPMAXSQZ128rm(b?)",
|
|
|
|
"VPMAXUQZ128rm(b?)",
|
|
|
|
"VPMINSQZ128rm(b?)",
|
|
|
|
"VPMINUQZ128rm(b?)",
|
|
|
|
"VPMOVSXBDZ128rm(b?)",
|
|
|
|
"VPMOVSXBQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXBWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVSXWDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVSXWDZ128rm(b?)",
|
|
|
|
"VPMOVSXWQZ128rm(b?)",
|
|
|
|
"VPMOVZXBDZ128rm(b?)",
|
|
|
|
"VPMOVZXBQZ128rm(b?)",
|
|
|
|
"VPMOVZXBWZ128rm(b?)",
|
|
|
|
"VPMOVZXDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXWDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXWDZ128rm(b?)",
|
|
|
|
"VPMOVZXWQZ128rm(b?)",
|
|
|
|
"VPSADBWZ128rm(b?)",
|
|
|
|
"VPTESTMBZ128rm(b?)",
|
|
|
|
"VPTESTMDZ128rm(b?)",
|
|
|
|
"VPTESTMQZ128rm(b?)",
|
|
|
|
"VPTESTMWZ128rm(b?)",
|
|
|
|
"VPTESTNMBZ128rm(b?)",
|
|
|
|
"VPTESTNMDZ128rm(b?)",
|
|
|
|
"VPTESTNMQZ128rm(b?)",
|
|
|
|
"VPTESTNMWZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup137 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup137], (instregex "ADDSDrm",
|
|
|
|
"ADDSSrm",
|
|
|
|
"CMPSDrm",
|
|
|
|
"CMPSSrm",
|
|
|
|
"CVTPS2PDrm",
|
|
|
|
"MAX(C?)SDrm",
|
|
|
|
"MAX(C?)SSrm",
|
|
|
|
"MIN(C?)SDrm",
|
|
|
|
"MIN(C?)SSrm",
|
|
|
|
"MMX_CVTPS2PIirm",
|
|
|
|
"MMX_CVTTPS2PIirm",
|
|
|
|
"MULSDrm",
|
|
|
|
"MULSSrm",
|
|
|
|
"SUBSDrm",
|
|
|
|
"SUBSSrm",
|
|
|
|
"VADDSDrm",
|
|
|
|
"VADDSSrm",
|
|
|
|
"VCMPSDrm",
|
|
|
|
"VCMPSSrm",
|
|
|
|
"VCVTPH2PSrm",
|
|
|
|
"VCVTPS2PDrm",
|
|
|
|
"VMAX(C?)SDrm",
|
|
|
|
"VMAX(C?)SSrm",
|
|
|
|
"VMIN(C?)SDrm",
|
|
|
|
"VMIN(C?)SSrm",
|
|
|
|
"VMULSDrm",
|
|
|
|
"VMULSSrm",
|
|
|
|
"VSUBSDrm",
|
|
|
|
"VSUBSSrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup138 : SchedWriteRes<[SKXPort0,SKXPort015]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup138], (instregex "VRCP14PDZr(b?)",
|
|
|
|
"VRCP14PSZr(b?)",
|
|
|
|
"VRSQRT14PDZr(b?)",
|
|
|
|
"VRSQRT14PSZr(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup139 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup139], (instregex "(V?)DPPDrri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup140 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup140], (instregex "VBLENDVPDYrm",
|
|
|
|
"VBLENDVPSYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup141 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup141], (instregex "(V?)PTESTrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup142 : SchedWriteRes<[SKXPort1,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-23 03:22:51 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup142], (instrs IMUL64m, MUL64m, MULX64rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup143 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort23]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup143], (instregex "(V?)PHADDSWrm",
|
|
|
|
"(V?)PHSUBSWrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup144 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup144], (instregex "(V?)PHADDDrm",
|
|
|
|
"(V?)PHADDWrm",
|
|
|
|
"(V?)PHSUBDrm",
|
|
|
|
"(V?)PHSUBWrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup145 : SchedWriteRes<[SKXPort1,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup145], (instregex "SHLD(16|32|64)mri8",
|
|
|
|
"SHRD(16|32|64)mri8")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup146 : SchedWriteRes<[SKXPort1,SKXPort6,SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 9;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup146], (instregex "LAR(16|32|64)rm",
|
|
|
|
"LSL(16|32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup148 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup148], (instregex "ADD_F32m",
|
|
|
|
"ADD_F64m",
|
|
|
|
"ILD_F16m",
|
|
|
|
"ILD_F32m",
|
|
|
|
"ILD_F64m",
|
|
|
|
"SUBR_F32m",
|
|
|
|
"SUBR_F64m",
|
|
|
|
"SUB_F32m",
|
|
|
|
"SUB_F64m",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VALIGNDZ256rm(b?)i",
|
|
|
|
"VALIGNDZrm(b?)i",
|
|
|
|
"VALIGNQZ256rm(b?)i",
|
|
|
|
"VALIGNQZrm(b?)i",
|
|
|
|
"VCMPPDZ256rm(b?)i",
|
|
|
|
"VCMPPDZrm(b?)i",
|
|
|
|
"VCMPPSZ256rm(b?)i",
|
|
|
|
"VCMPPSZrm(b?)i",
|
|
|
|
"VDBPSADBWZ256rmi(b?)",
|
|
|
|
"VDBPSADBWZrmi(b?)",
|
|
|
|
"VPCMPBZ256rmi(b?)",
|
|
|
|
"VPCMPBZrmi(b?)",
|
|
|
|
"VPCMPDZ256rmi(b?)",
|
|
|
|
"VPCMPDZrmi(b?)",
|
|
|
|
"VPCMPEQBZ256rm(b?)",
|
|
|
|
"VPCMPEQBZrm(b?)",
|
|
|
|
"VPCMPEQDZ256rm(b?)",
|
|
|
|
"VPCMPEQDZrm(b?)",
|
|
|
|
"VPCMPEQQZ256rm(b?)",
|
|
|
|
"VPCMPEQQZrm(b?)",
|
|
|
|
"VPCMPEQWZ256rm(b?)",
|
|
|
|
"VPCMPEQWZrm(b?)",
|
|
|
|
"VPCMPGTBZ256rm(b?)",
|
|
|
|
"VPCMPGTBZrm(b?)",
|
|
|
|
"VPCMPGTDZ256rm(b?)",
|
|
|
|
"VPCMPGTDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPCMPGTQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPCMPGTQZ256rm(b?)",
|
|
|
|
"VPCMPGTQZrm(b?)",
|
|
|
|
"VPCMPGTWZ256rm(b?)",
|
|
|
|
"VPCMPGTWZrm(b?)",
|
|
|
|
"VPCMPQZ256rmi(b?)",
|
|
|
|
"VPCMPQZrmi(b?)",
|
|
|
|
"VPCMPUBZ256rmi(b?)",
|
|
|
|
"VPCMPUBZrmi(b?)",
|
|
|
|
"VPCMPUDZ256rmi(b?)",
|
|
|
|
"VPCMPUDZrmi(b?)",
|
|
|
|
"VPCMPUQZ256rmi(b?)",
|
|
|
|
"VPCMPUQZrmi(b?)",
|
|
|
|
"VPCMPUWZ256rmi(b?)",
|
|
|
|
"VPCMPUWZrmi(b?)",
|
|
|
|
"VPCMPWZ256rmi(b?)",
|
|
|
|
"VPCMPWZrmi(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERM2F128rm",
|
|
|
|
"VPERM2I128rm",
|
|
|
|
"VPERMDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMDZ256rm(b?)",
|
|
|
|
"VPERMDZrm(b?)",
|
|
|
|
"VPERMI2D256rm(b?)",
|
|
|
|
"VPERMI2Drm(b?)",
|
|
|
|
"VPERMI2PD256rm(b?)",
|
|
|
|
"VPERMI2PDrm(b?)",
|
|
|
|
"VPERMI2PS256rm(b?)",
|
|
|
|
"VPERMI2PSrm(b?)",
|
|
|
|
"VPERMI2Q256rm(b?)",
|
|
|
|
"VPERMI2Qrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMPDYmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMPDZ256m(b?)i",
|
|
|
|
"VPERMPDZ256rm(b?)",
|
|
|
|
"VPERMPDZm(b?)i",
|
|
|
|
"VPERMPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMPSZ256rm(b?)",
|
|
|
|
"VPERMPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPERMQYmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMQZ256m(b?)i",
|
|
|
|
"VPERMQZ256rm(b?)",
|
|
|
|
"VPERMQZm(b?)i",
|
|
|
|
"VPERMQZrm(b?)",
|
|
|
|
"VPERMT2D256rm(b?)",
|
|
|
|
"VPERMT2Drm(b?)",
|
|
|
|
"VPERMT2PD256rm(b?)",
|
|
|
|
"VPERMT2PDrm(b?)",
|
|
|
|
"VPERMT2PS256rm(b?)",
|
|
|
|
"VPERMT2PSrm(b?)",
|
|
|
|
"VPERMT2Q256rm(b?)",
|
|
|
|
"VPERMT2Qrm(b?)",
|
|
|
|
"VPMAXSQZ256rm(b?)",
|
|
|
|
"VPMAXSQZrm(b?)",
|
|
|
|
"VPMAXUQZ256rm(b?)",
|
|
|
|
"VPMAXUQZrm(b?)",
|
|
|
|
"VPMINSQZ256rm(b?)",
|
|
|
|
"VPMINSQZrm(b?)",
|
|
|
|
"VPMINUQZ256rm(b?)",
|
|
|
|
"VPMINUQZrm(b?)",
|
|
|
|
"VPMOVSXBDZ256rm(b?)",
|
|
|
|
"VPMOVSXBDZrm(b?)",
|
|
|
|
"VPMOVSXBQZ256rm(b?)",
|
|
|
|
"VPMOVSXBQZrm(b?)",
|
|
|
|
"VPMOVSXBWZ256rm(b?)",
|
|
|
|
"VPMOVSXBWZrm(b?)",
|
|
|
|
"VPMOVSXDQZ256rm(b?)",
|
|
|
|
"VPMOVSXDQZrm(b?)",
|
|
|
|
"VPMOVSXWDZ256rm(b?)",
|
|
|
|
"VPMOVSXWDZrm(b?)",
|
|
|
|
"VPMOVSXWQZ256rm(b?)",
|
|
|
|
"VPMOVSXWQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBDZ256rm(b?)",
|
|
|
|
"VPMOVZXBDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBQZ256rm(b?)",
|
|
|
|
"VPMOVZXBQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXBWZ256rm(b?)",
|
|
|
|
"VPMOVZXBWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXDQZ256rm(b?)",
|
|
|
|
"VPMOVZXDQZrm(b?)",
|
|
|
|
"VPMOVZXWDZ256rm(b?)",
|
|
|
|
"VPMOVZXWDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMOVZXWQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMOVZXWQZ256rm(b?)",
|
|
|
|
"VPMOVZXWQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPSADBWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPSADBWZ256rm(b?)",
|
|
|
|
"VPSADBWZrm(b?)",
|
|
|
|
"VPTESTMBZ256rm(b?)",
|
|
|
|
"VPTESTMBZrm(b?)",
|
|
|
|
"VPTESTMDZ256rm(b?)",
|
|
|
|
"VPTESTMDZrm(b?)",
|
|
|
|
"VPTESTMQZ256rm(b?)",
|
|
|
|
"VPTESTMQZrm(b?)",
|
|
|
|
"VPTESTMWZ256rm(b?)",
|
|
|
|
"VPTESTMWZrm(b?)",
|
|
|
|
"VPTESTNMBZ256rm(b?)",
|
|
|
|
"VPTESTNMBZrm(b?)",
|
|
|
|
"VPTESTNMDZ256rm(b?)",
|
|
|
|
"VPTESTNMDZrm(b?)",
|
|
|
|
"VPTESTNMQZ256rm(b?)",
|
|
|
|
"VPTESTNMQZrm(b?)",
|
|
|
|
"VPTESTNMWZ256rm(b?)",
|
|
|
|
"VPTESTNMWZrm(b?)",
|
|
|
|
"VSHUFF32X4Z256rm(b?)i",
|
|
|
|
"VSHUFF32X4Zrm(b?)i",
|
|
|
|
"VSHUFF64X2Z256rm(b?)i",
|
|
|
|
"VSHUFF64X2Zrm(b?)i",
|
|
|
|
"VSHUFI32X4Z256rm(b?)i",
|
|
|
|
"VSHUFI32X4Zrm(b?)i",
|
|
|
|
"VSHUFI64X2Z256rm(b?)i",
|
|
|
|
"VSHUFI64X2Zrm(b?)i")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup149 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-04-25 18:51:19 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup149], (instregex "CVTDQ2PSrm",
|
2018-03-22 12:23:41 +08:00
|
|
|
"CVTPS2DQrm",
|
|
|
|
"CVTSS2SDrm",
|
|
|
|
"CVTTPS2DQrm",
|
|
|
|
"PMADDUBSWrm",
|
|
|
|
"PMADDWDrm",
|
|
|
|
"PMULDQrm",
|
|
|
|
"PMULHRSWrm",
|
|
|
|
"PMULHUWrm",
|
|
|
|
"PMULHWrm",
|
|
|
|
"PMULLWrm",
|
|
|
|
"PMULUDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTDQ2PDZ128rm(b?)",
|
|
|
|
"VCVTDQ2PSZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTDQ2PSrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPD2QQZ128rm(b?)",
|
|
|
|
"VCVTPD2UQQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPH2PSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPH2PSZ128rm(b?)",
|
|
|
|
"VCVTPS2DQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2DQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PDZ128rm(b?)",
|
|
|
|
"VCVTPS2QQZ128rm(b?)",
|
|
|
|
"VCVTPS2UDQZ128rm(b?)",
|
|
|
|
"VCVTPS2UQQZ128rm(b?)",
|
|
|
|
"VCVTQQ2PDZ128rm(b?)",
|
|
|
|
"VCVTQQ2PSZ128rm(b?)",
|
|
|
|
"VCVTSS2SDZrm",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPD2QQZ128rm(b?)",
|
|
|
|
"VCVTTPD2UQQZ128rm(b?)",
|
|
|
|
"VCVTTPS2DQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPS2DQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPS2QQZ128rm(b?)",
|
|
|
|
"VCVTTPS2UDQZ128rm(b?)",
|
|
|
|
"VCVTTPS2UQQZ128rm(b?)",
|
|
|
|
"VCVTUDQ2PDZ128rm(b?)",
|
|
|
|
"VCVTUDQ2PSZ128rm(b?)",
|
|
|
|
"VCVTUQQ2PDZ128rm(b?)",
|
|
|
|
"VCVTUQQ2PSZ128rm(b?)",
|
|
|
|
"VPLZCNTDZ128rm(b?)",
|
|
|
|
"VPLZCNTQZ128rm(b?)",
|
|
|
|
"VPMADDUBSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDUBSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMADDWDZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDWDrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULDQZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULDQrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHRSWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHRSWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHUWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHUWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULLWZ128rm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULLWrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULUDQZ128rm(b?)",
|
2018-04-25 18:51:19 +08:00
|
|
|
"VPMULUDQrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup151 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-04-22 18:39:16 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup151], (instregex "VEXPANDPDZ128rm(b?)",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VEXPANDPSZ128rm(b?)",
|
|
|
|
"VPEXPANDDZ128rm(b?)",
|
|
|
|
"VPEXPANDQZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup152 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup152], (instregex "MMX_CVTPI2PDirm",
|
|
|
|
"VPTESTYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup153 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup153], (instregex "(V?)CVTSD2SSrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup154 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort23]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup154], (instregex "VPHADDSWYrm",
|
|
|
|
"VPHSUBSWYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup155 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup155], (instregex "VPHADDDYrm",
|
|
|
|
"VPHADDWYrm",
|
|
|
|
"VPHSUBDYrm",
|
|
|
|
"VPHSUBWYrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup156 : SchedWriteRes<[SKXPort1,SKXPort23,SKXPort06,SKXPort0156]> {
|
2018-03-23 03:22:51 +08:00
|
|
|
let Latency = 9;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
2018-03-23 03:22:51 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup156], (instrs IMUL32m, MUL32m, MULX32rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup157 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [1,1,1,1,1,3];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup157], (instregex "XCHG(8|16|32|64)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup158 : SchedWriteRes<[SKXPort05,SKXPort0156]> {
|
|
|
|
let Latency = 10;
|
|
|
|
let NumMicroOps = 10;
|
|
|
|
let ResourceCycles = [9,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup158], (instregex "MMX_EMMS")>;
|
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup159 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 1;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup159], (instregex "(V?)DIVPS(Z128)?rr",
|
|
|
|
"(V?)DIVSS(Z?)rr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup159_1 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1,5];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup159_1], (instregex "VDIVPS(Y|Z256)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup160 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup160], (instregex "MUL_F32m",
|
|
|
|
"MUL_F64m",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VRCP14PDZ256m(b?)",
|
|
|
|
"VRCP14PSZ256m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VRCPPSYm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VRSQRT14PDZ256m(b?)",
|
|
|
|
"VRSQRT14PSZ256m(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VRSQRTPSYm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup161 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup161], (instregex "VADDPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VADDPDZ256rm(b?)",
|
|
|
|
"VADDPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VADDPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VADDPSZ256rm(b?)",
|
|
|
|
"VADDPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VADDSUBPDYrm",
|
|
|
|
"VADDSUBPSYrm",
|
|
|
|
"VCMPPDYrmi",
|
|
|
|
"VCMPPSYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTDQ2PDZ256rm(b?)",
|
|
|
|
"VCVTDQ2PDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTDQ2PSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTDQ2PSZ256rm(b?)",
|
|
|
|
"VCVTDQ2PSZrm(b?)",
|
|
|
|
"VCVTPD2QQZ256rm(b?)",
|
|
|
|
"VCVTPD2QQZrm(b?)",
|
|
|
|
"VCVTPD2UQQZ256rm(b?)",
|
|
|
|
"VCVTPD2UQQZrm(b?)",
|
|
|
|
"VCVTPH2PSZ256rm(b?)",
|
|
|
|
"VCVTPH2PSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2DQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2DQZ256rm(b?)",
|
|
|
|
"VCVTPS2DQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTPS2PDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTPS2PDZ256rm(b?)",
|
|
|
|
"VCVTPS2PDZrm(b?)",
|
|
|
|
"VCVTPS2QQZ256rm(b?)",
|
|
|
|
"VCVTPS2UDQZ256rm(b?)",
|
|
|
|
"VCVTPS2UDQZrm(b?)",
|
|
|
|
"VCVTPS2UQQZ256rm(b?)",
|
|
|
|
"VCVTQQ2PDZ256rm(b?)",
|
|
|
|
"VCVTQQ2PDZrm(b?)",
|
|
|
|
"VCVTQQ2PSZ256rm(b?)",
|
|
|
|
"VCVTTPD2QQZ256rm(b?)",
|
|
|
|
"VCVTTPD2QQZrm(b?)",
|
|
|
|
"VCVTTPD2UQQZ256rm(b?)",
|
|
|
|
"VCVTTPD2UQQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTPS2DQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTPS2DQZ256rm(b?)",
|
|
|
|
"VCVTTPS2DQZrm(b?)",
|
|
|
|
"VCVTTPS2QQZ256rm(b?)",
|
|
|
|
"VCVTTPS2UDQZ256rm(b?)",
|
|
|
|
"VCVTTPS2UDQZrm(b?)",
|
|
|
|
"VCVTTPS2UQQZ256rm(b?)",
|
|
|
|
"VCVTUDQ2PDZ256rm(b?)",
|
|
|
|
"VCVTUDQ2PDZrm(b?)",
|
|
|
|
"VCVTUDQ2PSZ256rm(b?)",
|
|
|
|
"VCVTUDQ2PSZrm(b?)",
|
|
|
|
"VCVTUQQ2PDZ256rm(b?)",
|
|
|
|
"VCVTUQQ2PDZrm(b?)",
|
|
|
|
"VCVTUQQ2PSZ256rm(b?)",
|
|
|
|
"VFIXUPIMMPDZ256rm(b?)i",
|
|
|
|
"VFIXUPIMMPDZrm(b?)i",
|
|
|
|
"VFIXUPIMMPSZ256rm(b?)i",
|
|
|
|
"VFIXUPIMMPSZrm(b?)i",
|
|
|
|
"VGETEXPPDZ256m(b?)",
|
|
|
|
"VGETEXPPDm(b?)",
|
|
|
|
"VGETEXPPSZ256m(b?)",
|
|
|
|
"VGETEXPPSm(b?)",
|
|
|
|
"VGETMANTPDZ256rm(b?)i",
|
|
|
|
"VGETMANTPDZrm(b?)i",
|
|
|
|
"VGETMANTPSZ256rm(b?)i",
|
|
|
|
"VGETMANTPSZrm(b?)i",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMAX(C?)PDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMAX(C?)PDZ256rm(b?)",
|
|
|
|
"VMAX(C?)PDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMAX(C?)PSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMAX(C?)PSZ256rm(b?)",
|
|
|
|
"VMAX(C?)PSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMIN(C?)PDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMIN(C?)PDZ256rm(b?)",
|
|
|
|
"VMIN(C?)PDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMIN(C?)PSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMIN(C?)PSZ256rm(b?)",
|
|
|
|
"VMIN(C?)PSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMULPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMULPDZ256rm(b?)",
|
|
|
|
"VMULPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMULPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VMULPSZ256rm(b?)",
|
|
|
|
"VMULPSZrm(b?)",
|
|
|
|
"VPLZCNTDZ256rm(b?)",
|
|
|
|
"VPLZCNTDZrm(b?)",
|
|
|
|
"VPLZCNTQZ256rm(b?)",
|
|
|
|
"VPLZCNTQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDUBSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMADDUBSWZ256rm(b?)",
|
|
|
|
"VPMADDUBSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMADDWDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMADDWDZ256rm(b?)",
|
|
|
|
"VPMADDWDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULDQZ256rm(b?)",
|
|
|
|
"VPMULDQZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHRSWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHRSWZ256rm(b?)",
|
|
|
|
"VPMULHRSWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHUWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHUWZ256rm(b?)",
|
|
|
|
"VPMULHUWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULHWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULHWZ256rm(b?)",
|
|
|
|
"VPMULHWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULLWYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULLWZ256rm(b?)",
|
|
|
|
"VPMULLWZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VPMULUDQYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULUDQZ256rm(b?)",
|
|
|
|
"VPMULUDQZrm(b?)",
|
|
|
|
"VRANGEPDZ256rm(b?)i",
|
|
|
|
"VRANGEPDZrm(b?)i",
|
|
|
|
"VRANGEPSZ256rm(b?)i",
|
|
|
|
"VRANGEPSZrm(b?)i",
|
|
|
|
"VREDUCEPDZ256rm(b?)i",
|
|
|
|
"VREDUCEPDZrm(b?)i",
|
|
|
|
"VREDUCEPSZ256rm(b?)i",
|
|
|
|
"VREDUCEPSZrm(b?)i",
|
|
|
|
"VSCALEFPDZ256rm(b?)",
|
|
|
|
"VSCALEFPDZrm(b?)",
|
|
|
|
"VSCALEFPSZ256rm(b?)",
|
|
|
|
"VSCALEFPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSUBPDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSUBPDZ256rm(b?)",
|
|
|
|
"VSUBPDZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VSUBPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VSUBPSZ256rm(b?)",
|
|
|
|
"VSUBPSZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup162 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup162], (instregex "FICOM16m",
|
|
|
|
"FICOM32m",
|
|
|
|
"FICOMP16m",
|
|
|
|
"FICOMP32m",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VEXPANDPDZ256rm(b?)",
|
|
|
|
"VEXPANDPDZrm(b?)",
|
|
|
|
"VEXPANDPSZ256rm(b?)",
|
|
|
|
"VEXPANDPSZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VMPSADBWYrmi",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPEXPANDDZ256rm(b?)",
|
|
|
|
"VPEXPANDDZrm(b?)",
|
|
|
|
"VPEXPANDQZ256rm(b?)",
|
|
|
|
"VPEXPANDQZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup163 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup163], (instregex "VCVTSD2SSZrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup164 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup164], (instregex "(V?)CVTDQ2PDrm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup165 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup165], (instregex "CVTSD2SI64rm",
|
|
|
|
"CVTSD2SIrm",
|
|
|
|
"CVTSS2SI64rm",
|
|
|
|
"CVTSS2SIrm",
|
|
|
|
"CVTTSD2SI64rm",
|
|
|
|
"CVTTSD2SIrm",
|
|
|
|
"CVTTSS2SIrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2SI64Zrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSD2SI64rm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2SIZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSD2SIrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSD2USI64Zrm(b?)",
|
|
|
|
"VCVTSS2SI64Zrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SI64rm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSS2SIZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTSS2SIrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTSS2USIZrm(b?)",
|
|
|
|
"VCVTTSD2SI64Zrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSD2SI64rm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSD2SIZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSD2SIrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSD2USI64Zrm(b?)",
|
|
|
|
"VCVTTSS2SI64Zrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSS2SI64rm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSS2SIZrm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VCVTTSS2SIrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VCVTTSS2USIZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup166 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup166], (instregex "CVTPD2DQrm",
|
|
|
|
"CVTPD2PSrm",
|
|
|
|
"CVTTPD2DQrm",
|
|
|
|
"MMX_CVTPD2PIirm",
|
|
|
|
"MMX_CVTTPD2PIirm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup167 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup167], (instregex "VPCONFLICTQZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup168 : SchedWriteRes<[SKXPort1,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 6;
|
|
|
|
let ResourceCycles = [1,1,1,2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup168], (instregex "SHLD(16|32|64)mrCL",
|
|
|
|
"SHRD(16|32|64)mrCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup169 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 7;
|
|
|
|
let ResourceCycles = [2,3,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup169], (instregex "RCL(16|32|64)rCL",
|
|
|
|
"RCR(16|32|64)rCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup170 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 9;
|
|
|
|
let ResourceCycles = [1,5,1,2];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup170], (instregex "RCL8rCL")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup171 : SchedWriteRes<[SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 11;
|
|
|
|
let NumMicroOps = 11;
|
|
|
|
let ResourceCycles = [2,9];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup171], (instrs LOOPE, LOOPNE)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup172 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 1;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup172], (instregex "(V?)SQRTPS(Z128)?r",
|
|
|
|
"(V?)SQRTSS(Z?)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup173 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1,6];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup173], (instregex "VSQRTPS(Y|Z256)r")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup174 : SchedWriteRes<[SKXPort015]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [3];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup174], (instregex "VPMULLQZ128rr",
|
|
|
|
"VPMULLQZ256rr",
|
|
|
|
"VPMULLQZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup175 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup175], (instregex "VPERMWZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup176 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup176], (instregex "VCVTSD2USIZrm(b?)",
|
|
|
|
"VCVTSS2USI64Zrm(b?)",
|
|
|
|
"VCVTTSD2USIZrm(b?)",
|
|
|
|
"VCVTTSS2USI64Zrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup177 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup177], (instregex "VCVTPS2QQZrm(b?)",
|
|
|
|
"VCVTPS2UQQZrm(b?)",
|
|
|
|
"VCVTTPS2QQZrm(b?)",
|
|
|
|
"VCVTTPS2UQQZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup179 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 12;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup179], (instregex "CVTTSS2SI64rm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup180 : SchedWriteRes<[SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 13;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup180], (instregex "ADD_FI16m",
|
|
|
|
"ADD_FI32m",
|
|
|
|
"SUBR_FI16m",
|
|
|
|
"SUBR_FI32m",
|
|
|
|
"SUB_FI16m",
|
|
|
|
"SUB_FI32m",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMWZ256rm(b?)",
|
|
|
|
"VPERMWZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup181 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 13;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup181], (instregex "VCVTDQ2PDYrm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup182 : SchedWriteRes<[SKXPort5,SKXPort015]> {
|
|
|
|
let Latency = 13;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup182], (instregex "DPPSrri",
|
|
|
|
"VDPPSYrri",
|
|
|
|
"VDPPSrri")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup183 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 13;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup183], (instregex "VHADDPDYrm",
|
|
|
|
"VHADDPSYrm",
|
|
|
|
"VHSUBPDYrm",
|
|
|
|
"VHSUBPSYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPERMI2W128rm(b?)",
|
|
|
|
"VPERMT2W128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup184 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 1;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup184], (instregex "(V?)DIVPDrr",
|
|
|
|
"(V?)DIVSD(Z?)rr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup184_1 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1,5];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup184_1], (instregex "VDIVPD(Y|Z256)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup186 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup186], (instregex "ROUNDPDm",
|
|
|
|
"ROUNDPSm",
|
|
|
|
"ROUNDSDm",
|
|
|
|
"ROUNDSSm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VRNDSCALEPDZ128rm(b?)i",
|
|
|
|
"VRNDSCALEPSZ128rm(b?)i",
|
|
|
|
"VRNDSCALESDm(b?)",
|
|
|
|
"VRNDSCALESSm(b?)",
|
2018-03-22 12:23:41 +08:00
|
|
|
"VROUNDPDm",
|
|
|
|
"VROUNDPSm",
|
|
|
|
"VROUNDSDm",
|
|
|
|
"VROUNDSSm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup187 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup187], (instregex "MUL_FI16m",
|
|
|
|
"MUL_FI32m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup188 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup188], (instregex "VCVTPD2DQZrm(b?)",
|
|
|
|
"VCVTPD2PSZrm(b?)",
|
|
|
|
"VCVTPD2UDQZrm(b?)",
|
|
|
|
"VCVTQQ2PSZrm(b?)",
|
|
|
|
"VCVTTPD2DQZrm(b?)",
|
|
|
|
"VCVTTPD2UDQZrm(b?)",
|
|
|
|
"VCVTUQQ2PSZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup189 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup189], (instregex "VPERMI2W256rm(b?)",
|
|
|
|
"VPERMI2Wrm(b?)",
|
|
|
|
"VPERMT2W256rm(b?)",
|
|
|
|
"VPERMT2Wrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup190 : SchedWriteRes<[SKXPort1,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 14;
|
|
|
|
let NumMicroOps = 10;
|
|
|
|
let ResourceCycles = [2,4,1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup190], (instregex "RCR8rCL")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup191 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 15;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup191], (instregex "DIVR_FPrST0",
|
|
|
|
"DIVR_FST0r",
|
|
|
|
"DIVR_FrST0")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup192 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 15;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup192], (instregex "VRNDSCALEPDZ256rm(b?)i",
|
|
|
|
"VRNDSCALEPDZrm(b?)i",
|
|
|
|
"VRNDSCALEPSZ256rm(b?)i",
|
|
|
|
"VRNDSCALEPSZrm(b?)i",
|
2018-03-23 05:55:20 +08:00
|
|
|
"VROUNDPDYm",
|
|
|
|
"VROUNDPSYm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-03-21 07:39:48 +08:00
|
|
|
def SKXWriteResGroup192_2 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 17;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,2];
|
|
|
|
}
|
2018-03-26 01:25:37 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup192_2], (instregex "VPMULLDYrm",
|
2018-03-29 04:40:24 +08:00
|
|
|
"VPMULLDZ256rm(b?)",
|
|
|
|
"VPMULLDZrm(b?)")>;
|
2018-03-21 07:39:48 +08:00
|
|
|
|
2017-10-08 20:52:54 +08:00
|
|
|
def SKXWriteResGroup193 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 15;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,1,2];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup193], (instregex "(V?)DPPDrmi")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup194 : SchedWriteRes<[SKXPort1,SKXPort5,SKXPort01,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 15;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [1,2,2,1,2];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup194], (instregex "VPCONFLICTDZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup195 : SchedWriteRes<[SKXPort1,SKXPort23,SKXPort237,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 15;
|
|
|
|
let NumMicroOps = 10;
|
|
|
|
let ResourceCycles = [1,1,1,5,1,1];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup195], (instregex "RCL(8|16|32|64)mCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup196 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,3];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup196], (instregex "(V?)DIVSS(Z?)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup198 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [2,1,1];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup198], (instregex "VRCP14PDZm(b?)",
|
|
|
|
"VRCP14PSZm(b?)",
|
|
|
|
"VRSQRT14PDZm(b?)",
|
|
|
|
"VRSQRT14PSZm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup199 : SchedWriteRes<[SKXPort4,SKXPort23,SKXPort237,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 14;
|
|
|
|
let ResourceCycles = [1,1,1,4,2,5];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup199], (instregex "CMPXCHG8B")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup200 : SchedWriteRes<[SKXPort0156]> {
|
|
|
|
let Latency = 16;
|
|
|
|
let NumMicroOps = 16;
|
|
|
|
let ResourceCycles = [16];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup200], (instrs VZEROALL)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup201 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 17;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,5];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup201], (instregex "(V?)DIVPS(Z128)?rm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup201_1 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
|
|
|
let Latency = 17;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup201_1], (instregex "(V?)SQRTSS(Z?)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup202 : SchedWriteRes<[SKXPort0,SKXPort1,SKXPort5,SKXPort6,SKXPort05,SKXPort0156]> {
|
|
|
|
let Latency = 17;
|
|
|
|
let NumMicroOps = 15;
|
|
|
|
let ResourceCycles = [2,1,2,4,2,4];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup202], (instrs XCH_F)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup203 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 1;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,6];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup203], (instregex "(V?)SQRTPD(Z128)?r",
|
|
|
|
"(V?)SQRTSD(Z?)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup203_1 : SchedWriteRes<[SKXPort0,SKXFPDivider]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1,12];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup203_1], (instregex "VSQRTPD(Y|Z256)r")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup204 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,5];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup204], (instregex "VDIVPS(Y|Z256)rm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup204_1 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1,3];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup204_1], (instregex "(V?)SQRTPS(Z128)?m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup205 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup205], (instregex "VPMULLQZ128rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup207 : SchedWriteRes<[SKXPort5,SKXPort6,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [1,1,1,5];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup207], (instrs CPUID, RDTSC)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup208 : SchedWriteRes<[SKXPort1,SKXPort23,SKXPort237,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 11;
|
|
|
|
let ResourceCycles = [2,1,1,4,1,2];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup208], (instregex "RCR(8|16|32|64)mCL")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup209 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 19;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,4];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup209], (instregex "(V?)DIVSD(Z?)rm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup209_1 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
|
|
|
let Latency = 19;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1,6];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup209_1], (instregex "VSQRTPS(Y|Z256)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup210 : SchedWriteRes<[SKXPort0,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 20;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 3;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,12];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:54:34 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup210], (instregex "VSQRTPSZr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup211 : SchedWriteRes<[SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 19;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup211], (instregex "VPMULLQZ256rm(b?)",
|
|
|
|
"VPMULLQZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup212 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 19;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,3];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup212], (instregex "(V?)DPPSrmi")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup214 : SchedWriteRes<[]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 0;
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup214], (instrs VGATHERDPSZ128rm,
|
|
|
|
VGATHERQPSZrm,
|
|
|
|
VPGATHERDDZ128rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup215 : SchedWriteRes<[SKXPort0]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 1;
|
|
|
|
let ResourceCycles = [1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup215], (instregex "DIV_FPrST0",
|
|
|
|
"DIV_FST0r",
|
|
|
|
"DIV_FrST0")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup216 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,4];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup216], (instregex "(V?)DIVPD(Z128)?rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup217 : SchedWriteRes<[SKXPort5,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup217], (instregex "VDPPSYrmi")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup218 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup218], (instrs VGATHERQPSZ128rm,
|
|
|
|
VGATHERQPSZ256rm,
|
|
|
|
VPGATHERQDZ128rm,
|
|
|
|
VPGATHERQDZ256rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup219 : SchedWriteRes<[SKXPort4,SKXPort5,SKXPort6,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [1,1,1,1,1,1,2];
|
|
|
|
}
|
2018-04-27 21:32:42 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup219], (instrs INSB, INSL, INSW)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup220 : SchedWriteRes<[SKXPort5,SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 20;
|
|
|
|
let NumMicroOps = 10;
|
|
|
|
let ResourceCycles = [1,2,7];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup220], (instregex "MWAITrr")>;
|
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup222 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 21;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,8];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup222], (instregex "VDIVPD(Y|Z256)rm")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup223 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 22;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup223], (instregex "DIV_F32m",
|
|
|
|
"DIV_F64m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup224 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 22;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup224], (instrs VGATHERDPDZ128rm,
|
|
|
|
VGATHERQPDZ128rm,
|
|
|
|
VPGATHERDQZ128rm,
|
|
|
|
VPGATHERQQZ128rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup224_2 : SchedWriteRes<[SKXPort0, SKXPort23, SKXPort5, SKXPort015]> {
|
|
|
|
let Latency = 22;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup224_2], (instrs VGATHERDPSrm,
|
|
|
|
VGATHERDPDrm,
|
|
|
|
VGATHERQPDrm,
|
|
|
|
VGATHERQPSrm,
|
|
|
|
VPGATHERDDrm,
|
|
|
|
VPGATHERDQrm,
|
|
|
|
VPGATHERQDrm,
|
|
|
|
VPGATHERQQrm,
|
|
|
|
VPGATHERDDrm,
|
|
|
|
VPGATHERQDrm,
|
|
|
|
VPGATHERDQrm,
|
|
|
|
VPGATHERQQrm,
|
|
|
|
VGATHERDPSrm,
|
|
|
|
VGATHERQPSrm,
|
|
|
|
VGATHERDPDrm,
|
|
|
|
VGATHERQPDrm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup224_3 : SchedWriteRes<[SKXPort0, SKXPort23, SKXPort5, SKXPort015]> {
|
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup224_3], (instrs VGATHERDPSYrm,
|
|
|
|
VGATHERQPDYrm,
|
|
|
|
VGATHERQPSYrm,
|
|
|
|
VPGATHERDDYrm,
|
|
|
|
VPGATHERDQYrm,
|
|
|
|
VPGATHERQDYrm,
|
|
|
|
VPGATHERQQYrm,
|
|
|
|
VPGATHERDDYrm,
|
|
|
|
VPGATHERQDYrm,
|
|
|
|
VPGATHERDQYrm,
|
|
|
|
VPGATHERQQYrm,
|
|
|
|
VGATHERDPSYrm,
|
|
|
|
VGATHERQPSYrm,
|
|
|
|
VGATHERDPDYrm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup225 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort015]> {
|
|
|
|
let Latency = 22;
|
|
|
|
let NumMicroOps = 14;
|
|
|
|
let ResourceCycles = [5,5,4];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup225], (instregex "VPCONFLICTDZ128rr",
|
|
|
|
"VPCONFLICTQZ256rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup226 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 23;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,6];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup226], (instregex "(V?)SQRTSD(Z?)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup227 : SchedWriteRes<[SKXPort0,SKXPort5,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 23;
|
|
|
|
let NumMicroOps = 3;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,16];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:54:34 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup227], (instregex "VDIVPDZrr")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup227_1 : SchedWriteRes<[SKXPort0,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 18;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [2,1,10];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup227_1], (instregex "VDIVPSZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup228 : SchedWriteRes<[SKXPort0,SKXPort4,SKXPort5,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 23;
|
|
|
|
let NumMicroOps = 19;
|
|
|
|
let ResourceCycles = [2,1,4,1,1,4,6];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup228], (instregex "CMPXCHG16B")>;
|
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup229 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 24;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,6];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup229], (instregex "(V?)SQRTPD(Z128)?m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup230 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 25;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 4;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,1,10];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup230], (instregex "VDIVPSZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:33:28 +08:00
|
|
|
def SKXWriteResGroup232 : SchedWriteRes<[SKXPort0,SKXPort23,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 2;
|
2018-04-02 13:33:28 +08:00
|
|
|
let ResourceCycles = [1,1,12];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-04-02 13:33:28 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup232], (instregex "VSQRTPD(Y|Z256)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup233 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup233], (instregex "DIV_FI16m",
|
|
|
|
"DIV_FI32m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup234 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 25;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup234], (instrs VGATHERDPDZ256rm,
|
|
|
|
VGATHERQPDZ256rm,
|
|
|
|
VPGATHERDQZ256rm,
|
|
|
|
VPGATHERQDZrm,
|
|
|
|
VPGATHERQQZ256rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup237 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 27;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 4;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,1,12];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup237], (instregex "VSQRTPSZm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup238 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 26;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup238], (instrs VGATHERDPDZrm,
|
|
|
|
VGATHERQPDZrm,
|
|
|
|
VPGATHERDQZrm,
|
|
|
|
VPGATHERQQZrm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup239 : SchedWriteRes<[SKXPort0,SKXPort23]> {
|
|
|
|
let Latency = 27;
|
|
|
|
let NumMicroOps = 2;
|
|
|
|
let ResourceCycles = [1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup239], (instregex "DIVR_F32m",
|
|
|
|
"DIVR_F64m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup240 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 27;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup240], (instrs VGATHERDPSZ256rm,
|
|
|
|
VPGATHERDDZ256rm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup241 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 28;
|
|
|
|
let NumMicroOps = 8;
|
|
|
|
let ResourceCycles = [2,4,1,1];
|
|
|
|
}
|
2018-03-19 08:56:09 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup241], (instregex "IDIV(8|16|32|64)m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup242 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 29;
|
|
|
|
let NumMicroOps = 15;
|
|
|
|
let ResourceCycles = [5,5,1,4];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup242], (instregex "VPCONFLICTQZ256rm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup243 : SchedWriteRes<[SKXPort0,SKXPort5,SKXPort23]> {
|
|
|
|
let Latency = 30;
|
|
|
|
let NumMicroOps = 3;
|
|
|
|
let ResourceCycles = [1,1,1];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup243], (instregex "DIVR_FI16m",
|
|
|
|
"DIVR_FI32m")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup244 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort5,SKXFPDivider]> {
|
2017-10-08 20:52:54 +08:00
|
|
|
let Latency = 30;
|
|
|
|
let NumMicroOps = 4;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,1,16];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup244], (instregex "VDIVPDZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup245 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort015,SKXPort0156]> {
|
|
|
|
let Latency = 30;
|
|
|
|
let NumMicroOps = 5;
|
|
|
|
let ResourceCycles = [1,2,1,1];
|
|
|
|
}
|
2017-12-17 02:35:29 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup245], (instrs VGATHERDPSZrm,
|
|
|
|
VPGATHERDDZrm)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup246 : SchedWriteRes<[SKXPort0,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 32;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 3;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,24];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup246], (instregex "VSQRTPDZr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup247 : SchedWriteRes<[SKXPort5,SKXPort6,SKXPort23,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 35;
|
|
|
|
let NumMicroOps = 23;
|
|
|
|
let ResourceCycles = [1,5,3,4,10];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup247], (instregex "IN(8|16|32)ri",
|
|
|
|
"IN(8|16|32)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup248 : SchedWriteRes<[SKXPort5,SKXPort6,SKXPort23,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 35;
|
|
|
|
let NumMicroOps = 23;
|
|
|
|
let ResourceCycles = [1,5,2,1,4,10];
|
|
|
|
}
|
2018-03-22 12:23:41 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup248], (instregex "OUT(8|16|32)ir",
|
|
|
|
"OUT(8|16|32)rr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup249 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort015]> {
|
|
|
|
let Latency = 37;
|
|
|
|
let NumMicroOps = 21;
|
|
|
|
let ResourceCycles = [9,7,5];
|
|
|
|
}
|
2018-04-06 18:16:36 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup249], (instregex "VPCONFLICTDZ256rr",
|
|
|
|
"VPCONFLICTQZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup250 : SchedWriteRes<[SKXPort1,SKXPort6,SKXPort23,SKXPort0156]> {
|
|
|
|
let Latency = 37;
|
|
|
|
let NumMicroOps = 31;
|
|
|
|
let ResourceCycles = [1,8,1,21];
|
|
|
|
}
|
2017-12-10 09:24:08 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup250], (instregex "XRSTOR(64)?")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
2018-04-02 13:54:34 +08:00
|
|
|
def SKXWriteResGroup251 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort5,SKXFPDivider]> {
|
|
|
|
let Latency = 39;
|
2017-10-08 20:52:54 +08:00
|
|
|
let NumMicroOps = 4;
|
2018-04-02 13:54:34 +08:00
|
|
|
let ResourceCycles = [2,1,1,24];
|
2017-10-08 20:52:54 +08:00
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup251], (instregex "VSQRTPDZm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup252 : SchedWriteRes<[SKXPort1,SKXPort4,SKXPort5,SKXPort6,SKXPort23,SKXPort237,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 40;
|
|
|
|
let NumMicroOps = 18;
|
|
|
|
let ResourceCycles = [1,1,2,3,1,1,1,8];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup252], (instregex "VMCLEARm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup253 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 41;
|
|
|
|
let NumMicroOps = 39;
|
|
|
|
let ResourceCycles = [1,10,1,1,26];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup253], (instregex "XSAVE64")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup254 : SchedWriteRes<[SKXPort5,SKXPort0156]> {
|
|
|
|
let Latency = 42;
|
|
|
|
let NumMicroOps = 22;
|
|
|
|
let ResourceCycles = [2,20];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup254], (instrs RDTSCP)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup255 : SchedWriteRes<[SKXPort4,SKXPort6,SKXPort23,SKXPort237,SKXPort0156]> {
|
|
|
|
let Latency = 42;
|
|
|
|
let NumMicroOps = 40;
|
|
|
|
let ResourceCycles = [1,11,1,1,26];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup255], (instregex "^XSAVE$", "XSAVEC", "XSAVES", "XSAVEOPT")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup256 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 44;
|
|
|
|
let NumMicroOps = 22;
|
|
|
|
let ResourceCycles = [9,7,1,5];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup256], (instregex "VPCONFLICTDZ256rm(b?)",
|
|
|
|
"VPCONFLICTQZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup258 : SchedWriteRes<[SKXPort0,SKXPort23,SKXPort05,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 62;
|
|
|
|
let NumMicroOps = 64;
|
|
|
|
let ResourceCycles = [2,8,5,10,39];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup258], (instregex "FLDENVm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup259 : SchedWriteRes<[SKXPort0,SKXPort6,SKXPort23,SKXPort05,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 63;
|
|
|
|
let NumMicroOps = 88;
|
|
|
|
let ResourceCycles = [4,4,31,1,2,1,45];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup259], (instrs FXRSTOR64)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup260 : SchedWriteRes<[SKXPort0,SKXPort6,SKXPort23,SKXPort05,SKXPort06,SKXPort15,SKXPort0156]> {
|
|
|
|
let Latency = 63;
|
|
|
|
let NumMicroOps = 90;
|
|
|
|
let ResourceCycles = [4,2,33,1,2,1,47];
|
|
|
|
}
|
2018-03-18 16:38:06 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup260], (instrs FXRSTOR)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup261 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort015]> {
|
|
|
|
let Latency = 67;
|
|
|
|
let NumMicroOps = 35;
|
|
|
|
let ResourceCycles = [17,11,7];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup261], (instregex "VPCONFLICTDZrr")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup262 : SchedWriteRes<[SKXPort5,SKXPort01,SKXPort23,SKXPort015]> {
|
|
|
|
let Latency = 74;
|
|
|
|
let NumMicroOps = 36;
|
|
|
|
let ResourceCycles = [17,11,1,7];
|
|
|
|
}
|
2018-03-29 04:40:24 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup262], (instregex "VPCONFLICTDZrm(b?)")>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup263 : SchedWriteRes<[SKXPort5,SKXPort05,SKXPort0156]> {
|
|
|
|
let Latency = 75;
|
|
|
|
let NumMicroOps = 15;
|
|
|
|
let ResourceCycles = [6,3,6];
|
|
|
|
}
|
2018-04-24 00:10:50 +08:00
|
|
|
def: InstRW<[SKXWriteResGroup263], (instrs FNINIT)>;
|
2017-10-08 20:52:54 +08:00
|
|
|
|
|
|
|
def SKXWriteResGroup264 : SchedWriteRes<[SKXPort0,SKXPort1,SKXPort5,SKXPort6,SKXPort05,SKXPort0156]> {
|
|
|
|
let Latency = 76;
|
|
|
|
let NumMicroOps = 32;
|
|
|
|
let ResourceCycles = [7,2,8,3,1,11];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup264], (instregex "DIV(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup265 : SchedWriteRes<[SKXPort0,SKXPort1,SKXPort5,SKXPort6,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 102;
|
|
|
|
let NumMicroOps = 66;
|
|
|
|
let ResourceCycles = [4,2,4,8,14,34];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup265], (instregex "IDIV(16|32|64)r")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup266 : SchedWriteRes<[SKXPort0,SKXPort1,SKXPort4,SKXPort5,SKXPort6,SKXPort237,SKXPort06,SKXPort0156]> {
|
|
|
|
let Latency = 106;
|
|
|
|
let NumMicroOps = 100;
|
|
|
|
let ResourceCycles = [9,1,11,16,1,11,21,30];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup266], (instregex "FSTENVm")>;
|
|
|
|
|
|
|
|
def SKXWriteResGroup267 : SchedWriteRes<[SKXPort6,SKXPort0156]> {
|
|
|
|
let Latency = 140;
|
|
|
|
let NumMicroOps = 4;
|
|
|
|
let ResourceCycles = [1,3];
|
|
|
|
}
|
|
|
|
def: InstRW<[SKXWriteResGroup267], (instregex "PAUSE")>;
|
|
|
|
} // SchedModel
|