summaryrefslogtreecommitdiff
path: root/src/arch/x86/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-08 23:02:20 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-08 23:02:20 -0700
commitecde8844041e6baf7122f0dacaf8fba7cdc4f691 (patch)
treee0924ca1267e5a0c3997b8d780d4646d01ee060f /src/arch/x86/regfile.hh
parent301df68c73b5903abc3d7d486a76ac63235bb7a2 (diff)
downloadgem5-ecde8844041e6baf7122f0dacaf8fba7cdc4f691.tar.xz
X86: Phase out x86's intregfile.hh.
Diffstat (limited to 'src/arch/x86/regfile.hh')
-rw-r--r--src/arch/x86/regfile.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/x86/regfile.hh b/src/arch/x86/regfile.hh
index 6f7e9120c..b832cbe28 100644
--- a/src/arch/x86/regfile.hh
+++ b/src/arch/x86/regfile.hh
@@ -60,7 +60,7 @@
#include <string>
-#include "arch/x86/intregfile.hh"
+#include "arch/x86/intregs.hh"
#include "arch/x86/miscregs.hh"
#include "arch/x86/isa_traits.hh"
#include "arch/x86/x86_traits.hh"
@@ -76,6 +76,11 @@ namespace X86ISA
const int NumMiscArchRegs = NUM_MISCREGS;
const int NumMiscRegs = NUM_MISCREGS;
+ const int NumIntArchRegs = NUM_INTREGS;
+ const int NumIntRegs =
+ NumIntArchRegs + NumMicroIntRegs +
+ NumPseudoIntRegs + NumImplicitIntRegs;
+
//Each 128 bit xmm register is broken into two effective 64 bit registers.
const int NumFloatRegs =
NumMMXRegs + 2 * NumXMMRegs + NumMicroFpRegs;