[PATCH] D49861: [X86] Improved sched models for X86 XCHG*rr instructions
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 28 05:13:13 PDT 2018
lebedev.ri added inline comments.
================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:173
defm : JWriteResIntPair<WriteBSWAP64,[JALU01], 1>;
+defm : X86WriteRes<WriteXCHG, [JALU01], 1, [1], 1>;
----------------
avt77 wrote:
> lebedev.ri wrote:
> > These are from agner?
> Agner shows different values for r8,r8 and r,r while AMD64_16h_InstrLatency_1.1 shows 'ucode' for all variants. I used the default values because it keeps the current tests untouched. That's our old problem: what should be selected as "right" value?
Ideally - what `llvm-exegesis` says for these.
Realistically, i'd guess the current change - just cleanup, don't change test output - is ok.
https://reviews.llvm.org/D49861
More information about the llvm-commits
mailing list