summaryrefslogtreecommitdiff
path: root/src/cpu/base_dyn_inst_impl.hh
diff options
context:
space:
mode:
authorHongil Yoon <ongal@cs.wisc.edu>2015-09-15 08:14:06 -0500
committerHongil Yoon <ongal@cs.wisc.edu>2015-09-15 08:14:06 -0500
commitfb0f9884e27f33c434ef67a5cfd284331a2a89e0 (patch)
treea3c1c8df37385eb1c2e7b5ace8631a93bd40b3ff /src/cpu/base_dyn_inst_impl.hh
parent6bee1d912482ee57ed79bb557afdad25563e9955 (diff)
downloadgem5-fb0f9884e27f33c434ef67a5cfd284331a2a89e0.tar.xz
cpu, o3: consider split requests for LSQ checksnoop operations
This patch enables instructions in LSQ to track two physical addresses for corresponding two split requests. Later, the information is used in checksnoop() to search for/invalidate the corresponding LD instructions. The current implementation has kept track of only the physical address that is referenced by the first split request. Thus, for checksnoop(), the line accessed by the second request has not been considered, causing potential correctness issues. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/cpu/base_dyn_inst_impl.hh')
-rw-r--r--src/cpu/base_dyn_inst_impl.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/base_dyn_inst_impl.hh b/src/cpu/base_dyn_inst_impl.hh
index 976e9ceb0..f55bd8ed5 100644
--- a/src/cpu/base_dyn_inst_impl.hh
+++ b/src/cpu/base_dyn_inst_impl.hh
@@ -88,7 +88,8 @@ BaseDynInst<Impl>::initVars()
{
memData = NULL;
effAddr = 0;
- physEffAddr = 0;
+ physEffAddrLow = 0;
+ physEffAddrHigh = 0;
readyRegs = 0;
memReqFlags = 0;