[all-commits] [llvm/llvm-project] 501734: [RISCV] Improve SiFive7 for reductions and ordered...
Michael Maitland via All-commits
all-commits at lists.llvm.org
Thu Jun 22 10:27:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 501734482086bc814f419b8477e69691948b9424
https://github.com/llvm/llvm-project/commit/501734482086bc814f419b8477e69691948b9424
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
Log Message:
-----------
[RISCV] Improve SiFive7 for reductions and ordered reductions
Since the scheduling resources for reductions and ordered reductions now
account for LMUL and SEW, we can modify the Latency and ResourceCycles
for these resoruces.
* Most reductions take a total of approx `vl*SEW/DLEN + 5*(4 + log2(DLEN/SEW))`
cycles.
* Ordered floating-point reductions take a total of approx `5*vl` cycles.
This commit re-commits 208fc34c65d648e869d7d3ba0dfcbca90942cda0. It was
failing because it used wrong version of SchedSEWSet.
Differential Revision: https://reviews.llvm.org/D153474
More information about the All-commits
mailing list