[all-commits] [llvm/llvm-project] c5344d: [X86][Sched] A bunch of fixes to the Zen2 sched mo...

Clement Courbet via All-commits all-commits at lists.llvm.org
Thu Jan 30 01:20:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c5344d857fd6cc2693f936f9f1eff93ba0262293
      https://github.com/llvm/llvm-project/commit/c5344d857fd6cc2693f936f9f1eff93ba0262293
  Author: Clement Courbet <courbet at google.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver2.td
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse3.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse41.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse4a.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-ssse3.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s

  Log Message:
  -----------
  [X86][Sched] A bunch of fixes to the Zen2 sched model latencies.

Summary:
As determined with `llvm-exegesis`.

Some of these look like typos/misunderstandings of the sched model td
spec:
  - latency defaults to `1` when not set => Maybe we can avoid
    having a default ?
  - problems with regexps not being anchored by default (XCHG matching
    CMPXHG)

Note that this is not complete, it fixes only the most obvious mistakes,
and only for latency (not uops).

Reviewers: RKSimon, GGanesh

Subscribers: hiraditya, jfb, mstojanovic, hfinkel, craig.topper, andreadb, lebedev.ri, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73172




More information about the All-commits mailing list