summaryrefslogtreecommitdiff
path: root/src/arch/alpha/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-10 05:49:16 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-10 05:49:16 -0500
commit9ef51f2dbaba88c10366d708f0ca872bb39064e4 (patch)
tree31c5289651249ec05162f814d784b90f8737634a /src/arch/alpha/regfile.hh
parent9731fb3fd72ed2e8f5bf3423a33d45a5c35f636f (diff)
downloadgem5-9ef51f2dbaba88c10366d708f0ca872bb39064e4.tar.xz
Actually finished moving the register file stuff around.
--HG-- extra : convert_revision : 786735ecea8ff480db6b3754ac5daa562938d988
Diffstat (limited to 'src/arch/alpha/regfile.hh')
-rw-r--r--src/arch/alpha/regfile.hh33
1 files changed, 1 insertions, 32 deletions
diff --git a/src/arch/alpha/regfile.hh b/src/arch/alpha/regfile.hh
index 091f0e2e6..ff5830822 100644
--- a/src/arch/alpha/regfile.hh
+++ b/src/arch/alpha/regfile.hh
@@ -32,6 +32,7 @@
#define __ARCH_ALPHA_REGFILE_HH__
#include "arch/alpha/isa_traits.hh"
+#include "arch/alpha/floatregfile.hh"
#include "arch/alpha/intregfile.hh"
#include "arch/alpha/miscregfile.hh"
#include "arch/alpha/types.hh"
@@ -47,38 +48,6 @@ class ThreadContext;
namespace AlphaISA
{
- static inline std::string getIntRegName(RegIndex)
- {
- return "";
- }
-
- static inline std::string getFloatRegName(RegIndex)
- {
- return "";
- }
-
- static inline std::string getMiscRegName(RegIndex)
- {
- return "";
- }
-
- class FloatRegFile
- {
- public:
-
- union {
- uint64_t q[NumFloatRegs]; // integer qword view
- double d[NumFloatRegs]; // double-precision floating point view
- };
-
- void serialize(std::ostream &os);
-
- void unserialize(Checkpoint *cp, const std::string &section);
-
- void clear()
- { bzero(d, sizeof(d)); }
- };
-
class RegFile {
protected: