mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
[X86][SchedModel] Fixed missing/wrong scheduling model found by code inspection.
Source: Agner Fog's Instruction tables. Related to <rdar://problem/15607571> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75d423feed
commit
15c8452584
@ -199,11 +199,11 @@ multiclass sse12_cvt_pint_3addr<bits<8> opc, RegisterClass SrcRC,
|
|||||||
def irr : MMXPI<opc, MRMSrcReg, (outs DstRC:$dst),
|
def irr : MMXPI<opc, MRMSrcReg, (outs DstRC:$dst),
|
||||||
(ins DstRC:$src1, SrcRC:$src2), asm,
|
(ins DstRC:$src1, SrcRC:$src2), asm,
|
||||||
[(set DstRC:$dst, (Int DstRC:$src1, SrcRC:$src2))],
|
[(set DstRC:$dst, (Int DstRC:$src1, SrcRC:$src2))],
|
||||||
NoItinerary, d>;
|
NoItinerary, d>, Sched<[WriteCvtI2F]>;
|
||||||
def irm : MMXPI<opc, MRMSrcMem, (outs DstRC:$dst),
|
def irm : MMXPI<opc, MRMSrcMem, (outs DstRC:$dst),
|
||||||
(ins DstRC:$src1, x86memop:$src2), asm,
|
(ins DstRC:$src1, x86memop:$src2), asm,
|
||||||
[(set DstRC:$dst, (Int DstRC:$src1, (ld_frag addr:$src2)))],
|
[(set DstRC:$dst, (Int DstRC:$src1, (ld_frag addr:$src2)))],
|
||||||
NoItinerary, d>;
|
NoItinerary, d>, Sched<[WriteCvtI2FLd]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@ -1017,7 +1017,7 @@ def MOVUPDmr : PDI<0x11, MRMDestMem, (outs), (ins f128mem:$dst, VR128:$src),
|
|||||||
|
|
||||||
// For disassembler
|
// For disassembler
|
||||||
let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0,
|
let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0,
|
||||||
SchedRW = [WriteMove] in {
|
SchedRW = [WriteFShuffle] in {
|
||||||
def MOVAPSrr_REV : PSI<0x29, MRMDestReg, (outs VR128:$dst), (ins VR128:$src),
|
def MOVAPSrr_REV : PSI<0x29, MRMDestReg, (outs VR128:$dst), (ins VR128:$src),
|
||||||
"movaps\t{$src, $dst|$dst, $src}", [],
|
"movaps\t{$src, $dst|$dst, $src}", [],
|
||||||
IIC_SSE_MOVA_P_RR>;
|
IIC_SSE_MOVA_P_RR>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user