[all-commits] [llvm/llvm-project] ad16f3: [CostModel][X86] Add CostKinds handling for fadd/f...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Sep 2 03:50:23 PDT 2022


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

  Changed paths:
    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/intrinsic-cost-kinds.ll

  Log Message:
  -----------
  [CostModel][X86] Add CostKinds handling for fadd/fsub/fneg ops

This was achieved with an updated version of the 'cost-tables vs llvm-mca' script D103695 which I'll update shortly

As we're using 'typical' worst case values, not all cost entries come from a single CPU - e.g. the latency/throughput from haswell but the size-latency(uops) from zen1/alderlake-e due to 'double pumping'




More information about the All-commits mailing list