[all-commits] [llvm/llvm-project] 9bd0dc: [CostModel][X86] Improve v8i32 MUL costs on AVX1 t...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 22 03:13:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bd0dc83b55b53cbe4ae9544b5917e1d9d14dbfb
      https://github.com/llvm/llvm-project/commit/9bd0dc83b55b53cbe4ae9544b5917e1d9d14dbfb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fix.ll
    M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
    M llvm/test/Analysis/CostModel/X86/arith.ll
    M llvm/test/Analysis/CostModel/X86/fshl.ll
    M llvm/test/Analysis/CostModel/X86/fshr.ll
    M llvm/test/Analysis/CostModel/X86/reduce-mul.ll
    M llvm/test/Analysis/CostModel/X86/rem.ll
    M llvm/test/Analysis/CostModel/X86/vectorized-loop.ll
    M llvm/test/Analysis/CostModel/X86/vshift-shl-cost-inseltpoison.ll
    M llvm/test/Analysis/CostModel/X86/vshift-shl-cost.ll

  Log Message:
  -----------
  [CostModel][X86] Improve v8i32 MUL costs on AVX1 targets to account for slower btver2

BTVER2 has a 2 cycle throughput for v4i32 multiplies (same as SSE41 targets), which is only partially hidden by the subvector extracts/insert when splitting v8i32.




More information about the All-commits mailing list