Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/23952 )

Change subject: cpu: Disable O3CPU value forwarding with write strobes
......................................................................

cpu: Disable O3CPU value forwarding with write strobes

Change-Id: I22d631a3d2032570f6e84b0f5eb018d1f84414ef
---
M src/cpu/o3/lsq_unit.hh
1 file changed, 4 insertions(+), 1 deletion(-)



diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh
index 7c3e0e0..e15d01b 100644
--- a/src/cpu/o3/lsq_unit.hh
+++ b/src/cpu/o3/lsq_unit.hh
@@ -725,7 +725,10 @@
                 store_has_lower_limit && store_has_upper_limit &&
                 !req->mainRequest()->isLLSC()) {

-                coverage = AddrRangeCoverage::FullAddrRangeCoverage;
+                const auto& store_req = store_it->request()->mainRequest();
+                coverage = store_req->isMasked() ?
+                    AddrRangeCoverage::PartialAddrRangeCoverage :
+                    AddrRangeCoverage::FullAddrRangeCoverage;
             } else if (
// This is the partial store-load forwarding case where a store
                 // has only part of the load's data and the load isn't LLSC

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/23952
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I22d631a3d2032570f6e84b0f5eb018d1f84414ef
Gerrit-Change-Number: 23952
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to