summaryrefslogtreecommitdiff
path: root/src/cpu/o3
diff options
context:
space:
mode:
authorPouya Fotouhi <Pouya.Fotouhi@amd.com>2019-07-12 12:28:55 -0500
committerPouya Fotouhi <pfotouhi@ucdavis.edu>2019-07-13 00:48:33 +0000
commit059122e22b3651cd7cb3d6581176c745c64cbe8e (patch)
tree0a16689ddc74f3bd3062c9970ee3569251227b76 /src/cpu/o3
parent42f32d159ba97b92ce004223c3ccfca56f0e0da7 (diff)
downloadgem5-059122e22b3651cd7cb3d6581176c745c64cbe8e.tar.xz
cpu-o3: Set packet data type for IPR read
This change assigns packet data type to static for IPR read. Caused by change (e13d6dc9c0d7a4ae0215f1ee6793eb32570c5169), and has been reported a few times in the mailing list. Change-Id: I0f02c20a16824e220df876e9e552bbc1c9636f95 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19449 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/o3')
-rw-r--r--src/cpu/o3/lsq_unit.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh
index d3f1d0712..cd512ced7 100644
--- a/src/cpu/o3/lsq_unit.hh
+++ b/src/cpu/o3/lsq_unit.hh
@@ -667,6 +667,8 @@ LSQUnit<Impl>::read(LSQRequest *req, int load_idx)
ThreadContext *thread = cpu->tcBase(lsqID);
PacketPtr main_pkt = new Packet(req->mainRequest(), MemCmd::ReadReq);
+ main_pkt->dataStatic(load_inst->memData);
+
Cycles delay = req->handleIprRead(thread, main_pkt);
WritebackEvent *wb = new WritebackEvent(load_inst, main_pkt, this);