projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c6ca8
)
Fixed a warning about an unused variable.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 29 Jan 2007 15:46:54 +0000
(10:46 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 29 Jan 2007 15:46:54 +0000
(10:46 -0500)
--HG--
extra : convert_revision :
f9c78e86b60c3085cd95b1b4e132205e0ef584dd
src/cpu/o3/sparc/dyn_inst.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/sparc/dyn_inst.hh
b/src/cpu/o3/sparc/dyn_inst.hh
index e95ae2fd5eecfb447022a6544231da7e8b62217c..4314488b5ec747a66774fa8e6f937ed36ce5b313 100644
(file)
--- 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,