[all-commits] [llvm/llvm-project] 8534f5: [CostModel][X86] Add CostKinds handling for sqrt i...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Sep 4 10:39:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8534f514747d57cd42602403eb98c8230f5c7ff9
      https://github.com/llvm/llvm-project/commit/8534f514747d57cd42602403eb98c8230f5c7ff9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver1.td
    M llvm/lib/Target/X86/X86ScheduleZnver2.td
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fp-latency.ll
    M llvm/test/Analysis/CostModel/X86/arith-fp-sizelatency.ll
    M llvm/test/Analysis/CostModel/X86/arith-fp.ll
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.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/sqrt-rsqrt-rcp-memop.s

  Log Message:
  -----------
  [CostModel][X86] Add CostKinds handling for sqrt intrinsicc

This was achieved using the 'cost-tables vs llvm-mca' script from D103695

Some of the znver1/znver2 latency/throughput numbers were really weird (some copy+paste afaict) - I've used the numbers from the AMD SoG, which roughly match the 'worst case' range value from Agner




More information about the All-commits mailing list