summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-12-06 11:30:41 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-12-06 11:30:41 -0500
commitb3cfa6ec42a232bc31adb6cf540717859ad0fab3 (patch)
tree0f72824c506f0784223cce205e754fcfe72e5abe
parent2dcf00bc8b6ca0bdfc8ab9a105f7a7780c763bb4 (diff)
downloadgem5-b3cfa6ec42a232bc31adb6cf540717859ad0fab3.tar.xz
Added a flattenIntIndex function for Alpha.
--HG-- extra : convert_revision : 5ed79ed18e443118a28d6890327c55a6a3fcd325
-rw-r--r--src/arch/alpha/regfile.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/alpha/regfile.hh b/src/arch/alpha/regfile.hh
index ff5830822..c73c32bad 100644
--- a/src/arch/alpha/regfile.hh
+++ b/src/arch/alpha/regfile.hh
@@ -189,6 +189,11 @@ namespace AlphaISA
}
};
+ static inline int flattenIntIndex(ThreadContext * tc, int reg)
+ {
+ return reg;
+ }
+
void copyRegs(ThreadContext *src, ThreadContext *dest);
void copyMiscRegs(ThreadContext *src, ThreadContext *dest);