summaryrefslogtreecommitdiff
path: root/src/arch/power/isa
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-01-05 15:33:08 -0800
committerGabe Black <gabeblack@google.com>2018-01-09 03:02:26 +0000
commitb52ea6e98cb27c97aeea1085c4f5fdcbbdf66f0c (patch)
tree5410e78345e98dea06eaef3b250e82ebcb5e7be7 /src/arch/power/isa
parent7221a00fdfe6a3f380f573d8bee1063d374b6bdf (diff)
downloadgem5-b52ea6e98cb27c97aeea1085c4f5fdcbbdf66f0c.tar.xz
cpu, power: Get rid of the remnants of the EA computation insts.
Get rid of some remnants of a system which was intended to separate address computation into its own instruction object. Change-Id: I23f9ffd70fcb89a8ea5bbb934507fb00da9a0b7f Reviewed-on: https://gem5-review.googlesource.com/7122 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/power/isa')
-rw-r--r--src/arch/power/isa/formats/mem.isa3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/power/isa/formats/mem.isa b/src/arch/power/isa/formats/mem.isa
index 8f89bc208..719cb39a4 100644
--- a/src/arch/power/isa/formats/mem.isa
+++ b/src/arch/power/isa/formats/mem.isa
@@ -98,7 +98,6 @@ def template LoadInitiateAcc {{
if (fault == NoFault) {
fault = initiateMemRead(xc, traceData, EA, Mem, memAccessFlags);
- xc->setEA(EA);
}
return fault;
@@ -117,7 +116,7 @@ def template LoadCompleteAcc {{
%(op_decl)s;
%(op_rd)s;
- EA = xc->getEA();
+ EA = pkt->req->getVaddr();
getMem(pkt, Mem, traceData);