diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-12-06 11:30:41 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-12-06 11:30:41 -0500 |
commit | b3cfa6ec42a232bc31adb6cf540717859ad0fab3 (patch) | |
tree | 0f72824c506f0784223cce205e754fcfe72e5abe /src | |
parent | 2dcf00bc8b6ca0bdfc8ab9a105f7a7780c763bb4 (diff) | |
download | gem5-b3cfa6ec42a232bc31adb6cf540717859ad0fab3.tar.xz |
Added a flattenIntIndex function for Alpha.
--HG--
extra : convert_revision : 5ed79ed18e443118a28d6890327c55a6a3fcd325
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/alpha/regfile.hh | 5 |
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); |