[all-commits] [llvm/llvm-project] 7ac958: [X86] SandyBridge masked stores use 2uop from port01

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Sep 22 07:11:04 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/X86/X86SchedSandyBridge.td
    M llvm/test/tools/llvm-mca/X86/Generic/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/Generic/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s

  Log Message:
  -----------
  [X86] SandyBridge masked stores use 2uop from port01

Found while reviewing a llvm-exegesis capture (and matches Agner + uops.info numbers)


  Commit: 5b8204b2215f293f69dded5be2774bec7bb1fde0
      https://github.com/llvm/llvm-project/commit/5b8204b2215f293f69dded5be2774bec7bb1fde0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86SchedSandyBridge.td
    M llvm/test/CodeGen/X86/sqrt-fastmath.ll
    M llvm/test/tools/llvm-mca/X86/Generic/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s

  Log Message:
  -----------
  [X86] SandyBridge ymm broadcast loads use port5 + port23

Unlike the per-lane mov*dup broadcast shuffles, broadcastsd/ss need port5 to splat across lanes

Found while reviewing a llvm-exegesis capture (and matches Agner + uops.info numbers) - I can't find any more easy wins from these captures so that will be it for now.


Compare: https://github.com/llvm/llvm-project/compare/7db91b4abe41...5b8204b2215f


More information about the All-commits mailing list