[all-commits] [llvm/llvm-project] f9b120: [X86][Atom] Fix vector integer multiplication reso...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 15 06:26:11 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleAtom.td
    M llvm/test/tools/llvm-mca/X86/Atom/resources-mmx.s
    M llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Atom/resources-ssse3.s

  Log Message:
  -----------
  [X86][Atom] Fix vector integer multiplication resource/throughputs

Match whats documented in the Intel AOM (and Agner/instlatx64 agree) - vector integer multiplies are pipelined - all Port0, throughput = 2 @ 128bits, 1 @ 64bits.

Noticed while checking reduction costs - now that we can use in-order models in llvm-mca, the atom model is the "worst case scenario" we have in x86.




More information about the All-commits mailing list