summaryrefslogtreecommitdiff
path: root/src/arch/sparc/floatregfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-22 23:49:44 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-22 23:49:44 -0500
commit758c78065167ab58d63754827971a149c51282b9 (patch)
tree81b1a14749946072bf9d579937f19a8da744670b /src/arch/sparc/floatregfile.hh
parentf85082e0a00ff7ba9caf79a58f41c6c4e351cd9d (diff)
downloadgem5-758c78065167ab58d63754827971a149c51282b9.tar.xz
Moved some constants from isa_traits.hh to the reg file headers.
--HG-- extra : convert_revision : 378b2d9791e6282539900a2261ad2275d726b4be
Diffstat (limited to 'src/arch/sparc/floatregfile.hh')
-rw-r--r--src/arch/sparc/floatregfile.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/sparc/floatregfile.hh b/src/arch/sparc/floatregfile.hh
index 9d760c9ff..72803a5e0 100644
--- a/src/arch/sparc/floatregfile.hh
+++ b/src/arch/sparc/floatregfile.hh
@@ -38,10 +38,15 @@
#include <string>
+class Checkpoint;
+
namespace SparcISA
{
std::string getFloatRegName(RegIndex);
+ const int NumFloatArchRegs = 64;
+ const int NumFloatRegs = 64;
+
typedef float float32_t;
typedef double float64_t;
//FIXME long double refers to a 10 byte float, rather than a