llvm.org GIT mirror llvm / 641e06c
Merging r329414: ------------------------------------------------------------------------ r329414 | ctopper | 2018-04-06 09:16:43 -0700 (Fri, 06 Apr 2018) | 3 lines [X86] Merge itineraries for CLC, CMC, and STC. These are very simple flag setting instructions that appear to only be a single uop. They're unlikely to need this separation. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@332565 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 2 years ago
3 changed file(s) with 5 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
21182118
21192119 // Flag instructions
21202120 let SchedRW = [WriteALU] in {
2121 def CLC : I<0xF8, RawFrm, (outs), (ins), "clc", [], IIC_CLC>;
2122 def STC : I<0xF9, RawFrm, (outs), (ins), "stc", [], IIC_STC>;
2121 def CLC : I<0xF8, RawFrm, (outs), (ins), "clc", [], IIC_CLC_CMC_STC>;
2122 def STC : I<0xF9, RawFrm, (outs), (ins), "stc", [], IIC_CLC_CMC_STC>;
21232123 def CLI : I<0xFA, RawFrm, (outs), (ins), "cli", [], IIC_CLI>;
21242124 def STI : I<0xFB, RawFrm, (outs), (ins), "sti", [], IIC_STI>;
21252125 def CLD : I<0xFC, RawFrm, (outs), (ins), "cld", [], IIC_CLD>;
21262126 def STD : I<0xFD, RawFrm, (outs), (ins), "std", [], IIC_STD>;
2127 def CMC : I<0xF5, RawFrm, (outs), (ins), "cmc", [], IIC_CMC>;
2127 def CMC : I<0xF5, RawFrm, (outs), (ins), "cmc", [], IIC_CLC_CMC_STC>;
21282128
21292129 def CLTS : I<0x06, RawFrm, (outs), (ins), "clts", [], IIC_CLTS>, TB;
21302130 }
607607 def IIC_CMPXCHG_16B : InstrItinClass;
608608 def IIC_LODS : InstrItinClass;
609609 def IIC_OUTS : InstrItinClass;
610 def IIC_CLC : InstrItinClass;
610 def IIC_CLC_CMC_STC : InstrItinClass;
611611 def IIC_CLD : InstrItinClass;
612612 def IIC_CLI : InstrItinClass;
613 def IIC_CMC : InstrItinClass;
614613 def IIC_CLTS : InstrItinClass;
615 def IIC_STC : InstrItinClass;
616614 def IIC_STI : InstrItinClass;
617615 def IIC_STD : InstrItinClass;
618616 def IIC_XLAT : InstrItinClass;
513513 InstrItinData] >,
514514 InstrItinData] >,
515515 InstrItinData] >,
516 InstrItinData, [InstrStage<1, [Port0, Port1]>] >,
516 InstrItinData_CMC_STC, [InstrStage<1, [Port0, Port1]>] >,
517517 InstrItinData] >,
518518 InstrItinData] >,
519 InstrItinData] >,
520519 InstrItinData] >,
521 InstrItinData] >,
522520 InstrItinData] >,
523521 InstrItinData] >,
524522 InstrItinData] >,