mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
[X86][Haswell][SchedModel] Add architecture specific scheduling models.
Group: Floating Point x87 instructions. Sub-group: Math instructions. <rdar://problem/15607571> llvm-svn: 215913
This commit is contained in:
parent
7cb8772661
commit
5a5bf20c9d
@ -1175,4 +1175,20 @@ def WriteFRNDINT : SchedWriteRes<[]> {
|
||||
}
|
||||
def : InstRW<[WriteFRNDINT], (instregex "FRNDINT")>;
|
||||
|
||||
//-- Math instructions --//
|
||||
|
||||
// FSCALE.
|
||||
def WriteFSCALE : SchedWriteRes<[]> {
|
||||
let Latency = 75; // 49-125
|
||||
let NumMicroOps = 50; // 25-75
|
||||
}
|
||||
def : InstRW<[WriteFSCALE], (instregex "FSCALE")>;
|
||||
|
||||
// FXTRACT.
|
||||
def WriteFXTRACT : SchedWriteRes<[]> {
|
||||
let Latency = 15;
|
||||
let NumMicroOps = 17;
|
||||
}
|
||||
def : InstRW<[WriteFXTRACT], (instregex "FXTRACT")>;
|
||||
|
||||
} // SchedModel
|
||||
|
Loading…
x
Reference in New Issue
Block a user