[all-commits] [llvm/llvm-project] 08fe55: [X86] Fix scalar load latencies for WriteLoad sche...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Nov 6 06:05:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08fe55b346cbb3a5126757ca5995ed22771d0326
      https://github.com/llvm/llvm-project/commit/08fe55b346cbb3a5126757ca5995ed22771d0326
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver1.td
    M llvm/lib/Target/X86/X86ScheduleZnver2.td
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s

  Log Message:
  -----------
  [X86] Fix scalar load latencies for WriteLoad scheduler class

Znver1/Znver2 were using vector load latency values (which is what WriteFLoad*/WriteVecLoad* are for) instead of the scalar load latency value

TBH I'm not sure clflush/clzero/prefetch ops should be tagged as WriteLoad but at least this makes us more consistent




More information about the All-commits mailing list