[all-commits] [llvm/llvm-project] 5b7982: [RISCV] Fix SiFive7 formula for Reductions and ord...

Michael Maitland via All-commits all-commits at lists.llvm.org
Tue Sep 5 20:04:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b7982f2b223f82b26e3ac7fba36cb8b939a0769
      https://github.com/llvm/llvm-project/commit/5b7982f2b223f82b26e3ac7fba36cb8b939a0769
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
    A llvm/test/tools/llvm-mca/RISCV/SiFive7/reductions.s

  Log Message:
  -----------
  [RISCV] Fix SiFive7 formula for Reductions and ordered Reductions  (#65385)

Reductions specified the correct formula in the comments but was
implemented incorrectly.

Ordered reductions formula was refined to be more accurate to actual
hardware.

A llvm-mca test case for reductions is added so that we have a better
idea of how the model is performing.




More information about the All-commits mailing list