From: Gabe Black Date: Wed, 6 Dec 2006 10:40:11 +0000 (-0500) Subject: Added basic flatten function for mips. X-Git-Tag: m5_2.0_beta3~274^2~41 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3f351ab595d61ddd7a3248fea5ddeea8c5ba65b;p=gem5.git Added basic flatten function for mips. --HG-- extra : convert_revision : 2c32851584001734d139f36c4d58c5e61067fcfc --- 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);