This fixes a bug where implicit uses of EFLAGS were not marked as ReadAdvance in the RM/MR variants of ADC/SBB (PR51318).
This also fixes the absence of ReadAdvance for the register operand of RMW arithmetic instructions (PR51322).
Paths
| Differential D107367
[X86][SchedModel] Add missing ReadAdvance for some arithmetic ops (PR51318 and PR51322) ClosedPublic Authored by andreadb on Aug 3 2021, 9:21 AM.
Details Summary This fixes a bug where implicit uses of EFLAGS were not marked as ReadAdvance in the RM/MR variants of ADC/SBB (PR51318). This also fixes the absence of ReadAdvance for the register operand of RMW arithmetic instructions (PR51322).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 4 2021, 4:31 AM Closed by commit rG7a1a35a1d1ae: [X86][SchedModel] Add missing ReadAdvance for some arithmetic ops (PR51318 and… (authored by andreadb). · Explain WhyAug 4 2021, 9:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364165 llvm/lib/Target/X86/X86InstrArithmetic.td
llvm/test/tools/llvm-mca/X86/BtVer2/adc-sequence-readadvance.s
llvm/test/tools/llvm-mca/X86/BtVer2/rmw-adc-sequence-readadvance.s
llvm/test/tools/llvm-mca/X86/BtVer2/rmw-add-sequence-readadvance.s
|