diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:59 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:59 -0800 |
commit | c1c61d52a0d7e00361fb6fa69fd7c4ea2f528de8 (patch) | |
tree | b43e286e3a29cd640aaddd2e249fdf478889c00e /src | |
parent | ce2e50a64cf69a41e030e8c3ba8a53612dd32c48 (diff) | |
download | gem5-c1c61d52a0d7e00361fb6fa69fd7c4ea2f528de8.tar.xz |
SPARC: Get rid of flattenIndex in the int register file.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/sparc/intregfile.cc | 8 | ||||
-rw-r--r-- | src/arch/sparc/intregfile.hh | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc index 26637ddad..c111172a9 100644 --- a/src/arch/sparc/intregfile.cc +++ b/src/arch/sparc/intregfile.cc @@ -51,14 +51,6 @@ string SparcISA::getIntRegName(RegIndex index) return intRegName[index]; } -int IntRegFile::flattenIndex(int reg) -{ - int flatIndex = offset[reg >> FrameOffsetBits] - | (reg & FrameOffsetMask); - DPRINTF(RegisterWindows, "Flattened index %d into %d.\n", reg, flatIndex); - return flatIndex; -} - void IntRegFile::clear() { int x; diff --git a/src/arch/sparc/intregfile.hh b/src/arch/sparc/intregfile.hh index ce9bcadb6..9a086f08a 100644 --- a/src/arch/sparc/intregfile.hh +++ b/src/arch/sparc/intregfile.hh @@ -87,8 +87,6 @@ namespace SparcISA public: - int flattenIndex(int reg); - void clear(); IntRegFile(); |