projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5639fb2
)
Fix compile error.
author
Kevin Lim
<ktlim@umich.edu>
Mon, 12 Jun 2006 22:59:24 +0000
(18:59 -0400)
committer
Kevin Lim
<ktlim@umich.edu>
Mon, 12 Jun 2006 22:59:24 +0000
(18:59 -0400)
--HG--
extra : convert_revision :
334f5033f5a3a303bfaec3a3acfbd36f205efe86
src/arch/mips/isa/formats/branch.isa
patch
|
blob
|
history
diff --git
a/src/arch/mips/isa/formats/branch.isa
b/src/arch/mips/isa/formats/branch.isa
index 8cfa37a20156184aad236edd7f926662f0ed02ba..ea5af22c04d00a7432400a190b2d02038704a2f4 100644
(file)
--- a/
src/arch/mips/isa/formats/branch.isa
+++ b/
src/arch/mips/isa/formats/branch.isa
@@
-111,7
+111,7
@@
output header {{
{
}
- Addr branchTarget(
ExecContext *x
c) const;
+ Addr branchTarget(
ThreadContext *t
c) const;
std::string
generateDisassembly(Addr pc, const SymbolTable *symtab) const;
@@
-132,10
+132,10
@@
output decoder {{
}
Addr
- Jump::branchTarget(
ExecContext *x
c) const
+ Jump::branchTarget(
ThreadContext *t
c) const
{
- Addr NPC =
x
c->readPC() + 4;
- uint64_t Rb =
x
c->readIntReg(_srcRegIdx[0]);
+ Addr NPC =
t
c->readPC() + 4;
+ uint64_t Rb =
t
c->readIntReg(_srcRegIdx[0]);
return (Rb & ~3) | (NPC & 1);
}