diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/o3/sparc/dyn_inst.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/sparc/dyn_inst.hh b/src/cpu/o3/sparc/dyn_inst.hh index e95ae2fd5..4314488b5 100644 --- a/src/cpu/o3/sparc/dyn_inst.hh +++ b/src/cpu/o3/sparc/dyn_inst.hh @@ -173,7 +173,7 @@ class SparcDynInst : public BaseDynInst<Impl> { uint64_t val = this->cpu->readIntReg(this->_srcRegIdx[idx]); DPRINTF(Sparc, "Reading int reg %d (%d, %d) as %x\n", (int)this->_flatSrcRegIdx[idx], (int)this->_srcRegIdx[idx], idx, val); - return this->cpu->readIntReg(this->_srcRegIdx[idx]); + return val; } TheISA::FloatReg readFloatRegOperand(const StaticInst *si, |