mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
[X86][Haswell][SchedModel] Add architecture specific scheduling models.
Group: Floating Point x87 instructions. Sub-group: Math instructions. <rdar://problem/15607571> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
435fa2bddf
commit
f8da7e552c
@ -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…
Reference in New Issue
Block a user