changeset 102863870b47 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=102863870b47
description:
        SPARC: Get rid of flattenIndex in the int register file.

diffstat:

2 files changed, 10 deletions(-)
src/arch/sparc/intregfile.cc |    8 --------
src/arch/sparc/intregfile.hh |    2 --

diffs (30 lines):

diff -r e8a1f956d76c -r 102863870b47 src/arch/sparc/intregfile.cc
--- a/src/arch/sparc/intregfile.cc      Wed Feb 25 10:21:52 2009 -0800
+++ b/src/arch/sparc/intregfile.cc      Wed Feb 25 10:21:59 2009 -0800
@@ -51,14 +51,6 @@
     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 -r e8a1f956d76c -r 102863870b47 src/arch/sparc/intregfile.hh
--- a/src/arch/sparc/intregfile.hh      Wed Feb 25 10:21:52 2009 -0800
+++ b/src/arch/sparc/intregfile.hh      Wed Feb 25 10:21:59 2009 -0800
@@ -87,8 +87,6 @@
 
       public:
 
-        int flattenIndex(int reg);
-
         void clear();
 
         IntRegFile();
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to