riscv / riscv-CMOs

https://jira.riscv.org/browse/RVG-59
Creative Commons Attribution 4.0 International
77 stars 12 forks source link

"For example, a store may be buffered in a cache that later writes." #28

Closed ingallsj closed 2 years ago

ingallsj commented 2 years ago

Type of change: Clarification.

Explanation:

  1. The intent of the example (if I'm reading between the lines correctly) is that stores may buffer in a cache to later write, not that stores trigger reads.
  2. A store to a cache need not necessarily be satisfied by a read operation to fill the cache, if the cache tracks data valid / dirty at a small enough granule and/or gathers enough stores to fill a data valid / dirty granule.
dkruckemyer-ventana commented 2 years ago

The intent was to describe that a store may result in a read operation initially. Think of a store to a WB cache, which first performs a read operation on memory.

It is true that the store may be buffered in the cache and then the cache may perform a write operation. But this comment was meant simply to illustrate the above behavior (among many others).

ingallsj commented 2 years ago

Sure, was just a suggestion in example text.