riscv-software-src / riscv-perf-model

Example RISC-V Out-of-Order/Superscalar Processor Performance Core and MSS Model
Apache License 2.0
133 stars 56 forks source link

Question in fusion/fusion/HCache.cpp #168

Closed zxc12523 closed 5 months ago

zxc12523 commented 5 months ago

https://github.com/riscv-software-src/riscv-perf-model/blob/a0f965f67b7bc93ed2144fb2322f2dda79361837/fusion/fusion/HCache.hpp#L78

https://github.com/riscv-software-src/riscv-perf-model/blob/a0f965f67b7bc93ed2144fb2322f2dda79361837/fusion/fusion/HCache.hpp#L161

Won't different fgPairs have the same grpSize? If they are, will this line of code be wrong?

arupc commented 5 months ago

cc: @jeffnye-gh

@zxc12523 The discussion section https://github.com/riscv-software-src/riscv-perf-model/discussions is probably the best place for questions like this. Please feel free to tag appropriate people as needed.

zxc12523 commented 5 months ago

Ok, I will move this question to discuss!