changeset ba57d8bb692f in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=ba57d8bb692f
description:
SPARC: Get rid of the setGlobals function.
diffstat:
2 files changed, 16 deletions(-)
src/arch/sparc/intregfile.cc | 13 -------------
src/arch/sparc/intregfile.hh | 3 ---
diffs (36 lines):
diff -r 504e13722ce9 -r ba57d8bb692f src/arch/sparc/intregfile.cc
--- a/src/arch/sparc/intregfile.cc Wed Feb 25 10:21:40 2009 -0800
+++ b/src/arch/sparc/intregfile.cc Wed Feb 25 10:21:46 2009 -0800
@@ -118,19 +118,6 @@
} */
}
-void IntRegFile::setGlobals(int gl)
-{
- DPRINTF(RegisterWindows, "Now using %d globals\n", gl);
-
- regView[Globals] = regGlobals[gl];
- offset[Globals] = RegGlobalOffset + gl * RegsPerFrame;
-
- if (regView[Globals] == regView[Inputs] ||
- regView[Globals] == regView[Locals] ||
- regView[Globals] == regView[Outputs] )
- panic("Two register arrays set to the same thing!\n");
-}
-
void IntRegFile::serialize(std::ostream &os)
{
SERIALIZE_ARRAY(regs, NumIntRegs);
diff -r 504e13722ce9 -r ba57d8bb692f src/arch/sparc/intregfile.hh
--- a/src/arch/sparc/intregfile.hh Wed Feb 25 10:21:40 2009 -0800
+++ b/src/arch/sparc/intregfile.hh Wed Feb 25 10:21:46 2009 -0800
@@ -100,9 +100,6 @@
void serialize(std::ostream &os);
void unserialize(Checkpoint *cp, const std::string §ion);
-
- protected:
- void setGlobals(int gl);
};
}
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev