diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-04-11 23:31:41 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-04-12 00:24:57 +0800 |
commit | 8fe7e974ee5ca80885b9231ec397e5681d67d3ae (patch) | |
tree | 4b48ef2ccbbca57f0f4fd81bb8b2a318f2fe8c50 /src/cpu/base_dyn_inst.hh | |
parent | 612ad09b9825a032742ae2a2de20628bac97154b (diff) | |
download | gem5-8fe7e974ee5ca80885b9231ec397e5681d67d3ae.tar.xz |
add IFT options
Diffstat (limited to 'src/cpu/base_dyn_inst.hh')
-rw-r--r-- | src/cpu/base_dyn_inst.hh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh index d533ad9bf..6301864b7 100644 --- a/src/cpu/base_dyn_inst.hh +++ b/src/cpu/base_dyn_inst.hh @@ -478,28 +478,6 @@ class BaseDynInst : public ExecContext, public RefCounted _prevDestRegIdx[idx] = previous_rename; } - void taintDestRegs(bool istaint) - { - for (size_t i = 0; i < numDestRegs(); i++) { - auto dstreg = _destRegIdx[i]; - if (istaint) { - cpu->setTaint(dstreg); - } else { - cpu->clearTaint(dstreg); - } - } - } - - bool srcTainted(void) - { - bool result = false; - for (size_t i = 0; i < numSrcRegs(); i++) { - auto src = _srcRegIdx[i]; - result |= cpu->regTainted(src); - } - return result; - } - /** Renames a source logical register to the physical register which * has/will produce that logical register's result. * @todo: add in whether or not the source register is ready. |