summaryrefslogtreecommitdiff
path: root/src/arch/alpha/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-10 04:54:25 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-10 04:54:25 -0500
commitb4dfbf3aab700f4cc9c5638c2275c588a56778c8 (patch)
tree84e75639b9b63e546df7512c4b57df3be8c94ee5 /src/arch/alpha/regfile.hh
parent71dc49c785b8623b82bf0d7b9df6085a3cd66dfa (diff)
downloadgem5-b4dfbf3aab700f4cc9c5638c2275c588a56778c8.tar.xz
Split out alpha integer register file into it's own files.
--HG-- extra : convert_revision : 164bdcec2860c5dca3f0f11d189781b88dd717cb
Diffstat (limited to 'src/arch/alpha/regfile.hh')
-rw-r--r--src/arch/alpha/regfile.hh32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/arch/alpha/regfile.hh b/src/arch/alpha/regfile.hh
index af28f6c6f..091f0e2e6 100644
--- a/src/arch/alpha/regfile.hh
+++ b/src/arch/alpha/regfile.hh
@@ -32,7 +32,7 @@
#define __ARCH_ALPHA_REGFILE_HH__
#include "arch/alpha/isa_traits.hh"
-#include "arch/alpha/ipr.hh"
+#include "arch/alpha/intregfile.hh"
#include "arch/alpha/miscregfile.hh"
#include "arch/alpha/types.hh"
#include "sim/faults.hh"
@@ -62,32 +62,6 @@ namespace AlphaISA
return "";
}
- class IntRegFile
- {
- protected:
- IntReg regs[NumIntRegs];
-
- public:
-
- IntReg readReg(int intReg)
- {
- return regs[intReg];
- }
-
- Fault setReg(int intReg, const IntReg &val)
- {
- regs[intReg] = val;
- return NoFault;
- }
-
- void serialize(std::ostream &os);
-
- void unserialize(Checkpoint *cp, const std::string &section);
-
- void clear()
- { bzero(regs, sizeof(regs)); }
- };
-
class FloatRegFile
{
public:
@@ -249,10 +223,6 @@ namespace AlphaISA
void copyRegs(ThreadContext *src, ThreadContext *dest);
void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
-
-#if FULL_SYSTEM
- void copyIprs(ThreadContext *src, ThreadContext *dest);
-#endif
} // namespace AlphaISA
#endif