diff options
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) |