mem: Determine if an MSHR does a whole-line write
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 10 Oct 2016 13:25:42 +0000 (14:25 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 18 Oct 2018 09:39:30 +0000 (09:39 +0000)
commit0ac40753c3dba5fa647006455238acad0cb3e3ec
tree2e8da34a653e87ef3e4ff23b999d8b0c4f7f9870
parent6adc2afaa0398a4872b9fd3694311333e8f6ded3
mem: Determine if an MSHR does a whole-line write

This patch adds support for determining whether the targets in an MSHR
are 1) only writes and 2) whether these writes are effectively a
whole-line write. This patch adds the necessary functions in the MSHR
to allow for write coalescing in the cache.

Change-Id: I2c9a9a83d2d9b506a491ba5b0b9ac1054bdb31b4
Reviewed-on: https://gem5-review.googlesource.com/c/12904
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh