[PATCH] D153475: [RISCV] Improve SiFive7 for loads and stores
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 15:02:15 PDT 2023
michaelmaitland created this revision.
michaelmaitland added reviewers: craig.topper, reames, wangpc.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
michaelmaitland requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.
- Unit-stride loads and stores can operate at the full bandwidth of the
memory pipe. The memory pipe is DLEN bits wide.
- Strided loads and stores operate at one element per cycle and should
be scheduled accordingly.
- Indexed loads and stores operate at one element per cycle, and they
stall the machine until all addresses have been generated, so they
cannot be scheduled.
- Unit stride seg2 load is number of DLEN parts
- seg3-8 are one segment per cycle, unless the segment is larger
than DLEN in which each segment takes multiple cycles.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153475
Files:
llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153475.533416.patch
Type: text/x-patch
Size: 12065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230621/73cd7b12/attachment.bin>
More information about the llvm-commits
mailing list