[all-commits] [llvm/llvm-project] 51d04e: [X86][SLM] Swap LoadLat and LoadUOps in the SLMWri...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Sep 11 03:44:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51d04e22689689086e6638ce36861cf26326caf2
      https://github.com/llvm/llvm-project/commit/51d04e22689689086e6638ce36861cf26326caf2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-11 (Sat, 11 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleSLM.td

  Log Message:
  -----------
  [X86][SLM] Swap LoadLat and LoadUOps in the SLMWriteResPair<> helper. NFC.

We set the LoadUOps argument a lot more frequently that LoadLat, by swapping them we can simplify a number of declarations.


  Commit: 484944ac3b10530343df8461554b12190bbde9e9
      https://github.com/llvm/llvm-project/commit/484944ac3b10530343df8461554b12190bbde9e9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-11 (Sat, 11 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleSLM.td
    M llvm/test/tools/llvm-mca/X86/SLM/resources-sse3.s
    M llvm/test/tools/llvm-mca/X86/SLM/resources-ssse3.s

  Log Message:
  -----------
  [X86][SLM] Fix HADD/HSUB uops, latency and throughput

Noticed while trying to improve generic reduction costs via the D103695 helper script. Confirmed with Intel AoM / Agner / InstLatX64.


  Commit: df975e459008504db1248414718c1b936685d16f
      https://github.com/llvm/llvm-project/commit/df975e459008504db1248414718c1b936685d16f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-11 (Sat, 11 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleSLM.td
    M llvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/SLM/resources-sse41.s

  Log Message:
  -----------
  [X86][SLM] Fix PSAD/MPSAD uops, latency and throughput

Noticed while trying to improve generic reduction costs via the D103695 helper script. Confirmed with Intel AoM / Agner / InstLatX64.


Compare: https://github.com/llvm/llvm-project/compare/2aaa6466fe00...df975e459008


More information about the All-commits mailing list