mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[X86][BtVer2] Cleanup some old FIXMEs from the model. NFCI.
llvm-svn: 330428
This commit is contained in:
parent
404cf2b1bb
commit
3aaec060ee
@ -278,15 +278,13 @@ defm : JWriteResIntPair<WriteJump, [JALU01], 1>;
|
|||||||
def : WriteRes<WriteSystem, [JALU01]> { let Latency = 100; }
|
def : WriteRes<WriteSystem, [JALU01]> { let Latency = 100; }
|
||||||
def : WriteRes<WriteMicrocoded, [JALU01]> { let Latency = 100; }
|
def : WriteRes<WriteMicrocoded, [JALU01]> { let Latency = 100; }
|
||||||
def : WriteRes<WriteFence, [JSAGU]>;
|
def : WriteRes<WriteFence, [JSAGU]>;
|
||||||
|
|
||||||
// Nops don't have dependencies, so there's no actual latency, but we set this
|
// Nops don't have dependencies, so there's no actual latency, but we set this
|
||||||
// to '1' to tell the scheduler that the nop uses an ALU slot for a cycle.
|
// to '1' to tell the scheduler that the nop uses an ALU slot for a cycle.
|
||||||
def : WriteRes<WriteNop, [JALU01]> { let Latency = 1; }
|
def : WriteRes<WriteNop, [JALU01]> { let Latency = 1; }
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Floating point. This covers both scalar and vector operations.
|
// Floating point. This covers both scalar and vector operations.
|
||||||
// FIXME: should we bother splitting JFPU pipe + unit stages for fast instructions?
|
|
||||||
// FIXME: Double precision latencies
|
|
||||||
// FIXME: SS vs PS latencies
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
def : WriteRes<WriteFLoad, [JLAGU, JFPU01, JFPX]> { let Latency = 5; }
|
def : WriteRes<WriteFLoad, [JLAGU, JFPU01, JFPX]> { let Latency = 5; }
|
||||||
@ -311,7 +309,6 @@ defm : JWriteResFpuPair<WriteFVarShuffle256, [JFPU01, JFPX], 1>; // NOTE: Doesn
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Conversions.
|
// Conversions.
|
||||||
// FIXME: integer pipes
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
defm : JWriteResFpuPair<WriteCvtF2I, [JFPU1, JSTC], 3>; // Float -> Integer.
|
defm : JWriteResFpuPair<WriteCvtF2I, [JFPU1, JSTC], 3>; // Float -> Integer.
|
||||||
@ -344,7 +341,7 @@ def JWriteCVTF2SILd : SchedWriteRes<[JLAGU, JFPU1, JSTC, JFPA, JALU0]> {
|
|||||||
}
|
}
|
||||||
def : InstRW<[JWriteCVTF2SILd], (instregex "(V)?CVT(T?)S(D|S)2SI(64)?rm")>;
|
def : InstRW<[JWriteCVTF2SILd], (instregex "(V)?CVT(T?)S(D|S)2SI(64)?rm")>;
|
||||||
|
|
||||||
// FIXME: f+3 ST,LD+STC latency
|
// FIXME: f+3 ST, LD+STC latency
|
||||||
def JWriteCVTSI2F : SchedWriteRes<[JFPU1, JSTC]> {
|
def JWriteCVTSI2F : SchedWriteRes<[JFPU1, JSTC]> {
|
||||||
let Latency = 9;
|
let Latency = 9;
|
||||||
let NumMicroOps = 2;
|
let NumMicroOps = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user