Skip to content

Commit

Permalink
[RISCV] ReadStoreData is read later in the pipeline for SiFive7 (llvm…
Browse files Browse the repository at this point in the history
…#86454)

Store data is read later in the pipeline, so we use
SiFive7AnyToGPRBypass to model that a store instruction can begin some
cycles before that data is ready.
  • Loading branch information
michaelmaitland authored Apr 1, 2024
1 parent 41afef9 commit a7206a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ def : InstRW<[WriteIALU], (instrs COPY)>;
def : SiFive7AnyToGPRBypass<ReadJmp>;
def : SiFive7AnyToGPRBypass<ReadJalr>;
def : ReadAdvance<ReadCSR, 0>;
def : ReadAdvance<ReadStoreData, 0>;
def : SiFive7AnyToGPRBypass<ReadStoreData>;
def : ReadAdvance<ReadMemBase, 0>;
def : SiFive7AnyToGPRBypass<ReadIALU>;
def : SiFive7AnyToGPRBypass<ReadIALU32>;
Expand Down

0 comments on commit a7206a6

Please sign in to comment.