[PATCH] D151139: [RISCV] Increase scalar integer divide latency for SiFive7.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 22 13:37:52 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5734a81a5527: [RISCV] Increase scalar integer divide latency for SiFive7. (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151139/new/
https://reviews.llvm.org/D151139
Files:
llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
Index: llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
+++ llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
@@ -198,12 +198,12 @@
// Integer division
def : WriteRes<WriteIDiv, [SiFive7PipeB, SiFive7IDiv]> {
- let Latency = 16;
- let ResourceCycles = [1, 15];
+ let Latency = 66;
+ let ResourceCycles = [1, 65];
}
def : WriteRes<WriteIDiv32, [SiFive7PipeB, SiFive7IDiv]> {
- let Latency = 16;
- let ResourceCycles = [1, 15];
+ let Latency = 34;
+ let ResourceCycles = [1, 33];
}
// Bitmanip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151139.524466.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/b410cb0b/attachment.bin>
More information about the llvm-commits
mailing list