diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-12-06 05:40:11 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-12-06 05:40:11 -0500 |
commit | a3f351ab595d61ddd7a3248fea5ddeea8c5ba65b (patch) | |
tree | f2d99ce5b96ae992a3ee333975527cbc68f0f6c7 /src/arch/mips | |
parent | 12c5bd2305a83c65d068686ec2d6588bde769805 (diff) | |
download | gem5-a3f351ab595d61ddd7a3248fea5ddeea8c5ba65b.tar.xz |
Added basic flatten function for mips.
--HG--
extra : convert_revision : 2c32851584001734d139f36c4d58c5e61067fcfc
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/regfile/regfile.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/mips/regfile/regfile.hh b/src/arch/mips/regfile/regfile.hh index dee883c4a..7b57b31f5 100644 --- a/src/arch/mips/regfile/regfile.hh +++ b/src/arch/mips/regfile/regfile.hh @@ -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); |