From b52ea6e98cb27c97aeea1085c4f5fdcbbdf66f0c Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 5 Jan 2018 15:33:08 -0800 Subject: 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 Maintainer: Gabe Black --- src/cpu/base_dyn_inst.hh | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/cpu/base_dyn_inst.hh') diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh index d7d32e629..127b0629c 100644 --- a/src/cpu/base_dyn_inst.hh +++ b/src/cpu/base_dyn_inst.hh @@ -132,10 +132,6 @@ class BaseDynInst : public ExecContext, public RefCounted RecordResult, Predicate, PredTaken, - /** Whether or not the effective address calculation is completed. - * @todo: Consider if this is necessary or not. - */ - EACalcDone, IsStrictlyOrdered, ReqMade, MemOpDone, @@ -245,12 +241,6 @@ class BaseDynInst : public ExecContext, public RefCounted // Need a copy of main request pointer to verify on writes. RequestPtr reqToVerify; - private: - /** Instruction effective address. - * @todo: Consider if this is necessary or not. - */ - Addr instEffAddr; - protected: /** Flattened register index of the destination registers of this * instruction. @@ -859,15 +849,6 @@ class BaseDynInst : public ExecContext, public RefCounted ThreadContext *tcBase() { return thread->getTC(); } public: - /** Sets the effective address. */ - void setEA(Addr ea) { instEffAddr = ea; instFlags[EACalcDone] = true; } - - /** Returns the effective address. */ - Addr getEA() const { return instEffAddr; } - - /** Returns whether or not the eff. addr. calculation has been completed. */ - bool doneEACalc() { return instFlags[EACalcDone]; } - /** Returns whether or not the eff. addr. source registers are ready. */ bool eaSrcsReady(); -- cgit v1.2.3