diff options
author | Gabe Black <gabeblack@google.com> | 2018-01-05 15:33:08 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-01-09 03:02:26 +0000 |
commit | b52ea6e98cb27c97aeea1085c4f5fdcbbdf66f0c (patch) | |
tree | 5410e78345e98dea06eaef3b250e82ebcb5e7be7 /src/cpu/minor | |
parent | 7221a00fdfe6a3f380f573d8bee1063d374b6bdf (diff) | |
download | gem5-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/cpu/minor')
-rw-r--r-- | src/cpu/minor/dyn_inst.hh | 6 | ||||
-rw-r--r-- | src/cpu/minor/exec_context.hh | 12 |
2 files changed, 1 insertions, 17 deletions
diff --git a/src/cpu/minor/dyn_inst.hh b/src/cpu/minor/dyn_inst.hh index 79c9ca4a4..b2decb39b 100644 --- a/src/cpu/minor/dyn_inst.hh +++ b/src/cpu/minor/dyn_inst.hh @@ -221,9 +221,6 @@ class MinorDynInst : public RefCounted * up */ RegId flatDestRegIdx[TheISA::MaxInstDestRegs]; - /** Effective address as set by ExecContext::setEA */ - Addr ea; - public: MinorDynInst(InstId id_ = InstId(), Fault fault_ = NoFault) : staticInst(NULL), id(id_), traceData(NULL), @@ -232,8 +229,7 @@ class MinorDynInst : public RefCounted fuIndex(0), inLSQ(false), inStoreBuffer(false), canEarlyIssue(false), instToWaitFor(0), extraCommitDelay(Cycles(0)), - extraCommitDelayExpr(NULL), minimumCommitCycle(Cycles(0)), - ea(0) + extraCommitDelayExpr(NULL), minimumCommitCycle(Cycles(0)) { } public: diff --git a/src/cpu/minor/exec_context.hh b/src/cpu/minor/exec_context.hh index 4b3a02fca..6ac0df5f8 100644 --- a/src/cpu/minor/exec_context.hh +++ b/src/cpu/minor/exec_context.hh @@ -424,20 +424,8 @@ class ExecContext : public ::ExecContext thread.getDTBPtr()->demapPage(vaddr, asn); } - /* ALPHA/POWER: Effective address storage */ - void setEA(Addr ea) override - { - inst->ea = ea; - } - BaseCPU *getCpuPtr() { return &cpu; } - /* POWER: Effective address storage */ - Addr getEA() const override - { - return inst->ea; - } - /* MIPS: other thread register reading/writing */ uint64_t readRegOtherThread(const RegId& reg, ThreadID tid = InvalidThreadID) |