[CostModel][X86] Add CostKinds handling for fadd/fsub/fneg ops
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Sep 2022 10:49:46 +0000 (11:49 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Sep 2022 10:50:01 +0000 (11:50 +0100)
commitad16f3e413545fa87a31f2ae9680b96fd8dd0507
tree5fdd526d41757331957372385f16390ab53bfd8c
parent91e67c074922cc667fa1c43fc1f01acb96faa0f9
[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'
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/arith-fp-latency.ll
llvm/test/Analysis/CostModel/X86/arith-fp-sizelatency.ll
llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll