Added basic flatten function for mips.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:40:11 +0000 (05:40 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:40:11 +0000 (05:40 -0500)
--HG--
extra : convert_revision : 2c32851584001734d139f36c4d58c5e61067fcfc

src/arch/mips/regfile/regfile.hh

index dee883c4af0c2ced8f884be0c85840d2d730ec5d..7b57b31f520c8507c445efbd4360e30317cf7667 100644 (file)
@@ -173,6 +173,11 @@ namespace MipsISA
         }
     };
 
+    static inline int flattenIntIndex(ThreadContext * tc, int reg)
+    {
+        return reg;
+    }
+
     void copyRegs(ThreadContext *src, ThreadContext *dest);
 
     void copyMiscRegs(ThreadContext *src, ThreadContext *dest);